Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] xpdf build fails Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] xpdf build fails Daniel Wagener <stelf@×××.net>