Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161772 - dev-php5/xdebug-2.0.0_rc2 cannot be emerged if php emerged with apache2 use flag
Summary: dev-php5/xdebug-2.0.0_rc2 cannot be emerged if php emerged with apache2 use flag
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 161791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-12 15:09 UTC by Alexander Bodnarashik
Modified: 2007-01-12 16:56 UTC (History)
0 users

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


Attachments
My desktop configuration. (configuration.txt,5.21 KB, text/plain)
2007-01-12 15:12 UTC, Alexander Bodnarashik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bodnarashik 2007-01-12 15:09:53 UTC
When i try to emerge dev-php5/xdebug-2.0.0_rc2 i constantly get an error:
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! ERROR: dev-php5/xdebug-2.0.0_rc2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called php-ext-source-r1_src_compile
  php-ext-source-r1.eclass, line 68:   Called die
---
config.log says following:
configure:2527: checking for C compiler default output file name
configure:2554: gcc -O3 -pipe -mtune=i686 -march=pentium4 -fomit-frame-pointer   -Wl,--version-script=//var/lib/php-pkg/dev-lang/php-5.1.6-
r6/php5-ldvs -Wl,--allow-shlib-undefined -L/usr/lib/apache2/modules/ -lphp5 conftest.c  >&5
configure:2557: $? = 0
configure:2595: result: a.out
configure:2612: checking whether the C compiler works
configure:2622: ./a.out
./a.out: error while loading shared libraries: libphp5.so: cannot open shared object file: No such file or directory
configure:2625: $? = 127
configure:2634: error: cannot run C compiled programs.
---

Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/php-5.1.6-r6 with apache2 use flag
2. try to emerge dev-php5/xdebug-2.0.0_rc2


Actual Results:  
!!! ERROR: dev-php5/xdebug-2.0.0_rc2 failed.


Expected Results:  
>>> dev-php5/xdebug-2.0.0_rc2 merged.


my system configuration contains experimental use flags for php: concurrentmodphp fastbuild. Could it cause problems?
---
for now i've found a workaround: reemerge php without "apache2" use flag (possible "apache" use flag shouldn't be enabled too). emerge xdebug, reemerge php with "apache2" use flag.
Comment 1 Alexander Bodnarashik 2007-01-12 15:12:40 UTC
Created attachment 106692 [details]
My desktop configuration.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 15:16:36 UTC
Reopen if you can reproduce without concurrentmodphp; not supported.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 16:56:45 UTC
*** Bug 161791 has been marked as a duplicate of this bug. ***