Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682626 - sys-devel/m4-1.4.18-r1 on musl/arm64 fails tests test-localename test-mbrtowc5.sh
Summary: sys-devel/m4-1.4.18-r1 on musl/arm64 fails tests test-localename test-mbrtowc...
Status: RESOLVED OBSOLETE
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-05 20:44 UTC by eroen
Modified: 2022-02-08 02:42 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,149.31 KB, text/plain)
2019-04-05 20:44 UTC, eroen
Details
test-suite.log (test-suite.log,3.47 KB, text/plain)
2019-04-05 20:46 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2019-04-05 20:44:17 UTC
Created attachment 572002 [details]
build.log

../build-aux/test-driver: line 107:  2708 Aborted                 "$@" > $log_file 2>&1
FAIL: test-localename

FAIL: test-mbrtowc5.sh

============================================================================
Testsuite summary for GNU M4 1.4.18
============================================================================
# TOTAL: 170
# PASS:  148
# SKIP:  20
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-m4@gnu.org
============================================================================
make[6]: *** [Makefile:4242: test-suite.log] Error 1
make[6]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18/tests'
make[5]: *** [Makefile:4350: check-TESTS] Error 2
make[5]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18/tests'
make[4]: *** [Makefile:5755: check-am] Error 2
make[4]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18/tests'
make[3]: *** [Makefile:4134: check-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18/tests'
make[2]: *** [Makefile:5757: check] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18/tests'
make[1]: *** [Makefile:1572: check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-devel/m4-1.4.18-r1/work/m4-1.4.18'
make: *** [Makefile:1862: check] Error 2
 * ERROR: sys-devel/m4-1.4.18-r1::gentoo failed (test phase):
 *   emake failed
Comment 1 eroen 2019-04-05 20:46:20 UTC
Created attachment 572004 [details]
test-suite.log

FAIL: test-localename
=====================

test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") == 0' failed
FAIL test-localename (exit status: 134)


FAIL: test-mbrtowc5.sh
======================

test-mbrtowc.c:106: assertion 'wc == c' failed
./test-mbrtowc5.sh: line 4:  2773 Aborted                 LC_ALL=C ./test-mbrtowc${EXEEXT} 5
FAIL test-mbrtowc5.sh (exit status: 134)
Comment 2 eroen 2019-04-05 20:47:44 UTC
pine64 ~ # emerge --info '=sys-devel/m4-1.4.18-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,    238712 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-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    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-devel/m4-1.4.18-r1::gentoo was built with the following:
USE="-examples"

pine64 ~ # emerge -pqv '=sys-devel/m4-1.4.18-r1::gentoo'
[ebuild   R   ] sys-devel/m4-1.4.18-r1  USE="-examples"
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-08 02:42:45 UTC
awilfox kindly linked me to https://cgit.adelielinux.org/packages/tree/system/m4/disable-mbrtowc-test.patch?h=awilfox/system-next (and similarlyish for coreutils: https://cgit.adelielinux.org/packages/tree/system/coreutils/localename-test-fix.patch?h=awilfox/system-next).

I can't reproduce this on amd64/musl or arm64/musl with 1.4.19. Please reopen if it seems to happen still thog.