checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking whether to enable reflection support... yes configure: error: Cannot build reflection as a shared module !!! ERROR: dev-lang/php-5.1.4-r3 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile php-5.1.4-r3.ebuild, line 109: Called src_compile_normal php-5.1.4-r3.ebuild, line 215: Called php5_1-sapi_src_compile php5_1-sapi.eclass, line 573: Called die
Created attachment 90993 [details] emerge --info
Please, attach config.log here, unless I've misread the eclass, reflection is _not_ build as shared extension, so the error looks misleading as usually w/ php.
What do you mean with config.log? I haven't one.
Created attachment 91003 [details] sorry, this is my config.log
You forgot to reopen.
As you may read at http://bugs.php.net/, bug id 38556, this is caused by some legacy code that they forgot to remove when they changed the command line options which control the reflection extension support. This stray code is located at ext/reflection/config.m4.
Created attachment 97985 [details, diff] Fix for the broken reflection extension check Place dev-lang/php into a portage overlay, clear the Manifest file and then apply this patch to the portage overlay (at the root, use option -p1). It will not work when applied to the portage tree directly since there is missing manifest update (updating the manifest cost me about an hour and I don't have any idea how to speed this up).
Reflection and SPL can't be built as shared extensions now in our packages, which fixes this bug. Best regards, CHTEKK.