public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Blocking a specific package version
@ 2003-08-20 16:00 Patrick Kursawe
  2003-08-20 16:26 ` Svyatogor
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Patrick Kursawe @ 2003-08-20 16:00 UTC (permalink / raw
  To: gentoo-dev

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

Hi there,

what's the syntax for blocking a specific package version?

Nvrec does not work with the latest divx4linux, just with an older
version. If I say DEPEND="=media-libs/divx4linux-20020418*" this
makes it get this version before compiling, but it does not stop
anyone from compiling the new divx4linux version after that (which
will break divx related nvrec programs because the libraries are
not compatible).

Check http://bugs.gentoo.org/show_bug.cgi?id=26517 for details
of the problem.

Any idea?

Thanks,

Patrick	

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 16:00 [gentoo-dev] Blocking a specific package version Patrick Kursawe
@ 2003-08-20 16:26 ` Svyatogor
  2003-08-20 16:38 ` Lloyd D Budd
  2003-08-20 17:49 ` Mike Frysinger
  2 siblings, 0 replies; 10+ messages in thread
From: Svyatogor @ 2003-08-20 16:26 UTC (permalink / raw
  To: gentoo-dev

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

What if you do:
DEPEND="! >=medial-libs/divx4linux-whatever_ver_stoped_working"


On Wed, 20 Aug 2003 18:00:40 +0200
Patrick Kursawe <phosphan@gentoo.org> wrote:

> Hi there,
> 
> what's the syntax for blocking a specific package version?
> 
> Nvrec does not work with the latest divx4linux, just with an older
> version. If I say DEPEND="=media-libs/divx4linux-20020418*" this
> makes it get this version before compiling, but it does not stop
> anyone from compiling the new divx4linux version after that (which
> will break divx related nvrec programs because the libraries are
> not compatible).
> 
> Check http://bugs.gentoo.org/show_bug.cgi?id=26517 for details
> of the problem.
> 
> Any idea?
> 
> Thanks,
> 
> Patrick	
> 


-- 
Let the Force be with us!
Sergey Kuleshov <svyatogor@gentoo.org>
Public Key: http://dev.gentoo.org/~sergey/gentoo-gpg

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 16:00 [gentoo-dev] Blocking a specific package version Patrick Kursawe
  2003-08-20 16:26 ` Svyatogor
@ 2003-08-20 16:38 ` Lloyd D Budd
  2003-08-20 16:57   ` Max Kalika
  2003-08-20 17:49 ` Mike Frysinger
  2 siblings, 1 reply; 10+ messages in thread
From: Lloyd D Budd @ 2003-08-20 16:38 UTC (permalink / raw
  To: Patrick Kursawe; +Cc: gentoo-dev

On Wed, 2003-08-20 at 12:00, Patrick Kursawe wrote:
> what's the syntax for blocking a specific package version?

I suggest taking the patches from 
http://bugs.gentoo.org/show_bug.cgi?id=13616 ;-)

Cheers,
Lloyd


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 16:57   ` Max Kalika
@ 2003-08-20 16:49     ` Lloyd D Budd
  0 siblings, 0 replies; 10+ messages in thread
From: Lloyd D Budd @ 2003-08-20 16:49 UTC (permalink / raw
  To: Max Kalika; +Cc: Patrick Kursawe, gentoo-dev

On Wed, 2003-08-20 at 12:57, Max Kalika wrote:
> Quoting Lloyd D Budd <lloyd@foolswisdom.com>:
> 
> > On Wed, 2003-08-20 at 12:00, Patrick Kursawe wrote:
> >> what's the syntax for blocking a specific package version?
> > 
> > I suggest taking the patches from 
> > http://bugs.gentoo.org/show_bug.cgi?id=13616 ;-)
> 
> Although I'm a firm advocate of those patches, partly due to the fact that
> I wrote them ;-), I don't think that they will work for this case because
> this issue doesn't deal with USE flags/keywords, but specific package
> version.  I'd say try to hunt around for a patch to Nvrec that will make it
> compatible with a new divx4linux, otherwise either nvrec or later versions
> divx4linux should be masked until a solution is found.

Oops... I got mixed up between the already integrated functionality of
/etc/portage/package.mask .

Cheers,
Lloyd


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 16:38 ` Lloyd D Budd
@ 2003-08-20 16:57   ` Max Kalika
  2003-08-20 16:49     ` Lloyd D Budd
  0 siblings, 1 reply; 10+ messages in thread
From: Max Kalika @ 2003-08-20 16:57 UTC (permalink / raw
  To: Lloyd D Budd, Patrick Kursawe; +Cc: gentoo-dev

Quoting Lloyd D Budd <lloyd@foolswisdom.com>:

> On Wed, 2003-08-20 at 12:00, Patrick Kursawe wrote:
>> what's the syntax for blocking a specific package version?
> 
> I suggest taking the patches from 
> http://bugs.gentoo.org/show_bug.cgi?id=13616 ;-)

Although I'm a firm advocate of those patches, partly due to the fact that
I wrote them ;-), I don't think that they will work for this case because
this issue doesn't deal with USE flags/keywords, but specific package
version.  I'd say try to hunt around for a patch to Nvrec that will make it
compatible with a new divx4linux, otherwise either nvrec or later versions
divx4linux should be masked until a solution is found.

--mk

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 16:00 [gentoo-dev] Blocking a specific package version Patrick Kursawe
  2003-08-20 16:26 ` Svyatogor
  2003-08-20 16:38 ` Lloyd D Budd
@ 2003-08-20 17:49 ` Mike Frysinger
  2003-08-20 18:27   ` Paul de Vrieze
  2003-08-21  6:01   ` Patrick Kursawe
  2 siblings, 2 replies; 10+ messages in thread
From: Mike Frysinger @ 2003-08-20 17:49 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 293 bytes --]

On Wednesday 20 August 2003 12:00, Patrick Kursawe wrote:
> Hi there,
>
> what's the syntax for blocking a specific package version?

the manpage for ebuild(5) should properly describe all the possible depend 
atoms and their prefixes/postfixes ...
in this case:
!=cat/pkg-ver
-mike

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 17:49 ` Mike Frysinger
@ 2003-08-20 18:27   ` Paul de Vrieze
  2003-08-21  6:01   ` Patrick Kursawe
  1 sibling, 0 replies; 10+ messages in thread
From: Paul de Vrieze @ 2003-08-20 18:27 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 611 bytes --]

On Wednesday 20 August 2003 19:49, Mike Frysinger wrote:
> On Wednesday 20 August 2003 12:00, Patrick Kursawe wrote:
> > Hi there,
> >
> > what's the syntax for blocking a specific package version?
>
> the manpage for ebuild(5) should properly describe all the possible depend
> atoms and their prefixes/postfixes ...
> in this case:
> !=cat/pkg-ver

If you want to make sure that the wrong divx does not get installed, make divx 
also block on nvrec (if it is not only a compile problem)

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-20 17:49 ` Mike Frysinger
  2003-08-20 18:27   ` Paul de Vrieze
@ 2003-08-21  6:01   ` Patrick Kursawe
  2003-08-21  6:11     ` Patrick Kursawe
  1 sibling, 1 reply; 10+ messages in thread
From: Patrick Kursawe @ 2003-08-21  6:01 UTC (permalink / raw
  To: gentoo-dev

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

On Wed, Aug 20, 2003 at 01:49:49PM -0400, Mike Frysinger wrote:
Content-Description: signed data
> On Wednesday 20 August 2003 12:00, Patrick Kursawe wrote:
> > Hi there,
> >
> > what's the syntax for blocking a specific package version?
> 
> the manpage for ebuild(5) should properly describe all the possible depend 
> atoms and their prefixes/postfixes ...
> in this case:
> !=cat/pkg-ver

... which would force to update the nvrec ebuild every time divx4linux
changes. I wanted to have something like !cat/pkg-ve* - like it should
work according to the manpage, but it just doesn't.
I now tried

        =media-libs/divx4linux-20020418*
	!media-libs/divx4linux-2003*
(in both DEPEND and RDEPEND)
	
which just makes nvrec downgrade divx4linux before it's installed, but
does not stop me from upgrading it afterwards (which breaks nvrec).

Perhaps I should let newer divx4linux block on nvrec as a workaround...

Bye, Patrick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-21  6:01   ` Patrick Kursawe
@ 2003-08-21  6:11     ` Patrick Kursawe
  2003-08-21  6:51       ` Jason Stubbs
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick Kursawe @ 2003-08-21  6:11 UTC (permalink / raw
  To: gentoo-dev; +Cc: Patrick Kursawe

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

On Thu, Aug 21, 2003 at 08:01:17AM +0200, Patrick Kursawe wrote:
>         =media-libs/divx4linux-20020418*
> 	!media-libs/divx4linux-2003*
> (in both DEPEND and RDEPEND)
> 	
> which just makes nvrec downgrade divx4linux before it's installed, but
> does not stop me from upgrading it afterwards (which breaks nvrec).

Indeed it looks like adding a version to a blocked package just results
in ignoring the line.

(portage-2.0.48-r5)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] Blocking a specific package version
  2003-08-21  6:11     ` Patrick Kursawe
@ 2003-08-21  6:51       ` Jason Stubbs
  0 siblings, 0 replies; 10+ messages in thread
From: Jason Stubbs @ 2003-08-21  6:51 UTC (permalink / raw
  To: gentoo-dev

On Thursday 21 August 2003 15:11, Patrick Kursawe wrote:
> On Thu, Aug 21, 2003 at 08:01:17AM +0200, Patrick Kursawe wrote:
> >         =media-libs/divx4linux-20020418*
> > 	!media-libs/divx4linux-2003*
> > (in both DEPEND and RDEPEND)
> >
> > which just makes nvrec downgrade divx4linux before it's installed, but
> > does not stop me from upgrading it afterwards (which breaks nvrec).
>
> Indeed it looks like adding a version to a blocked package just results
> in ignoring the line.
>
> (portage-2.0.48-r5)

First post on this list... just a lowly user... tell me to keep my nose out if 
necessary! ;-)

I recently updated to gcc 3.3 and was having a hard time as portage kept on 
wanting to downgrade it. Turned out that glibc-2.3.2-r1 wanted a lower 
version and I had to unmask glibc-2.3.2-r3 to keep gcc as it was. Point is 
glibc-2.3.2-r1 contains nothing gcc-related in RDEPEND and only the following 
in DEPEND:

=sys-devel/gcc-3.2*

Also using portage-2.0.48-r5. Makes me think it's something else causing it to 
not take notice of the dep.

Regards,
Jason


--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-08-21  6:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-20 16:00 [gentoo-dev] Blocking a specific package version Patrick Kursawe
2003-08-20 16:26 ` Svyatogor
2003-08-20 16:38 ` Lloyd D Budd
2003-08-20 16:57   ` Max Kalika
2003-08-20 16:49     ` Lloyd D Budd
2003-08-20 17:49 ` Mike Frysinger
2003-08-20 18:27   ` Paul de Vrieze
2003-08-21  6:01   ` Patrick Kursawe
2003-08-21  6:11     ` Patrick Kursawe
2003-08-21  6:51       ` Jason Stubbs

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