Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250922 - dev-php/phpdbg-client fails to build with gcc 4.3
Summary: dev-php/phpdbg-client fails to build with gcc 4.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
: 227697 (view as bug list)
Depends on:
Blocks: gcc-4.3 glibc-2.8
  Show dependency tree
Reported: 2008-12-14 13:23 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-02-17 11:48 UTC (History)
3 users (show)

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

Build log (phpdbg-client-2.15.5:20081214-022317.log,15.95 KB, text/plain)
2008-12-14 13:25 UTC, Diego Elio Pettenò (RETIRED)
proposed patch (phpdbg-client-2.15.5-gcc43.patch,3.06 KB, patch)
2008-12-16 05:53 UTC, Yaroslav Gorbunov
Details | Diff
patch to add limits.h (phpdbg-client-2.15.5-glibc28.patch,774 bytes, patch)
2009-06-14 00:07 UTC, David Davidson
Details | Diff
complete patched and working tar.gz (dbg-cli-2.15.5-src-patched.tar.gz,376.15 KB, application/octet-stream)
2010-02-17 11:48 UTC, Rafal

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

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
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
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