Gentoo Archives: gentoo-alt

From: Richard Geary <richardg.work@×××××.com>
To: heroxbd@g.o
Cc: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: Question about Prefix
Date: Sun, 03 Aug 2014 20:50:27
Message-Id: CAMWPO3WEhqLyQVPA_w4Pon7pM95-KOkzCLUBPaXOkRBx2SA1Ug@mail.gmail.com
In Reply to: [gentoo-alt] Re: Question about Prefix by heroxbd@gentoo.org
1 It turns out that my packaging system has a lot of similarities to Nix,
2 though I only heard of Nix for the first time last week. Has anyone used
3 Nix and care to comment on any benefits or negatives? www.nixos.org/nix
4
5 Regarding your suggestions to improve Prefix, as a Prefix newbie I would
6 agree that a better bootstrap of RAP could make it more useful, and more
7 clarity on package stability in Prefix would be beneficial.
8
9 Thanks,
10 Richard
11
12
13 On 20 July 2014 02:26, <heroxbd@g.o> wrote:
14
15 > Hey Richard,
16 >
17 > Richard Geary <richardg.work@×××××.com> writes:
18 >
19 > > Thanks for replying to me about bootstrap script. Separately, I have a
20 > > existential question about Prefix - I thought I'd email you offline so
21 > > you can reply with impunity, but I can send it to the gentoo-alt list
22 > > if you'd prefer.
23 >
24 > Ok, let's make it to the list.
25 >
26 > > Over the past 2 years I've rolled my own Prefix-style system for my
27 > > company for building, packaging (binaries), disting and installing on
28 > > our linux OSs.
29 >
30 > Amazing, that's definitely a lot of work.
31 >
32 > > I'm reaching a point where my team are going to rewrite it for version
33 > > 2, but it's still in the design & prototype stages. My question is, if
34 > > you were to redesign Gentoo Prefix from scratch, what would you
35 > > change?
36 >
37 > Well, I am not the best person to answer this question. @grobian might
38 > have a deeper view on the overall design.
39 >
40 > IMHO, the Prefix is as good as Gentoo itself. Even if I were to
41 > reinvent it, it would still be like this. That said, there are many
42 > things left to be done apart from timely update routines to make it more
43 > useful, for example:
44 >
45 > 1. a full synchronization with the gentoo-x86 tree, i.e. retiring of
46 > Prefix overlay. (@ottxor)
47 > 2. a semi-automatic bootstrap procedure for RAP. (@redlizard)
48 > 3. a stabilization policy making it manageable as well as of production
49 > quality by default (ultimate goal)
50 >
51 > So, I think we are on the right path.
52 >
53 > > Our current system builds & installs each package to its own
54 > > package/version directory, using RPATHs to link dependencies. We're
55 > > moving towards a traditional lib/bin/include directory structure with
56 > > manual selection of version alternatives. I found that dlopen .so
57 > > loading & ABI versioning becomes impossible with separate
58 > > package/version directories.
59 >
60 > Yeah, I like the traditional lib/bin/include directory style. And it
61 > would be rewarding for the Prefix team to see that it could save part of
62 > your effort.
63 >
64 > Cheers,
65 > Benda
66 >