Mailing List Archive

prefix status on osx
so i'm curious, what's the current status of ${PREFIX} gentoo for
osx? is it already possible to bootstrap and emerge system? i'd be
happy to test ebuilds at that stage.

is there a wiki or similar with a todo list? it's kind of hard for an
outsider to get a grasp of what's going on by just reading [gentoo-
osx] :) i don't have any time, but every once in a while i'd like to
give a hand...

tobias
--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx [ In reply to ]
On Mar 29, 2006, at 2:29 AM, Tobias Hahn wrote:

> so i'm curious, what's the current status of ${PREFIX} gentoo for
> osx? is it already possible to bootstrap and emerge system? i'd be
> happy to test ebuilds at that stage.

The bootstrap is still a little tedious, but its getting easier as we
get more work done. Once it is setup, an emerge system should work.
There aren't too many non-system related packages in the prefix
ebuild repo yet however.

>
> is there a wiki or similar with a todo list?

http://gentoo-wiki.com/Portage-prefix

Feel free to make any notes/changes you see fit. The bootstrap
instructions aren't complete yet, but if you have basic portage
knowledge of portage configuration you should be able to get it going.

You can write this list or stop by #gentoo-osx on irc.freenode.net if
you have any questions/problems/answers ;)

> it's kind of hard for an outsider to get a grasp of what's going on
> by just reading [gentoo-osx] :) i don't have any time, but every
> once in a while i'd like to give a hand...

Sure, any help is much appreciated.

--Kito




--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx [ In reply to ]
OK, I got to the point in the wiki where it says

> TODO
>
> make.conf editing, DEFAULT_PATH explanation

;-)

I have set my path to

PATH=${GENTOO}/bin:${GENTOO}/sbin:${GENTOO}/usr/bin:${GENTOO}/usr/
sbin:${PORTAGE_PREFIX}/bin:${PORTAGE_PREFIX}/sbin:/usr/bin:/usr/sbin

and emerge system complains about a missing profile.

$ emerge -a system
!!! Problem with sandbox binary. Disabling...

--- 'profiles/updates' is empty or not available. Empty portage tree?
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.

These are the packages that would be merged, in order:

!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

So next question: how do I get a profile?

Tobias

$ emerge --info
!!! Problem with sandbox binary. Disabling...

--- 'profiles/updates' is empty or not available. Empty portage tree?
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 (unavailable, 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-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=""
CONFIG_PROTECT="/Volumes/portage/etc"
CONFIG_PROTECT_MASK=" /Volumes/portage/etc/env.d"
DEFAULT_PATH="/Volumes/portage/sbin:/Volumes/portage/usr/sbin:/
Volumes/portage/bin:/Volumes/portage/usr/bin:/Volumes/portage/usr/lib/
portage/bin"
DISTDIR="/Volumes/portage/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/
pub/linux/distributions/gentoo"
PKGDIR="/Volumes/portage/usr/portage/packages"
PORTAGE_TMPDIR="/Volumes/portage/var/tmp"
PORTDIR="/Volumes/portage/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE=""
Unset: CFLAGS, CHOST, CXXFLAGS, EMERGE_DEFAULT_OPTS,
PORTDIR_OVERLAY, PREFIX


> Feel free to make any notes/changes you see fit. The bootstrap
> instructions aren't complete yet, but if you have basic portage
> knowledge of portage configuration you should be able to get it going.

--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx - bug [ In reply to ]
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
Re: prefix status on osx - bug [ In reply to ]
On 31-03-2006 17:17:30 +0200, Tobias Hahn wrote:
> 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 will probably not work.

> $ 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)

Why do you use a 10.4/ppc profile? (I didn't even know it existed)

This is what I have (Ok, need to update):

Portage 2.1.4 (default-darwin/macos/prefix, gcc-4.0.0, libsystem-7.1-r0,
8.5.0 Power Macintosh)
=================================================================

Try setting your profile to the macos/prefix profile. That one is setup
to work with a prefix on osx.


--
Fabian Groffen
Gentoo for Mac OS X Project
--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx - bug [ In reply to ]
On Mar 31, 2006, at 8:29 AM, Grobian wrote:

> On 31-03-2006 17:17:30 +0200, Tobias Hahn wrote:
>> 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 will probably not work.

Definitely won't, we probably can't expect FSF gcc support until at
least 4.2 is released. The current profile should not try to pull in
gcc and binutils, but gcc-apple and odcctools instead.

>
>> $ 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)
>
> Why do you use a 10.4/ppc profile? (I didn't even know it existed)

Thats the correct profile to use. Remember, the prefix repo doesn't
rely on the main tree anymore, so he probably doesn't have the
default-darwin/macos/prefix available.
I've just updated the profiles in the repo, so that should fix some
of these problems.

--Kito




--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx - bug [ In reply to ]
I took the portage-snapshot
http://gentoo.osuosl.org/experimental/snapshots/portage-alt-prefix-
latest.tar.bz2

This tree only has the 10.4/ppc profile, no prefix profile. What
ebuild tree are you using and how do I get it?

Am 31.03.2006 um 16:29 schrieb Grobian:
>
> Portage 2.1.4 (default-darwin/macos/prefix, gcc-4.0.0,
> libsystem-7.1-r0,
> 8.5.0 Power Macintosh)

--
gentoo-osx@gentoo.org mailing list
Re: prefix status on osx - bug [ In reply to ]
>> 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.

Still on the 10.4/ppc profile, I got

sed-4.1.4-r1
texinfo-4.8-r2
bison-2.1
m4-1.4.4
patch-2.5.9-r1
gnuconfig-20060227
odcctools-20060123
libsystem-7.1
ncurses-5.5-r2
zlib-1.2.3

emerged. gcc-apple-5247 failed.

make[2]: *** No rule to make target `../build-powerpc-apple-
darwin8.5.0/libiberty/libiberty.a', needed by `build/genmodes'. Stop.
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2

!!! ERROR: sys-devel/gcc-apple-5247 failed.
Call stack:
, line : Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

--
gentoo-osx@gentoo.org mailing list