Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224595 - dev-libs/libtommath-0.36-r1 build fails with libtool unable to infer tagged configuration
Summary: dev-libs/libtommath-0.36-r1 build fails with libtool unable to infer tagged c...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 12:15 UTC by Jose daLuz
Modified: 2008-06-10 03:59 UTC (History)
1 user (show)

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


Attachments
build log for libtommath-0.36-r1 (libtommath.build,4.82 KB, text/plain)
2008-06-02 23:08 UTC, Jose daLuz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2008-06-02 12:15:08 UTC
Rebuilding my system with gcc 4.3.0, I ran into this issue rebuilding libtommath 0.36-r1:

>>> Starting src_compile
make -j4 -f makefile.shared IGNORE_SPEED=1
libtool --mode=compile gcc -march=k8 -O2 -pipe -ggdb -msse3 -I./ -Wall -W -Wshadow -Wsign-compare   -c -o bncore.o bncore.c
libtool --mode=compile gcc -march=k8 -O2 -pipe -ggdb -msse3 -I./ -Wall -W -Wshadow -Wsign-compare   -c -o bn_mp_init.o bn_mp_init.c
libtool --mode=compile gcc -march=k8 -O2 -pipe -ggdb -msse3 -I./ -Wall -W -Wshadow -Wsign-compare   -c -o bn_mp_clear.o bn_mp_clear.c
libtool --mode=compile gcc -march=k8 -O2 -pipe -ggdb -msse3 -I./ -Wall -W -Wshadow -Wsign-compare   -c -o bn_mp_exch.o bn_mp_exch.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [bncore.o] Error 1

Googling, this seems to be libtool unable to figure out what compiler is needed. See this mailing list message for an example: http://www.mail-archive.com/libtool@gnu.org/msg08036.html

Since this worked last time I rebuilt, and I was using libtool 1.5.26 back then, I assume this is part of the libtool 2.2.4 breakage.

Portage 2.1.5.3 (default-linux/amd64/2007.0/desktop, gcc-4.3.0, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sun, 01 Jun 2008 17:03:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j4"
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/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/mainline /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-02 13:53:44 UTC
Please post the entire build report as an attachment.
Comment 2 Jose daLuz 2008-06-02 23:08:47 UTC
Created attachment 155299 [details]
build log for libtommath-0.36-r1
Comment 3 Rafał Mużyło 2008-06-03 11:26:10 UTC
I consider this bug invalid, simply due to over a year old bug 162161.
libtommath reached 0.41 since then.
I'll see if that one is affected, if it is I'll try to make a patch for it.
Comment 4 Jose daLuz 2008-06-03 11:31:31 UTC
(In reply to comment #3)
> I consider this bug invalid, simply due to over a year old bug 162161.

It would only be invalid if that version were in the tree, instead of waiting for a maintainer to adopt the package. From the last comment on that bug, it looks like the newer package has the same issue. I'll give it a try tonight.
Comment 5 Rafał Mużyło 2008-06-03 11:34:25 UTC
Well, 0.41 it's not affected by this bug.
Comment 6 Rafał Mużyło 2008-06-03 11:36:32 UTC
Of course, I'm using my own patch from bug 162161.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-10 03:59:06 UTC
I just put 0.41 in the tree. I'll assume that your issue is fixed with the later package. Please re-open if there is a problem.