Gentoo Archives: gentoo-alt

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] OS X: invalid install_name found, your application or library will crash at runtime
Date: Thu, 21 May 2015 16:27:03
Message-Id: BLU436-SMTP6FD804529324A20F19AA38DC10@phx.gbl
In Reply to: [gentoo-alt] OS X: invalid install_name found, your application or library will crash at runtime by Fernando Rodriguez
1 On Thursday, May 21, 2015 12:50:13 AM Fernando Rodriguez wrote:
2 > Hello,
3 >
4 > I'm getting the following error when bootstraping stage3 with the automated
5 > script (originally it was giving the same error with 0.19.3 so I masked it
6 and
7 > 0.18.3.2 gives the same error):
8 >
9 > ERROR: sys-devel/gettext-0.18.3.2::gentoo_prefix failed:
10 > * invalid install_name found, your application or library will crash at
11 > runtime
12 >
13 > The only thing I did different than the wiki guide was that I added
14 > CFLAGS="$CFLAGS -mmacosx-version-min=10.10" on $EPREFIX/etc/portage/env/dev-
15 > util/pkgconfig because it was failing to build apparently due to a bug in
16 > apple's headers.
17 >
18 > Here's my emerge --info:
19 >
20 > Portage 2.2.14-prefix (python 2.7.3-final-0, prefix/darwin/macos/10.10/x64,
21 > gcc-4.2.1, unavailable, 14.0.0 x86_64)
22 > =================================================================
23 > System uname: Darwin-14.0.0-x86_64-i386-64bit
24 > Timestamp of tree: Thu, 21 May 2015 01:38:25 +0000
25 > app-shells/bash: 4.2_p53
26 > sys-devel/gcc-config: 1.8-r00.1
27 > Repositories: gentoo_prefix
28 > ACCEPT_KEYWORDS="~x64-macos"
29 > ACCEPT_LICENSE="* -@EULA"
30 > CBUILD="x86_64-apple-darwin14"
31 > CFLAGS="-march=nocona -O2 -pipe"
32 > CHOST="x86_64-apple-darwin14"
33 > CONFIG_PROTECT="/etc"
34 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
35 /etc/terminfo"
36 > CXXFLAGS="-march=nocona -O2 -pipe"
37 > DISTDIR="/usr/gentoo/usr/portage/distfiles"
38 > FCFLAGS=""
39 > FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
40 > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-
41 > sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict
42 > unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
43 > usersandbox usersync"
44 > FFLAGS=""
45 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
46 > LANG="en_US.utf8"
47 > LDFLAGS="-Wl,-dead_strip_dylibs"
48 > MAKEOPTS="-j2"
49 > PKGDIR="/usr/gentoo/tmp/usr/portage/packages"
50 > PORTAGE_CONFIGROOT="/usr/gentoo/tmp/"
51 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-
52 > dir-times --compress --force --whole-file --delete --stats --human-readable
53 --
54 > timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
55 > PORTAGE_TMPDIR="/usr/gentoo/tmp/var/tmp"
56 > PORTDIR="/usr/gentoo/usr/portage"
57 > PORTDIR_OVERLAY=""
58 > USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc
59 > objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib"
60 > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
61 > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
62 authz_dbm
63 > authz_default authz_groupfile authz_host authz_owner authz_user autoindex
64 cache
65 > cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
66 > file_cache filter headers include info log_config logio mem_cache mime
67 mime_magic
68 > negotiation rewrite setenvif speling status unique_id userdir usertrack
69 > vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
70 krita
71 > karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq
72 > load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2"
73 > ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
74 > garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
75 oncore
76 > rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx"
77 > INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz
78 > cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
79 > LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
80 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
81 > PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
82 > RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" XTABLES_ADDONS="quota2 psd
83 pknock
84 > lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit
85 > sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
86 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
87 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
88 > PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
89 >
90 > Portage 2.2.14-prefix (python 2.7.3-final-0, prefix/darwin/macos/10.10/x64,
91 > gcc-4.2.1, unavailable, 14.0.0 x86_64)
92 > =================================================================
93 > System uname: Darwin-14.0.0-x86_64-i386-64bit
94 > Timestamp of tree: Thu, 21 May 2015 01:38:25 +0000
95 > app-shells/bash: 4.2_p53
96 > sys-devel/gcc-config: 1.8-r00.1
97 > Repositories: gentoo_prefix
98 > ACCEPT_KEYWORDS="~x64-macos"
99 > ACCEPT_LICENSE="* -@EULA"
100 > CBUILD="x86_64-apple-darwin14"
101 > CFLAGS="-march=nocona -O2 -pipe"
102 > CHOST="x86_64-apple-darwin14"
103 > CONFIG_PROTECT="/etc"
104 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
105 /etc/terminfo"
106 > CXXFLAGS="-march=nocona -O2 -pipe"
107 > DISTDIR="/usr/gentoo/usr/portage/distfiles"
108 > FCFLAGS=""
109 > FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
110 > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-
111 > sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict
112 > unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
113 > usersandbox usersync"
114 > FFLAGS=""
115 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
116 > LANG="en_US.utf8"
117 > LDFLAGS="-Wl,-dead_strip_dylibs"
118 > MAKEOPTS="-j2"
119 > PKGDIR="/usr/gentoo/tmp/usr/portage/packages"
120 > PORTAGE_CONFIGROOT="/usr/gentoo/tmp/"
121 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-
122 > dir-times --compress --force --whole-file --delete --stats --human-readable
123 --
124 > timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
125 > PORTAGE_TMPDIR="/usr/gentoo/tmp/var/tmp"
126 > PORTDIR="/usr/gentoo/usr/portage"
127 > PORTDIR_OVERLAY=""
128 > USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc
129 > objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib"
130 > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
131 > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
132 authz_dbm
133 > authz_default authz_groupfile authz_host authz_owner authz_user autoindex
134 cache
135 > cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
136 > file_cache filter headers include info log_config logio mem_cache mime
137 mime_magic
138 > negotiation rewrite setenvif speling status unique_id userdir usertrack
139 > vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
140 krita
141 > karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq
142 > load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2"
143 > ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
144 > garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
145 oncore
146 > rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx"
147 > INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz
148 > cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
149 > LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
150 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
151 > PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
152 > RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" XTABLES_ADDONS="quota2 psd
153 pknock
154 > lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit
155 > sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
156 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
157 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
158 > PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
159 >
160 >
161 > Any hints?
162 >
163
164 I added FEATURES="allow_broken_install_names" to my make.conf and it completed
165 the bootstrap and everything seems to be working ok. Please advise me on the
166 correct way to fix this. Thank you.
167
168 --
169 Fernando Rodriguez