Gentoo Archives: gentoo-alt

From: Jeremy Olexa <darkside@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] x64-macos and profiles
Date: Fri, 15 Jan 2010 04:01:33
Message-Id: 5716dc850c7a5e9fb70e4a95d1f3c1ae@jolexa.net
In Reply to: Re: [gentoo-alt] x64-macos and profiles by Johan Hattne
1 On Thu, 14 Jan 2010 19:50:03 -0600, Johan Hattne
2 <johan.hattne@××××××××××××××.edu> wrote:
3 > On 12 Jan 2010, at 04:20, Fabian Groffen wrote:
4 >
5 >> On 11-01-2010 23:20:57 -0600, Johan Hattne wrote:
6 >>> I just installed snow leopard on my MacBook Pro and wanted to give the
7 >>> whole 64-bit thing a spin. Oddly enough I could only access 32-bit
8 >>> macos profiles. Also, the mask on ">=sys-apps/portage-2.2_pre"
9 (defined
10 >>> in profiles/package.mask, but overridden in
11 >>> profiles/prefix/package.mask?) is in effect, so I've got the sneaky
12 >>> suspicion I've missed something obvious to everyone but me. Question
13 is
14 >>> what?
15 >>
16 >> You'll have to explain a bit what you did. Did you try to switch, did
17 >> you rebootstrap? Do you use multiple trees?
18 >
19 > I upgraded from Leopard to Snow Leopard, set CHOST to
20 > x86_64-apple-darwin10 in etc/make.conf, upgraded Xcode and used that to
21 > emerge new gcc-apple and binutils-apple into place, and then did an
22 "emerge
23 > --emptytree system". So, no, I did not rebootstrap.
24
25 Well, you can't just change the CHOST and expect everything to work.
26 Actually, it is quite a process to change your CHOST.
27 http://www.gentoo.org/doc/en/change-chost.xml
28 >
29 > I'm also using the svn prefix overlay. That one still had the full
30 > licenses and profiles directories in it. Removing the profiles
31 directory
32 > took care of the portage package mask from above.
33
34 You should be using rsync only. :)
35
36 >
37 > The problem with "invisible" 64 bit profiles went away after reemerging
38 > all the eselect stuff (but I still don't understand why "arch=$(arch)"
39 > gives x64-macos in the profile.eselect module, while "arch" on the
40 command
41 > line gives i386)?
42
43 Your toolchain is in a weird state.
44
45 >
46 > I'll now find some lint to stuff the still-smoking bullet holes in my
47 feet.
48
49 Your best best is to save your configuration files and world file and
50 rebootstrap. Although, technically you can probably work through this. It
51 is just not that fun. :)
52
53 Good luck.
54
55 >
56 > // Cheers; Johan