Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347908 - www-apache/libapreq2-2.12 fails to build: configure: error: Bad apache2 binary (/usr/sbin/apache2)
Summary: www-apache/libapreq2-2.12 fails to build: configure: error: Bad apache2 binar...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 14:06 UTC by John L. Poole
Modified: 2011-05-23 15:29 UTC (History)
1 user (show)

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


Attachments
environment (environment,102.83 KB, text/plain)
2010-12-06 14:07 UTC, John L. Poole
Details
build.log (build.log,9.24 KB, text/plain)
2010-12-06 14:08 UTC, John L. Poole
Details
emerge-info.txt (emerge-info.txt,4.15 KB, text/plain)
2010-12-06 14:08 UTC, John L. Poole
Details
config.log (config.log,34.18 KB, text/plain)
2010-12-07 02:37 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2010-12-06 14:06:53 UTC
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.
Comment 1 John L. Poole 2010-12-06 14:07:50 UTC
Created attachment 256497 [details]
environment
Comment 2 John L. Poole 2010-12-06 14:08:14 UTC
Created attachment 256498 [details]
build.log
Comment 3 John L. Poole 2010-12-06 14:08:37 UTC
Created attachment 256499 [details]
emerge-info.txt
Comment 4 John L. Poole 2010-12-06 14:09:02 UTC
plug ~ # emerge -pqv =www-apache/libapreq2-2.12
[ebuild   R   ] www-apache/libapreq2-2.12  USE="perl"
plug ~ # e
Comment 5 John L. Poole 2010-12-06 14:22:55 UTC
See also Bug #347910 (www-servers/apache2)
Comment 6 John L. Poole 2010-12-06 14:33:23 UTC
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.
Comment 7 John L. Poole 2010-12-06 18:19:51 UTC
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.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 02:34:48 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-apache/libapreq2-2.12/work/libapreq2-2.12/config.log
Comment 9 John L. Poole 2010-12-07 02:37:51 UTC
Created attachment 256563 [details]
config.log

done.  Sorry I missed that.
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2011-05-23 15:29:54 UTC
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.