Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [SOLVED] [gentoo-user] poppler-0.32.0 - error
Date: Sun, 06 Sep 2015 20:09:30
Message-Id: BLU436-SMTP148B19EA41E50E101494C0C8D550@phx.gbl
In Reply to: Re: [SOLVED] [gentoo-user] poppler-0.32.0 - error by Fernando Rodriguez
1 On Sunday, September 06, 2015 3:40:52 PM Fernando Rodriguez wrote:
2 > On Sunday, September 06, 2015 12:21:13 PM thelma@×××××××××××.com wrote:
3 > >
4 > > On 09/05/2015 03:19 PM, Fernando Rodriguez wrote:
5 > > [snip]
6 > > >>>
7 > > >>> I was right that rebuilding libtiff (not perl-cleaner) will get you
8 past
9 > > > that
10 > > >>> ebuild, but my advice was the same you just received, go back to the
11 > *VERY
12 > > >>> FIRST* post on the subject and fix the root of the problem. You will
13 see
14 > > > that
15 > > >>> error again (or worse runtime errors) until you fix it.
16 > > >>>
17 > > >>> Hint: It was Alan that gave you the solution. You chose to fix it by
18 > > > installing
19 > > >>> an incompatible jpeg implementation. That needs to be undone.
20 > > >>
21 > > >> It seems to me Alan solution:
22 > > >> emerge -avC libjpeg-turbo
23 > > >> emerge -av1 media-libs/jpeg:0 media-libs/jpeg:62
24 > > >>
25 > > >> It will come to hunt me. It allow me to keep going with upgrades as I
26 > > >> couldn't find any better solution.
27 > > >>
28 > > >> Currently I have media-libs/jpeg installed in two slots:
29 > > >> media-libs/jpeg-6b-r12:62
30 > > >> media-libs/jpeg-8d-r1:0
31 > > >>
32 > > >> I can not get rid of "media-libs/jpeg-6b-r12" due to dependency
33 > > >> net-misc/nxclient-3.5.0.7 (=media-libs/jpeg-6*)
34 > > >>
35 > > >> I need "nxclient" for now until I find better solution.
36 > > >>
37 > > >> According to: equery d media-libs/jpeg-8d-r1
38 > > >> * These packages depend on media-libs/jpeg-8d-r1:
39 > > >> virtual/jpeg-0-r2 (>=media-libs/jpeg-8d-r1:0
40 > > >>
41 > > >> Maybe I could uninstall jpeg-8d-r1 as only "virtual/jpeg-0-r2" depends
42 > > >> on it.
43 > > >>
44 > > >> Thelma
45 > > >>
46 > > >
47 > > > That was your own solution. You have a few ways to solve it.
48 > > >
49 > > > 1. Grab the last version of nxclient from the gentoo attic (or from
50 > > > /var/db/pkg/net-misc/nxclient if it doesn't need any files to build)
51 change
52 > the
53 > > > dependency to virtual/jpeg, put it on a local overlay and re-emerge it
54 > (after
55 > > > replacing libjpeg with libjpeg-turbo again)
56 > >
57 > > > 2. Rebuild everything that depends on libjpeg on the right order.
58 > Something
59 > > > like (I have not tested this command, but it may build stuff you don't
60 have
61 > > > installed, hence the --depclean, maybe somebody can give you a better
62 > one):
63 > > >
64 > > > # emerge --oneshot `equery depends virtual/jpeg`
65 > > > # emerge --depclean --ask
66 > > >
67 > > > 3. This is a hack and I've never done it. In /var/db/pkg/net-
68 misc/nxclient
69 > > > update all media-libs/jpeg to the virtual/jpeg. Then unmerge all media-
70 > > > libs/jpeg slots and emerge libjpeg turbo. This should work because
71 > anything
72 > > > linked against jpeg *should* work with jpeg-turbo but not the other way
73 > > > around.
74 > >
75 > > Good ideas, thank you.
76 > > I'm trying to implement one of this ideas but I have a problem with making
77 > manifest. The nxclient-3.5.0.7.ebuild is not in "attic" but I have a local
78 > copy.
79 > > Though, I can not "manifest" the ebuild it can not be found:
80 > nxclient-3.5.0-7.x86_64.tar.gz
81 > > ebuild /usr/local/portage/net-misc/nxclient/nxclient-3.5.0.7.ebuild
82 manifest
83 >
84 > Change the SRC_URI variable on the ebuild to point to one of those mirrors.
85 If
86 > you already have it on distfiles it probably doesn't find it because the
87 SRC_URI
88 > has a different filename.
89 >
90 > > Layman -L
91 > > doesn't list it either
92 >
93 > That's normal because it's not a layman managed overlay. Just make sure to
94 > list it on your repos.conf. When you emerge it with the -v option it should
95 > show your overlay name instead of gentoo next to the package name.
96 >
97 > If it's a binary package you could also just add the dependencies to your
98 > world file or to a set and just unpack it manually to /opt.
99 >
100 > BTW. It is on the attic, and it does requires extra files. Just copy the
101 whole
102 > directory from the attic, including files/, then update the SRC_URI and the
103 > jpeg dependency.
104 >
105 > https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/nxclient/?hideattic=0
106 >
107 > > Various places have it, like:
108 > > https://baobabmaster.unige.ch/download/linux/
109 > >
110 > > I downloaded and copy the file to: /usr/portage/distfiles
111 > > but system still try to download the file when I try to make ebuild ...
112 > manifest"
113 > >
114 > > Thelma
115 > >
116 >
117 >
118
119 Before you uninstall libjpeg backup all the libjpeg libraries from /usr/lib.
120 If for some reason it doesn't work with libjpeg-turbo you can just copy them
121 to /usr/NX/lib as it seems to load libraries from there.
122
123 --
124 Fernando Rodriguez