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

Bug 379105

Summary: sys-devel/binutils-2.21.1 fails tests
Product: Gentoo Linux Reporter: Myckel Habets <myckel>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ainsaar, creffett, DuPol, gentoo, jeremy.william.murphy, kensington, kingjon3377, kripton, levertond, nikoli, toralf
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 378485, 391793    
Attachments: build log
New build log
build.log: Test failures on amd64

Description Myckel Habets 2011-08-13 21:22:32 UTC
Doing bug 378485, I found that tests fail for this version of binutils. This is a regression over the current stable.

Reproducible: Always

Steps to Reproduce:
1. Emerge sys-devel/binutils-2.21.1 with FEATURES="test"
Actual Results:  
Emerge fails due to failing tests.

Expected Results:  
Emerge successful with no tests failing.

emerge --info
Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39 i686)
=================================================================
System uname: Linux-2.6.39-i686-Mobile_AMD_Sempron-tm-_Processor_2800+-with-gentoo-2.0.3
Timestamp of tree: Sat, 13 Aug 2011 06:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
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.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="nl en uk"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alisp alsa autoipd avahi bash-completion berkdb bzip2 cairo cg cjk cli cracklib crypt cups cxx dbus device-mapper devil double-precision dri encode fam fancy ffmpeg flac fontconfig fortran fts3 gallium gcj gdbm gdu gif gles gmp gnutls gpm gtk iconv icu imap ipv6 ithreads jadetex java5 jpeg kpathsea libnotify llvm mikmod mmx mng modules mp3 mudflap ncurses networking nls nptl nptlonly ogg ogre openexr opengl openmp openssl pam pcre perl pic player png policykit pppd python qt3support qt4 rdesktop readline sdl session smime sockets spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff timidity tinyxml tordns truetype udev unicode vnc vorbis x86 xcb xcomposite xetex xft xorg xvfb zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en uk" PHP_TARGETS="php5-3" RUBY_TARGETS="jruby ruby18 ree18" USERLAND="GNU" VIDEO_CARDS="fglrx r600 radeon 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" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Myckel Habets 2011-08-13 21:23:10 UTC
Created attachment 283241 [details]
build log
Comment 2 Agostino Sarubbo gentoo-dev 2011-08-14 00:26:43 UTC
Same error on amd64
Comment 3 Andreas Schürch gentoo-dev 2011-09-14 10:08:20 UTC
I get still the same error with sys-devel/binutils-2.21.1-r1 on x86.
Comment 5 SpanKY gentoo-dev 2011-09-18 09:19:24 UTC
and this fixes most (if not all) of the pax failures:
http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.21.1/63_all_binutils-2.21.1-pt-pax-flags-20110918.patch?rev=1.1
Comment 6 Andreas Kinzler 2011-09-19 10:55:07 UTC
What is the impact of this for users? I am using Gentoo stable (and sys-devel/binutils-2.21.1-r1 is marked stable) on our servers and I am very worried about these toolchain (the heart of Gentoo) patches on a stable system
Comment 7 Myckel Habets 2011-09-26 05:50:41 UTC
Created attachment 287755 [details]
New build log

Updated build.log file.
Comment 8 SpanKY gentoo-dev 2011-11-03 17:34:28 UTC
(In reply to comment #6)

there should be no impact on users.  all the test failures i've seen are false positives due to our hardening/etc... patches.

(In reply to comment #7)

i have no idea why things are failing so bad for you.  your tree is failing to even compile some of the tests, and most of the failures you're showing should be fixed by my latest patch.  building binutils for an x86 target
Comment 9 SpanKY gentoo-dev 2011-11-18 19:26:39 UTC
*** Bug 390879 has been marked as a duplicate of this bug. ***
Comment 10 Jeremy Murphy 2012-02-17 01:04:36 UTC
Created attachment 302229 [details]
build.log: Test failures on amd64

Just for the record I am going to add my test failures and say that if they are in fact false positives then it would be great if the Gentoo devs could disable them in the ebuild or something, because us regular users tend to panic if a system package fails a test.