Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502530 - net-nds/ypbind[systemd]: links to systemd libraries without using pkg-config (and fails silently)
Summary: net-nds/ypbind[systemd]: links 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 502522
  Show dependency tree
 
Reported: 2014-02-26 12:57 UTC by Michał Górny
Modified: 2014-09-24 11:21 UTC (History)
1 user (show)

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


Attachments
Build log (net-nds:ypbind-1.37.1:20140226-125627.log,18.09 KB, text/x-log)
2014-02-26 12:57 UTC, Michał Górny
Details

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 12:57:55 UTC
Created attachment 371338 [details]
Build log

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. And worse than that, it just disables systemd support instead of throwing an error.

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:31 UTC
+*ypbind-1.37.2 (24 Sep 2014)
+
+  24 Sep 2014; Pacho Ramos <pacho@gentoo.org> +ypbind-1.37.2.ebuild:
+  Version bump, fixes systemd linking (#502530)
+