Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620328 - sci-libs/cblas-reference-20161223 fails due to invalid install_name
Summary: sci-libs/cblas-reference-20161223 fails due to invalid install_name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 OS X
: Normal normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-01 10:42 UTC by Shunsuke Shimizu
Modified: 2020-11-15 14:51 UTC (History)
0 users

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


Attachments
patch to correct install_name (cblas-correct-darwin-install_name.patch,550 bytes, patch)
2017-06-01 10:47 UTC, Shunsuke Shimizu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shunsuke Shimizu 2017-06-01 10:42:57 UTC
I don't know the reason, but install_name of `libcblas.dylib` is broken.

Reproducible: Always

Actual Results:  
 * QA Notice: invalid self-reference install_name /Users/shunsuke_shimizu/Gentoo/usr/lib/libcblas.dylib in /Users/shunsuke_shimizu/Gentoo/usr/lib/blas/reference/libcblas.dylib
 * ERROR: sci-libs/cblas-reference-20161223::gentoo_prefix failed:                                                                               
 *   invalid install_name found, your application or library will crash at runtime                                                               
 


Portage 2.3.5-prefix (python 3.5.2-final-0, prefix/darwin/macos/10.12/x64, gcc-4.9.3, unavailable, 16.6.0 x86_64)
=================================================================
System uname: Darwin-16.6.0-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Thu, 01 Jun 2017 07:57:53 +0000
sh bash 4.3_p48
app-shells/bash:      4.3_p48::gentoo_prefix
dev-lang/perl:        5.24.1-r1::gentoo_prefix
dev-lang/python:      2.7.12::gentoo_prefix, 3.5.2::gentoo_prefix
dev-util/cmake:       3.8.1::gentoo_prefix
dev-util/pkgconfig:   0.29.1::gentoo_prefix
sys-devel/autoconf:   2.69-r3::gentoo_prefix
sys-devel/automake:   1.14.1-r1::gentoo_prefix, 1.15-r2::gentoo_prefix
sys-devel/gcc:        4.9.3-r1::grafi
sys-devel/gcc-config: 1.8-r01.1::gentoo_prefix
sys-devel/libtool:    2.4.6-r4::gentoo_prefix
sys-devel/make:       4.2.1-r1::gentoo_prefix
Repositories:

gentoo_prefix
    location: /Users/shunsuke_shimizu/Gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000

grafi
    location: /Users/shunsuke_shimizu/prefix-portage-overlay
    masters: gentoo_prefix
    priority: 10

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin16"
CC="clang"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-apple-darwin16"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo"
CXX="clang++"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/Users/shunsuke_shimizu/Gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/Users/shunsuke_shimizu/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/shunsuke_shimizu/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/Users/shunsuke_shimizu/Gentoo/var/tmp"
USE="blas c++11 coreaudio cracklib cxx eigen fortran gdal git icu ipv6 jpeg jpeg2k lapack libav modules ncurses nls objc objc++ openexr openmp png prefix prefix-guest readline ssl threads tiff unicode webp x64-macos zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Shunsuke Shimizu 2017-06-01 10:47:51 UTC
Created attachment 474902 [details, diff]
patch to correct install_name

Only correcting `libcbras.dylib` is enough, but in case of for future addition, I made the patch to search all libraries.
Comment 2 Larry the Git Cow gentoo-dev 2020-11-15 14:51:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f

commit 74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-11-15 14:51:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 14:51:37 +0000

    sci-libs/lapack: remove lapacke-reference blocker
    
    * included in sci-libs/lapack
    
    Closes: https://bugs.gentoo.org/746962
    Closes: https://bugs.gentoo.org/684400
    Closes: https://bugs.gentoo.org/667828
    Closes: https://bugs.gentoo.org/666627
    Closes: https://bugs.gentoo.org/659016
    Closes: https://bugs.gentoo.org/689084
    Closes: https://bugs.gentoo.org/612038
    Closes: https://bugs.gentoo.org/620328
    Closes: https://bugs.gentoo.org/608270
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 1 -
 sci-libs/lapack/lapack-3.8.0.ebuild    | 1 -
 sci-libs/lapack/lapack-3.9.0.ebuild    | 1 -
 3 files changed, 3 deletions(-)