checking whether to enable maintainer-specific portions of Makefiles... no build/version_check.pl failed: no version_string found in '' for 'apache2'. configure: error: Bad apache2 binary (/usr/sbin/apache2) !!! Please attach the following file when seeking support: !!! /var/tmp/portage/www-apache/libapreq2-2.12/work/libapreq2-2.12/config.log * ERROR: www-apache/libapreq2-2.12 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2886: Called econf '--with-apache2-apxs=/usr/sbin/apxs2' '--enable-perl-glue' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =www-apache/libapreq2-2.12', * the complete build log and the output of 'emerge -pqv =www-apache/libapreq2-2.12'. * The complete build log is located at '/var/tmp/portage/www-apache/libapreq2-2.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/libapreq2-2.12/temp/environment'. * S: '/var/tmp/portage/www-apache/libapreq2-2.12/work/libapreq2-2.12' Reproducible: Always Steps to Reproduce: 1. emerge libapreq2 Actual Results: * Messages for package www-apache/libapreq2-2.12: * ERROR: www-apache/libapreq2-2.12 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2886: Called econf '--with-apache2-apxs=/usr/sbin/apxs2' '--enable-perl-glue' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =www-apache/libapreq2-2.12', * the complete build log and the output of 'emerge -pqv =www-apache/libapreq2-2.12'. * The complete build log is located at '/var/tmp/portage/www-apache/libapreq2-2.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/libapreq2-2.12/temp/environment'. * S: '/var/tmp/portage/www-apache/libapreq2-2.12/work/libapreq2-2.12' plug ~ # Expected Results: successful build. I've had a problem with Apache since around 11/20/2010 on a normal upgrade; Apache builds without error, yet if crashes when I try to start it: plug ~ # /usr/sbin/apache2ctl start /etc/init.d/apache2: line 43: 17102 Segmentation fault ${APACHE2} ${APACHE2_OPTS} -t > /dev/null 2>&1 * apache2 has detected an error in your setup: /etc/init.d/apache2: line 43: 17104 Segmentation fault ${APACHE2} ${APACHE2_OPTS} -t plug ~ # I've also tried starting it without the -D parameters and I get the same result: Segmentation fault. I shall be filing a bug for the Apache concurrently with this bug and will update this bug with a reference to the Apache bug. Information requested in error message will be uploaded forthwith.
Created attachment 256497 [details] environment
Created attachment 256498 [details] build.log
Created attachment 256499 [details] emerge-info.txt
plug ~ # emerge -pqv =www-apache/libapreq2-2.12 [ebuild R ] www-apache/libapreq2-2.12 USE="perl" plug ~ # e
See also Bug #347910 (www-servers/apache2)
Note: Just in case this is related to the recent Perl upgrade (although I cannot see how), I had not performed the "perl-cleaner --all" for the upgrade of Perl and am now doing so: 72 packages need to be recompiled.
I ran "perl-cleaner --all" and 71 of 72 packages were re-emerged successfully. The last package was www-apache/libapreq2-2.12 which failed and is the subject of this bug.
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/www-apache/libapreq2-2.12/work/libapreq2-2.12/config.log
Created attachment 256563 [details] config.log done. Sorry I missed that.
John, this is bug in apache2. If you still have this problem, please, open bug on apache2 and once you'll have it fixed this problem should go away. Please, reopen if you disagree.