Configure failed when --enable-versioning is enabled. checking for wchar.h... yes checking for mblen... yes checking for mbrlen... yes checking for mbsinit... yes checking for mbstate_t... yes checking for Sybase support... no checking for Sybase-CT support... no checking whether to enable System V IPC support... no checking whether to enable System V semaphore support... no checking whether to enable System V shared memory support... no checking for TIDY support... no checking whether to enable tokenizer support... yes checking whether to enable WDDX support... no checking whether to enable XML support... yes checking libexpat install dir... no checking whether libxml build works... (cached) yes checking for XMLReader support... no checking for XMLRPC-EPI support... yes, shared checking libexpat dir for XMLRPC-EPI... no checking iconv dir for XMLRPC-EPI... no checking whether libxml build works... (cached) yes checking for iconv... yes checking for ranlib... ranlib checking for inline... inline checking for ANSI C header files... (cached) yes checking for xmlparse.h... no checking for xmltok.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking size of char... 1 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for strtoul... yes checking for strtoull... yes checking for snprintf... (cached) yes checking for strstr... (cached) yes checking for strpbrk... yes checking for strerror... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for XSL support... yes, shared checking for EXSLT support... found configure: error: --enable-versioning cannot be used with shared modules !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/php-5.1.0_beta/work/php-5.1.0b1/config.log !!! ERROR: dev-php/php-5.1.0_beta failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. I had to comment the line in /usr/portage/eclass/php5-sapi-r3.eclass for the build to work. # optimization/setting stuff # my_conf="${my_conf} --enable-versioning" Reproducible: Always Steps to Reproduce: 1. Unmask php-5.1.0_beta 2. emerge php with shared modules Actual Results: Configure failed Expected Results: Compilation worked fine emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-rc4-mm1 i686) ================================================================= System uname: 2.6.12-rc4-mm1 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.4.1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ftracer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ftracer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-Wl,-O1" LINGUAS="fr_FR fr en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac acl acpi activefilter ada alsa aotuv apache2 apm arts athena atlas atm auctex avi bash-completion berkdb bind-mysql bitmap-fonts blas blender-game bluetooth bzlib calendar ccache cdparanoia cdr chroot clamav clisp cmucl crypt css cups curl dba dbx dhcp dio directfb distcache divx4linux dlloader dnd dnsdb doc droproot dts dv dvd dvdr ecc emacs emacs-w3 emboss encode esd exif exiscan-acl fam fastcgi fb fbcon fftw fmod font-server foomaticdb fortran ftp gcl gd gdbm geoip gif gimp gimpprint ginac glut gnokii gnuplot gnustep gphoto2 gpm gsnd gtk gtk2 hardened hardenedphp icq icu idn imagemagick imap imlib innodb iodbc ipv6 ithreads j2ee jabber jai java javascript jboss jce jikes jit jpeg junit kde kerberos krb4 ldap libclamav libg++ libwww lzo mad mcal memlimit mikmod mime mmx mono motif mozilla mozsvg mp3 mpeg msn mule mysql mysqli ncurses neXt nis nls nptl nptlonly ntlm oav objc odbc ogg oggvorbis openal opengl oscar oss pam pam_timestamp pcmcia pcntl pcre pda pdfkit pdflib perl pg-hier php pic pie png pnp posix postgres povray prelude profile python qt quicktime quotas readline samba sbcl scanner sdl session sguil sharedext simplexml skey slang slp smartcard smime soap sockets socks5 softquota spell spl sql sqlite sse sse2 ssl subversion svga symlink sysfs szip tcltk tcpd tetex tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts vorbis wifi wxwindows xine xml2 xmlrpc xmms xpm xsl xv xvid yahoo zlib linguas_fr_FR linguas_fr linguas_en linguas_en_US userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, PORTDIR_OVERLAY
I get this same issue: [clip] checking for inline... inline checking for ANSI C header files... (cached) yes checking for xmlparse.h... no checking for xmltok.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking size of char... 1 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for strtoul... yes checking for strtoull... yes checking for snprintf... (cached) yes checking for strstr... (cached) yes checking for strpbrk... yes checking for strerror... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for XSL support... no configure: error: --enable-versioning cannot be used with shared modules !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/php-5.1.0_beta/work/php-5.1.0b1/config.log !!! ERROR: dev-php/php-5.1.0_beta failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. ...done! beavis ~ # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.4.28-gentoo-r8 i686) ================================================================= System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzlib calendar clearpasswd cpdflib crypt cups curl dba doc emboss encode extensions foomaticdb fortran ftp gd gdbm gif gmp gpm gtk2 iconv imagemagick imap imlib ipv6 java jpeg junit ldap libg++ libwww lzw-tiff mad maildir memlimit mikmod mime motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pam-mysql pcre pdflib perl png postgres python quicktime readline sasl sdl session sharedext sharedmem slang soap sockets spell ssl svga tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts vhosts vorbis wddx xml2 xmlrpc xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 97266 has been marked as a duplicate of this bug. ***
HERE'S A FIX: --- /usr/portage/eclass/php5-sapi-r3.eclass.new 2005-07-05 22:27:13.000000000 +1000 +++ /usr/portage/eclass/php5-sapi-r3.eclass 2005-07-05 18:10:57.000000000 +1000 @@ -474,7 +476,9 @@ enable_extension_with "libedit" "libedit" 1 # optimization/setting stuff - my_conf="${my_conf} --enable-versioning" + if ! useq shared ; then + my_conf="${my_conf} --enable-versioning" + fi # fix ELF-related problems if has_pic ; then this fixes both php-5.1.0_beta and mod_php-5.1.0_beta. i'm not sure if its safe or a good idea, but it seems to work..
*** Bug 98894 has been marked as a duplicate of this bug. ***
I've removed versioning support from the php5 packages. The updated eclasses should hit your rsync mirror in about an hour. Best regards, Stu