Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537908

Summary: dev-lang/php-5.4 USE=systemd - links to systemd libraries without using pkg-config
Product: Gentoo Linux Reporter: Jacob Floyd <cognifloyd+gentoobugs>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=502516
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log for php-5.4.37
build.log for php-5.4.36
my emerge --info
build.log for php-5.4.38

Description Jacob Floyd 2015-01-26 19:27:36 UTC
My error looks similar to bug502516, so I assume this is the same problem. Apparently the library name of systemd changed, so /sapi/fpm/config.m4 needs to be patched with the patch in 502516, but for php-5.4.

bug 502516 solved this problem for php-5.5+ by getting upstream to include a fix. However, I'm getting the same error for php-5.4.36 and php-5.4.37.


Reproducible: Always

Steps to Reproduce:
1. Try to emerge php-5.4.36 or php-5.4.37
2. Fail
Actual Results:  
During configure stage, I get:
configure: error: Your system does not support systemd.

Expected Results:  
Successfully emerge
Comment 1 Jacob Floyd 2015-01-26 19:28:12 UTC
Created attachment 394958 [details]
build.log for php-5.4.37
Comment 2 Jacob Floyd 2015-01-26 19:28:37 UTC
Created attachment 394960 [details]
build.log for php-5.4.36
Comment 3 Jacob Floyd 2015-01-26 19:30:26 UTC
Created attachment 394962 [details]
my emerge --info
Comment 4 Jacob Floyd 2015-03-05 01:52:46 UTC
Created attachment 398102 [details]
build.log for php-5.4.38

The same problem is present with php-5.4.38. Build log is attached.
Comment 5 Jacob Floyd 2015-03-05 02:44:16 UTC
I just saved https://502516.bugs.gentoo.org/attachment.cgi?id=378348 as /etc/portage/patches/php:5.4/systemd.patch

With the patch (applied via epatch_user), php-5.4.38 configures without a problem. Please add the patch to the php:5.4 ebuilds since upstream will not be touching 5.4.
Comment 6 Ole Markus With (RETIRED) gentoo-dev 2015-03-06 10:35:58 UTC
Hi,

We follow same support cycles as upstream. So please upgrade to a newer version of PHP if you need this functionality.