php-5.0.4-r1 and php-5.0.5-r1 fail when running aclocal, because aclocale can't find the file TSRM/threads.m4 --------------snip---------- * Running aclocal TSRM/tsrm.m4:71: file `TSRM/TSRM/threads.m4' does not exist --------------/snip(complete emerge dev-lang/php as additional info)-------- A quick look at tsrm.m4:71 (${S}/TSRM/tsrm.m4) shows: sinclude(threads.m4) sinclude(TSRM/threads.m4) since "tsrm.m4" itself is located in ${S}/TSRM/, and there is no second TSRM subdirectory in ${S}/TSRM, removing the TSRM/threads.m4 sinclude did the trick for me. After removing the line, php build "as usual", except for some autoconf "underquoted definition of foo" errors which happen to occure on my notebook lately. (i do not think that this playing in on this problem, cause it didn't prevent installing packages in the past, just wanted ot mention it in case i am wrong with this assumption..) I modified the ebuild to just remove the line from the tsrm.m4 file, just after the last epatch in src_unpack() (which differs from 5.0.4-r1 to 5.0.5-r1) ----------dev-lang/php-5.0.5-r1.ebuild modification------- # fix aclocal bug sed -i -e '/sinclude(TSRM\/threads.m4)/d' ${S}/TSRM/tsrm.m4 ----------/dev-lang/php-5.0.5-r1.ebuild modification------- Reproducible: Always Steps to Reproduce: 1. set php-5.0.{4,5}-r1 to ~arch 2. emerge php-5.0.{4,5}-r1 3. Actual Results: php does not get installed Expected Results: installed php package ---------------emerge output---------------- michael@foo php 1 $ e =dev-lang/php-5.0.4-r1 Calculating dependencies ...done! >>> emerge (1 of 1) dev-lang/php-5.0.4-r1 to / >>> md5 files ;-) php-4.3.11-r1.ebuild >>> md5 files ;-) php-4.4.0-r1.ebuild >>> md5 files ;-) php-5.0.4-r1.ebuild >>> md5 files ;-) php-5.0.5-r1.ebuild >>> md5 files ;-) files/digest-php-4.3.11-r1 >>> md5 files ;-) files/digest-php-4.4.0-r1 >>> md5 files ;-) files/digest-php-5.0.4-r1 >>> md5 files ;-) files/digest-php-5.0.5-r1 >>> md5 files ;-) files/4.4.0/fastbuild.patch >>> md5 files ;-) files/4.4.0/php4-imap-symlink.diff >>> md5 files ;-) files/4.4.0/php4-iodbc-config.diff >>> md5 files ;-) files/4.4.0/php4-with-iodbc.diff >>> md5 files ;-) files/4.4.0/php4-libtool-1.5.patch >>> md5 files ;-) files/4.4.0/php4.3.11-pcre-security.patch >>> md5 files ;-) files/4.4.0/php4.4.0-pcre-security.patch >>> md5 files ;-) files/5.0.0/php5-imap-symlink.diff >>> md5 files ;-) files/5.0.0/php5-iodbc-config.diff >>> md5 files ;-) files/5.0.0/php5-libtool-1.5.patch >>> md5 files ;-) files/5.0.0/php5.0.4-pcre-security.patch >>> md5 files ;-) files/5.0.0/php5.0.4-xmlrcp-ccode.diff >>> md5 files ;-) files/5.0.0/php5.0.5-obj-serialize.patch >>> md5 files ;-) files/5.1.0/php5-imap-symlink.diff >>> md5 files ;-) files/5.1.0/php5-iodbc-config.diff >>> md5 files ;-) files/5.1.0/php5-prefork.patch >>> md5 files ;-) files/5.1.0/php5-with-iodbc.diff >>> md5 files ;-) files/5.1.0/php5_soap_persistence_session.diff >>> md5 files ;-) files/4.4.0/apache-1.3/70_mod_php.conf >>> md5 files ;-) files/4.4.0/apache-2.0/70_mod_php.conf >>> md5 files ;-) files/5.1.0/apache-1.3/70_mod_php5.conf >>> md5 files ;-) files/5.1.0/apache-2.0/70_mod_php5.conf >>> md5 src_uri ;-) php-5.0.4.tar.bz2 >>> md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2 * Determining SAPI(s) to build * Enabled SAPI: cli * Disabled SAPI: cgi * Disabled SAPI: apache * Enabled SAPI: apache2 * * If this package fails with a fatal error about Apache2 not having * been compiled with a compatible MPM, this is normally because you * need to toggle the 'threads' USE flag. * * If 'threads' is off, try switching it on. * If 'threads' is on, try switching it off. * >>> Unpacking source... >>> Unpacking php-5.0.4.tar.bz2 to /var/tmp/portage/php-5.0.4-r1/work >>> Unpacking php-pcrelib-new-secpatch.tar.bz2 to /var/tmp/portage/php-5.0.4-r1/work * Applying php5.0.4-xmlrcp-ccode.diff ... [ ok ] * Applying php5.0.4-pcre-security.patch ... [ ok ] * Updating bundled PCRE library * Applying php5_soap_persistence_session.diff ... [ ok ] * Applying php5-imap-symlink.diff ... [ ok ] * Applying php5-prefork.patch ... [ ok ] * Applying php5-libtool-1.5.patch ... [ ok ] * Running aclocal TSRM/tsrm.m4:71: file `TSRM/TSRM/threads.m4' does not exist !!! ERROR: dev-lang/php-5.0.4-r1 failed. !!! Function php5_0-sapi_src_unpack, Line 285, Exitcode 1 !!! Unable to run aclocal successfully !!! If you need support, post the topmost build error, NOT this status message. ----------------/emerge output------------------- ----------------useflags for dev-lang/php-------- dev-lang/php-5.0.5-r1 -adabas -apache +apache2 -bcmath +berkdb -birdstep -bzip2 -calendar -cdb -cgi +cli +crypt +ctype +curl +curlwrappers -db2 +dba -dbase -dbmaker -debug -discard-path +doc -empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase +ftp +gd -gd-external +gdbm -gmp -hardenedphp -hyperwave-api +iconv +imap -informix -inifile -interbase -iodbc +ipv6 -java-external +jpeg -kerberos -ldap -libedit -mcve -memlimit -mhash -ming -msql -mssql +mysql -mysqli +ncurses +nls -oci8 +odbc -oracle7 -ovrimos +pcntl +pcre -pdo-external +pear -pfpro +png +posix -postgres -qdbm +readline -recode -sapdb -sasl +session +sharedext +sharedmem +simplexml -snmp +soap +sockets -solid +spell +spl +sqlite +ssl -sybase -sybase-ct +sysvipc -threads +tidy +tiff +tokenizer +truetype -wddx +xml2 +xmlrpc -xpm +xsl -yaz -zip +zlib 0 ----------------useflags for dev-lang/php-------- ---------------------emerge info--------------------------- Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.10-mm2 i686) ================================================================= System uname: 2.6.10-mm2 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -ftracer" 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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib cdr composite crypt cscope ctype cups curl curlwrappers dba dga doc eds effects emboss encode ethereal extensions fam fastcgi fbcon foomaticdb fortran freetype fs ftp gd gdbm gif gimp gimpprint gnutls gpgme gpm gstreamer gtk2 iconv imagemagick imap imlib imlib2 innodb ipv6 java javascript jpeg junit kde kdeenablefinal libcaca libg++ libwww mad maildir mcal mikmod mime mmx mng motif mozdevelop mozdomi mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mplayer mpm-prefork msn mysql ncurses nls nntp nocd nptl nvidia objc odbc offensive ogg oggvorbis openexr opengl oscar oss pam pcntl pcre pdflib perl php5 plugin png posix ppds pthreads python qt quicktime readline ruby samba sasl sdl sharedext simplexml slang slp smime smtp soap sockets spell spl sql sqlite sse ssl subversion svg tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode userlocales utf8 vhosts vim-pager vim-with-x vorbis win32codecs wmf wxwindows xgetdefault xine xml2 xmlrpc xscreensaver xsl xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY ---------------------emerge info---------------------------
*** This bug has been marked as a duplicate of 107029 ***