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

Bug 224453

Summary: net-libs/gnutls-2.3.11 gcc-4.3 compilation problem
Product: Gentoo Linux Reporter: Zeev Tarantov <zeev.tarantov>
Component: [OLD] GCC PortingAssignee: Crypto team [DISABLED] <crypto+disabled>
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: build log

Description Zeev Tarantov 2008-06-01 10:29:44 UTC
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"

Actual Results:  

(cd .libs && rm -f && ln -s ../
/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 ../../lib/ ../../libextra/ ../../gl/
/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 ../../lib/ ../../libextra/ ../../gl/
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/ ../../libextra/.libs/ ../../gl/.libs/libgnu.a /usr/lib/ /usr/lib/  -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/ ../../libextra/.libs/ ../../gl/.libs/libgnu.a /usr/lib/ /usr/lib/  -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:
 *     , 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
Comment 1 Zeev Tarantov 2008-06-01 10:30:54 UTC
Created attachment 155067 [details]
build log
Comment 2 Zeev Tarantov 2008-06-01 10:31:51 UTC
output of emegre --info:

Portage (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-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/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
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"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/java-overlay /usr/portage/local/layman/gcc-porting /usr/local/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"

Comment 3 michel 2008-06-01 11:52:49 UTC
confirm, the same here
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-01 15:19:07 UTC
Fixed without revbump.
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2008-06-01 21:47:57 UTC
Created attachment 155165 [details, diff]

Blah, spend 20 minutes finding the problem which apparently was already fixed.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2008-06-02 08:22:46 UTC
thanks  Diego