Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682666 - sys-apps/gawk-4.2.1-r1 on aarch64/musl fails tests clos1way6 testext
Summary: sys-apps/gawk-4.2.1-r1 on aarch64/musl fails tests clos1way6 testext
Status: UNCONFIRMED
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
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-04-06 10:27 UTC by eroen
Modified: 2020-05-20 01:53 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,47.31 KB, text/plain)
2019-04-06 10:27 UTC, eroen
Details
test/_clos1way6 (_clos1way6,136 bytes, text/plain)
2019-04-06 10:30 UTC, eroen
Details
test/_testext (_testext,3.06 KB, text/plain)
2019-04-06 10:31 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2019-04-06 10:27:17 UTC
Created attachment 572056 [details]
build.log

clos1way6
./clos1way6.ok _clos1way6 differ: char 111, line 2
make[1]: [Makefile:4046: clos1way6] Error 1 (ignored)

testext
./testext.ok _testext differ: char 912, line 24
make[2]: [Makefile:2686: testext] Error 1 (ignored)

make[2]: Entering directory '/var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test'
2 TESTS FAILED
make[2]: *** [Makefile:4647: pass-fail] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test'
make[2]: Entering directory '/var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test'
for i in _* ; \
do  \
	if [ "$i" != "_*" ]; then \
	echo ============== $i ============= ; \
	base=`echo $i | sed 's/^_//'` ; \
	if [ -r ${base}.ok ]; then \
	diff -c ${base}.ok $i ; \
	else \
	diff -c "."/${base}.ok  $i ; \
	fi ; \
	fi ; \
done | more
/bin/sh: line 11: more: command not found
make[2]: *** [Makefile:4656: diffout] Error 127
make[2]: Leaving directory '/var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test'
make[1]: *** [Makefile:1819: check] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test'
make: *** [Makefile:725: check-recursive] Error 1
 * ERROR: sys-apps/gawk-4.2.1-r1::gentoo failed (test phase):
 *   Make check failed. See above for details.
 * 
 * Call stack:
 *            ebuild.sh, line 124:  Called src_test
 *          environment, line 970:  Called default
 *   phase-functions.sh, line 868:  Called default_src_test
 *   phase-functions.sh, line 897:  Called __eapi0_src_test
 *     phase-helpers.sh, line 816:  Called die
 * The specific snippet of code:
 *   		$emake_cmd ${internal_opts} check || \
 *   			die "Make check failed. See above for details."


In addition to the test failures, it looks like the test harness expects the `more` executable to be available.
Comment 1 eroen 2019-04-06 10:30:03 UTC
Created attachment 572058 [details]
test/_clos1way6

pine64 ~ # diff -u /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/clos1way6.ok /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/_clos1way6 
--- /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/clos1way6.ok	2017-12-14 17:53:45.000000000 +0000
+++ /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/_clos1way6	2019-04-05 20:58:53.160348311 +0000
@@ -1,3 +1,3 @@
 gawk: clos1way6.awk:5: warning: fflush: cannot flush: two-way pipe `cat - 1>&2; sleep 2' has closed write end
-test1
 Bad file descriptor
+test1
Comment 2 eroen 2019-04-06 10:31:28 UTC
Created attachment 572064 [details]
test/_testext

pine64 ~ # diff -u /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/testext.ok /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/_testext
--- /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/testext.ok	2018-02-23 08:44:11.000000000 +0000
+++ /var/tmp/portage/sys-apps/gawk-4.2.1-r1/work/gawk-4.2.1/test/_testext	2019-04-05 20:59:17.468348323 +0000
@@ -21,7 +21,7 @@
 var_test: sym_update("testvar") succeeded
 var_test() returned 1, test_var = 42
 
-test_errno() returned 1, ERRNO = No child processes
+test_errno() returned 1, ERRNO = No child process
 
 fubar = 9
 rumpus = -5
Comment 3 eroen 2019-04-06 10:32:47 UTC
pine64 ~ # emerge --info '=sys-apps/gawk-4.2.1-r1::gentoo'
Portage 2.3.62 (python 3.7.3-final-0, hardened/linux/musl/arm64, gcc-8.3.0, musl-1.1.21, 5.0.5-gentoo aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.5-gentoo-aarch64-with-gentoo-2.6
KiB Mem:     2050376 total,    194332 free
KiB Swap:          0 total,         0 free
Timestamp of repository musl: Fri, 05 Apr 2019 03:43:50 +0000
Head commit of repository musl: 77f0cb5a36584e0e88d8632549f4a15dedd1c73f

Timestamp of repository gentoo: Fri, 05 Apr 2019 20:00:01 +0000
Head commit of repository gentoo: d3ffe50f61a0f18ea10606bd8647ddb7b6933fef
sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.32 p1) 2.32.0
app-shells/bash:          5.0_p3-r1::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          3.6.8::gentoo, 3.7.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.15::musl
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32::gentoo
sys-devel/gcc:            8.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/musl:            1.1.21::gentoo
Repositories:

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/musl.git
    masters: gentoo
    priority: 100

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 200
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="aarch64-linux-musl"
CFLAGS="-O2"
CHOST="aarch64-linux-musl"
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="-O2"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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"
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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="arm64 cli crypt cxx dri fortran hardened iconv ipv6 minimal ncurses nptl openmp pic pie readline seccomp ssl ssp unicode xattr" 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" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/gawk-4.2.1-r1::gentoo was built with the following:
USE="-forced-sandbox -mpfr -nls -readline"

pine64 ~ # emerge -pqv '=sys-apps/gawk-4.2.1-r1::gentoo'
[ebuild   R   ] sys-apps/gawk-4.2.1-r1  USE="-forced-sandbox -mpfr -nls -readline"
Comment 4 Sam James archtester gentoo-dev Security 2020-05-20 01:52:58 UTC
It may be worth reporting this upstream.