Bug #67635 [Asn->Csd]: php links to systemd libraries without using pkg-config

From: Date: Sat, 19 Jul 2014 16:47:43 +0000
Subject: Bug #67635 [Asn->Csd]: php links to systemd libraries without using pkg-config
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186745@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67635&edit=1 ID: 67635 Updated by: remi@php.net Reported by: pacho at gentoo dot org Summary: php links to systemd libraries without using pkg-config -Status: Assigned +Status: Closed Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 5.5.14 Assigned To: remi Block user comment: N Private report: N New Comment: Automatic comment on behalf of remi Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b6031567251ad47132de23f47eb57951fd9b563 Log: Fixed bug #67635 php links to systemd libraries without using pkg-config Previous Comments: ------------------------------------------------------------------------ [2014-07-19 16:35:33] remi@php.net Patch seems ok Tested with Fedora 20 (v208) and 21 (v215). Minor cosmetic : nothing in configure output about the check, I will apply your patch and add a simple message ------------------------------------------------------------------------ [2014-07-16 17:53:34] pacho at gentoo dot org Description: ------------ As reported downstream to: https://bugs.gentoo.org/show_bug.cgi?id=502516 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-209 Preferably, always use pkg-config :) Attached patch could be used ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67635&edit=1

« previous php.bugs (#186745) next »