1 |
Hi! |
2 |
I am using gentoo_prefix on a Mac OS 10.10. with prefix=/gentoo. |
3 |
After bootstrapping gcc-apple-4.2.1-r2 was the default gcc compiler. |
4 |
I wanted to upgrade to a more recent gcc - in particular gcc-4.7.3. |
5 |
$ emerge -av gcc gcc-config |
6 |
$ gcc-config gcc-config x86_64-apple-darwin14-4.7.3However, I get this: |
7 |
$ gcc --version |
8 |
Segmentation fault: 11 |
9 |
Then I did: |
10 |
$ emerge --oneshot -av libtool |
11 |
$ emerge -eav systemHere 3 packages fail to rebuild/emerge:csu-79gettextgcc-apple |
12 |
|
13 |
I tried to mask csu-79 but then I get the following: |
14 |
The following mask changes are necessary to proceed: |
15 |
(see "package.unmask" in the portage(5) man page for more details) |
16 |
# required by sys-devel/gcc-apple-4.2.1_p5666-r1 |
17 |
# required by sys-devel/binutils-apple-4.3 |
18 |
# required by sys-devel/gcc-4.7.3-r1 |
19 |
# required by @selected |
20 |
# required by @world (argument) |
21 |
# /gentoo/etc/portage/package.mask/csu: |
22 |
=sys-libs/csu-79 |
23 |
|
24 |
The following mask changes are necessary to proceed: |
25 |
(see "package.unmask" in the portage(5) man page for more details) |
26 |
# required by @system |
27 |
# required by @world (argument) |
28 |
# /gentoo/etc/portage/package.mask/csu: |
29 |
=sys-libs/csu-79So very basic packages can not build without csu-97. |
30 |
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. |
31 |
|
32 |
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? |
33 |
|
34 |
| | |
35 |
| | | | | | | | |
36 |
| OS X 10.10 - SourceCF-1151.16 (coming soon!) - | |
37 |
| | |
38 |
| Auf www.opensource... anzeigen | Vorschau nach Yahoo | |
39 |
| | |
40 |
| | |
41 |
|
42 |
|
43 |
Here are the emerge --info and logs (url): |
44 |
$ emerge --info '=sys-libs/csu-79::gentoo_prefix' |
45 |
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) |
46 |
================================================================= |
47 |
System Settings |
48 |
================================================================= |
49 |
System uname: Darwin-14.0.0-x86_64-i386-64bit |
50 |
Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
51 |
app-shells/bash: 4.2_p53 |
52 |
dev-lang/perl: 5.20.1-r4 |
53 |
dev-lang/python: 2.7.8, 3.3.3 |
54 |
dev-util/cmake: 3.0.2 |
55 |
dev-util/pkgconfig: 0.28-r2 |
56 |
sys-devel/autoconf: 2.69 |
57 |
sys-devel/automake: 1.14.1 |
58 |
sys-devel/gcc: 4.7.3-r1 |
59 |
sys-devel/gcc-config: 1.8-r1 |
60 |
sys-devel/libtool: 2.4.2-r1 |
61 |
sys-devel/make: 4.1-r1 |
62 |
Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
63 |
ACCEPT_KEYWORDS="~x64-macos" |
64 |
ACCEPT_LICENSE="* -@EULA" |
65 |
CBUILD="x86_64-apple-darwin14" |
66 |
CFLAGS="-march=nocona -O2 -pipe" |
67 |
CHOST="x86_64-apple-darwin14" |
68 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
69 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
70 |
CXXFLAGS="-march=nocona -O2 -pipe" |
71 |
DISTDIR="/gentoo/usr/portage/distfiles" |
72 |
FCFLAGS="" |
73 |
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" |
74 |
FFLAGS="" |
75 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
76 |
LANG="de_DE.UTF-8" |
77 |
LDFLAGS="-Wl,-dead_strip_dylibs" |
78 |
MAKEOPTS="-j3" |
79 |
PKGDIR="/gentoo/usr/portage/packages" |
80 |
PORTAGE_CONFIGROOT="/gentoo/" |
81 |
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" |
82 |
PORTAGE_TMPDIR="/gentoo/var/tmp" |
83 |
PORTDIR="/gentoo/usr/portage" |
84 |
PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
85 |
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" |
86 |
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 |
87 |
|
88 |
================================================================= |
89 |
Package Settings |
90 |
================================================================= |
91 |
|
92 |
sys-libs/csu-79 was built with the following: |
93 |
USE="(prefix) (prefix-guest)" |
94 |
$ emerge -pqv '=sys-libs/csu-79::gentoo_prefix' |
95 |
[ebuild R ] sys-libs/csu-79 |
96 |
Here is the log: csu-79.build.log - Datei über Box freigegeben |
97 |
|
98 |
| | |
99 |
| | | | | | | | |
100 |
| csu-79.build.log - Datei über Box freigegebenHerunterladen (11.5KB) Registrieren | Anmelden csu-79.build.log | |
101 |
| | |
102 |
| Auf app.box.com anzeigen | Vorschau nach Yahoo | |
103 |
| | |
104 |
| | |
105 |
|
106 |
|
107 |
Also gettext can not be compiled:$ emerge --info '=sys-devel/gettext-0.19.4_rc1::gentoo_prefix' |
108 |
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) |
109 |
================================================================= |
110 |
System Settings |
111 |
================================================================= |
112 |
System uname: Darwin-14.0.0-x86_64-i386-64bit |
113 |
Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
114 |
app-shells/bash: 4.2_p53 |
115 |
dev-lang/perl: 5.20.1-r4 |
116 |
dev-lang/python: 2.7.8, 3.3.3 |
117 |
dev-util/cmake: 3.0.2 |
118 |
dev-util/pkgconfig: 0.28-r2 |
119 |
sys-devel/autoconf: 2.69 |
120 |
sys-devel/automake: 1.14.1 |
121 |
sys-devel/gcc: 4.7.3-r1 |
122 |
sys-devel/gcc-config: 1.8-r1 |
123 |
sys-devel/libtool: 2.4.2-r1 |
124 |
sys-devel/make: 4.1-r1 |
125 |
Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
126 |
ACCEPT_KEYWORDS="~x64-macos" |
127 |
ACCEPT_LICENSE="* -@EULA" |
128 |
CBUILD="x86_64-apple-darwin14" |
129 |
CFLAGS="-march=nocona -O2 -pipe" |
130 |
CHOST="x86_64-apple-darwin14" |
131 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
132 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
133 |
CXXFLAGS="-march=nocona -O2 -pipe" |
134 |
DISTDIR="/gentoo/usr/portage/distfiles" |
135 |
FCFLAGS="" |
136 |
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" |
137 |
FFLAGS="" |
138 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
139 |
LANG="de_DE.UTF-8" |
140 |
LDFLAGS="-Wl,-dead_strip_dylibs" |
141 |
MAKEOPTS="-j3" |
142 |
PKGDIR="/gentoo/usr/portage/packages" |
143 |
PORTAGE_CONFIGROOT="/gentoo/" |
144 |
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" |
145 |
PORTAGE_TMPDIR="/gentoo/var/tmp" |
146 |
PORTDIR="/gentoo/usr/portage" |
147 |
PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
148 |
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" |
149 |
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 |
150 |
$ emerge -pqv '=sys-devel/gettext-0.19.4_rc1::gentoo_prefix' |
151 |
[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" |
152 |
The log can be found here: gettext-0.19.4.build.log - Datei über Box freigegeben |
153 |
|
154 |
| | |
155 |
| | | | | | | | |
156 |
| gettext-0.19.4.build.log - Datei über Box freigegebenHerunterladen (152.3KB) Registrieren | Anmelden gettext-0.19.4.build.log | |
157 |
| | |
158 |
| Auf app.box.com anzeigen | Vorschau nach Yahoo | |
159 |
| | |
160 |
| | |
161 |
|
162 |
Furthermore the gcc-apple can not be recompiled.ERROR: sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix failed (compile phase): |
163 |
* emake failed |
164 |
$ emerge --info '=sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix' |
165 |
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) |
166 |
================================================================= |
167 |
System Settings |
168 |
================================================================= |
169 |
System uname: Darwin-14.0.0-x86_64-i386-64bit |
170 |
Timestamp of tree: Sat, 17 Jan 2015 19:08:58 +0000 |
171 |
app-shells/bash: 4.2_p53 |
172 |
dev-lang/perl: 5.20.1-r4 |
173 |
dev-lang/python: 2.7.8, 3.3.3 |
174 |
dev-util/cmake: 3.0.2 |
175 |
dev-util/pkgconfig: 0.28-r2 |
176 |
sys-devel/autoconf: 2.69 |
177 |
sys-devel/automake: 1.14.1 |
178 |
sys-devel/gcc: 4.7.3-r1 |
179 |
sys-devel/gcc-config: 1.8-r1 |
180 |
sys-devel/libtool: 2.4.2-r1 |
181 |
sys-devel/make: 4.1-r1 |
182 |
Repositories: gentoo_prefix sage-on-gentoo sci-mathematics |
183 |
ACCEPT_KEYWORDS="~x64-macos" |
184 |
ACCEPT_LICENSE="* -@EULA" |
185 |
CBUILD="x86_64-apple-darwin14" |
186 |
CFLAGS="-march=nocona -O2 -pipe" |
187 |
CHOST="x86_64-apple-darwin14" |
188 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
189 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" |
190 |
CXXFLAGS="-march=nocona -O2 -pipe" |
191 |
DISTDIR="/gentoo/usr/portage/distfiles" |
192 |
FCFLAGS="" |
193 |
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" |
194 |
FFLAGS="" |
195 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
196 |
LANG="de_DE.UTF-8" |
197 |
LDFLAGS="-Wl,-dead_strip_dylibs" |
198 |
MAKEOPTS="-j3" |
199 |
PKGDIR="/gentoo/usr/portage/packages" |
200 |
PORTAGE_CONFIGROOT="/gentoo/" |
201 |
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" |
202 |
PORTAGE_TMPDIR="/gentoo/var/tmp" |
203 |
PORTDIR="/gentoo/usr/portage" |
204 |
PORTDIR_OVERLAY="/gentoo/var/lib/layman/sage-on-gentoo /gentoo/usr/local/portage" |
205 |
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" |
206 |
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 |
207 |
|
208 |
================================================================= |
209 |
Package Settings |
210 |
================================================================= |
211 |
|
212 |
sys-devel/gcc-apple-4.2.1_p5666-r2 was built with the following: |
213 |
USE="cxx fortran nls nptl objc objc++ openmp (prefix) (prefix-guest) -multislot -regression-test -vanilla" |
214 |
CFLAGS="-O2 -pipe" |
215 |
CXXFLAGS="-O2 -pipe" |
216 |
|
217 |
$ emerge -pqv '=sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix' |
218 |
[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" |
219 |
[ebuild R ] sys-devel/gcc-apple-4.2.1_p5666-r2 USE="cxx fortran nls nptl objc objc++ openmp -multislot -regression-test -vanilla" |
220 |
|
221 |
Here is the log file: gcc-apple-4.2.1.build.log - Datei über Box freigegeben |
222 |
| | |
223 |
| | | | | | | | |
224 |
| gcc-apple-4.2.1.build.log - Datei über Box freigegebenHerunterladen (7.3MB) Registrieren | Anmelden gcc-apple-4.2.1.build.log | |
225 |
| | |
226 |
| Auf app.box.com anzeigen | Vorschau nach Yahoo | |
227 |
| | |
228 |
| | |
229 |
|
230 |
|
231 |
It seems that these 3 packages prevent each other from rebuilding. What can I do? |
232 |
|
233 |
Thank you for your help. |