Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Masked package needs itsself ?
Date: Wed, 26 Aug 2009 20:32:02
Message-Id: 200908261214.16447.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Re: Masked package needs itsself ? by Roy Wright
1 On Wednesday 26 August 2009 11:00:35 Roy Wright wrote:
2 > On Aug 26, 2009, at 2:46 AM, Alan McKinnon wrote:
3 > > On Wednesday 26 August 2009 05:10:18 meino.cramer@×××.de wrote:
4 > >>> Sorry, I'm not following what you're trying to say :P
5 > >>
6 > >> jpeg-7 is masked, Without it any update process stops with this
7 > >> failure. jpeg-7 needs itsself to update jpeg-7 (according the output
8 > >> I posted).
9 > >
10 > > Incorrect. Something else is pulling it in and you snipped that
11 > > output. Your
12 > > initial post only says that emerge wants to include jpeg and it
13 > > won't emerge
14 > > version 7 as it is unstable and your box is stable.
15 > >
16 > > It's from some package that specifically wants jpeg-7 as opposed to
17 > > just jpeg.
18 > > Most likely netpbm which is hardcoded to DEPEND on jpeg-7.
19 >
20 > In my case, it was netpbm. Here's the steps I took to resolve the
21 > problem:
22 >
23 > 1) emerge -1 -av jpeg
24 > 2) Do NOT run "emerge @preserved-rebuild"
25 > 3) emerge -av jpeg-compat
26 > 4) revdep-rebuild
27 >
28 > I hit a problem when trying the "emerge @preserved-rebuild" in that
29 > tightvnc had a jpeg-6b dependency, so pretty much had to use jpeg-
30 > compat.
31
32 tightvnc works just fine with jpeg-7. You can do what I did and copy the
33 tightvnc ebuild to a local overlay, patch with this, and let it rip:
34
35 # diff -u net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild local/alan/net-
36 misc/tightvnc/tightvnc-1.3.10-r1.ebuild
37 --- net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild 2009-04-20 20:52:22.000000000
38 +0200
39 +++ local/alan/net-misc/tightvnc/tightvnc-1.3.10-r1.ebuild 2009-08-25
40 17:00:54.000000000 +0200
41 @@ -16,7 +16,10 @@
42 LICENSE="GPL-2"
43 SLOT="0"
44
45 -CDEPEND="~media-libs/jpeg-6b
46 +CDEPEND="|| (
47 + ~media-libs/jpeg-6b
48 + ~media-libs/jpeg-7
49 + )
50 server? (
51 media-fonts/font-misc-misc
52 media-fonts/font-cursor-misc
53
54
55 --
56 alan dot mckinnon at gmail dot com