Emerge apache-2.2.6-r7 on x86 linux box fails. With general use flags: "ssl apache2 php mysql" Reproducible: Always Steps to Reproduce: 1.emerge =www-server/apache-2.2.6-r7 Actual Results: >>> Original instance of package unmerged safely. * * Generating self-signed test certificate in /etc/apache2/ssl ... * * ERROR: www-servers/apache-2.2.6-r7 failed. * Call stack: * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' * ebuild.sh, line 44: Called pkg_postinst * apache-2.2.6-r7.ebuild, line 100: Called apache-2_pkg_postinst * apache-2.eclass, line 541: Called die * The specific snippet of code: * yes "" 2>/dev/null | \ * "${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \ * die "gentestcrt.sh failed" * The die message: * gentestcrt.sh failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.6-r7/temp/build.log'. * !!! FAILED postinst: 1 * Messages for package www-servers/apache-2.2.6-r7: * * Selected default MPM: prefork * * Please note that you need SysV IPC support in your kernel. * Make sure CONFIG_SYSVIPC=y is set. * * * ERROR: www-servers/apache-2.2.6-r7 failed. * Call stack: * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' * ebuild.sh, line 44: Called pkg_postinst * apache-2.2.6-r7.ebuild, line 100: Called apache-2_pkg_postinst * apache-2.eclass, line 541: Called die * The specific snippet of code: * yes "" 2>/dev/null | \ * "${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \ * die "gentestcrt.sh failed" * The die message: * gentestcrt.sh failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.6-r7/temp/build.log'. * Expected Results: Installed
(In reply to comment #0) > Emerge apache-2.2.6-r7 on x86 linux box fails. With general use flags: "ssl > apache2 php mysql" > > Reproducible: Always > > Steps to Reproduce: > 1.emerge =www-server/apache-2.2.6-r7 > Actual Results: > >>> Original instance of package unmerged safely. > * > * Generating self-signed test certificate in /etc/apache2/ssl ... > * > * ERROR: www-servers/apache-2.2.6-r7 failed. > * Call stack: > * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' > * ebuild.sh, line 44: Called pkg_postinst > * apache-2.2.6-r7.ebuild, line 100: Called apache-2_pkg_postinst > * apache-2.eclass, line 541: Called die > * The specific snippet of code: > * yes "" 2>/dev/null | \ > * "${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \ > * die "gentestcrt.sh failed" > * The die message: > * gentestcrt.sh failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/www-servers/apache-2.2.6-r7/temp/build.log'. > * > !!! FAILED postinst: 1 > > * Messages for package www-servers/apache-2.2.6-r7: > > * > * Selected default MPM: prefork > * > * Please note that you need SysV IPC support in your kernel. > * Make sure CONFIG_SYSVIPC=y is set. > * > * > * ERROR: www-servers/apache-2.2.6-r7 failed. > * Call stack: > * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' > * ebuild.sh, line 44: Called pkg_postinst > * apache-2.2.6-r7.ebuild, line 100: Called apache-2_pkg_postinst > * apache-2.eclass, line 541: Called die > * The specific snippet of code: > * yes "" 2>/dev/null | \ > * "${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \ > * die "gentestcrt.sh failed" > * The die message: > * gentestcrt.sh failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/www-servers/apache-2.2.6-r7/temp/build.log'. > * > > > Expected Results: > Installed > If you compile apache with use="-ssl" Apache will compile. However we need to figure out why we can not have ssl support with apache.
works for me ... the actual output of gentestcert.sh would be useful
(In reply to comment #2) > works for me ... the actual output of gentestcert.sh would be useful > The output of gentestcert.sh: maketestcrt -- Create self-signed test certificate (C) 2001 Jean-Michel Dault <jmdault@mandrakesoft.com> and Mandrakesoft Based on cca.sh script by Ralf S. Engelschall Will create server.key and server.crt in /root/gentoo-apache-2.2.6-r7/scripts INITIALIZATION Generating custom Certificate Authority (CA) ______________________________________________________________________ STEP 1: Generating RSA private key for CA (1024 bit) ./gentestcrt.sh: line 82: 9766 Segmentation fault $openssl genrsa -rand $randfiles -out ca.key 1024 cca:Error: Failed to generate RSA private key
as suggested on irc this should be redirected to the openssl folks, please reopen if you haven't done so, and i will change this bug accordingly
Reopened
re-open if latest openssl still doesnt work. if it doesnt, then you need to post more info as well: - emerge --info - exact openssl command run - backtrace would be nice: http://www.gentoo.org/doc/en/bugzilla-howto.xml