Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608266 - sci-libs/lapack-reference-3.7.0: invalid install_name
Summary: sci-libs/lapack-reference-3.7.0: invalid install_name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 07:21 UTC by *
Modified: 2017-02-06 19:23 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info.txt,4.13 KB, text/plain)
2017-02-05 07:22 UTC, *
Details
build.log (build.log.gz,52.97 KB, application/x-gzip)
2017-02-05 07:24 UTC, *
Details
ebuild patch (lapack-reference-3.7.0.ebuild.patch,723 bytes, patch)
2017-02-05 17:55 UTC, *
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description * 2017-02-05 07:21:54 UTC
My system is OS X El Capitan (10.11.6).
When I try emerging sci-libs/lapack-reference (pulled in by numpy) there is the following error during install:

 * ERROR: sci-libs/lapack-reference-3.7.0::gentoo_prefix failed:
 *   invalid install_name found, your application or library will crash at runtime

Not sure if this is related to Bug 605214, where I was getting the same error.

I worked around it using FEATURES="allow_broken_install_names" emerge ...
But shortly after that emerging cblas-reference fails. Not sure if it's related (I'll enter a different bug for that).

Reproducible: Always
Comment 1 * 2017-02-05 07:22:50 UTC
Created attachment 462470 [details]
emerge --info
Comment 2 * 2017-02-05 07:24:01 UTC
Created attachment 462472 [details]
build.log
Comment 3 Fabian Groffen gentoo-dev 2017-02-05 09:16:52 UTC
Please don't use allow_broken_installnames, the error is genuine and cascades into other problems, so please don't.

I'm sure the solution here is similar to the fix for cblas-reference: they move the dynamic libraries, but on Darwin this needs to be recorded in the libraries too (the install_names).
Comment 4 * 2017-02-05 17:55:46 UTC
Created attachment 462560 [details, diff]
ebuild patch
Comment 5 * 2017-02-05 17:56:47 UTC
Thanks, I copied from the blas-reference change and that fixed the problem.
Comment 6 Fabian Groffen gentoo-dev 2017-02-06 19:23:44 UTC
thanks