build error Reproducible: Always Steps to Reproduce: 1. [ebuild U ] net-libs/gnutls-2.3.11 [2.2.5] USE="lzo nls zlib -bindist -doc -guile" 2. 3. Actual Results: snip... creating libexamples.la (cd .libs && rm -f libexamples.la && ln -s ../libexamples.la libexamples.la) /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -std=gnu99 -pipe -march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -Wno-pointer-sign -no-install -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags -o ex-cert-select ex-cert-select.o libexamples.la ../../lib/libgnutls.la ../../libextra/libgnutls-extra.la ../../gl/libgnu.la /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -std=gnu99 -pipe -march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -Wno-pointer-sign -no-install -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags -o ex-client2 ex-client2.o libexamples.la ../../lib/libgnutls.la ../../libextra/libgnutls-extra.la ../../gl/libgnu.la ex-cxx.cpp: In function 'int main()': ex-cxx.cpp:71: error: 'strlen' was not declared in this scope make[4]: *** [ex-cxx.o] Error 1 make[4]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -std=gnu99 -pipe -march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -Wno-pointer-sign -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags -o ex-cert-select ex-cert-select.o ./.libs/libexamples.a ../../lib/.libs/libgnutls.so ../../libextra/.libs/libgnutls-extra.so ../../gl/.libs/libgnu.a /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -Wl,--rpath -Wl,/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/lib/.libs -Wl,--rpath -Wl,/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/libextra/.libs i686-pc-linux-gnu-gcc -std=gnu99 -pipe -march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -Wno-pointer-sign -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags -o ex-client2 ex-client2.o ./.libs/libexamples.a ../../lib/.libs/libgnutls.so ../../libextra/.libs/libgnutls-extra.so ../../gl/.libs/libgnu.a /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -Wl,--rpath -Wl,/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/lib/.libs -Wl,--rpath -Wl,/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/libextra/.libs make[4]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/doc/examples' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/doc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.3.11/work/gnutls-2.3.11' make: *** [all] Error 2 * * ERROR: net-libs/gnutls-2.3.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2524: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) * * 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/net-libs/gnutls-2.3.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-2.3.11/temp/environment'. * Expected Results: compiles fine
Created attachment 155067 [details] build log
output of emegre --info: Portage 2.1.5.2 (default-linux/x86/2007.0/desktop, gcc-4.3.0, glibc-2.7-r2, 2.6.25-gentoo-r4 i686) ================================================================= System uname: 2.6.25-gentoo-r4 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz Timestamp of tree: Sun, 01 Jun 2008 09:17:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 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.50.0.7 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/udev/rules.d" CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags" LINGUAS="en en_US" MAKEOPTS="-j3" 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/mozilla /usr/portage/local/layman/java-overlay /usr/portage/local/layman/gcc-porting /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 bash-completion bidi bzip2 cairo cddb cdparanoia cdr cli cracklib crypt ctype curl curlwrappers dbus dga dri dvd dvdr dvdread encode exif fam fastcgi fbcon ffmpeg fftw firefox flac gd gdbm geoip gif glib glitz gmp gnutls gpm gtk hal hddtemp iconv ieee1394 innodb isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas libnotify libsamplerate lm_sensors mad matroska midi mikmod mime mmap mmx mp3 mpeg mplayer mudflap musepack mysql mysqli ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp oss pam pch pcntl pcre pdf perl php pic png posix postgres pppd python qt3 qt3support qt4 quicktime readline real realmedia reflection scanner sdl session sndfile spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg syslog sysvipc tcpd theora threads tidy tiff truetype unicode urandom usb vhosts vorbis wifi win32codecs wmf x264 x86 xcb xcomposite xml xmlreader xmlwriter xorg xv xvid yahoo 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
confirm, the same here
Fixed without revbump.
Created attachment 155165 [details, diff] patch Blah, spend 20 minutes finding the problem which apparently was already fixed.
thanks Diego