Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213679 - sci-chemistry/ccp4 needs some binaries masked for prelink
Summary: sci-chemistry/ccp4 needs some binaries masked for prelink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 10:31 UTC by Justin Lecher (RETIRED)
Modified: 2010-02-07 10:29 UTC (History)
0 users

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


Attachments
70ccp4 (70ccp4,3.08 KB, text/plain)
2008-03-17 10:33 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2008-03-17 10:31:59 UTC
All binaries of ccp4 cannot be prelink. I would suggest following patch
--- ccp4-6.0.2.ebuild.orig      2008-03-17 11:22:40.000000000 +0100
+++ ccp4-6.0.2.ebuild   2008-03-17 11:24:09.000000000 +0100
@@ -380,6 +380,8 @@
 
        # Fix overlaps with other packages
        rm ${D}/usr/share/man/man1/rasmol.1.gz
+
+       doenvd ${FILESDIR}/70ccp4
 }
 
 pkg_postinst() {


Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-03-17 10:33:04 UTC
Created attachment 146389 [details]
70ccp4

needs to be placed in /usr/portage/sci-chemistry/ccp4/files/
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-17 17:25:03 UTC
Would you care to pursue the problems that make them unable to prelink instead of just assuming it's meant not to work?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2008-03-17 18:30:23 UTC
The error is:
prelink: /usr/bin/hklplot: Could not parse `/usr/bin/hklplot: error while loading shared libraries: /usr/lib/libccif.so: Filters not supported with LD_TRACE_PRELINKING: Invalid argument'

Isn't that the error message for not prelinkable binaries?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-17 20:54:45 UTC
(In reply to comment #3)
> The error is:
> prelink: /usr/bin/hklplot: Could not parse `/usr/bin/hklplot: error while
> loading shared libraries: /usr/lib/libccif.so: Filters not supported with
> LD_TRACE_PRELINKING: Invalid argument'
> 
> Isn't that the error message for not prelinkable binaries?

I don't know, is it? How can it be fixed?
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2008-03-18 18:59:23 UTC
Googled alot, but did not figure out what it really is.
Found alot "it has to do with" but nothing really serious. I can't provide a solution to fix it. Just this workaround. Hopefully someone more advanced then me could help. 
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2009-04-30 20:27:30 UTC
I think the solution is that the ccp4 llibs are faked shared, as they are only static libs bumped into a file with suffix .so. Two ways two fix, get real shared libs or add the bins to PRELINK_MASK_PATH
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2009-06-15 08:36:14 UTC
Seems that we are on the way to get this fixed.
Latest version from sci overlay works for me.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2010-02-07 10:29:35 UTC
Magically this is fixed with recent versions of ccp4 and prelink