Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 635316

Summary: dev-util/patchelf-0.9 : FAIL: set-rpath.sh
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: RESOLVED TEST-REQUEST    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:patchelf-0.9:20171024-152153.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
tests.tbz2
emerge --info

Description Toralf Förster gentoo-dev 2017-10-24 16:34:37 UTC
./set-rpath.sh: line 22: 12602 Segmentation fault      ./main
bad exit code!
FAIL: set-rpath.sh
Kernel page size is 4096 bytes
Kernel page size is 4096 bytes
patching ELF file `scratch/no-rpath/no-rpath'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl-test_20171022-133742

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv dev-util/patchelf
[ebuild  N    ] dev-util/patchelf-0.9
Comment 1 Toralf Förster gentoo-dev 2017-10-24 16:34:40 UTC
Created attachment 499866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-24 16:34:43 UTC
Created attachment 499868 [details]
dev-util:patchelf-0.9:20171024-152153.log
Comment 3 Toralf Förster gentoo-dev 2017-10-24 16:34:46 UTC
Created attachment 499870 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-24 16:34:49 UTC
Created attachment 499872 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-24 16:34:52 UTC
Created attachment 499874 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-24 16:34:55 UTC
Created attachment 499876 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-10-24 16:34:58 UTC
Created attachment 499878 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-10-24 16:35:01 UTC
Created attachment 499880 [details]
tests.tbz2
Comment 9 James Le Cuirot gentoo-dev 2017-10-24 21:35:12 UTC
I'm not sure what to make of this. The tests pass fine here with both gcc 6.4.0 and 7.2.0. Any ideas?
Comment 10 Hans de Graaff gentoo-dev Security 2018-04-14 06:44:39 UTC
I just got this with patchelf 0.9_p20180129, but it only happens when emerging. When I run the tests manually with make check all tests pass. Perhaps one of the sandbox mechanisms is responsible?
Comment 11 Hans de Graaff gentoo-dev Security 2018-04-14 06:45:16 UTC
Created attachment 527310 [details]
emerge --info
Comment 12 James Le Cuirot gentoo-dev 2019-11-19 22:01:42 UTC
I'm going to tentatively mark this fixed. 0.10 fixed some issues. Building the tests with -no-pie also helped a lot. Currently both 0.8 and 0.10 are passing.