Gentoo Archives: gentoo-user

From: Daniel Wagener <stelf@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf build fails
Date: Thu, 04 Feb 2010 11:15:33
Message-Id: 20100204121501.421738f3@stelf-pc
In Reply to: [gentoo-user] xpdf build fails by Arnau Bria
1 On Thu, 4 Feb 2010 11:43:46 +0100
2 Arnau Bria <arnau@×××××××××.net> wrote:
3
4 > Hi all,
5 >
6 > after last update, I ran revdep-rebuild and this is the package I have
7 > to rebuild:
8 >
9 > [...]
10 > * All prepared. Starting rebuild
11 > emerge --oneshot app-text/xpdf:0
12 > ..........
13 >
14 > but it fails:
15 >
16 > [...]
17 > GlobalParams.cc:2227: warning: deprecated conversion from string
18 > constant to ‘char*’ GlobalParams.cc:2229: warning: deprecated
19 > conversion from string constant to ‘char*’ GlobalParams.cc: In member
20 > function ‘CMap* GlobalParams::getCMap(GooString*, GooString*)’:
21 > GlobalParams.cc:2831: error: no matching function for call to
22 > ‘CMapCache::getCMap(GooString*&,
23 > GooString*&)’ /usr/include/poppler/CMap.h:119: note: candidates are:
24 > CMap* CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
25 > [GlobalParams.o] Error 1 make: *** Waiting for unfinished jobs....
26 > * ERROR: app-text/xpdf-3.02-r2 failed:
27 > * emake failed
28 > *
29 > * Call stack:
30 > * ebuild.sh, line 54: Called src_compile
31 > * environment, line 2595: Called _eapi2_src_compile
32 > * ebuild.sh, line 646: Called die
33 > * The specific snippet of code:
34 > * emake || die "emake failed"
35 > *
36 >
37 > For what I saw in google, seems a poppler related problem. and when
38 > running xpdf:
39 >
40 >
41 > $ xpdf
42 > xpdf: error while loading shared libraries: libpoppler.so.4: cannot
43 > open shared object file: No such file or directory
44 >
45 > I don't have libpoppler.so.4 installed:
46 >
47 > # locate libpoppler.so.4
48 > #
49 >
50 > and poppler installed pacakges in my system:
51 >
52 > # eix poppler|grep "^\[I\]"
53 > [I] app-text/poppler
54 > [I] virtual/poppler
55 > [I] virtual/poppler-glib
56 > [I] virtual/poppler-utils
57 >
58 > with use:
59 >
60 > [I] app-text/poppler
61 > Available versions: 0.8.7 0.10.5-r1 ~0.12.3-r2 0.12.3-r3
62 > {abiword cairo cjk debug doc exceptions jpeg jpeg2k lcms png qt4
63 > utils xpdf-headers zlib} Installed versions: 0.12.3-r3(10:35:25 AM
64 > 02/04/2010)(abiword cairo jpeg png qt4 utils xpdf-headers -cjk -debug
65 > -doc -exceptions -jpeg2k -lcms)
66 >
67 >
68 > How may I solve this issue?
69 >
70 > Any help is appreciated.
71 >
72 > Cheers!
73
74 had this today this morning, solved it by unmasking
75 app-text/xpdf-3.02-r4 after finding this:
76 http://bugs.gentoo.org/show_bug.cgi?id=293588#c5

Replies

Subject Author
Re: [gentoo-user] xpdf build fails Arnau Bria <arnau@×××××××××.net>