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

Bug 575586

Summary: sys-devel/prelink: upstream change and version bump
Product: Gentoo Linux Reporter: Dainius Masiliƫnas <pastas4>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: itumaykin+gentoo, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: prelink-20151030.ebuild

Description Dainius Masiliƫnas 2016-02-24 23:49:50 UTC
Created attachment 426478 [details]
prelink-20151030.ebuild

Looking at the current status of prelink, the original upstream repository is now dead:
http://pkgs.fedoraproject.org/cgit/rpms/prelink.git/

That also explains why the latest prelink is from four years ago.

The project has been taken up by the yocto project instead (they consider themselves the new upstream, see http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/commit/?id=1786513e60ef24649e843b24012d05cc6f9a3f12 ). They renamed it to prelink-cross and added various features, like cross-compilation support and support for the x32 ABI. The repository is:

http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/

They already have a new release (20151030) out as well.

Attached is a modified ebuild of the old prelink to use the new upstream. It probably needs some cleanup. (Whether it should still be called prelink, or renamed to prelink-cross, is a bit of an open question; the binary is still just called "prelink".)

Also, FEATURES=test still fails, like with the old prelink (bug #477204). It seems to be caused by greps succeeding in testsuite/*.sh; I don't really see why it would be expected for them to fail...
Comment 1 SpanKY gentoo-dev 2016-02-29 18:57:38 UTC
Fedora abandoned prelink because it does not (and cannot, by design) work with PIEs/ASLR.  Yocto taking it over makes sense as it's an embedded project, and sometimes people will sacrifice security for slightly faster runtime.

thanks for the heads up on the new site.  maybe we can actually get patches merged back upstream :).
Comment 2 SpanKY gentoo-dev 2016-04-03 01:27:03 UTC
now in the tree.  let's see how well it works for people.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e6d2abd96c1f878cc7b0633fce1ce3ce98d032