Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1239796

Summary: prelink: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: prelinkAssignee: Orphan Owner <extras-orphan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dominik, fweimer, i, jakub, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-05 15:20:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1247050    
Bug Blocks: 1239338    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Dennis Gilmore 2015-07-05 21:12:50 UTC
Your package prelink failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=10140383

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Comment 1 Dennis Gilmore 2015-07-05 21:12:52 UTC
Created attachment 1047703 [details]
build.log

Comment 2 Dennis Gilmore 2015-07-05 21:12:53 UTC
Created attachment 1047704 [details]
root.log

Comment 3 Dennis Gilmore 2015-07-05 21:12:53 UTC
Created attachment 1047705 [details]
state.log

Comment 4 Jan Kurik 2015-07-15 13:32:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 Fedora Admin XMLRPC Client 2015-07-25 19:30:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Dominik 'Rathann' Mierzejewski 2015-07-27 08:30:03 UTC
Note that this is because a bug in glibc-static:
gcc -Wall -Wno-pointer-sign -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o prelink -static cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o canonicalize.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.o crc32.o arch-i386.o arch-alpha.o arch-ppc.o arch-ppc64.o arch-sparc.o arch-sparc64.o arch-x86_64.o arch-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  -lpthread -lselinux -lelf
/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/libpthread.a(libpthread.o): relocation R_X86_64_32S against `__stack_user' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/libpthread.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:269: recipe for target 'prelink' failed
make[2]: *** [prelink] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/prelink/src'
Makefile:175: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/prelink'
Makefile:121: recipe for target 'all' failed
make: *** [all] Error 2

$ rpm -qf /usr/lib64/libpthread.a
glibc-static-2.21.90-18.fc24.x86_64

Comment 7 Jakub Jelinek 2015-07-27 08:53:35 UTC
No, it is a bug in redhat-rpm-config, for -static it should not add -pie which is incompatible with -static.

Comment 8 Christopher Meng 2015-10-28 23:16:21 UTC
Maybe we can close the bug now, it's been retired.

Comment 9 Florian Weimer 2016-02-05 15:20:01 UTC

*** This bug has been marked as a duplicate of bug 1247050 ***