public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] profile: specific versions in virtuals
@ 2004-12-04 12:16 Lluís Batlle i Rossell
  2004-12-04 12:27 ` Jason Stubbs
  2004-12-04 14:46 ` Chris Gianelloni
  0 siblings, 2 replies; 6+ messages in thread
From: Lluís Batlle i Rossell @ 2004-12-04 12:16 UTC (permalink / raw
  To: gentoo-dev

Hi!

I decided to create a new profile for me, using my own virtuals. As I was
creating mine, I liked to have a specific version of headers and sources in my
virtuals definition.
For specifying a version, I've to type a "=" in front of the ebuild, and add the
version to it. So, I use:
virtual/linux-sources   =sys-kernel/development-sources-2.6.7
virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4

But having a = in the name makes portage to ignore the virtuals definition.

Maybe that's a bug... maybe that's a "feature" for denying specific version
usage in virtuals - Which is the intention, in that case? :)

Thanks!

-- 
+-------------------------------------------------------+----------------------+
| Lluís Batlle i Rossell                                |Tel.Olot. 972 26 71 24|
| Membre de [s3os] (www.s3os.net)                       |    BCN.  93 16 22 680|
| viric@jabber.org / ICQ# 9658637                       |    Mòb.  654 08 67 35|
| +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
+-------------------------------------------------------+----------------------+
Cita:
   - Press any key to accept the license.
   (Dell Computers)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] profile: specific versions in virtuals
  2004-12-04 12:16 [gentoo-dev] profile: specific versions in virtuals Lluís Batlle i Rossell
@ 2004-12-04 12:27 ` Jason Stubbs
  2004-12-04 14:18   ` Lluís Batlle i Rossell
  2004-12-04 14:46 ` Chris Gianelloni
  1 sibling, 1 reply; 6+ messages in thread
From: Jason Stubbs @ 2004-12-04 12:27 UTC (permalink / raw
  To: gentoo-dev

On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
> Hi!
>
> I decided to create a new profile for me, using my own virtuals. As I was
> creating mine, I liked to have a specific version of headers and sources in
> my virtuals definition.
> For specifying a version, I've to type a "=" in front of the ebuild, and
> add the version to it. So, I use:
> virtual/linux-sources   =sys-kernel/development-sources-2.6.7
> virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4
>
> But having a = in the name makes portage to ignore the virtuals definition.
>
> Maybe that's a bug... maybe that's a "feature" for denying specific version
> usage in virtuals - Which is the intention, in that case? :)

Virtuals are not versionable at present. They probably will be one day, but in 
a different way that's not like what you are doing here. What you appear to 
be trying to do is achievable by using the correct files.

To do what you are trying to do, try the following:

virtuals:
virtual/linux-sources   sys-kernel/development-sources
virtual/os-headers      sys-kernel/linux26-headers

package.mask:
>sys-kernel/development-sources-2.6.7
>sys-kernel/linux26-headers-2.6.7-r4

Regards,
Jason Stubbs

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] profile: specific versions in virtuals
  2004-12-04 12:27 ` Jason Stubbs
@ 2004-12-04 14:18   ` Lluís Batlle i Rossell
  2004-12-04 14:39     ` Lluís Batlle i Rossell
  2004-12-04 14:48     ` Chris Gianelloni
  0 siblings, 2 replies; 6+ messages in thread
From: Lluís Batlle i Rossell @ 2004-12-04 14:18 UTC (permalink / raw
  To: gentoo-dev

I've just tried... and I get a strange emerge error.
I've tried changing the ">" lines in package.mask to "=" lines - I haven't found
doc about those symbols in package.mask... I didn't search too much. :)

Well, the message after following your indications is:
!!! Error: the sys-kernel/linux-headers package conflicts with another package.
!!!        both can't be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.

When using "-p" in emerge, nothing blocks the linux headers. Here is a partial
answer of the "-pv":
[binary  N    ] sys-apps/baselayout-1.9.4-r6  to /tmp/stage1root/ -bootstrap*
+build* -livecd (-selinux) -static (-uclibc)
[ebuild  N    ] sys-kernel/linux26-headers-2.6.7-r4  to /tmp/stage1root/ +build
0 kB
[binary  N    ] sys-libs/glibc-2.3.4.20040808-r1  to /tmp/stage1root/ +build*
-debug -erandom -hardened -makecheck -multilib -nls* -nptl -pic -userlocales
[binary  N    ] app-arch/bzip2-1.0.2-r3  to /tmp/stage1root/ +build* -cross
-debug -static
[binary  N    ] app-arch/gzip-1.3.5-r2  to /tmp/stage1root/ +build* -debug -nls*
-pic -static
[binary  N    ] app-arch/ncompress-4.2.4-r1  to /tmp/stage1root/ +build*
[binary  N    ] app-arch/tar-1.14  to /tmp/stage1root/ +build* -debug -nls*
-static
....

That happens creating a stage1 using catalyst.
Any clue?

On Sat, Dec 04, 2004 at 09:27:19PM +0900, Jason Stubbs wrote:
> On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
> > Hi!
> >
> > I decided to create a new profile for me, using my own virtuals. As I was
> > creating mine, I liked to have a specific version of headers and sources in
> > my virtuals definition.
> > For specifying a version, I've to type a "=" in front of the ebuild, and
> > add the version to it. So, I use:
> > virtual/linux-sources   =sys-kernel/development-sources-2.6.7
> > virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4
> >
> > But having a = in the name makes portage to ignore the virtuals definition.
> >
> > Maybe that's a bug... maybe that's a "feature" for denying specific version
> > usage in virtuals - Which is the intention, in that case? :)
> 
> Virtuals are not versionable at present. They probably will be one day, but in 
> a different way that's not like what you are doing here. What you appear to 
> be trying to do is achievable by using the correct files.
> 
> To do what you are trying to do, try the following:
> 
> virtuals:
> virtual/linux-sources   sys-kernel/development-sources
> virtual/os-headers      sys-kernel/linux26-headers
> 
> package.mask:
> >sys-kernel/development-sources-2.6.7
> >sys-kernel/linux26-headers-2.6.7-r4
> 
> Regards,
> Jason Stubbs
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

-- 
+-------------------------------------------------------+----------------------+
| Lluís Batlle i Rossell                                |Tel.Olot. 972 26 71 24|
| Membre de [s3os] (www.s3os.net)                       |    BCN.  93 16 22 680|
| viric@jabber.org / ICQ# 9658637                       |    Mòb.  654 08 67 35|
| +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
+-------------------------------------------------------+----------------------+
Cita:
   - Press any key to accept the license.
   (Dell Computers)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] profile: specific versions in virtuals
  2004-12-04 14:18   ` Lluís Batlle i Rossell
@ 2004-12-04 14:39     ` Lluís Batlle i Rossell
  2004-12-04 14:48     ` Chris Gianelloni
  1 sibling, 0 replies; 6+ messages in thread
From: Lluís Batlle i Rossell @ 2004-12-04 14:39 UTC (permalink / raw
  To: gentoo-dev

I succeded solving the error uninstalling "linux-headers" first in the root of
stage1 tmp of catalyst.
I can't understand that, as "ROOT" environment variable is used when calling
emerge.

If I don't add the "package.mask" file to my profile (then, using the latest 2.6
versions of headers), that error doesn't happen. That's quite strange.

On Sat, Dec 04, 2004 at 03:18:54PM +0100, Lluís Batlle i Rossell wrote:
> I've just tried... and I get a strange emerge error.
> I've tried changing the ">" lines in package.mask to "=" lines - I haven't found
> doc about those symbols in package.mask... I didn't search too much. :)
> 
> Well, the message after following your indications is:
> !!! Error: the sys-kernel/linux-headers package conflicts with another package.
> !!!        both can't be installed on the same system together.
> !!!        Please use 'emerge --pretend' to determine blockers.
> 
> When using "-p" in emerge, nothing blocks the linux headers. Here is a partial
> answer of the "-pv":
> [binary  N    ] sys-apps/baselayout-1.9.4-r6  to /tmp/stage1root/ -bootstrap*
> +build* -livecd (-selinux) -static (-uclibc)
> [ebuild  N    ] sys-kernel/linux26-headers-2.6.7-r4  to /tmp/stage1root/ +build
> 0 kB
> [binary  N    ] sys-libs/glibc-2.3.4.20040808-r1  to /tmp/stage1root/ +build*
> -debug -erandom -hardened -makecheck -multilib -nls* -nptl -pic -userlocales
> [binary  N    ] app-arch/bzip2-1.0.2-r3  to /tmp/stage1root/ +build* -cross
> -debug -static
> [binary  N    ] app-arch/gzip-1.3.5-r2  to /tmp/stage1root/ +build* -debug -nls*
> -pic -static
> [binary  N    ] app-arch/ncompress-4.2.4-r1  to /tmp/stage1root/ +build*
> [binary  N    ] app-arch/tar-1.14  to /tmp/stage1root/ +build* -debug -nls*
> -static
> ....
> 
> That happens creating a stage1 using catalyst.
> Any clue?
> 
> On Sat, Dec 04, 2004 at 09:27:19PM +0900, Jason Stubbs wrote:
> > On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
> > > Hi!
> > >
> > > I decided to create a new profile for me, using my own virtuals. As I was
> > > creating mine, I liked to have a specific version of headers and sources in
> > > my virtuals definition.
> > > For specifying a version, I've to type a "=" in front of the ebuild, and
> > > add the version to it. So, I use:
> > > virtual/linux-sources   =sys-kernel/development-sources-2.6.7
> > > virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4
> > >
> > > But having a = in the name makes portage to ignore the virtuals definition.
> > >
> > > Maybe that's a bug... maybe that's a "feature" for denying specific version
> > > usage in virtuals - Which is the intention, in that case? :)
> > 
> > Virtuals are not versionable at present. They probably will be one day, but in 
> > a different way that's not like what you are doing here. What you appear to 
> > be trying to do is achievable by using the correct files.
> > 
> > To do what you are trying to do, try the following:
> > 
> > virtuals:
> > virtual/linux-sources   sys-kernel/development-sources
> > virtual/os-headers      sys-kernel/linux26-headers
> > 
> > package.mask:
> > >sys-kernel/development-sources-2.6.7
> > >sys-kernel/linux26-headers-2.6.7-r4
> > 
> > Regards,
> > Jason Stubbs
> > 
> > --
> > gentoo-dev@gentoo.org mailing list
> > 
> 
> -- 
> +-------------------------------------------------------+----------------------+
> | Lluís Batlle i Rossell                                |Tel.Olot. 972 26 71 24|
> | Membre de [s3os] (www.s3os.net)                       |    BCN.  93 16 22 680|
> | viric@jabber.org / ICQ# 9658637                       |    Mòb.  654 08 67 35|
> | +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
> +-------------------------------------------------------+----------------------+
> Cita:
>    - Press any key to accept the license.
>    (Dell Computers)
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

-- 
+-------------------------------------------------------+----------------------+
| Lluís Batlle i Rossell                                |Tel.Olot. 972 26 71 24|
| Membre de [s3os] (www.s3os.net)                       |    BCN.  93 16 22 680|
| viric@jabber.org / ICQ# 9658637                       |    Mòb.  654 08 67 35|
| +info personal: http://vicerveza.homeunix.net/~viric/ | Santa Pau / Catalunya|
+-------------------------------------------------------+----------------------+
Cita:
   - Press any key to accept the license.
   (Dell Computers)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] profile: specific versions in virtuals
  2004-12-04 12:16 [gentoo-dev] profile: specific versions in virtuals Lluís Batlle i Rossell
  2004-12-04 12:27 ` Jason Stubbs
@ 2004-12-04 14:46 ` Chris Gianelloni
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Gianelloni @ 2004-12-04 14:46 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

On Sat, 2004-12-04 at 13:16 +0100, Lluís Batlle i Rossell wrote:
> Hi!
> 
> I decided to create a new profile for me, using my own virtuals. As I was
> creating mine, I liked to have a specific version of headers and sources in my
> virtuals definition.
> For specifying a version, I've to type a "=" in front of the ebuild, and add the
> version to it. So, I use:
> virtual/linux-sources   =sys-kernel/development-sources-2.6.7
> virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4

Actually, the virtual *should* say sys-kernel/development-sources

...then in the packages file, you specify
=sys-kernel/development-sources-2.6.7

> But having a = in the name makes portage to ignore the virtuals definition.
> 
> Maybe that's a bug... maybe that's a "feature" for denying specific version
> usage in virtuals - Which is the intention, in that case? :)

I'm pretty sure the virtuals are designed to only allow a package nam
eon purpose.

-- 
Chris Gianelloni
Release Engineering - Operations/QA Manager
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] profile: specific versions in virtuals
  2004-12-04 14:18   ` Lluís Batlle i Rossell
  2004-12-04 14:39     ` Lluís Batlle i Rossell
@ 2004-12-04 14:48     ` Chris Gianelloni
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Gianelloni @ 2004-12-04 14:48 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]

On Sat, 2004-12-04 at 15:18 +0100, Lluís Batlle i Rossell wrote:
> That happens creating a stage1 using catalyst.
> Any clue?

The best place for catalyst support is the gentoo-releng mailing list.
That is where the Release Engineering team all are and also all of the
arch coordinators.

> On Sat, Dec 04, 2004 at 09:27:19PM +0900, Jason Stubbs wrote:
> > On Saturday 04 December 2004 21:16, Lluís Batlle i Rossell wrote:
> > > Hi!
> > >
> > > I decided to create a new profile for me, using my own virtuals. As I was
> > > creating mine, I liked to have a specific version of headers and sources in
> > > my virtuals definition.
> > > For specifying a version, I've to type a "=" in front of the ebuild, and
> > > add the version to it. So, I use:
> > > virtual/linux-sources   =sys-kernel/development-sources-2.6.7
> > > virtual/os-headers      =sys-kernel/linux26-headers-2.6.7-r4
> > >
> > > But having a = in the name makes portage to ignore the virtuals definition.
> > >
> > > Maybe that's a bug... maybe that's a "feature" for denying specific version
> > > usage in virtuals - Which is the intention, in that case? :)
> > 
> > Virtuals are not versionable at present. They probably will be one day, but in 
> > a different way that's not like what you are doing here. What you appear to 
> > be trying to do is achievable by using the correct files.
> > 
> > To do what you are trying to do, try the following:
> > 
> > virtuals:
> > virtual/linux-sources   sys-kernel/development-sources
> > virtual/os-headers      sys-kernel/linux26-headers
> > 
> > package.mask:
> > >sys-kernel/development-sources-2.6.7
> > >sys-kernel/linux26-headers-2.6.7-r4
> > 
> > Regards,
> > Jason Stubbs
> > 
> > --
> > gentoo-dev@gentoo.org mailing list
> > 
> 
-- 
Chris Gianelloni
Release Engineering - Operations/QA Manager
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-12-04 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 12:16 [gentoo-dev] profile: specific versions in virtuals Lluís Batlle i Rossell
2004-12-04 12:27 ` Jason Stubbs
2004-12-04 14:18   ` Lluís Batlle i Rossell
2004-12-04 14:39     ` Lluís Batlle i Rossell
2004-12-04 14:48     ` Chris Gianelloni
2004-12-04 14:46 ` Chris Gianelloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox