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

Bug 250922

Summary: dev-php/phpdbg-client fails to build with gcc 4.3
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, esigra, ygorbunov
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121, 225459    
Attachments: Build log
proposed patch
patch to add limits.h
complete patched and working tar.gz

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-14 13:23:55 UTC
Check attached build log.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-14 13:25:08 UTC
Created attachment 175242 [details]
Build log
Comment 2 Yaroslav Gorbunov 2008-12-16 05:53:08 UTC
Created attachment 175400 [details, diff]
proposed patch

phpdbg-client-2.15.5-gcc43.patch
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-15 19:47:41 UTC
The proposed patch fails still with the PATH_MAX error. Probably glibc-2.8 related:
dbgbase_globals.cpp:158: error: ‘PATH_MAX’ was not declared in this scope
dbgbase_globals.cpp:160: error: ‘buf’ was not declared in this scope
[etc]
Diego's log contains the same error.
Comment 4 David Davidson 2009-06-14 00:07:39 UTC
Created attachment 194604 [details, diff]
patch to add limits.h

This patch adds limits.h to a few files. When combined with the patch in c#2, phpdbg-client compiles successfully for me.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-09 22:14:21 UTC
*** Bug 227697 has been marked as a duplicate of this bug. ***
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-14 16:54:17 UTC
Removed.
Comment 7 Rafal 2010-02-17 11:48:29 UTC
Created attachment 219981 [details]
complete patched and working tar.gz

sorry, but I've spend hour to find the solution and patch it, I'm attaching complete patched and working file