Red Hat Bugzilla – Bug 1350301
Missing libsystemd-journal.pc pkg-config file in rawhide systemd-devel
Last modified: 2016-08-04 01:13:57 EDT
The pcp package build in rawhide is currently failing, I suspect as a result of the systemd-devel package in rawhide no longer providing a /usr/lib64/pkgconfig/libsystemd-journal.pc file. This causes the configure.ac check in PCP to auto-disable the pmdasystemd functionality (unintentionally), while the pcp.spec file expects it to be there, and RPM packaging failure results. Could you please re-instate this backward-compatibility-preserving pkg-config file into the systemd-devel package for us - thanks!
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Hi, libsystemd-journal.pc has been deprecated since systemd 209 (February 2014) and has been finally removed in systemd 230. libsystemd.so provides all the symbols in libsystmed-journal.so, and libsystemd-journal.pc has in fact been redirecting to libsystemd.so since the deprecation. Please switch to using libsystemd.pc instead.
> Please switch to using libsystemd.pc instead. Yes, we updated the PCP build awhile back (were forced to, since we could no longer build without doing do). We do also have people building PCP against older versions of systemd, however, and they have reduced functionality now. > libsystemd-journal.pc has in fact been redirecting to libsystemd.so since the deprecation Yes, indeed - backwards compatibility is a Good Thing (tm). It remains a mystery why this unnecessary breakage was introduced by removing that libsystemd-journal.pc file though. I mainly opened this bug in case this libsystemd-journal.pc file removal was accidental - if its intentional, that's fine & your choice of course - we can just close this out.
Yeah, the change was intentional. It was removed upstream to reduce the amount of cruft we carry. Sorry that this has caused more work for you.