Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229747 - sys-devel/libtool testsuite failures
Summary: sys-devel/libtool testsuite failures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 12:55 UTC by Carsten Lohrke (RETIRED)
Modified: 2009-09-14 02:26 UTC (History)
10 users (show)

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


Attachments
testsuite.log.28 (testsuite.log.28,9.56 KB, text/plain)
2008-06-27 12:55 UTC, Carsten Lohrke (RETIRED)
Details
testsuite.log.62 (testsuite.log.62,7.76 KB, text/plain)
2008-06-27 12:55 UTC, Carsten Lohrke (RETIRED)
Details
testsuite.log.72 (testsuite.log.72,26.13 KB, text/plain)
2008-06-27 12:56 UTC, Carsten Lohrke (RETIRED)
Details
test 63 patch (libtool.asneeded.patch,925 bytes, patch)
2009-03-21 20:28 UTC, Nick Fortino
Details | Diff
libtool-2.2.6-testsuite-localization.patch (libtool-2.2.6-testsuite-localization.patch,1.92 KB, patch)
2009-08-15 03:20 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 12:55:06 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Fri, 27 Jun 2008 09:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -msse3 -funit-at-a-time -ftracer"
CHOST="i686-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.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -msse3 -funit-at-a-time -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect cvs distlocks fixpackages metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times  --compress  --force  --whole-file  --delete               --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'              --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa apache2 audiofile berkdb bzip2 cairo caps cddb cdparanoia cdr chroot cli cracklib crypt css cups curl cxx dbus device-mapper dga doc dvd dvdr dvdread emacs emboss encode evo exif faad fam ffmpeg firefox flac fontconfig fortran gd gif glut gphoto2 gpm graphviz hal hbci iconv idn imagemagick imap ipv6 isdnlog javascript jpeg jpeg2k kde kdehiddenvisibility kipi ladcca lame lcms ldap lirc lm_sensors lzo mad maildir matroska mbox md5sum midi mmx mmxext mng mp3 mp4 mpeg mudflap musepack nas ncurses network nfs nls nptl nptlonly ofx ogg openexr opengl openmp pam pcap pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection rtc ruby samba sasl scanner sdl session slp snmp sox spell spl sse sse2 ssl subversion svg svga tcpd tetex theora threads tiff transcode truetype unicode usb vorbis win32codecs wmf x264 x86 xattr xcb xcomposite xerces xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" 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_alias 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_ftp proxy_http rewrite setenvif so speling status substitute unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 12:55:40 UTC
Created attachment 158635 [details]
testsuite.log.28
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 12:55:59 UTC
Created attachment 158637 [details]
testsuite.log.62
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 12:56:17 UTC
Created attachment 158639 [details]
testsuite.log.72
Comment 4 Michel van Putten 2008-10-24 17:26:07 UTC
Test 28 still fails for libtool 2.2.6a. This also makes test 73 fail (depends on other tests). Test 62 and 72 are OK, though
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-02-02 20:40:35 UTC
25 28 29 63 73 failed here.  they don't all fail all the time, though.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2009-02-02 21:33:30 UTC
i lied, they do always fail.

25:
--- /dev/null   2009-02-01 15:16:40.080058281 -0600
+++ /var/tmp/portage/sys-devel/libtool-2.2.6a/work/libtool-2.2.6/tests/testsuite.dir/at-groups/25/stderr    2009-02-02 15:13:32.000000000 -0600
@@ -0,0 +1 @@
+^[[33;01mQA: Static ELF^[[0m ./main


28:
same as attached


29:
--- /dev/null   2009-02-01 15:16:40.080058281 -0600
+++ /var/tmp/portage/sys-devel/libtool-2.2.6a/work/libtool-2.2.6/tests/testsuite.dir/at-groups/29/stderr    2009-02-02 15:13:38.000000000 -0600
@@ -0,0 +1 @@
+^[[33;01mQA: Static ELF^[[0m ./m-all-static


63:
same as attached 62 (test number just got bumped up one)

73:
ditto
Comment 7 Nick Fortino 2009-03-21 20:28:08 UTC
Created attachment 185786 [details, diff]
test 63 patch

The test 63 failure looks to be a --as-needed issue, as liba.lib is not explicitly listed as a dependency of main.o, so it's not linked in with --as-needed. This seems to be a failure by design, so the attached patch simply adds a -Wl,--no-as-needed to the critical step in the test.

The test 28 failure seems to be the fault of portage. It works for me running make check manually. The test is insuring a library passed via -R to libtool ends up in dependency_libs in the installed static library. I presume this is intentionally filtered by portage so /var/tmp/portage paths don't appear on the installed system. Since I can't find where this presumed filtering happens, I'll leave it to someone more knowledgeable to decide if this test should be marked as an expected failure.
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2009-08-15 03:20:51 UTC
Created attachment 201295 [details, diff]
libtool-2.2.6-testsuite-localization.patch

fix from upstream for test #37 (localization.at)
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2009-08-15 03:25:37 UTC
Nick, I can't get test 63 to fail for me, with or without --Wl,--as-needed.  Is it still failing for you, and if so can you post emerge --info?
Comment 10 Nick Fortino 2009-08-15 19:51:07 UTC
(In reply to comment #9)
> Nick, I can't get test 63 to fail for me, with or without --Wl,--as-needed.  Is
> it still failing for you, and if so can you post emerge --info?
> 

Works fine here as well (?).
Test 28 still has the fail in portage pass outside of portage behavior, and is the only failing test.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2009-09-01 03:27:47 UTC
okay, we'll wait until the next release and mark runpath-in-lalib as an expected failure then.  libtool trunk has seen a lot of churn in the testsuite code and it would be a bit of a bitch to backport individual fixes.
Comment 12 Attila Stehr 2009-09-06 15:10:43 UTC
summary:
test 28 and 73 (still) fail for libtool-2.2.6a on ~amd64

call:
ACCEPT_KEYWORDS="~amd64" emerge -v libtool

note:
Only libtool is built, not any needed packages (~amd64).

result:
## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 69 tests were run,
5 failed (3 expected failures).
5 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

   To: <bug-libtool@gnu.org>
   Subject: [libtool 2.2.6] testsuite: 28 73 failed


You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `tests/testsuite.dir'.

make[3]: *** [check-local] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.6a/work/libtool-2.2.6'
make[2]: *** [check-am] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.6a/work/libtool-2.2.6'
make[1]: *** [check-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.6a/work/libtool-2.2.6'
make: *** [check] Fehler 2
 * 
 * ERROR: sys-devel/libtool-2.2.6a failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2788:  Called _eapi0_src_test
 *               ebuild.sh, line  607:  Called die
 * The specific snippet of code:
 *   			hasq test $FEATURES && die "Make check failed. See above for details."
 *  The die message:
 *   Make check failed. See above for details.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-devel:libtool-2.2.6a:20090906-143617.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.6a/temp/environment'.

-----------------------------------

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 06 Sep 2009 12:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict stricter test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X acpi alsa amd64 applet archive bash-completion boundschecking bzip2 cairo cdinstall cdr clamav cracklib crypt cups cupsddk dbus dga directfb dri dvd dvdnav dvdr eds esd evo fam fbcon fontconfig fuse glitz gmp gnome gnutls gpm gstreamer gtk gzip hal hddtemp icu libnotify lm_sensors lzma lzo md5sum memlimit mmx mmxext mp4 mudflap multilib nautilus networkmanager nls nocd nptl nptlonly offensive opengl openmp pam pda ppds pth rtc session smp spell sse sse2 ssl startup-notification symlink sysfs test threads threadsafe thunar truetype unicode usb videos xcb xml xorg xulrunner zlib" ALSA_CARDS="via82xx" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2009-09-14 02:26:32 UTC
fixed as part of bug #257399 apparently.