Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912847 - dev-util/patchelf-0.18.0: test failures on sparc (repeated-updates.sh, replace-add-needed.sh)
Summary: dev-util/patchelf-0.18.0: test failures on sparc (repeated-updates.sh, replac...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL: https://github.com/NixOS/patchelf/iss...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 911028
  Show dependency tree
 
Reported: 2023-08-22 21:01 UTC by Sam James
Modified: 2023-08-24 21:42 UTC (History)
3 users (show)

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


Attachments
test-suite.log (file_912847.txt,9.87 KB, text/plain)
2023-08-22 21:01 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 2023-08-22 21:01:31 UTC
Created attachment 868504 [details]
test-suite.log

Filing for tracking purposes so we can block the stable bug.

--
[...]
FAIL: repeated-updates.sh
make[3]: Leaving directory '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests'
make[3]: Entering directory '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests'
FAIL: replace-add-needed.sh
make[3]: Leaving directory '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests'
make[3]: Entering directory '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests'
============================================================================
Testsuite summary for patchelf 0.18.0
============================================================================
# TOTAL: 56
# PASS:  52
# SKIP:  2
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[3]: *** [Makefile:1068: test-suite.log] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests'
make[2]: *** [Makefile:1176: check-TESTS] Error 2
make[1]: *** [Makefile:1627: check-am] Error 2
make: *** [Makefile:473: check-recursive] Error 1
 * ERROR: dev-util/patchelf-0.18.0::gentoo failed (test phase):
 *   Make check failed. See above for details.

--

# emerge --info
Portage 3.0.46 (python 3.11.4-final-0, default/linux/sparc/17.0/64ul/systemd/merged-usr, gcc-12, glibc-2.37-r3, 6.1.39 sparc64)
=================================================================
System uname: Linux-6.1.39-sparc64-sun4v-with-glibc2.37
KiB Mem:   531346128 total, 479698448 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 22 Aug 2023 20:46:37 +0000
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.11.4::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.26.4-r2::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.6::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             10.4.1_p20230426-r1::gentoo, 11.3.1_p20230427::gentoo, 12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

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

ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="@FREE"
CBUILD="sparc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --keep-going=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -mcpu=ultrasparc -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=ultrasparc -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
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"
SHELL="/bin/bash"
USE="acl big-endian bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc llvm-libunwind ncurses nls nptl openmp pam pcre readline sparc ssl systemd test-rust udev unicode xattr zlib" ADA_TARGET="gnat_2021" 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="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" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev mga r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 James Le Cuirot gentoo-dev 2023-08-23 22:51:19 UTC
m68k has also been failing on replace-add-needed.sh, and it seems this may be related. I've mentioned this upstream.
Comment 2 matoro archtester 2023-08-23 22:54:18 UTC
Thanks, I updated the upstream bug name to reflect that this affects multiple architectures.  Should 0.17.2 be added back into the tree, since 0.18.0 is known to be broken?  That would also make it easier for me to confirm which architectures this is a regression on when testing across my fleet.
Comment 3 Larry the Git Cow gentoo-dev 2023-08-24 21:42:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6604aaa5fdfda4d1954438833fc783eee63f6d0

commit c6604aaa5fdfda4d1954438833fc783eee63f6d0
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-08-24 21:38:48 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-08-24 21:42:01 +0000

    dev-util/patchelf: Drop sparc keyword on 0.18.0 and stabilise 0.17.2 instead
    
    The 0.18.0 tests fail on sparc but the 0.17.2 tests pass.
    
    Bug: https://bugs.gentoo.org/912847
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-util/patchelf/patchelf-0.17.2.ebuild | 2 +-
 dev-util/patchelf/patchelf-0.18.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4761dc091493f78ef61235e9ab5669510e7bd622

commit 4761dc091493f78ef61235e9ab5669510e7bd622
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-08-24 21:34:14 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-08-24 21:41:58 +0000

    dev-util/patchelf: Keyword 0.17.2 for ~m68k
    
    The tests pass.
    
    Bug: https://bugs.gentoo.org/912847
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-util/patchelf/patchelf-0.17.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af4f6b73ab3d1b5730bb3cabaa50a2fe7f40b5e

commit 6af4f6b73ab3d1b5730bb3cabaa50a2fe7f40b5e
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-08-24 21:33:45 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-08-24 21:33:45 +0000

    dev-util/patchelf: Restore 0.17.2
    
    0.18.0 fails tests on some architectures.
    
    Bug: https://bugs.gentoo.org/912847
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-util/patchelf/Manifest               |  1 +
 dev-util/patchelf/patchelf-0.17.2.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)