Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863845 - dev-util/patchelf fails tests on ia64
Summary: dev-util/patchelf fails tests on ia64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: IA64 Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL: https://github.com/NixOS/patchelf/iss...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-08-05 17:23 UTC by matoro
Modified: 2023-04-22 22:07 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,15.42 KB, text/plain)
2022-08-05 17:26 UTC, matoro
Details
test-suite.log (test-suite.log,366.97 KB, text/plain)
2022-08-05 17:27 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2022-08-05 17:23:59 UTC
PASS: plain-run.sh
PASS: plain-fail.sh
PASS: set-rpath-rel-map.sh
PASS: set-interpreter-short.sh
FAIL: no-rpath.sh
FAIL: set-rpath.sh
FAIL: add-rpath.sh
PASS: shrink-rpath.sh
PASS: soname.sh
PASS: too-many-strtab.sh
PASS: plain-needed.sh
FAIL: set-rpath-library.sh
FAIL: set-interpreter-long.sh
PASS: contiguous-note-sections.sh
FAIL: output-flag.sh
PASS: no-dynamic-section.sh
PASS: no-gnu-hash.sh
PASS: invalid-elf.sh
PASS: basic-flags.sh
PASS: build-id.sh
PASS: set-empty-rpath.sh
PASS: force-rpath.sh
PASS: args-from-file.sh
FAIL: grow-file.sh
PASS: phdr-corruption.sh
PASS: endianness.sh
PASS: replace-needed.sh
PASS: no-rpath-pie-powerpc.sh
PASS: add-debug-tag.sh
PASS: no-rpath-amd64.sh
PASS: no-rpath-kfreebsd-amd64.sh
PASS: no-rpath-ia64.sh
FAIL: replace-add-needed.sh
FAIL: big-dynstr.sh
PASS: no-rpath-armel.sh
PASS: no-rpath-i386.sh
PASS: no-rpath-armhf.sh
PASS: no-rpath-kfreebsd-i386.sh
PASS: no-rpath-hurd-i386.sh
PASS: no-rpath-mipsel.sh
PASS: no-rpath-mips.sh
PASS: shrink-rpath-with-allowed-prefixes.sh
PASS: no-rpath-powerpc.sh
PASS: no-rpath-sparc.sh
PASS: no-rpath-s390.sh
PASS: no-rpath-sh4.sh
============================================================================
Testsuite summary for patchelf 0.15.0
============================================================================
# TOTAL: 46
# PASS:  37
# SKIP:  0
# XFAIL: 0
# FAIL:  9
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================

0.14.5 fares worse, with one additional failure.

Reproducible: Always




Portage 3.0.34 (python 3.10.6-final-0, default/linux/ia64/17.0, gcc-12.1.1, glibc-2.35-r8, 5.19.0-gentoo-ia64 ia64)
=================================================================
System uname: Linux-5.19.0-gentoo-ia64-ia64-Intel-R-_Itanium-R-_Processor_9340-with-glibc2.35
KiB Mem:    16498704 total,   9320064 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 05 Aug 2022 00:45:01 +0000
Head commit of repository gentoo: c310e44692ad91777c71394dda97cd1f33f72589
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.6::gentoo, 3.11.0_beta5-r1::gentoo
dev-util/meson:            0.63.0::gentoo
sys-apps/baselayout:       2.8-r2::gentoo
sys-apps/openrc:           0.45.2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.1.1_p20220625::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::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-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="ia64 ~ia64"
ACCEPT_LICENSE="@FREE"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-continue=y"
ENV_UNSET="CARGO_HOME 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j14"
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"
SHELL="/sbin/nologin"
USE="acl bzip2 cli crypt dri fortran gdbm ia64 iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline split-usr ssl unicode xattr zlib" ADA_TARGET="gnat_2020" 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="void 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy fbdev 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 matoro archtester 2022-08-05 17:26:54 UTC
Created attachment 798112 [details]
build.log
Comment 2 matoro archtester 2022-08-05 17:27:22 UTC
Created attachment 798115 [details]
test-suite.log
Comment 3 matoro archtester 2022-08-05 17:31:30 UTC
Dropping all optimizations reduces to 4 failures, so these are the ones to focus on.

PASS: plain-fail.sh                                                                                                                    
PASS: plain-run.sh                                                                                                                     
PASS: set-rpath-rel-map.sh                                                                                                             
PASS: set-interpreter-short.sh                                                                                                         
PASS: soname.sh                                                                                                                        
PASS: shrink-rpath.sh                                                                                                                  
PASS: set-rpath.sh                                                                                                                     
FAIL: no-rpath.sh                                                                                                                      
PASS: add-rpath.sh                                                                                                                     
PASS: too-many-strtab.sh                                                                                                               
PASS: plain-needed.sh                                                                                                                  
FAIL: set-rpath-library.sh                                                                                                             
PASS: contiguous-note-sections.sh                                                                                                      
PASS: output-flag.sh                                                                                                                   
PASS: no-dynamic-section.sh                                                                                                            
PASS: build-id.sh                                                                                                                      
PASS: no-gnu-hash.sh                                                                                                                   
PASS: invalid-elf.sh                                                                                                                   
PASS: force-rpath.sh                                                                                                                   
PASS: basic-flags.sh                                                                                                                   
PASS: set-interpreter-long.sh                                                                                                          
PASS: set-empty-rpath.sh                                                                                                               
PASS: endianness.sh                                                                                                                    
PASS: args-from-file.sh                                                                                                                
PASS: no-rpath-pie-powerpc.sh                                                                                                          
PASS: grow-file.sh                                                                                                                     
PASS: phdr-corruption.sh                                                                                                               
PASS: replace-needed.sh                                                                                                                
FAIL: big-dynstr.sh
PASS: add-debug-tag.sh
PASS: no-rpath-kfreebsd-amd64.sh
PASS: no-rpath-amd64.sh
PASS: no-rpath-ia64.sh
PASS: no-rpath-powerpc.sh
PASS: no-rpath-kfreebsd-i386.sh
PASS: no-rpath-hurd-i386.sh
PASS: no-rpath-s390.sh
PASS: no-rpath-mips.sh
PASS: no-rpath-mipsel.sh
PASS: no-rpath-armel.sh
PASS: no-rpath-i386.sh
PASS: no-rpath-armhf.sh
FAIL: replace-add-needed.sh
PASS: shrink-rpath-with-allowed-prefixes.sh
PASS: no-rpath-sh4.sh
PASS: no-rpath-sparc.sh
============================================================================
Testsuite summary for patchelf 0.15.0
============================================================================
# TOTAL: 46
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
Comment 4 James Le Cuirot gentoo-dev 2022-08-06 08:31:08 UTC
Okay, but it's not keyworded for ia64, and I don't have the skills to fix it. Please take this issue upstream. Sorry if that means you can't keyword scipy.
Comment 5 matoro archtester 2022-08-06 13:14:58 UTC
(In reply to James Le Cuirot from comment #4)
> Okay, but it's not keyworded for ia64, and I don't have the skills to fix
> it. Please take this issue upstream. Sorry if that means you can't keyword
> scipy.

Done in https://github.com/NixOS/patchelf/issues/396.  Shouldn't this be left for tracking purposes to show why scipy can't be keyworded?  Or is that only valid for stablereqs?
Comment 6 James Le Cuirot gentoo-dev 2022-08-06 13:55:13 UTC
I gather Gentoo is the last bastion for ia64, so I'm not too confident it will get fixed if someone here doesn't take it up. I didn't think scipy was that important, but if it matters to you, I suppose you can leave this open.
Comment 7 matoro archtester 2022-08-06 16:49:10 UTC
(In reply to James Le Cuirot from comment #6)
> I gather Gentoo is the last bastion for ia64, so I'm not too confident it
> will get fixed if someone here doesn't take it up. I didn't think scipy was
> that important, but if it matters to you, I suppose you can leave this open.

No, I don't have a use for scipy on ia64, this was solely because it's included in bug 862330, if you don't want it could you drop the CC from that bug?  Then we can leave this one closed for posterity on why it's not.

Debian still has official support for it under the ports project.  They have at least an attempted build/test cycle on it for all packages.  For patchelf specifically, you can see that their build history shows it started failing tests after 0.11: https://buildd.debian.org/status/logs.php?pkg=patchelf&arch=ia64
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-14 16:44:09 UTC
Reopening to block automated testing attempts for scipy but until it's fixed upstream. They're actively working on it and there's only 1 test failure left.
Comment 9 matoro archtester 2023-04-22 22:07:11 UTC
Test failures are gone as of 0.17.2 at least.