1 |
I am trying to document my efforts to bootstrap on http://gentoo- |
2 |
wiki.com/Talk:Portage-prefix. |
3 |
|
4 |
I am running into the followin issue: When trying to emerge system, |
5 |
it is trying to emerge vanilla gcc. I'll try to get gcc-apple compiled. |
6 |
|
7 |
vanilla gcc uses the toolchain eclass which is broken on my system: |
8 |
|
9 |
Calculating dependencies /Volumes/portage/usr/lib/portage/bin/ |
10 |
ebuild.sh: /Volumes/portage/usr/portage/eclass/toolchain.eclass: line |
11 |
1540: syntax error near unexpected token `fi' |
12 |
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/ |
13 |
portage/eclass/toolchain.eclass: line 1540: ` fi' |
14 |
|
15 |
!!! ERROR: sys-devel/gcc-3.4.4-r1 failed. |
16 |
Call stack: |
17 |
, line : Called die |
18 |
|
19 |
!!! died sourcing /Volumes/portage/usr/portage/eclass/ |
20 |
toolchain.eclass in inherit() |
21 |
!!! If you need support, post the topmost build error, and the call |
22 |
stack if relevant. |
23 |
|
24 |
|
25 |
aux_get(): (0) Error in sys-devel/gcc-3.4.4-r1 ebuild. (1) |
26 |
Check for syntax error or corruption in the ebuild. |
27 |
(--debug) |
28 |
|
29 |
!!! All ebuilds that could satisfy "gcc" have been masked. |
30 |
!!! One of the following masked packages is required to complete your |
31 |
request: |
32 |
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/ |
33 |
portage/eclass/toolchain.eclass: line 1540: syntax error near |
34 |
unexpected token `fi' |
35 |
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/ |
36 |
portage/eclass/toolchain.eclass: line 1540: ` fi' |
37 |
|
38 |
!!! ERROR: sys-devel/gcc-4.1.0 failed. |
39 |
Call stack: |
40 |
, line : Called die |
41 |
|
42 |
!!! died sourcing /Volumes/portage/usr/portage/eclass/ |
43 |
toolchain.eclass in inherit() |
44 |
!!! If you need support, post the topmost build error, and the call |
45 |
stack if relevant. |
46 |
|
47 |
|
48 |
aux_get(): (0) Error in sys-devel/gcc-4.1.0 ebuild. (1) |
49 |
Check for syntax error or corruption in the ebuild. |
50 |
(--debug) |
51 |
|
52 |
|
53 |
|
54 |
!!! Problem in sys-devel/gcc dependencies. |
55 |
!!! exceptions |
56 |
|
57 |
$ emerge --info |
58 |
emerge: wheel group use is being deprecated. Please update group and |
59 |
passwd to |
60 |
include the portage user as noted above, and then use group |
61 |
portage. |
62 |
!!! Relying on the shell to locate gcc, this may break |
63 |
!!! DISTCC, installing gcc-config and setting your current gcc |
64 |
!!! profile will fix this |
65 |
Portage 2.1.13 (default-darwin/macos/10.4/ppc, gcc-4.0.1, |
66 |
unavailable, 8.5.0 Power Macintosh) |
67 |
================================================================= |
68 |
System uname: 8.5.0 Power Macintosh powerpc |
69 |
Unknown Host Operating System |
70 |
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) |
71 |
(default port 3632) [disabled] |
72 |
dev-lang/python: [Not Present] |
73 |
sys-apps/sandbox: [Not Present] |
74 |
sys-devel/autoconf: [Not Present] |
75 |
sys-devel/automake: [Not Present] |
76 |
sys-devel/binutils: [Not Present] |
77 |
sys-devel/libtool: [Not Present] |
78 |
sys-devel/odcctools: [Not Present] |
79 |
virtual/os-headers: [Not Present] |
80 |
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" |
81 |
AUTOCLEAN="yes" |
82 |
CFLAGS="-O2 -pipe" |
83 |
CONFIG_PROTECT="/Volumes/portage/etc /etc /usr/kde/2/share/config / |
84 |
usr/kde/3/share/config /usr/share/config /var/qmail/control" |
85 |
CONFIG_PROTECT_MASK="/etc/gconf /Volumes/portage/etc/env.d" |
86 |
CXXFLAGS="-O2 -pipe" |
87 |
DEFAULT_PATH="/Volumes/portage/sbin:/Volumes/portage/usr/sbin:/ |
88 |
Volumes/portage/bin:/Volumes/portage/usr/bin:/Volumes/portage/usr/lib/ |
89 |
portage/bin:/bin:/sbin:/usr/bin:/usr/sbin" |
90 |
DISTDIR="/Volumes/portage/usr/portage/distfiles" |
91 |
FEATURES="autoconfig distlocks metadata-transfer sfperms strict" |
92 |
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/ |
93 |
pub/linux/distributions/gentoo" |
94 |
MAKEOPTS="-j2" |
95 |
PKGDIR="/Volumes/portage/usr/portage/packages" |
96 |
PORTAGE_TMPDIR="/Volumes/portage/var/tmp" |
97 |
PORTDIR="/Volumes/portage/usr/portage" |
98 |
PREFIX="/Volumes/portage" |
99 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
100 |
USE="ppc berkdb bzip2 emboss python zlib elibc_Darwin kernel_Darwin |
101 |
userland_Darwin" |
102 |
Unset: ASFLAGS, CBUILD, CHOST, CTARGET, EMERGE_DEFAULT_OPTS, LANG, |
103 |
LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
104 |
|
105 |
-- |
106 |
gentoo-osx@g.o mailing list |