Compilation of dev-db/postgresql-base-8.4.4-r1 fails shortly after configure. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS=~x86 2. emerge =dev-db/postgresql-base-8.4.4-r1 3. Watch the failure! Actual Results: (Configure steps elided.) >>> Compiling source in /var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4 ... make -j -l 3.0 make -C doc all make[1]: Entering directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/doc' gzip -d -c man.tar.gz | /bin/tar xf - make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/doc' make -C src all make[1]: Entering directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/src' make -C port all make[2]: Entering directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/src/port' i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o crypt.o crypt.c -MMD -MP -MF .deps/crypt.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o getopt.o getopt.c -MMD -MP -MF .deps/getopt.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o getrusage.o getrusage.c -MMD -MP -MF .deps/getrusage.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o inet_aton.o inet_aton.c -MMD -MP -MF .deps/inet_aton.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o random.o random.c -MMD -MP -MF .deps/random.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o rint.o rint.c -MMD -MP -MF .deps/rint.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o srandom.o srandom.c -MMD -MP -MF .deps/srandom.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o strdup.o strdup.c -MMD -MP -MF .deps/strdup.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o strerror.o strerror.c -MMD -MP -MF .deps/strerror.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o strlcat.o strlcat.c -MMD -MP -MF .deps/strlcat.Po i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -ggdb -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE -c -o strlcpy.o strlcpy.c -MMD -MP -MF .deps/strlcpy.Po In file included from ../../src/include/c.h:854, from getopt.c:33: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here In file included from ../../src/include/c.h:854, from crypt.c:44: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here make[2]: *** [getopt.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ../../src/include/c.h:854, from random.c:16: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here In file included from ../../src/include/c.h:854, from rint.c:15: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here crypt.c:237: error: expected specifier-qualifier-list before ‘__int64’ make[2]: *** [crypt.o] Error 1 In file included from ../../src/include/c.h:854, from strdup.c:16: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here strdup.c:20: error: expected identifier or ‘(’ before ‘__extension__’ make[2]: *** [strdup.o] Error 1 make[2]: *** [random.o] Error 1 make[2]: *** [rint.o] Error 1 In file included from ../../src/include/c.h:854, from inet_aton.c:41: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here In file included from ../../src/include/c.h:854, from strlcpy.c:35: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here make[2]: *** [strlcpy.o] Error 1 In file included from ../../src/include/c.h:854, from getrusage.c:16: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here make[2]: *** [inet_aton.o] Error 1 getrusage.c: In function ‘getrusage’: getrusage.c:77: error: ‘CLK_TCK’ undeclared (first use in this function) getrusage.c:77: error: (Each undeclared identifier is reported only once getrusage.c:77: error: for each function it appears in.) make[2]: *** [getrusage.o] Error 1 In file included from ../../src/include/c.h:854, from strlcat.c:22: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here make[2]: *** [strlcat.o] Error 1 In file included from ../../src/include/c.h:854, from strerror.c:12: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here strerror.c:19: error: conflicting types for ‘strerror’ /usr/include/string.h:411: note: previous declaration of ‘strerror’ was here In file included from ../../src/include/c.h:854, from srandom.c:16: ../../src/include/port.h:378: error: expected identifier or ‘(’ before ‘__extension__’ ../../src/include/port.h:394: error: conflicting types for ‘unsetenv’ /usr/include/stdlib.h:588: note: previous declaration of ‘unsetenv’ was here make[2]: *** [strerror.o] Error 1 make[2]: *** [srandom.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/src/port' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-base-8.4.4-r1/work/postgresql-8.4.4/src' make: *** [all] Error 2 * ERROR: dev-db/postgresql-base-8.4.4-r1 failed: * emake failed Expected Results: Compiled without error emerge --info: Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4-asneeded, glibc-2.11.2-r0, 2.6.34-gentoo i686) ================================================================= System uname: Linux-2.6.34-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 13 Jun 2010 11:30:21 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.5, 4.4.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL googleearth" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j -l 3.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/x11 /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa avahi bash-completion berkdb bluetooth bzip2 caps cdr cli consolekit cracklib crypt cups cxx dbus dri dvd ffmpeg flac fortran gdbm gpm gtk hal iconv ieee1394 inotify ipv6 java jingle jpeg kde kerberos lame latex ldap lua lzma mad matroska mmx modules mp3 mudflap mysql ncurses networkmanager nls nptl nptlonly odbc offensive ogg opengl openmp pam pch pcmcia pcre perl png policykit postgres pppd pulseaudio python qt qt3support qt4 readline reflection samba sasl sdl semantic-desktop session slp smp sndfile speex spell spl sse sse2 sse3 ssl svg sysfs tcpd theora threads tiff truetype udev unicode upnp usb v4l2 vim-syntax vorbis wifi win32codecs wireless x86 xattr xinerama xml xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Duplicate of Bug 322539
*** This bug has been marked as a duplicate of bug 322539 ***