Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231015

Summary: dev-lang/php-5.2.6-r2 - configure: error: `FFLAGS' has changed since the previous run
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: adijbr, dberkholz, gentoo-bugs, notordoktor, ole+gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: environment
dev-lang:php-5.2.6-r2:20080707-003401.log.gz

Description Jeroen Roovers (RETIRED) gentoo-dev 2008-07-07 01:43:52 UTC
*   Enabling sqlite-utf8
 * Enabling PIC support
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: loading cache ./config.cache
configure: error: `FFLAGS' has changed since the previous run:
configure:   former value:  -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall
configure:   current value: -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall -O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
 *
 * ERROR: dev-lang/php-5.2.6-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4392:  Called src_compile_normal
 *             environment, line 4510:  Called php5_2-sapi_src_compile
 *             environment, line 3432:  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
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/keeps/gentoo/emergelogs/elmer/dev-lang:php-5.2.6-r2:20080707-003401.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-lang/php-5.2.6-r2/temp/environment'.

Mon Jul  7 03:42:44 CEST 2008
Portage 2.2_rc1 (default-linux/hppa/2007.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25-gentoo-r6-JeR parisc)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Sun, 06 Jul 2008 16:22:01 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
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
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.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/env.d /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="-O2 -fno-omit-frame-pointer -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en nl he"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/elmer"
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="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao aoss apache2 ares arts asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps catalogs cblas cdb cddb cdparanoia cdr chardet cjk cli cpudetection cracklib crypt cups curl custom-cflags dbtool dbus device-mapper dga dia directfb djbfft domainkeys dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fam fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig foomaticdb fortran ftp gadu galago gd gdbm geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2 gtkhtml hal hesiod hppa ical icecast iconv idea idn imagemagick imlib immqt-bc inquisitio ipv6 isdnlog ithreads jack javascript jingle jpeg jpeg2k kde kerberos lapack lcms ldap leim libcaca libnotify libsamplerate libwww live logrotate logwatch lua lzo mad matroska memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss ots overlays pam pango pbs pcre pdf pdo-external perl php pic plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support quotas raw readline recode reflection rpc rrdtool rtc ruby samba sasl scanner scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite ssl startup-notification subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind wlan wma wmf xanim xchattext xcomposite xface xml xml2 xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-08 18:09:28 UTC
Seems to be a problem in flag-o-matic.eclass. Nothing to do with PHP per se. :)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-08 18:13:37 UTC
Important note: make.conf has `FFLAGS="${CFLAGS}"' (which isn't listed in `emerge --info').
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-08 18:17:30 UTC
Created attachment 159896 [details]
environment
Comment 4 Bjoern Olausson 2008-07-19 20:26:57 UTC
Same problem here...

root@kolab $ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Timestamp of tree: Sat, 19 Jul 2008 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.utf8"
MAKEOPTS="-j4"
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/portage/local/layman/kolab /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amavis amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt cups curl dri enscript exif extras fortran gd gdbm geoip gif gocr gpm gzip iconv isdnlog jpeg kolab logrotate mailwrapper midi mmx mudflap multiuser mysql ncurses netpbm network-cron nls nptl nptlonly ocrad openmp pam pcre pdo perl png pppd python readline reflection screen session simplexml softquota spell spl sse sse2 ssl svnserve tcpd tesseract tiff tools truetype unicode vhosts webdav xinetd xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard vmmouse" 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 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Bjoern Olausson 2008-07-19 20:30:42 UTC
 *   Enabling sqlite-utf8
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: loading cache ./config.cache
configure: error: `FFLAGS' has changed since the previous run:
configure:   former value:  -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE
configure:   current value: -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
 *
 * ERROR: dev-lang/php-5.2.6-r5 failed.
Comment 6 Allen Brooker (AllenJB) 2008-07-20 11:50:17 UTC
I'm also getting this error with dev-lang/php-5.2.6-r5

Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-xen x86_64)
=================================================================
System uname: Linux-2.6.21-xen-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Sun, 20 Jul 2008 00:17: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-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /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 /usr/share/X11/xkb"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --tree"
FEATURES="buildpkg collision-protect distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo       http://mirror.switch.ch/mirror/gentoo/          http://pandemonium.tiscali.de/pub/gentoo/  "
LANG="en_GB"
LDFLAGS=""
LINGUAS="en_GB en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 /usr/portage/local/layman/armagetron /usr/portage/local/layman/kdesvn-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amazon amd64 amr aoss apache2 apm asf avahi bash-completion bzip2 cairo caps cdr cli cracklib crypt cups curl dbus dedicated dga dri dts dvd dvdr dvdread emboss enca encode evo exif expat fbcon ffmpeg firefox flac ftp gif gnutls gtk hal iconv idn ipod ipv6 isdnlog ithreads java javascript jpeg jpeg2k junit kde kerberos lcms lirc lzo mad midi mikmod mjpeg mmx mmxext mng mozsvg mp3 mp4 mpeg mudflap musepack mysql mysqli ncurses newspr nls nocd nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl session speex spl sqlite sqlite3 sse sse2 ssl subversion svg tcpd tetex theora threads tidy tiff truetype unicode usb vcd vhosts videos vorbis wmf wxwindows x264 xcomposite xine xinerama xml xorg xpm xv xvid yv12 zlib" ALSA_CARDS="emu10k1" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires    ext_filter file_cache filter headers ident include info log_config logio mem_cache mime         mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack    vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nv"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2008-08-20 18:00:02 UTC
I also have FFLAGS="${CFLAGS}" in my make.conf, but I cannot reproduce this on dev-lang/php-5.2.6-r6. It looks like the fastbuild flag is unrelated to this error, since people with it both ways hit it.

I notice that I have 'cgi' in my USE flags and it seems that nobody else does. Could someone try a php build with USE="apache2 cgi cli" (in addition to your other flags)?

Nobody attached a full log so I can't tell exactly where this is happening. Could someone please attach a build log, config.cache and config.log?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-21 04:21:36 UTC
Created attachment 163440 [details]
dev-lang:php-5.2.6-r2:20080707-003401.log.gz
Comment 9 Mark Loeser (RETIRED) gentoo-dev 2009-05-03 00:33:36 UTC
I can't reproduce this, and don't see why this is toolchain's bug.  Please CC us back if you have something you need our assistance with.
Comment 10 Doktor Notor 2010-02-15 16:43:07 UTC
Do you folks still have this problem with sys-devel/libtool-2.2.6b? You really shouldn't. :) Otherwise, sticking something like 

dnl Disable libtool 1.5 support for languages we don't use
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:])dnl

into configure.in (before the AC_PROG_LIBTOOL invocation) should disable the useless libtool tests for unused langs... 
Comment 11 Matti Bickel (RETIRED) gentoo-dev 2010-03-29 22:29:44 UTC
If anyone can still confirm this with php-5.2.12 and latest toolchain, please reopen the bug. I'll try to get the proposed fix into the patchset, but only if i need to.