Bug 1350301 - Missing libsystemd-journal.pc pkg-config file in rawhide systemd-devel
Summary: Missing libsystemd-journal.pc pkg-config file in rawhide systemd-devel
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp
Version: 25
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nathan Scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-27 05:06 UTC by Nathan Scott
Modified: 2016-08-04 05:13 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-04 04:32:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nathan Scott 2016-06-27 05:06:20 UTC
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!

Comment 1 Jan Kurik 2016-07-26 05:06:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 2 Zbigniew Jędrzejewski-Szmek 2016-08-04 04:21:34 UTC
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.

Comment 3 Nathan Scott 2016-08-04 04:32:35 UTC
> 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.

Comment 4 Zbigniew Jędrzejewski-Szmek 2016-08-04 05:13:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.