Gentoo Archives: gentoo-dev

From: "Lluís Batlle i Rossell" <viric@××××××××××××××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] profile: specific versions in virtuals
Date: Sat, 04 Dec 2004 14:39:55
Message-Id: 20041204143946.GA23129@vicerveza.homeunix.net
In Reply to: Re: [gentoo-dev] profile: specific versions in virtuals by "Lluís Batlle i Rossell"
1 I succeded solving the error uninstalling "linux-headers" first in the root of
2 stage1 tmp of catalyst.
3 I can't understand that, as "ROOT" environment variable is used when calling
4 emerge.
5
6 If I don't add the "package.mask" file to my profile (then, using the latest 2.6
7 versions of headers), that error doesn't happen. That's quite strange.
8
9 On Sat, Dec 04, 2004 at 03:18:54PM +0100, Lluís Batlle i Rossell wrote:
10 > I've just tried... and I get a strange emerge error.
11 > I've tried changing the ">" lines in package.mask to "=" lines - I haven't found
12 > doc about those symbols in package.mask... I didn't search too much. :)
13 >
14 > Well, the message after following your indications is:
15 > !!! Error: the sys-kernel/linux-headers package conflicts with another package.
16 > !!! both can't be installed on the same system together.
17 > !!! Please use 'emerge --pretend' to determine blockers.
18 >
19 > When using "-p" in emerge, nothing blocks the linux headers. Here is a partial
20 > answer of the "-pv":
21 > [binary N ] sys-apps/baselayout-1.9.4-r6 to /tmp/stage1root/ -bootstrap*
22 > +build* -livecd (-selinux) -static (-uclibc)
23 > [ebuild N ] sys-kernel/linux26-headers-2.6.7-r4 to /tmp/stage1root/ +build
24 > 0 kB
25 > [binary N ] sys-libs/glibc-2.3.4.20040808-r1 to /tmp/stage1root/ +build*
26 > -debug -erandom -hardened -makecheck -multilib -nls* -nptl -pic -userlocales
27 > [binary N ] app-arch/bzip2-1.0.2-r3 to /tmp/stage1root/ +build* -cross
28 > -debug -static
29 > [binary N ] app-arch/gzip-1.3.5-r2 to /tmp/stage1root/ +build* -debug -nls*
30 > -pic -static
31 > [binary N ] app-arch/ncompress-4.2.4-r1 to /tmp/stage1root/ +build*
32 > [binary N ] app-arch/tar-1.14 to /tmp/stage1root/ +build* -debug -nls*
33 > -static
34 > ....
35 >
36 > That happens creating a stage1 using catalyst.
37 > Any clue?
38 >
39 > On Sat, Dec 04, 2004 at 09:27:19PM +0900, Jason Stubbs wrote:
40 > > On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
41 > > > Hi!
42 > > >
43 > > > I decided to create a new profile for me, using my own virtuals. As I was
44 > > > creating mine, I liked to have a specific version of headers and sources in
45 > > > my virtuals definition.
46 > > > For specifying a version, I've to type a "=" in front of the ebuild, and
47 > > > add the version to it. So, I use:
48 > > > virtual/linux-sources =sys-kernel/development-sources-2.6.7
49 > > > virtual/os-headers =sys-kernel/linux26-headers-2.6.7-r4
50 > > >
51 > > > But having a = in the name makes portage to ignore the virtuals definition.
52 > > >
53 > > > Maybe that's a bug... maybe that's a "feature" for denying specific version
54 > > > usage in virtuals - Which is the intention, in that case? :)
55 > >
56 > > Virtuals are not versionable at present. They probably will be one day, but in
57 > > a different way that's not like what you are doing here. What you appear to
58 > > be trying to do is achievable by using the correct files.
59 > >
60 > > To do what you are trying to do, try the following:
61 > >
62 > > virtuals:
63 > > virtual/linux-sources sys-kernel/development-sources
64 > > virtual/os-headers sys-kernel/linux26-headers
65 > >
66 > > package.mask:
67 > > >sys-kernel/development-sources-2.6.7
68 > > >sys-kernel/linux26-headers-2.6.7-r4
69 > >
70 > > Regards,
71 > > Jason Stubbs
72 > >
73 > > --
74 > > gentoo-dev@g.o mailing list
75 > >
76 >
77 > --
78 > +-------------------------------------------------------+----------------------+
79 > | Lluís Batlle i Rossell |Tel.Olot. 972 26 71 24|
80 > | Membre de [s3os] (www.s3os.net) | BCN. 93 16 22 680|
81 > | viric@××××××.org / ICQ# 9658637 | Mòb. 654 08 67 35|
82 > | +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
83 > +-------------------------------------------------------+----------------------+
84 > Cita:
85 > - Press any key to accept the license.
86 > (Dell Computers)
87 >
88 > --
89 > gentoo-dev@g.o mailing list
90 >
91
92 --
93 +-------------------------------------------------------+----------------------+
94 | Lluís Batlle i Rossell |Tel.Olot. 972 26 71 24|
95 | Membre de [s3os] (www.s3os.net) | BCN. 93 16 22 680|
96 | viric@××××××.org / ICQ# 9658637 | Mòb. 654 08 67 35|
97 | +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
98 +-------------------------------------------------------+----------------------+
99 Cita:
100 - Press any key to accept the license.
101 (Dell Computers)
102
103 --
104 gentoo-dev@g.o mailing list