Php-5.2.8-r2 doesn't compile with USE="iconv" or USE="xmlrpc" (as xmlrpc has virtual/libiconv as dependency). It seems to be only OS X related and has something to do with the apple linker (if I read everything right). Reproducible: Always Steps to Reproduce: 1. USE="iconv" emerge php Actual Results: Undefined symbols: "_iconv_open", referenced from: __php_iconv_strlen in iconv.o _php_iconv_string in iconv.o __php_iconv_strpos in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_stream_filter_factory_create in iconv.o "_iconv_close", referenced from: __php_iconv_strlen in iconv.o _php_iconv_string in iconv.o _php_iconv_string in iconv.o __php_iconv_strpos in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _php_iconv_stream_filter_dtor in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o ld: symbol(s) not found collect2: ld gab 1 als Ende-Status zurück make: *** [libs/libphp5.bundle] Fehler 1 Expected Results: Emerge normal. ;) By changing the following line in php5_2-sapi.eclass: phpconfutils_extension_without "iconv" "iconv" 0 to: phpconfutils_extension_with "iconv" "iconv" 1 it compiles fine but only if all modules get compiled as shared/external with USE="sharedext". I don't know if that's a good enough solution and if that would break something in the main tree.
Created attachment 183779 [details, diff] Fixes iconv Path. Thx to Heiko on #gentoo-prefix!
(In reply to comment #1) > Created an attachment (id=183779) [edit] > Fixes iconv Path. > > Thx to Heiko on #gentoo-prefix! > To be more correct: The patch adds "${EPREFIX}/usr" for explicit iconv selection. Thx Heiko! ;)
done, thx