I am trying to document my efforts to bootstrap on
http://gentoo- wiki.com/Talk:Portage-prefix.
I am running into the followin issue: When trying to emerge system,
it is trying to emerge vanilla gcc. I'll try to get gcc-apple compiled.
vanilla gcc uses the toolchain eclass which is broken on my system:
Calculating dependencies /Volumes/portage/usr/lib/portage/bin/
ebuild.sh: /Volumes/portage/usr/portage/eclass/toolchain.eclass: line
1540: syntax error near unexpected token `fi'
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/
portage/eclass/toolchain.eclass: line 1540: ` fi'
!!! ERROR: sys-devel/gcc-3.4.4-r1 failed.
Call stack:
, line : Called die
!!! died sourcing /Volumes/portage/usr/portage/eclass/
toolchain.eclass in inherit()
!!! If you need support, post the topmost build error, and the call
stack if relevant.
aux_get(): (0) Error in sys-devel/gcc-3.4.4-r1 ebuild. (1)
Check for syntax error or corruption in the ebuild.
(--debug)
!!! All ebuilds that could satisfy "gcc" have been masked.
!!! One of the following masked packages is required to complete your
request:
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/
portage/eclass/toolchain.eclass: line 1540: syntax error near
unexpected token `fi'
/Volumes/portage/usr/lib/portage/bin/ebuild.sh: /Volumes/portage/usr/
portage/eclass/toolchain.eclass: line 1540: ` fi'
!!! ERROR: sys-devel/gcc-4.1.0 failed.
Call stack:
, line : Called die
!!! died sourcing /Volumes/portage/usr/portage/eclass/
toolchain.eclass in inherit()
!!! If you need support, post the topmost build error, and the call
stack if relevant.
aux_get(): (0) Error in sys-devel/gcc-4.1.0 ebuild. (1)
Check for syntax error or corruption in the ebuild.
(--debug)
!!! Problem in sys-devel/gcc dependencies.
!!! exceptions
$ emerge --info
emerge: wheel group use is being deprecated. Please update group and
passwd to
include the portage user as noted above, and then use group
portage.
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.1.13 (default-darwin/macos/10.4/ppc, gcc-4.0.1,
unavailable, 8.5.0 Power Macintosh)
=================================================================
System uname: 8.5.0 Power Macintosh powerpc
Unknown Host Operating System
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2)
(default port 3632) [disabled]
dev-lang/python: [Not Present]
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: [Not Present]
sys-devel/libtool: [Not Present]
sys-devel/odcctools: [Not Present]
virtual/os-headers: [Not Present]
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/Volumes/portage/etc /etc /usr/kde/2/share/config /
usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /Volumes/portage/etc/env.d"
CXXFLAGS="-O2 -pipe"
DEFAULT_PATH="/Volumes/portage/sbin:/Volumes/portage/usr/sbin:/
Volumes/portage/bin:/Volumes/portage/usr/bin:/Volumes/portage/usr/lib/
portage/bin:/bin:/sbin:/usr/bin:/usr/sbin"
DISTDIR="/Volumes/portage/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="
http://distfiles.gentoo.org http://distro.ibiblio.org/ pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/Volumes/portage/usr/portage/packages"
PORTAGE_TMPDIR="/Volumes/portage/var/tmp"
PORTDIR="/Volumes/portage/usr/portage"
PREFIX="/Volumes/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc berkdb bzip2 emboss python zlib elibc_Darwin kernel_Darwin
userland_Darwin"
Unset: ASFLAGS, CBUILD, CHOST, CTARGET, EMERGE_DEFAULT_OPTS, LANG,
LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
--
gentoo-osx@gentoo.org mailing list