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

Bug 179069

Summary: dev-lang/php-5.2.1-r & 5.2.2-r1 compile fail with USE=berkdb
Product: Gentoo Linux Reporter: Daniel Black (RETIRED) <dragonheart>
Component: [OLD] ServerAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Black (RETIRED) gentoo-dev 2007-05-19 06:47:45 UTC
*   Disabling sqlite
 * 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: `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.1-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 5501:   Called src_compile
  php-5.2.1-r3.ebuild, line 172:   Called src_compile_normal
  php-5.2.1-r3.ebuild, line 326:   Called php5_2-sapi_src_compile
  php5_2-sapi.eclass, line 610:   Called die

[ebuild     U ] dev-lang/php-5.2.2-r1 [5.2.1-r3] USE="apache2 berkdb bzip2 cli crypt curl doc exif gmp iconv ipv6 mysql ncurses nls pcre pic qdbm readline reflection session spell spl ssl truetype unicode zlib (-adabas) -bcmath (-birdstep) -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path (-empress) (-empress-bcs) (-esoob) -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -ftp -gd -gd-external -gdbm -hash -imap -inifile -interbase -iodbc -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 (-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -posix -postgres -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -sqlite -suhosin (-sybase) (-sybase-ct) -sysvipc -threads -tidy -tokenizer -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external (-apache%)" 0 kB
 $ emerge --info
Portage 2.1.2.2 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r2, 2.6.19-gentoo-r5-livecdbased x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5-livecdbased x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 18 May 2007 19:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
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.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="-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/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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo               http://mirror.linux.org.au/gentoo               http://ftp.swin.edu.au/gentoo/      http://mirror.pacific.net.au/linux/Gentoo/               http://gentoo.oregonstate.edu           http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB en_AU"
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"
PORTDIR_OVERLAY="/usr/local/layman/xeffects"
SYNC="rsync://mirror.linux.org.au/gentoo-portage"
USE="X a52 aac acl alsa amd64 amr amrr ares bash-completion berkdb bitmap-fonts boundschecking bzip2 cairo cddb cdr cli cracklib crypt css cups curl dbus dga directfb divx4linux dri dts dv dvb dvd dvdr dvdread dxr3 ecc enca encode exif fame flac fortran fpx gdbm gif glitz gnokii gnutls gphoto2 gpm graphviz gs gsm hal hardened hpn iconv idn ieee1394 imagemagick ipv6 isdnlog java jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms libg++ lua lzo mad midi mjpeg mmap mmx mp2 mp3 mplayer mtp musicbrainz mysql ncurses njp nls nptl nptlonly nsplugin ogg openal openexr opengl pam pcre pdds pdf perl php pic player png pppd python qt rar readline reflection restrict-javascript samba session silc slp speex spell spl srtp sse sse2 ssl subtitles svg symlink sysfs tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode usb utempter v4l v4l2 vorbis vorbis-psy wmf x264 xine xinerama xorg xscreensaver xvid yv12 zlib zrtp" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_AU" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-19 07:12:28 UTC

*** This bug has been marked as a duplicate of bug 179034 ***