Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321551 - sys-devel/libtool-2.2.7b fails tests 56:versioning and 102:low max_cmd_len with --as-needed
Summary: sys-devel/libtool-2.2.7b fails tests 56:versioning and 102:low max_cmd_len wi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2010-05-26 13:24 UTC by Xake
Modified: 2010-06-08 21:52 UTC (History)
3 users (show)

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

build.log (sys-devel-libtool-2.2.7b-20100526-115527.log,45.00 KB, text/plain)
2010-05-26 13:25 UTC, Xake
testsuite.log (testsuite.log,193.00 KB, text/plain)
2010-05-26 13:26 UTC, Xake
commit 9a801684f6e1a665dc7126091662b34d042adf68 sissored for portage (libtool-2.2.8-fix-version-test.patch,3.89 KB, patch)
2010-06-08 21:08 UTC, Xake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2010-05-26 13:24:45 UTC
For me sys-devel/libtool-2.2.7b fails the versioning and the cmd-lenght tests. sys-devel/libtool-2.2.6b merges fine.
Vill attach build.log and testsuite.log

$ emerge --info
Portage 2.2_rc67 (hardened/linux/amd64/10.0, gcc-4.4.4-vanilla, glibc-2.11.1-r0, 2.6.34-gentoo x86_64)
System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 26 May 2010 01:00:23 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="sv en"
MAKEOPTS="-j10 -l10"
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="/var/overlays/layman/java-overlay /var/overlays/layman/hardened-development /var/overlays/layman/gnome /var/overlays/layman/x11 /var/overlays/layman/mozilla /var/overlays/layman/gamerlay /var/overlays/mine"
USE="X a52 aac accessibility acl acpi alsa amd64 amr amrnb amrwb applet archive asyncns avahi bash-completion bluetooth branding bzip2 cairo ccache cdaudio cdda cdr cleartype cli consolekit cracklib crypt cups cxx dbus device-mapper devicekit devkit dhcpcd digitalradio dirac djvu dmraid dri dts dvd dvdr dvi eds encode eselect evo exif faac faad fat fbcondecor ffmpeg fftw flac fontconfig fuse gdbm gdm gdu gif gimp glib gmp gnome gnome-keyring gphoto2 gpm grammar graphite gsf gsm gstreamer gtk gudev hal hardened hpn ical iconv iconvacl icq icu id3tag idn ieee1394 iptc jabber jack java6 jingle jpeg jpeg2k justify kate kvm lcms libffi libnotify libsamplerate logrotate lvm lvm2 lzma mad maps math matroska md mdadm midi mms mmx mmxext mng moonlight mp2 mp3 mpeg mpi msn mtp mudflap multilib musepack musicbrainz nautilus ncurses network-cron networkmanager nfs nls nntp nptl nptlonly ntfs offensive ogg openal opencore-amr opengl openmp openntpd ots pam pango parted pcre pdf perl pic pidgin png policykit pppd pulseaudio python quicktime raw readline reflection rrdcgi samba sensord session smp sms speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs test tex theora thesaurus threads tiff totem truetype udev unicode upnp urandom usb userlocales v4l2 vdpau vhook videos vim-syntax vorbis webkit wmf x264 xcb xcomposite xmp xmpp xorg xrandr xscreensaver xulrunner xv xvid xvmc zeroconf 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Comment 1 Xake 2010-05-26 13:25:40 UTC
Created attachment 232991 [details]
Comment 2 Xake 2010-05-26 13:26:09 UTC
Created attachment 232993 [details]

If you need anything more, please ask for it.
Comment 3 SpanKY gentoo-dev 2010-05-26 17:35:30 UTC
versioning test fails because of:
+/var/tmp/portage/sys-devel/libtool-2.2.7b/work/libtool-2.2.7b/tests/testsuite.dir/056/inst/bin/prog2: symbol lookup error: /var/tmp/portage/sys-devel/libtool-2.2.7b/work/libtool-2.2.7b/tests/testsuite.dir/056/inst/lib/ undefined symbol: a

which is probably due to your toolchain settings

no idea why the other fails
Comment 4 Xake 2010-05-26 21:12:20 UTC
Removing as-needed from my LDFLAGS and both tests pass.
So yet another as-needed bug.
Comment 5 Xake 2010-05-27 11:12:59 UTC
As I see it the interesting part would be to know if this is that libtools testsuite links that file strange, or if it is libtool that may break linking with as-needed...
Comment 6 Xake 2010-06-08 18:20:45 UTC
This is fixed in git.
Should we wait for libtool-2.2.9, or will this be fixed in portage soon?
Comment 7 SpanKY gentoo-dev 2010-06-08 19:31:09 UTC
one was fixed, but were both ?
Comment 8 Xake 2010-06-08 20:49:26 UTC
(In reply to comment #7)
> one was fixed, but were both ?

Yeah, the second one seems to be that the testsuit reruns all tests again with another max cmd length, and versioning failed for both.
If I apply 9a801684f6e1a665dc7126091662b34d042adf68 on top of 2.2.8 everything works/tests fine.
Comment 9 Xake 2010-06-08 21:08:47 UTC
Created attachment 234597 [details, diff]
commit 9a801684f6e1a665dc7126091662b34d042adf68 sissored for portage
Comment 10 SpanKY gentoo-dev 2010-06-08 21:52:15 UTC
that's fine then, thanks.  added to 2.2.8-r1 among other things.