Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249326 - net-libs/gnutls-2.6.2 fails with USE="-cxx" and sys-devel/libtool-1.5.26
Summary: net-libs/gnutls-2.6.2 fails with USE="-cxx" and sys-devel/libtool-1.5.26
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 23:40 UTC by Lars Strojny
Modified: 2009-01-05 07:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,18.63 KB, text/plain)
2008-11-29 23:42 UTC, Lars Strojny
Details
environment (environment,99.99 KB, text/plain)
2008-11-29 23:42 UTC, Lars Strojny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Strojny 2008-11-29 23:40:55 UTC
Error message:
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: error: conditional "am__fastdepCXX" was never defined.
Usually this means the macro was only invoked conditionally.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/gnutls-2.6.2/work/gnutls-2.6.2/config.log
 *
 * ERROR: net-libs/gnutls-2.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2603:  Called econf '--with-zlib' '--enable-nls' '--disable-guile' '--disable-cxx' '--disable-gtk-doc' '--with-lzo'
 *               ebuild.sh, line  529:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf 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.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-2.6.2/temp/environment'.
 *
Comment 1 Lars Strojny 2008-11-29 23:42:04 UTC
Created attachment 173829 [details]
build.log
Comment 2 Lars Strojny 2008-11-29 23:42:36 UTC
Created attachment 173830 [details]
environment
Comment 3 Wormo (RETIRED) gentoo-dev 2008-11-30 07:57:48 UTC
Please post one more thing: output of emerge --info
Comment 4 Lars Strojny 2008-11-30 10:44:55 UTC
$ emerge --info

Portage 2.1.6_rc2 (default/linux/amd64/2008.0/developer, gcc-4.3.1, glibc-2.7-r2, 2.6.28-rc5-mactel x86_64)
=================================================================
System uname: Linux-2.6.28-rc5-mactel-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5
Timestamp of tree: Sat, 29 Nov 2008 12:30:08 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-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-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mno-tls-direct-seg-refs"
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/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs digest distlocks metadata-transfer multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
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/local/portage/layman/java-overlay /usr/local/portage/layman/gentopia /usr/local/portage/layman/mozilla /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/overlays/lars /usr/local/overlays/party-ebuilds /usr/local/overlays/php-overlay /usr/local/overlays/couchdb-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi admin aiglx alsa amd64 apache2 applet asyncns audioscrobbler autoipd automount avahi bash-completion beagle berkdb binfilter bluetooth bonjour bookmarks bzip2 cairo cdda cddb cdparanoia cdr chm consolekit cpudetection cracklib crypt cscope cups curl cvs daap dbus dell device-mapper dga dia dirac disk-partition djvu dmi dpms dri dri2 dts dv dvb dvd dvdnav dvdr dvdread dvi eds enca encode eog esd evo exif extraengine extras fam fbsplash ffmpeg firefox flac fontconfig ftp fuse gajim galago gdbm gedit gif gimp gimp-print gimpprint git glade glitz gnet gnome gnome-keyring gnome-print gphoto2 gpm gsf gsm gstreamer gstreamer010 gtk gtkhtml guile gzip hal howl hvm iconv idle idn ieee1394 ilbc inkjar ipod ipv6 jabber jack java5 jingle jpeg jrtplib kdeenablefinal keyring laptop lcms ldap libcaca libgda libnotify libsexy live logrotate lua lzo mactel mad matroska mhash midi mmx mng mono mozdevelop mp2 mp3 mpeg mpm-worker msn multilib multiuser musepack musicbrainz mysql nautilus ncurses networkmanager newspr nfs njb nls nntp no-old-linux nptl nptlonly nsplugin ntp ntplonly office ogg opengl ortp pam pango pcf pcre pdf php png portaudio ppds prediction print printer pygrub python quicktime rar readline ruby samba schroedinger slp smp soap sockets speex spell sqlite sqlite3 srt srv srvdir sse sse2 ssh ssl ssse3 startup-notification subversion svg t1lib tagwriting theora threads tiff tracker trayicon truetype tslib unicode usb v4l v4l2 vim-pager vim-syntax vorbis vorbis-psy webdav wma wmf x264 xanim xattr xcb xcomposite xforms xft xhtml xinerama xml xml2 xorg xprint xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="hda-intel als4000" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm asym dmix empty iec958 ioplug plug 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Rafał Mużyło 2008-11-30 15:28:20 UTC
Same story as in that recently closed bug about gedit:
gnutls is shipped with libtool 2, on a libtool 1 system
eautoreconf updates ltmain.sh, but not the macros.

This results in a failure.

Deleting those macros before eautoreconf should fix it.
Comment 6 Wormo (RETIRED) gentoo-dev 2008-12-01 03:26:07 UTC
Rafal: it sounds like a good theory because Lars does have 1.5 libtool, but take a close look at the gnutls-2.6.2 ebuild -- it already deletes those macro files that were causing the gedit bug. So, there is something else going on here... possibly caused by the new 2.63 autoconf.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2009-01-04 03:14:30 UTC
I doubt its libtool as it fails with versions 1.5.26 and 2.2.4.

looks like the gnutls-2.6.0-cxx-configure.in.patch patch i did was a bit deficient (now included in gnutls-2.7.3).

to be successful i imagine the lib/configure.ac should define the am__fastdepCXX_{FALSE/TRUE} macros somehow.

gnutls-2.7.3 $ fgrep -r am__fastdepCXX config.log  lib/config.log
config.log:am__fastdepCXX_FALSE='#'
config.log:am__fastdepCXX_TRUE=''
lib/config.log:configure:35169: error: conditional "am__fastdepCXX" was never defined.
lib/config.log:am__fastdepCXX_FALSE=''
lib/config.log:am__fastdepCXX_TRUE=''

suggestions welcome - i'm still struggling.


(In reply to comment #6)
> Rafal: it sounds like a good theory because Lars does have 1.5 libtool, but
> take a close look at the gnutls-2.6.2 ebuild -- it already deletes those macro
> files that were causing the gedit bug.

looking closer there are m4 files in different directories that are not deleted. joys of a multi level autoconf. unfortunately deleting these didn't help.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2009-01-05 07:43:39 UTC
patch thanks to Arfrever tested with libtool-1.5.6 and 2.2.4