Unfortunately, I'm forced to use php-4 ... * Enabling mm configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: creating cache ./config.cache checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /usr/lib/portage/bin/sed configure: error: cannot run /bin/sh ./config.sub * * ERROR: dev-lang/php-4.4.8 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3986: Called src_compile_normal * environment, line 4097: Called php4_4-sapi_src_compile * environment, line 3076: Called die * The specific snippet of code: * ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed"; * The die message: * configure failed Portage 2.2_rc1 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.7-r2, 2.6.24-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.24-gentoo-r8-i686-Pentium_III_-Coppermine-with-glibc2.0 Timestamp of tree: Thu, 26 Jun 2008 04:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r4, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="candy distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org" LDFLAGS="" PKGDIR="/usr/portage/packages" 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/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl adns apache2 bzip2 caps cli cracklib crypt curl dri expat flash gd gmp gpm iconv idn imap innodb isdnlog javamail jpeg maildir memlimit midi mmx mudflap ncurses network-cron noauthcram nptl nptlonly offensive pam pcre pg-hier pg-intdatetime pg-vacuumdelay pppd readline reflection samba session slang slp spl sse ssl tcpd tiff unicode urandom utf8 vim-syntax x86 xattr xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 158495 [details] build.log
You should really switch to PHP 5...
Though I suspect I know what the problem here maybe, I'll be a troll here and point out, that php 4 is masked for a good reason, this bug has a pretty good chance of being closed as invalid as php gentoo team doesn't care about php4 anymore (that was actually explicitly mentioned in one of the bugs here) and quote something straight from php homepage (about 4.4.8 release): "This release wraps up all the outstanding patches for the PHP 4.4 series, and is therefore the last normal PHP 4.4 release. If necessary, releases to address security issues could be made until 2008-08-08.".
If your really interested search for php libtool bug, they changed something in the eclasses then, but didn't bother to fix php4.
Carsten, switching means the developers need to get payed to take every app written in the last 8 years and make it work on php 5. This php 4 release worked at a time in the past, so this is a regression that I think should be fixed.
We are no longer supporting php-4 for a reason -- it's impossible for us to keep track of the security problems with upstream completely dropping support for it. So, I'll close this as WONTFIX. If you've got a working patch, I might commit it, but I won't waste any time for php-4 anymore, sorry. (In reply to comment #5) > Carsten, switching means the developers need to get payed to take every app > written in the last 8 years and make it work on php 5. And not switching means being vulnerable to lots of security problems. > This php 4 release worked at a time in the past, so this is a regression that I > think should be fixed. php is already *very* conservative regarding external dependencies (especially autotools), which is very problematic on Gentoo. I guess php-4 depends on even older stuff, so you almost certainly won't get any upstream help for that either.
(In reply to comment #5) > Carsten, switching means the developers need to get payed to take every app > written in the last 8 years and make it work on php 5. If you never assigned any budget to move to the next PHP version, before the one you're using reached end of live, you get what you deserve and - in case of having customers - are guilty leaving them with vulnerable systems. Of course you need to pay developers to do maintenance work.
Well, I'm not the one who makes those decisions... so I don't really feel guilty... I'll just pass on this info. Thanks anyway...