1 |
You may want to look at what is happening at
|
2 |
https://bugs.gentoo.org/show_bug.cgi?id=504242
|
3 |
and
|
4 |
https://bugs.gentoo.org/show_bug.cgi?id=473068
|
5 |
although instructions are not yet very clear how to at least get a clang
|
6 |
installed.
|
7 |
|
8 |
François
|
9 |
> On 18/01/2015, at 09:04, JC D <mail2jcdx@×××××.de> wrote: |
10 |
> |
11 |
> Hi! |
12 |
> |
13 |
> I am using gentoo_prefix on a Mac OS 10.10. with prefix=/gentoo. |
14 |
> |
15 |
> After bootstrapping gcc-apple-4.2.1-r2 was the default gcc compiler. |
16 |
> |
17 |
> I wanted to upgrade to a more recent gcc - in particular gcc-4.7.3. |
18 |
> |
19 |
> $ emerge -av gcc gcc-config |
20 |
> $ gcc-config gcc-config x86_64-apple-darwin14-4.7.3 |
21 |
> However, I get this: |
22 |
> $ gcc --version |
23 |
> Segmentation fault: 11 |
24 |
> |
25 |
> Then I did: |
26 |
> $ emerge --oneshot -av libtool |
27 |
> $ emerge -eav system |
28 |
> Here 3 packages fail to rebuild/emerge: |
29 |
> csu-79 |
30 |
> gettext |
31 |
> gcc-apple |
32 |
> |
33 |
> I tried to mask csu-79 but then I get the following: |
34 |
> |
35 |
> The following mask changes are necessary to proceed: |
36 |
> (see "package.unmask" in the portage(5) man page for more details) |
37 |
> # required by sys-devel/gcc-apple-4.2.1_p5666-r1 |
38 |
> # required by sys-devel/binutils-apple-4.3 |
39 |
> # required by sys-devel/gcc-4.7.3-r1 |
40 |
> # required by @selected |
41 |
> # required by @world (argument) |
42 |
> # /gentoo/etc/portage/package.mask/csu: |
43 |
> =sys-libs/csu-79 |
44 |
> |
45 |
> The following mask changes are necessary to proceed: |
46 |
> (see "package.unmask" in the portage(5) man page for more details) |
47 |
> # required by @system |
48 |
> # required by @world (argument) |
49 |
> # /gentoo/etc/portage/package.mask/csu: |
50 |
> =sys-libs/csu-79 |
51 |
> So very basic packages can not build without csu-97. |
52 |
> Here I stuck. What can I do? The aim of the whole process is to finally get sage-on-gentoo (overlay) installed, which requires a more recent gcc. |
53 |
> |
54 |
> There is a more up-to-date version of csu on OS X 10.10 - Source for csu-85. Is there a chance that this will be upgraded on gentoo? |
55 |
> |
56 |
> |
57 |
> |
58 |
> |
59 |
> |
60 |
> |
61 |
> |
62 |
> |
63 |
> OS X 10.10 - Source |
64 |
> CF-1151.16 (coming soon!) - |
65 |
> Auf www.opensource... anzeigen |
66 |
> Vorschau nach Yahoo |
67 |
> |
68 |
> |
69 |
> Here are the emerge --info and logs (url): |
70 |
> |
71 |
> $ emerge --info '=sys-libs/csu-79::gentoo_prefix' |
72 |
> Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.7.3, unavailable, 14.0.0 x86_64) |
73 |
> ================================================================= |
74 |
> System Settings |
75 |
> ================================================================= |
76 |
> System uname: Darwin-14.0.0-x86_64-i386-64bit |
77 |
> Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
78 |
> app-shells/bash: 4.2_p53 |
79 |
> dev-lang/perl: 5.20.1-r4 |
80 |
> dev-lang/python: 2.7.8, 3.3.3 |
81 |
> dev-util/cmake: 3.0.2 |
82 |
> dev-util/pkgconfig: 0.28-r2 |
83 |
> sys-devel/autoconf: 2.69 |
84 |
> sys-devel/automake: 1.14.1 |
85 |
> sys-devel/gcc: 4.7.3-r1 |
86 |
> sys-devel/gcc-config: 1.8-r1 |
87 |
> sys-devel/libtool: 2.4.2-r1 |
88 |
> sys-devel/make: 4.1-r1 |
89 |
> Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
90 |
> ACCEPT_KEYWORDS="~x64-macos" |
91 |
> ACCEPT_LICENSE="* -@EULA" |
92 |
> CBUILD="x86_64-apple-darwin14" |
93 |
> CFLAGS="-march=nocona -O2 -pipe" |
94 |
> CHOST="x86_64-apple-darwin14" |
95 |
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
96 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
97 |
> CXXFLAGS="-march=nocona -O2 -pipe" |
98 |
> DISTDIR="/gentoo/usr/portage/distfiles" |
99 |
> FCFLAGS="" |
100 |
> 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" |
101 |
> FFLAGS="" |
102 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org" |
103 |
> LANG="de_DE.UTF-8" |
104 |
> LDFLAGS="-Wl,-dead_strip_dylibs" |
105 |
> MAKEOPTS="-j3" |
106 |
> PKGDIR="/gentoo/usr/portage/packages" |
107 |
> PORTAGE_CONFIGROOT="/gentoo/" |
108 |
> 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" |
109 |
> PORTAGE_TMPDIR="/gentoo/var/tmp" |
110 |
> PORTDIR="/gentoo/usr/portage" |
111 |
> PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
112 |
> USE="aqua coreaudio cracklib cxx fontconfig ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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" |
113 |
> Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON |
114 |
> |
115 |
> ================================================================= |
116 |
> Package Settings |
117 |
> ================================================================= |
118 |
> |
119 |
> sys-libs/csu-79 was built with the following: |
120 |
> USE="(prefix) (prefix-guest)" |
121 |
> |
122 |
> $ emerge -pqv '=sys-libs/csu-79::gentoo_prefix' |
123 |
> [ebuild R ] sys-libs/csu-79 |
124 |
> |
125 |
> Here is the log: csu-79.build.log - Datei über Box freigegeben |
126 |
> |
127 |
> |
128 |
> |
129 |
> |
130 |
> |
131 |
> |
132 |
> |
133 |
> |
134 |
> csu-79.build.log - Datei über Box freigegeben |
135 |
> Herunterladen (11.5KB) Registrieren | Anmelden csu-79.build.log |
136 |
> Auf app.box.com anzeigen |
137 |
> Vorschau nach Yahoo |
138 |
> |
139 |
> |
140 |
> Also gettext can not be compiled: |
141 |
> $ emerge --info '=sys-devel/gettext-0.19.4_rc1::gentoo_prefix' |
142 |
> Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.7.3, unavailable, 14.0.0 x86_64) |
143 |
> ================================================================= |
144 |
> System Settings |
145 |
> ================================================================= |
146 |
> System uname: Darwin-14.0.0-x86_64-i386-64bit |
147 |
> Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
148 |
> app-shells/bash: 4.2_p53 |
149 |
> dev-lang/perl: 5.20.1-r4 |
150 |
> dev-lang/python: 2.7.8, 3.3.3 |
151 |
> dev-util/cmake: 3.0.2 |
152 |
> dev-util/pkgconfig: 0.28-r2 |
153 |
> sys-devel/autoconf: 2.69 |
154 |
> sys-devel/automake: 1.14.1 |
155 |
> sys-devel/gcc: 4.7.3-r1 |
156 |
> sys-devel/gcc-config: 1.8-r1 |
157 |
> sys-devel/libtool: 2.4.2-r1 |
158 |
> sys-devel/make: 4.1-r1 |
159 |
> Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
160 |
> ACCEPT_KEYWORDS="~x64-macos" |
161 |
> ACCEPT_LICENSE="* -@EULA" |
162 |
> CBUILD="x86_64-apple-darwin14" |
163 |
> CFLAGS="-march=nocona -O2 -pipe" |
164 |
> CHOST="x86_64-apple-darwin14" |
165 |
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
166 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
167 |
> CXXFLAGS="-march=nocona -O2 -pipe" |
168 |
> DISTDIR="/gentoo/usr/portage/distfiles" |
169 |
> FCFLAGS="" |
170 |
> 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" |
171 |
> FFLAGS="" |
172 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org" |
173 |
> LANG="de_DE.UTF-8" |
174 |
> LDFLAGS="-Wl,-dead_strip_dylibs" |
175 |
> MAKEOPTS="-j3" |
176 |
> PKGDIR="/gentoo/usr/portage/packages" |
177 |
> PORTAGE_CONFIGROOT="/gentoo/" |
178 |
> 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" |
179 |
> PORTAGE_TMPDIR="/gentoo/var/tmp" |
180 |
> PORTDIR="/gentoo/usr/portage" |
181 |
> PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
182 |
> USE="aqua coreaudio cracklib cxx fontconfig ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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" |
183 |
> Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON |
184 |
> |
185 |
> $ emerge -pqv '=sys-devel/gettext-0.19.4_rc1::gentoo_prefix' |
186 |
> [ebuild U ] sys-devel/gettext-0.19.4_rc1 [0.19.3] USE="cxx ncurses nls (-acl) -cvs -doc -emacs -git -java -openmp -static-libs" |
187 |
> |
188 |
> The log can be found here: gettext-0.19.4.build.log - Datei über Box freigegeben |
189 |
> |
190 |
> |
191 |
> |
192 |
> |
193 |
> |
194 |
> |
195 |
> |
196 |
> |
197 |
> gettext-0.19.4.build.log - Datei über Box freigegeben |
198 |
> Herunterladen (152.3KB) Registrieren | Anmelden gettext-0.19.4.build.log |
199 |
> Auf app.box.com anzeigen |
200 |
> Vorschau nach Yahoo |
201 |
> |
202 |
> |
203 |
> Furthermore the gcc-apple can not be recompiled. |
204 |
> ERROR: sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix failed (compile phase): |
205 |
> * emake failed |
206 |
> |
207 |
> $ emerge --info '=sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix' |
208 |
> Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.7.3, unavailable, 14.0.0 x86_64) |
209 |
> ================================================================= |
210 |
> System Settings |
211 |
> ================================================================= |
212 |
> System uname: Darwin-14.0.0-x86_64-i386-64bit |
213 |
> Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
214 |
> app-shells/bash: 4.2_p53 |
215 |
> dev-lang/perl: 5.20.1-r4 |
216 |
> dev-lang/python: 2.7.8, 3.3.3 |
217 |
> dev-util/cmake: 3.0.2 |
218 |
> dev-util/pkgconfig: 0.28-r2 |
219 |
> sys-devel/autoconf: 2.69 |
220 |
> sys-devel/automake: 1.14.1 |
221 |
> sys-devel/gcc: 4.7.3-r1 |
222 |
> sys-devel/gcc-config: 1.8-r1 |
223 |
> sys-devel/libtool: 2.4.2-r1 |
224 |
> sys-devel/make: 4.1-r1 |
225 |
> Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
226 |
> ACCEPT_KEYWORDS="~x64-macos" |
227 |
> ACCEPT_LICENSE="* -@EULA" |
228 |
> CBUILD="x86_64-apple-darwin14" |
229 |
> CFLAGS="-march=nocona -O2 -pipe" |
230 |
> CHOST="x86_64-apple-darwin14" |
231 |
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
232 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
233 |
> CXXFLAGS="-march=nocona -O2 -pipe" |
234 |
> DISTDIR="/gentoo/usr/portage/distfiles" |
235 |
> FCFLAGS="" |
236 |
> 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" |
237 |
> FFLAGS="" |
238 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org" |
239 |
> LANG="de_DE.UTF-8" |
240 |
> LDFLAGS="-Wl,-dead_strip_dylibs" |
241 |
> MAKEOPTS="-j3" |
242 |
> PKGDIR="/gentoo/usr/portage/packages" |
243 |
> PORTAGE_CONFIGROOT="/gentoo/" |
244 |
> 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" |
245 |
> PORTAGE_TMPDIR="/gentoo/var/tmp" |
246 |
> PORTDIR="/gentoo/usr/portage" |
247 |
> PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
248 |
> USE="aqua coreaudio cracklib cxx fontconfig ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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" |
249 |
> Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON |
250 |
> |
251 |
> ================================================================= |
252 |
> Package Settings |
253 |
> ================================================================= |
254 |
> |
255 |
> sys-devel/gcc-apple-4.2.1_p5666-r2 was built with the following: |
256 |
> USE="cxx fortran nls nptl objc objc++ openmp (prefix) (prefix-guest) -multislot -regression-test -vanilla" |
257 |
> CFLAGS="-O2 -pipe" |
258 |
> CXXFLAGS="-O2 -pipe" |
259 |
> |
260 |
> $ emerge -pqv '=sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix' |
261 |
> [ebuild U ] sys-devel/gettext-0.19.4_rc1 [0.19.3] USE="cxx ncurses nls (-acl) -cvs -doc -emacs -git -java -openmp -static-libs" |
262 |
> [ebuild R ] sys-devel/gcc-apple-4.2.1_p5666-r2 USE="cxx fortran nls nptl objc objc++ openmp -multislot -regression-test -vanilla" |
263 |
> |
264 |
> Here is the log file: gcc-apple-4.2.1.build.log - Datei über Box freigegeben |
265 |
> |
266 |
> |
267 |
> |
268 |
> |
269 |
> |
270 |
> |
271 |
> |
272 |
> |
273 |
> gcc-apple-4.2.1.build.log - Datei über Box freigegeben |
274 |
> Herunterladen (7.3MB) Registrieren | Anmelden gcc-apple-4.2.1.build.log |
275 |
> Auf app.box.com anzeigen |
276 |
> Vorschau nach Yahoo |
277 |
> |
278 |
> |
279 |
> It seems that these 3 packages prevent each other from rebuilding. What can I do? |
280 |
> |
281 |
> Thank you for your help. |
282 |
> |