Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537908 - dev-lang/php-5.4 USE=systemd - links to systemd libraries without using pkg-config
Summary: dev-lang/php-5.4 USE=systemd - links to systemd libraries without using pkg-c...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 19:27 UTC by Jacob Floyd
Modified: 2015-03-06 10:35 UTC (History)
0 users

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


Attachments
build.log for php-5.4.37 (build.log,40.17 KB, text/plain)
2015-01-26 19:28 UTC, Jacob Floyd
Details
build.log for php-5.4.36 (build.log,40.17 KB, text/plain)
2015-01-26 19:28 UTC, Jacob Floyd
Details
my emerge --info (emerge.info,5.98 KB, text/plain)
2015-01-26 19:30 UTC, Jacob Floyd
Details
build.log for php-5.4.38 (build.log,40.17 KB, text/x-log)
2015-03-05 01:52 UTC, Jacob Floyd
Details

Note You need to log in before you can comment on or make changes to this bug.
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.