Summary: | dev-lang/php-5.2.2-r1 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emiliano Vavassori <syntaxerrormmm> |
Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | acevery, dragonheart, mrness |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/log/portage/dev-lang:php-5.2.2-r1:20070518-183746.log
emerge log for php-5.2.2-r1, failed for db-4.2 on second pass |
Description
Emiliano Vavassori
2007-05-18 19:08:50 UTC
Created attachment 119630 [details]
/var/log/portage/dev-lang:php-5.2.2-r1:20070518-183746.log
Attaching emerge log.
Got exactly the same bug, but on db-4.2. Seems to fail on second pass (for SAPI probably), CPPFLAGS containing twice the same include: * Disabling sqlite 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: `CPPFLAGS' has changed since the previous run: configure: former value: -I/usr/include/db4.2 configure: current value: -I/usr/include/db4.2 -I/usr/include/db4.2 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.2-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 5482: Called src_compile php-5.2.2-r1.ebuild, line 172: Called src_compile_normal php-5.2.2-r1.ebuild, line 326: Called php5_2-sapi_src_compile php5_2-sapi.eclass, line 610: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.2-r1/temp/build. log'. emerge --info: Portage 2.1.2.2 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 x86_64) ================================================================= System uname: 2.6.20-gentoo-r7 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 18 May 2007 15:50:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo " LANG="fr_FR" LC_ALL="fr_FR.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 calendar cli cracklib crypt cups dri exif fortran ftp gd gdbm gpm iconv imap ipv6 isdnlog jpeg ldap libg++ midi mmx mysql ncurses nls nptl nptlonly pam pcre perl png pppd python readline reflection session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode xml xmlreader xmlrpc xmlwriter 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" 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 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: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge log follows. Created attachment 119653 [details]
emerge log for php-5.2.2-r1, failed for db-4.2 on second pass
Thanks :)
Looks like I'm seeing the same thing as part of emerging mythweb: * Disabling mm * Disabling sqlite 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: `CPPFLAGS' has changed since the previous run: configure: former value: -I/usr/include/db4.2 configure: current value: -I/usr/include/db4.2 -I/usr/include/db4.2 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.2-r1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile php-5.2.2-r1.ebuild, line 172: Called src_compile_normal php-5.2.2-r1.ebuild, line 326: Called php5_2-sapi_src_compile php5_2-sapi.eclass, line 610: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.2-r1/temp/build.log'. lightning ~ # lightning ~ # emerge -pvDuN mythweb These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-lang/php-5.2.2-r1 USE="apache2 berkdb cjk cli crypt gdbm iconv ipv6 ldap mysql ncurses nls pcre readline reflection session spell spl ssl truetype unicode xml zlib (-adabas) -bcmath (-birdstep) -bzip2 -calendar -cdb -cgi -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -ftp -gd -gd-external -gmp -hash -imap -inifile -interbase -iodbc -java-external -json -kerberos -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 (-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -sqlite -suhosin (-sybase) (-sybase-ct) -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB [ebuild N ] www-apps/mythweb-0.20_p11671 USE="-vhosts" 18 kB Total: 2 packages (2 new), Size of downloads: 18 kB lightning ~ # lightning ~ # emerge --info Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.21-rc5-rt12 x86_64) ================================================================= System uname: 2.6.21-rc5-rt12 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 18 May 2007 16:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" 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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp http://www.zentek-international.com/mirrors/gentoo/" LC_ALL="en_US" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/local/portage /usr/portage/local/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 audiofile berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode fam firefox flac fluidsynth fortran gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 hal i8x0 iconv ipv6 isdnlog jack jack-tmpfs java jpeg kde ladspa ldap libg++ mad midi mikmod mjpeg mp3 mpeg mysql mythtv ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime radeon readline reflection sdl session sndfile spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="hdsp9652" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS lightning ~ # happened to me too, on a brand new 2007.0 amd64 installation. Should be fixed now, part of another fix interfered with the build process. I've now reverted that fix and PHP should build again. Best regards, CHTEKK. *** Bug 179069 has been marked as a duplicate of this bug. *** I encounter this bug today, this is cause by php5_2.sapi.eclass. In /usr/portage/eclass/php5_2.sapi.eclass line 467 : :if use berkdb ; then : append-cppflags "-I$(db_includedir)" :fi comment them out and things will go well:) (In reply to comment #8) emerge --sync please, has already been fixed (properly). Only to confirm that for me is fixed (I've synced this morning, ~10:00 CEST). Thanks. |