FS#50155 - [podofo] missing symlinks for major and minor numbers, forcing to rebuild other packages

Attached to Project: Community Packages
Opened by Alexandre Demers (oxalin) - Tuesday, 26 July 2016, 18:34 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 26 July 2016, 18:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing podofo, the following symlinks are missing:
/usr/lib/libpodofo.so.0 -> /usr/lib/libpodofo.so.0.9.x
/usr/lib/libpodofo.so.0.9 -> /usr/lib/libpodofo.so.0.9.x

Only the library file and an unspecific symlink are available:
/usr/lib/libpodofo.so -> /usr/lib/libpodofo.so.0.9.x
/usr/lib/libpodofo.so.0.9.x

Thus, when scribus is being built, it links itself to libpodofo.so.0.9.x. When the revision changed, scribus (scribus-svn in this case) was then broken and needed to be rebuilt. However, a revision change shouldn't need a full rebuild, as it is most of the time for minor increments.

Additional info:
tested with 0.9.4 (when upgrading from 0.9.3 to 0.9.4)


Steps to reproduce:
Install podofo 0.9.3
Install scribus-svn
Update podofo to latest version (0.9.4)

Scribus will be unable to start, looking for libpodofo.so.0.9.3 instead of libpodofo.so.0 or libpodofo.so.0.9 and needing to be rebuilt.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 26 July 2016, 18:51 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Tuesday, 26 July 2016, 18:51 GMT
From CMakeLists.txt:

SET(PODOFO_SOVERSION "${PODOFO_VERSION_MAJOR}.${PODOFO_VERSION_MINOR}.${PODOFO_VERSION_PATCH}") <----------
SET(PODOFO_LIBVERSION "${PODOFO_SOVERSION}")

So this is intended by upstream, complain to them.

Loading...