Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737036 - sys-apps/util-linux-2.35.2: test failures on arm (misc/mountpoint-default, misc/setarch-options)
Summary: sys-apps/util-linux-2.35.2: test failures on arm (misc/mountpoint-default, mi...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-08-14 05:42 UTC by Sam James
Modified: 2020-08-26 16:08 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,29.08 KB, application/x-xz)
2020-08-14 05:52 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-14 05:42:44 UTC
# grep -i "fail" /var/tmp/portage/sys-apps/util-linux-2.35.2/temp/build.log
         misc: mountpoint: [01] default                      ... FAILED (misc/mountpoint-default)
         misc: setarch: [01] options                         ... FAILED (misc/setarch-options)
         misc: setarch: [02] uname26                         ... FAILED (unsupported --uname-2.6: echo true)
         misc: setarch                                       ... FAILED (2 from 2 sub-tests)
         misc: mountpoint                                    ... FAILED (1 from 3 sub-tests)
  2 tests of 204 FAILED
 * ERROR: sys-apps/util-linux-2.35.2::gentoo failed (test phase):
 *   emake failed

----
Portage 2.3.103 (python 3.7.8-final-0, !../../bound/portage/profiles/default/linux/arm/17.0/armv7a, gcc-9.3.0, glibc-2.31-r6, 5.4.0-1018-aws aarch64)
=================================================================
System uname: Linux-5.4.0-1018-aws-aarch64-with-gentoo-2.6
KiB Mem:    15825148 total,   5065808 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 12 Aug 2020 03:30:01 +0000
Head commit of repository gentoo: 92cc27d5f6cd0f41f7fc00965f8875f6f006d4a4
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 ncdebug2: channel 1: window 998052 sent adjust 50524
urses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" 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="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-14 05:45:26 UTC
# cat /var/tmp/portage/sys-apps/util-linux-2.35.2/work/util-linux-2.35.2-.arm/tests/output/misc/mountpoint-mutually-exclusive.err
mountpoint: --devno and --nofollow are mutually exclusive

# cat /var/tmp/portage/sys-apps/util-linux-2.35.2/work/util-linux-2.35.2-.arm/tests/output/misc/setarch-options
###### unknown arch
exit: 1
###### unknown command
exit: 1
###### noop uname -a
###### almost all options
Switching on ADDR_NO_RANDOMIZE.
Switching on FDPIC_FUNCPTRS.
Switching on MMAP_PAGE_ZERO.
Switching on ADDR_COMPAT_LAYOUT.
Switching on READ_IMPLIES_EXEC.
Switching on ADDR_LIMIT_32BIT.
Switching on SHORT_INODE.
Switching on WHOLE_SECONDS.
Switching on STICKY_TIMEOUTS.
Switching on ADDR_LIMIT_3GB.

# cat /var/tmp/portage/sys-apps/util-linux-2.35.2/work/util-linux-2.35.2-.arm/tests/output/misc/setarch-options.err
###### unknown arch
setarch: qubit: Unrecognized architecture
###### unknown command
setarch: Kernel cannot set architecture to aarch64
setarch: Kernel cannot set architecture to aarch64
setarch: Kernel cannot set architecture to aarch64

# cat /var/tmp/portage/sys-apps/util-linux-2.35.2/work/util-linux-2.35.2-.arm/tests/output/misc/setarch-uname26
###### --uname-2.6 echo
Switching on UNAME26.
###### --uname-2.6 true, non-verbose

# cat /var/tmp/portage/sys-apps/util-linux-2.35.2/work/util-linux-2.35.2-.arm/tests/output/misc/setarch-uname26.err
setarch: Kernel cannot set architecture to aarch64
setarch: Kernel cannot set architecture to aarch64
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-14 05:52:46 UTC
Created attachment 654520 [details]
build.log.xz

- All tests pass on sys-apps/util-linux-2.36, but these fail on 2.35.2.

- Profile has a '!' in the emerge --info output here because I ran in just a plain chroot after trying to simplify the environment after seeing the same failures repeatedly.

- All tests passed on native arm64. Cannot recall if passed in a chroot (I don't believe so).

- Patches for these issues:
* https://github.com/karelzak/util-linux/commit/3e9395811708b5ebcf2c5079ff0cb6d18694a3cc (mountpoint in chroot fix)
* https://github.com/karelzak/util-linux/commit/9fd01b10d0a2c0689a33b751993a5cf1bfd2dc04 (arm32-on-arm64 fix)

The first is a pure test fix, the second has a minor change to `setarch`.
Comment 3 Mike Gilbert gentoo-dev 2020-08-26 15:27:19 UTC
I don't see why we would backport patches for issues that are already fixed in 2.36.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-26 15:29:06 UTC
(In reply to Mike Gilbert from comment #3)
> I don't see why we would backport patches for issues that are already fixed
> in 2.36.

You weren't asked to -- but the patches help demonstrate that the issues weren't serious and not an issue for stabilisation. I had the information, so it was worth putting in the bug I thought.
Comment 5 Mike Gilbert gentoo-dev 2020-08-26 16:08:49 UTC
Ok. Closing this as WONTFIX then.