Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40274 - [prelink] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Thursday, 08 May 2014, 22:17 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 26 May 2014, 14:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


/bin/sh ../libtool --mode=link gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro -o execstack execstack.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 -lelf
mkdir .libs
gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o execstack execstack.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 -lelf
/bin/sh ../libtool --mode=link gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro -o prelink -all-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 -lelf
gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -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 -lelf
/usr/bin/ld: cannot find -lelf
collect2: error: ld returned 1 exit status
Makefile:269: recipe for target 'prelink' failed
make[2]: *** [prelink] Error 1
make[2]: Leaving directory '/build/prelink/src/prelink/src'
Makefile:175: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/prelink/src/prelink'
Makefile:121: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...



Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 26 May 2014, 14:45 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 13 May 2014, 12:35 GMT
Hi,

Thanks for reporting. Added missing make dependency on elfutils. The updated package will appear in [community] shortly.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 13 May 2014, 13:51 GMT
Now the compilation freezes everything here instead. Does the updated PKGBUILD in subversion work for you?
Comment by Alexander F. Rødseth (xyproto) - Thursday, 15 May 2014, 10:23 GMT
Asked the maintainer of elfutils if the static libraries could be included: https://bugs.archlinux.org/task/40364
Comment by Alexander F. Rødseth (xyproto) - Monday, 26 May 2014, 14:45 GMT
New package for elfutils. prelink now builds fine. Updated the package.

Loading...