Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708786 - dev-util/patchelf-0.10 fails tests: FAIL: set-rpath-library.sh
Summary: dev-util/patchelf-0.10 fails tests: FAIL: set-rpath-library.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-09 09:39 UTC by Toralf Förster
Modified: 2022-03-21 21:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.71 KB, text/plain)
2020-02-09 09:39 UTC, Toralf Förster
Details
dev-util:patchelf-0.10:20200209-092750.log (dev-util:patchelf-0.10:20200209-092750.log,65.49 KB, text/plain)
2020-02-09 09:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.90 KB, text/plain)
2020-02-09 09:39 UTC, Toralf Förster
Details
environment (environment,62.54 KB, text/plain)
2020-02-09 09:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.06 KB, application/x-bzip)
2020-02-09 09:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.03 KB, application/x-bzip)
2020-02-09 09:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.39 KB, application/x-bzip)
2020-02-09 09:40 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,199.96 KB, application/x-bzip)
2020-02-09 09:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-09 09:39:49 UTC
./set-rpath-library.sh: line 38:   239 Segmentation fault      ./main-scoped
bad exit code!
FAIL: set-rpath-library.sh
patching ELF file 'scratch/soname/libsimple.so'
Kernel page size is 4096 bytes
new SONAME is 'libsimple.so.1.0'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 09 Feb 2020 08:47:20 +0000

emerge -qpvO dev-util/patchelf
[ebuild  N    ] dev-util/patchelf-0.10
Comment 1 Toralf Förster gentoo-dev 2020-02-09 09:39:52 UTC
Created attachment 612924 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-09 09:39:55 UTC
Created attachment 612926 [details]
dev-util:patchelf-0.10:20200209-092750.log
Comment 3 Toralf Förster gentoo-dev 2020-02-09 09:39:57 UTC
Created attachment 612928 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-09 09:40:00 UTC
Created attachment 612930 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-09 09:40:03 UTC
Created attachment 612932 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-09 09:40:06 UTC
Created attachment 612934 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-09 09:40:09 UTC
Created attachment 612936 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-02-09 09:40:12 UTC
Created attachment 612938 [details]
tests.tbz2
Comment 9 Alexander Miller 2020-04-30 21:39:17 UTC
Version 0.10 is seriously broken. Not only the tests are failing, it simply produces nonfunctional binaries in many cases (I have encountered problems for a package in my local overlay and there are a ton of related issues reported on github).

There is a PR <https://github.com/NixOS/patchelf/pull/127> that fixes (at least some of) these problems but hasn't been merged upstream for inexplicable reasons. Applying the patch from this PR locally fixes tests for me (and my use case, too).

So I'd suggest adding the following patch to fix the breakage: <https://github.com/NixOS/patchelf/commit/1cc234fea560019
0d872329aca60e2365cefc39e.patch>
Comment 10 Larry the Git Cow gentoo-dev 2020-08-18 22:31:57 UTC
The bug has been referenced in the following commit(s):

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

commit 76fccfc8f679ede1be607d88454573f9153f61a3
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-08-18 22:31:15 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-08-18 22:31:21 +0000

    dev-util/patchelf: Version bump to 0.11
    
    Bug: https://bugs.gentoo.org/708786
    Package-Manager: Portage-3.0.3, Repoman-2.3.23
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-util/patchelf/Manifest             |  1 +
 dev-util/patchelf/patchelf-0.11.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
Comment 11 Agostino Sarubbo gentoo-dev 2022-02-13 09:59:14 UTC
Update summary. [something] is used when something refers to an overlay