the error: finfoobject.c:278: warning: 'intargfunc' is deprecated /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -o mod_python.la -rpath /usr/lib/apache2/modules -module -avoid-version finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -Wl,-O1,--hash-style=gnu,--sort-common,--as-needed -L/usr/lib/python2.5/config -Xlinker -export-dynamic -Wl,-O1,--hash-style -lm -lpython2.5 -lpthread -ldl -lutil -lm /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: invalid hash style `-soname' collect2: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_python.so] Error 1 make: *** [do_dso] Error 2 * * ERROR: www-apache/mod_python-3.3.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2456: Called die * The specific snippet of code: * emake OPT="`apxs2 -q CFLAGS` -fPIC" || die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/www-apache:mod_python-3.3.1-r1:20080919-090411.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_python-3.3.1-r1/temp/environment'. * the use-flags: [ebuild U ] www-apache/mod_python-3.3.1-r1 [3.3.1] 0 kB emerge --info: Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r1-i686-VIA_Esther_processor_1300MHz-with-glibc2.0 Timestamp of tree: Thu, 18 Sep 2008 21:45:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=i686 -Os -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/share/hddtemp/hddtemp.db /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=i686 -mtune=i686 -Os -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="buildpkg collision-protect distlocks fixpackags metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://gentoo.inode.at/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed" LINGUAS="en de" MAKEOPTS="-j1 -s" PKGDIR="/usr/portage/packages/chris" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found --exclude=/profiles/default-linux/x86/*/stoile" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/ltsp /usr/local/layman/science /usr/local/layman/sunrise /usr/local/layman/java-overlay /usr/local/layman/stoile /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bzip2 caps cli cracklib crypt ctype cups fortran gd gdbm gif gmp gsl hardened idn imagemagick ipv6 isdnlog jpeg jpeg2k ldap logrotate midi mmx mudflap mysql ncurses nptl nptlonly openmp pam pcre perl pic pie png pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd test tetex threads tiff truetype unicode vhosts vorbis x86 xattr xml xorg zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Please attach the entire build log and config.log. Something seems to have unexpectedly changed your LDFLAGS from `-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed' into `-Wl,-O1,--hash-style'.
Created attachment 166074 [details] config.log The config.log file.
Created attachment 166075 [details] www-apache:mod_python-3.3.1-r1:20080919-224448.log The build log file.
Sed in ebuild tries to remove -Wl,--hash-style, but in src/Makefile we have -Wl,warn-once,--hash-style, so sed exp should be modified.
I just ran into this bug while running python-updater after the recent python-2.6 upgrade. Any chance of it being fixed sometime soon?
Created attachment 199960 [details] I've changed the regex, this ebuild is working for me
Fixed.