apache/apr build system use BUILD libtool so compilation fail : Configuring Apache Portable Runtime Utility library... checking for APR-util... yes checking for i586-alix-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... configure: error: in `/var/tmp/i586-alix-linux-gnu/portage/app-admin/apache-tools-2.2.21/work/httpd-2.2.21': configure: error: C compiler cannot create executables See `config.log' for more details. Here is a fix that use HOST libtool, and export CC needed by configure script Reproducible: Always Steps to Reproduce: 1. i586-alix-linux-gnu-emerge -va1 apache-tools 2. 3.
Created attachment 288903 [details] apache-tools-2.2.21:20111005-191947.log The build log
Created attachment 288905 [details, diff] apache-tools-2.2.21.ebuild diff The fix for ebuild
It's enough to add config.log for apache in bug 385783. Also please, mention why you need tc-export CC?
Package managers are allowed to set ROOT to an invalid value in src_*() phases.
Created attachment 289951 [details] config.log Here is config.log
(In reply to comment #3) > It's enough to add config.log for apache in bug 385783. Also please, mention > why you need tc-export CC? tc-export CC is needed overwise configure use BUILD CC.
should be all set now in the tree; thanks for the report! Commit message: Fix cross-compiling handling of pkg-config/pcre-config/apr/apr-util http://sources.gentoo.org/app-admin/apache-tools/apache-tools-2.4.7-r1.ebuild?r1=1.1&r2=1.2