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

Replies

Subject Author
Re: [gentoo-dev] profile: specific versions in virtuals "Lluís Batlle i Rossell" <viric@××××××××××××××××××.net>
Re: [gentoo-dev] profile: specific versions in virtuals Chris Gianelloni <wolf31o2@g.o>