Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] libjpeg, 6 vs 7, and emacs
Date: Wed, 23 Sep 2009 17:14:42
Message-Id: 20090923171430.GA12159@crowfix.com
1 Gentoo updates refuse to install both versions 6 and 7 of jpeg,
2 and I have found that certain applications, like emacs, refuse
3 to remerge with -7 so I have been refusing the -7 update for a
4 month or two now. Every once in a while, one slips by me,
5 usually because I forget to remove thunderbird from the list of
6 updates, and I find out when emacs won't run. If I try to build
7 emacs with -7, it complains, so I remerge jpeg-6 and then emacs
8 is happy again. I do not understand the compat lib; it also blocks,
9 and since I can just refuse the -7 update and keep on working, I
10 have not looked into it much, figuring that sooner or later emacs
11 and other packages will be upgraded to handle jpeg-7.
12
13 Recently another jpeg-7 upgrade slipped past me, only this time it
14 got weird. I remerged jpeg-6 and found that emacs now complained
15 that jpeg-7 was missing. Here is "ldd /usr/emacs/bin|grep jpeg":
16
17 libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f0cbd19f000)
18 libjpeg.so.7 => not found
19
20 Now I am puzzled. If jpeg-6 and -7 block each other, how did
21 emacs end up expecting both? If I try to emerge emacs with -6
22 installed and -7 missing, it complains that gtk is not installed properly.
23
24 Obviously I am doing something wrong. Gentoo documentation on the
25 jpeg compatibility lib is so minimal as to be useless, unless I
26 have just not found the right documentation. If that is the right
27 solution to my mess, I'd like to get it working, but I can't figure
28 out how to emerge the compatibility library when it blocks.
29
30 These are the packages that would be merged, in order:
31
32 Calculating dependencies .... done!
33 [ebuild N ] media-libs/jpeg-compat-6b-r1 0 kB
34 [blocks B ] <media-libs/jpeg-7 ("<media-libs/jpeg-7" is blocking media-libs/jpeg-compat-6b-r1)
35
36 Total: 1 package (1 new), Size of downloads: 0 kB
37 Conflict: 1 block (1 unsatisfied)
38
39 * Error: The above package list contains packages which cannot be
40 * installed at the same time on the same system.
41
42 ('ebuild', '/', 'media-libs/jpeg-compat-6b-r1', 'merge') pulled in by
43 media-libs/jpeg-compat
44
45 ('installed', '/', 'media-libs/jpeg-6b-r8', 'nomerge') pulled in by
46 media-libs/jpeg required by ('installed', '/', 'x11-libs/qt-3.3.8b-r2', 'nomerge')
47 media-libs/jpeg required by ('installed', '/', 'x11-libs/openmotif-2.3.2', 'nomerge')
48 media-libs/jpeg required by ('installed', '/', 'dev-python/wxpython-2.6.4.0-r2', 'nomerge')
49 (and 88 more)
50
51 --
52 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
53 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
54 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
55 I've found a solution to Fermat's Last Theorem but I see I've run out of room o

Replies

Subject Author
Re: [gentoo-user] libjpeg, 6 vs 7, and emacs Paul Hartman <paul.hartman+gentoo@×××××.com>
[gentoo-user] Re: libjpeg, 6 vs 7, and emacs walt <w41ter@×××××.com>