Bug 199938
Summary: | PHP doesn't rebuild with libc-client support | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Bastien Nocera <bnocera> | ||||||
Component: | libc-client | Assignee: | Joe Orton <jorton> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-08-02 10:07:13 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 199947 | ||||||||
Attachments: |
|
Description
Bastien Nocera
2006-07-24 14:44:29 UTC
Please attach the complete output of rpmbuild and the one of the config.log files produced in the builddir. Fixed using this patch to the spec file: --- libc-client.spec 2005-11-23 20:57:56.000000000 +0000 +++ libc-client.spec.new 2006-07-24 15:55:37.000000000 +0100 @@ -77,6 +77,7 @@ EXTRACFLAGS="$EXTRACFLAGS -fPIC" make lnp \ +CFLAGS="$EXTRACFLAGS $RPM_OPT_FLAGS" \ EXTRACFLAGS="$EXTRACFLAGS" \ EXTRALDFLAGS="$EXTRALDFLAGS" \ EXTRAAUTHENTICATORS=gss \ That's a "fix" as PHP shouldn't be linking to the .a either. I'll post the config logs later on. Created attachment 132923 [details]
log
rpmbuild logfile for php
Created attachment 132924 [details]
config.log
config.log grabbed from the build-cgi/ subdir
The only failure in these logs: /home/bnocera/packages/BUILD/php-4.3.9/main/spprintf.c: In function `xbuf_format_converter': /home/bnocera/packages/BUILD/php-4.3.9/main/spprintf.c:272: error: void value not ignored as it ought to be make: *** [main/spprintf.lo] Error 1 make: *** Waiting for unfinished jobs.... ... presumably from the patch for the varargs issue. Urgh. Indeed. It was an old patch, and I had the work-around from above applied, let me update the logs then... Can't seem to reproduce the problem, I guess you'll see it building php if it was indeed a real bug. |