Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502522 - [TRACKER] Packages linking to systemd libraries without using pkg-config
Summary: [TRACKER] Packages linking to systemd libraries without using pkg-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 501306 502422 502446 502448 502516 502528 502530 508366
Blocks: 503780
  Show dependency tree
 
Reported: 2014-02-26 10:55 UTC by Michał Górny
Modified: 2017-01-19 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-26 10:55:49 UTC
Ok, it seems that we'd use a tracker after all.

The reusable bug description follows:

Long story short, in systemd-209 the libsystemd-* libraries were removed and replaced with single libsystemd. We install compatibility libsystemd-*.pc pkg-config files, so apps using pkg-config are not affected (yet :)).

Since this package tries to link libsystemd-daemon directly, it fails terribly with >=systemd-209.

The possibilities are:

1. use pkg-config to query libsystemd-daemon -- compatible with all versions but at some point we will be removing compat pkg-config files,

2. use pkg-config to query libsystemd, fallback to querying libsystemd-daemon -- future- and backwards-compatible,

3. just use libsystemd, and dep on >=systemd-210 in the ebuild (we didn't add -209).

Preferably, always use pkg-config :).

If you need any help, please let us know.
Comment 1 Pacho Ramos gentoo-dev 2014-09-24 11:21:52 UTC
All blockers fixed... or were some packages not tested for this error?
Comment 2 Pacho Ramos gentoo-dev 2014-10-12 08:56:17 UTC
looks like all were finally solved