Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585364 - sys-apps/util-linux-2.28 fails tests on alpha: misc: setarch: [03] uname26-version
Summary: sys-apps/util-linux-2.28 fails tests on alpha: misc: setarch: [03] uname26-ve...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: 606422
  Show dependency tree
Reported: 2016-06-08 09:45 UTC by Tobias Klausmann (RETIRED)
Modified: 2022-10-05 05:48 UTC (History)
3 users (show)

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

sys-apps/util-linux-2.28 build/test log (sys-apps:util-linux-2.28:20160608-093104.log,812.76 KB, text/plain)
2016-06-08 09:45 UTC, Tobias Klausmann (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2016-06-08 09:45:11 UTC
Created attachment 436856 [details]
sys-apps/util-linux-2.28 build/test log

$ emerge --info
Portage 2.3.0_rc1 (python 2.7.11-final-0, default/linux/alpha/13.0, gcc-5.3.0, glibc-2.23-r2, 4.6.0 alpha)
System uname: Linux-4.6.0-alpha-EV68AL-with-gentoo-2.2
KiB Mem:     8303208 total,    868000 free
KiB Swap:     977912 total,    910024 free
Timestamp of repository gentoo: Wed, 08 Jun 2016 08:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.5 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.24.0::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/ccache:          3.2.5::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="alpha ~alpha"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="acl alpha bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran ftp gdbm iconv ipv6 mmap modules ncurses nls nptl nptlonly offensive pam pcre readline recode session sharedmem sockets ssl unicode vim vim-pager xattr zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" 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"

         misc: setarch: [01] options                         ... OK
         misc: setarch: [02] uname26                         ... OK
         misc: setarch: [03] uname26-version                 ... FAILED (misc/setarch-uname26-version)
         misc: setarch                                       ... FAILED (1 from 3 sub-tests)
         misc: setsid                                        ... OK
Comment 1 SpanKY gentoo-dev 2016-06-09 19:44:29 UTC
can you attach the test log that'll include the full info ?

also check `dmesg` to see if there's anything interesting ...
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2016-06-10 12:25:38 UTC
dmesg just has unaligned traps in fsck.minix.

Ads for logs, there is some stuff in util-linux-2.28-.alpha/tests/output/misc, but I couldn't make sense of it. Same for tests/diff/misc.

The entire builddir also on monolith in ~root/util-linux-2.28/ if you want to tinker with it.

Direct links to another copy:
Comment 3 Matt Turner gentoo-dev 2020-03-19 04:55:49 UTC
> dmesg just has unaligned traps in fsck.minix.

Still true years later :)

The output of the setarch-uname26 test is:

--- /var/tmp/portage/sys-apps/util-linux-2.35.1/work/util-linux-2.35.1/tests/expected/misc/setarch-uname26-version      2018-06-04 00:57:02.888445142 -0700
+++ /var/tmp/portage/sys-apps/util-linux-2.35.1/work/util-linux-2.35.1-.alpha/tests/output/misc/setarch-uname26-version 2020-03-18 21:43:00.957868143 -0700
@@ -1 +1,3 @@
-kernel version changed to 2.6
+uname26 failed
+original kernel: 5.3.6
+uname26 kernel:  5.3.6
Comment 4 Rolf Eike Beer archtester 2020-05-04 17:42:13 UTC
I get a similar error on hppa:

         misc: setarch: [02] uname26                         ... FAILED (unsupported --uname-2.6: echo true)

==> work/util-linux-2.35.1-.hppa/tests/diff/misc/setarch-uname26.err <==
--- /dev/null   2020-05-03 22:35:06.980000000 +0200
+++ /var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1-.hppa/tests/output/misc/setarch-uname26.err   2020-05-04 14:34:08.345409000 +0200
@@ -0,0 +1,2 @@
+FATAL: kernel too old
+FATAL: kernel too old

==> work/util-linux-2.35.1-.hppa/tests/diff/misc/setarch-uname26 <==
--- /var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1/tests/expected/misc/setarch-uname26   2018-06-04 09:57:02.888445142 +0200
+++ /var/tmp/portage/sys-apps/util-linux-2.35.1-r2/work/util-linux-2.35.1-.hppa/tests/output/misc/setarch-uname26       2020-05-04 14:34:08.217409000 +0200
@@ -1,6 +1,4 @@
 ###### --uname-2.6 echo
 Switching on UNAME26.
 Execute command `echo'.
-2.6 works or kernel too old
 ###### --uname-2.6 true, non-verbose
-2.6 works or kernel too old

==> work/util-linux-2.35.1-.hppa/tests/output/misc/setarch-uname26.err <==
FATAL: kernel too old
FATAL: kernel too old

==> work/util-linux-2.35.1-.hppa/tests/output/misc/setarch-uname26 <==
###### --uname-2.6 echo
Switching on UNAME26.
Execute command `echo'.
###### --uname-2.6 true, non-verbose

==> work/util-linux-2.35.1/tests/expected/misc/setarch-uname26-version <==
kernel version changed to 2.6

==> work/util-linux-2.35.1/tests/expected/misc/setarch-uname26 <==
###### --uname-2.6 echo
Switching on UNAME26.
Execute command `echo'.
2.6 works or kernel too old
###### --uname-2.6 true, non-verbose
2.6 works or kernel too old