Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] Binary packages experimentation
Date: Fri, 12 Oct 2007 14:06:28
Message-Id: 20071012135819.GA28437@gentoo.org
In Reply to: Re: [gentoo-alt] [PREFIX] Binary packages experimentation by Nathan
1 On 10-10-2007 12:42:07 -0600, Nathan wrote:
2 > Interesting stuff.
3 >
4 > So, I've dropped out of testing prefix things for...what...a year?
5 > How are things going? Is there a place that interested parties (new
6 > users or new-old users like me) can get up to speed on the project
7 > status? Has it yet reached a quasi-stable stage?
8
9 I know of no other place than here ;)
10
11 quasi-stable... well,if you mean the number of screw-ups by me ( :p ) I
12 think those have been reduced drastically.
13
14 I just did a test on ppc-macos with portage 2.2.00.8084 to do a binary
15 install of ghc-6.6.1 (a package which takes 3+ hours to compile) and it
16 suceeded. For people who want to toy with it as well, here are the
17 things you need to do.
18
19 Add the following to your etc/make.conf:
20
21 PORTAGE_BINHOST=http://dev.gentooexperimental.org/~grobian/binpkg/powerpc-apple-darwin8
22
23 Then try to emerge for instance this huge ghc:
24
25 % emerge --getbinpkg -av ghc
26
27 These are the packages that would be merged, in order:
28
29 Calculating dependencies... done!
30 [binary N ] dev-lang/ghc-6.6.1 USE="-binary -doc -ghcbootstrap" [1]
31 [binary N ] dev-haskell/cabal-1.1.6.2 USE="-doc -profile" [1]
32
33 Total: 2 packages (2 new), Size of downloads: 0 kB
34 Portage tree and overlays:
35 [0] /Library/Gentoo/usr/portage
36 [1] http://dev.gentooexperimental.org/~grobian/binpkg/powerpc-apple-darwin8
37
38 Would you like to merge these packages? [Yes/No]
39
40
41 Note the "binary" instead of "ebuild" on each of those two lines.
42
43
44 Currently, I uploaded powerpc-apple-darwin8 (a clean and correct repo)
45 and powerpc-apple-darwin7 (my iBook, with a bad (short) prefix, and most
46 probably some outdated packages). We're working on getting a bit nicer
47 URL, and having i386-apple-darwin8 in there!
48
49 On a sidenote: yes, indeed ghc compiles on ppc-macos, x86-macos and
50 x86-solaris! Need to test on sparc-solaris, but that will take some
51 extra hours ;)
52
53
54 --
55 Fabian Groffen
56 Gentoo on a different level
57 --
58 gentoo-alt@g.o mailing list