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

Bug 245544

Summary: net-libs/gnutls-2.6.0 - ../libtool: line 868: X--tag=CC: command not found
Product: Gentoo Linux Reporter: Vasilis Lourdas <bugs>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: daniel.vergien, polynomial-c
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 212763    
Attachments: build.log

Description Vasilis Lourdas 2008-11-04 17:30:26 UTC
make[3]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.6.0/work/gnutls-2.6.0/lgl'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl  -pipe  -march=core2 -O2 -pipe -Wno-pointer-sign -MT c-ctype.lo -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.lo c-ctype.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl  -pipe  -march=core2 -O2 -pipe -Wno-pointer-sign -MT asnprintf.lo -MD -MP -MF .deps/asnprintf.Tpo -c -o asnprintf.lo asnprintf.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl  -pipe  -march=core2 -O2 -pipe -Wno-pointer-sign -MT printf-args.lo -MD -MP -MF .deps/printf-args.Tpo -c -o printf-args.lo printf-args.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl  -pipe  -march=core2 -O2 -pipe -Wno-pointer-sign -MT printf-parse.lo -MD -MP -MF .deps/printf-parse.Tpo -c -o printf-parse.lo printf-parse.c
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../intl  -pipe  -march=core2 -O2 -pipe -Wno-pointer-sign -MT read-file.lo -MD -MP -MF .deps/read-file.Tpo -c -o read-file.lo read-file.c
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--tag=CC: command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1179: X-std=gnu99: command not found
../libtool: line 1179: X-std=gnu99: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 901: libtool: ignoring unknown tag : command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 868: X--mode=compile: command not found
../libtool: line 1179: X-std=gnu99: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-I../intl: No such file or directory
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-march=core2: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1179: X-std=gnu99: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-I../intl: No such file or directory
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-march=core2: command not found
../libtool: line 1179: X-I../intl: No such file or directory
../libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1179: X-Wno-pointer-sign: command not found
../libtool: line 1179: X-I../intl: No such file or directory
../libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-march=core2: command not found
../libtool: line 1179: X-march=core2: command not found
../libtool: line 1179: X-Wno-pointer-sign: command not found
../libtool: line 1179: X-std=gnu99: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: Xprintf-args.lo: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-DHAVE_CONFIG_H: command not found
../libtool: line 1179: X-Wno-pointer-sign: command not found
../libtool: line 1179: X-Wno-pointer-sign: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: Xc-ctype.lo: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-I.: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X-I..: command not found
../libtool: line 1179: X-MT: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X-I../intl: No such file or directory
../libtool: line 1179: Xasnprintf.lo: command not found
../libtool: line 1179: Xprintf-parse.lo: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X-pipe: command not found
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X.deps/printf-args.Tpo: No such file or directory
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X.deps/c-ctype.Tpo: No such file or directory
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-march=core2: command not found
../libtool: line 1179: X-c: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X-c: command not found
../libtool: line 1179: X-O2: command not found
../libtool: line 1179: X.deps/asnprintf.Tpo: No such file or directory
../libtool: line 1232: Xprintf-args.lo: command not found
../libtool: line 1179: X.deps/printf-parse.Tpo: No such file or directory
../libtool: line 1179: X-pipe: command not found
../libtool: line 1232: Xc-ctype.lo: command not found
../libtool: line 1179: X-c: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [printf-args.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
../libtool: line 1232: Xasnprintf.lo: command not found
../libtool: line 1179: X-c: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [c-ctype.lo] Error 1
../libtool: line 1179: X-Wno-pointer-sign: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
../libtool: line 1232: Xprintf-parse.lo: command not found
make[3]: *** [asnprintf.lo] Error 1
../libtool: line 1179: X-MT: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
../libtool: line 1179: Xread-file.lo: command not found
make[3]: *** [printf-parse.lo] Error 1
../libtool: line 1179: X-MD: command not found
../libtool: line 1179: X-MP: command not found
../libtool: line 1179: X-MF: command not found
../libtool: line 1179: X.deps/read-file.Tpo: No such file or directory
../libtool: line 1179: X-c: command not found
../libtool: line 1232: Xread-file.lo: command not found
../libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [read-file.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.6.0/work/gnutls-2.6.0/lgl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.6.0/work/gnutls-2.6.0/lgl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.6.0/work/gnutls-2.6.0'
make: *** [all] Error 2
 * 
 * ERROR: net-libs/gnutls-2.6.0 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2595:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake 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/net-libs/gnutls-2.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-2.6.0/temp/environment'.
 * 

>>> Failed to emerge net-libs/gnutls-2.6.0, Log file:

>>>  '/var/tmp/portage/net-libs/gnutls-2.6.0/temp/build.log'



emerge --info
emerge --info
Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.7-r2, 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 04 Nov 2008 17:01:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://saturn/~lourdas/ http://mirror.bytemark.co.uk/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 asf bash-completion berkdb bluetooth branding bzip2 bzlib cairo caps charconv chm cli cracklib crypt css ctype cups curl custom-optimization dba dbus device-mapper dmi dri dts dvd dvdr dvdread effects encode exif expat fat fbcon ffmpeg fftw firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hal hddtemp howl iconv icu id3tag imagemagick imap imlib innodb isdnlog jabber java java6 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix lcms libsamplerate libwww lm_sensors madwifi maildir mailwrapper mhash midi mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs nvidia objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pear perl php pmu png posix pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs ruby sasl scanner server session sharedext simplexml slang smp sndfile soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog tcltk tcpd tetex threads tidy tiff tokenizer tordns truetype unicode usb userlocales vda vnc vncviewer vorbis wmf wv wxgtk1 x264 xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc xvnc zip zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MPMS="worker" 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="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2008-11-04 18:50:15 UTC
Full build.log, please.

It looks like ltmain.sh script got updated, but the macro didn't.
Comment 2 Vasilis Lourdas 2008-11-04 19:09:52 UTC
Created attachment 170725 [details]
build.log

Here's the build.log.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-04 19:55:35 UTC
By looking at his emerge --info he seems to run an amd64 stable system with some packages pulled from unstable (portage, baselayout, openrc). 
Vasileios, I  wonder if the problem persists if you upgrade sys-devel/libtool to the latest ~amd64 package available as this version of gnutls compiles just fine on my ~amd64 machine...
Comment 4 Vasilis Lourdas 2008-11-04 20:12:50 UTC
(In reply to comment #3)
> By looking at his emerge --info he seems to run an amd64 stable system with
> some packages pulled from unstable (portage, baselayout, openrc). 
> Vasileios, I  wonder if the problem persists if you upgrade sys-devel/libtool
> to the latest ~amd64 package available as this version of gnutls compiles just
> fine on my ~amd64 machine...

Yeah, with latest ~ version of libtool (2.2.6a), gnutls compiles fine.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2008-11-05 09:50:33 UTC
Thanks Vasileios and Lars. Great analysis. I've added libtool-2.2.4 as a minimum build dependency.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2008-11-06 19:44:34 UTC
*** Bug 245843 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Black (RETIRED) gentoo-dev 2008-11-07 05:27:49 UTC
i've since reverted the dependency and worked around this another way
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-07 15:44:34 UTC
*** Bug 245843 has been marked as a duplicate of this bug. ***
Comment 9 Vasilis Lourdas 2009-05-01 09:43:35 UTC
*** Bug 268065 has been marked as a duplicate of this bug. ***