I tried to install squirrelmail on my U5. Apache is one of the dependencies. Since I really don't want qt-support for apache, I call '' USE="-qt -cups" emerge squirrelmail ''. When it comes to apache, compilation of it always fails. The default-dependency is -r1 but I also tried -r2. Both revisions fail with the same error while compiling: val.c && touch ssl_expr_eval.slo /var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread -mcpu=v9 -O2 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr/include -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr-util/include -I. -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/os/unix -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/server/mpm/prefork -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/http -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/filters -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/proxy -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/include -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/dav/main -prefer-pic -c ssl_expr_parse.c && touch ssl_expr_parse.slo yacc -d /var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/ssl/ssl_expr_parse.y sed -e 's;yy;ssl_expr_yy;g' \ -e '/#if defined(c_plusplus) || defined(__cplusplus)/,/#endif/d' \ <y.tab.c >ssl_expr_parse.c && rm -f y.tab.c sed -e 's;yy;ssl_expr_yy;g' \ <y.tab.h >ssl_expr_parse.h && rm -f y.tab.h /var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread -mcpu=v9 -O2 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr/include -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/srclib/apr-util/include -I. -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/os/unix -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/server/mpm/prefork -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/http -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/filters -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/proxy -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/include -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/dav/main -prefer-pic -c ssl_scache.c && touch ssl_scache.slo make[4]: *** [ssl_expr_parse.slo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/ssl' make[3]: *** [shared-build-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules/ssl' make[2]: *** [shared-build-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49/modules' make[1]: *** [shared-build-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.0.49-r2/work/httpd-2.0.49' make: *** [all-recursive] Error 1 !!! ERROR: net-www/apache-2.0.49-r2 failed. !!! Function src_compile, Line 186, Exitcode 2 !!! problem compiling Apache2 :( !!! If you need support, post the topmost build error, NOT this status message. emerge info: ============ Portage 2.0.51_pre9 (default-sparc64-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 sparc64 sun4u Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.7-r4 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=v9 -O2 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=v9 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X arts avi berkdb crypt cups encode esd fbcon foomaticdb gdbm gif gnome gpm gtk imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
Okay, this is because the lex file that ships in mod_ssl doesn't compile. If it tries to re-generate the .c file, the compile fails. The wierd thing is that this doesn't happen to everyone. Best regards, Stu
Okay, I've committed a fix to Portage that fixes this problem for me. Best regards, Stu