For 17.10, I've attempted to upload the 1.1.18 upstream version rather than cherry-picking individual fixes. However, the package fails to build on the Ubuntu builders due to a series of bugs.
- when the test binary is built, it is linked against libservicelog.so, not libservicelog.la. This means that there is no libtool wrapper script to set the path; and the test binary only ever works if there is an already-installed version of libservicelog on the system path which is being tested instead of the just-built version. - if servicelog_open() returns a failure, test_libservicelog segfaults because it tries to dereference a null pointer. - if /var/lib/libservicelog/ does not already exist on the system, servicelog_open() will *always* fail. I've written patches for the first two issues; but the hard-coding of a system path in the library makes it difficult to fix the third issue in a way that is compatible with an unprivileged build environment. I'm attaching the two patches, and will disable the test suite in the Ubuntu package pending resolution of the third issue. This is not a regression since the test suite is new since 1.1.16. ** Patch added: "Use libtool dependencies for linking tests" https://bugs.launchpad.net/ubuntu/+source/libservicelog/+bug/1705538/+attachment/4940508/+files/0001-Use-libtool-dependencies-for-linking-tests.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1705538 Title: Update Package request for libservicelog To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1705538/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
