Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf build fails
Date: Thu, 04 Feb 2010 11:01:34
Message-Id: 201002041258.35766.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] xpdf build fails by Arnau Bria
1 On Thursday 04 February 2010 12:43:46 Arnau Bria wrote:
2 > Hi all,
3 >
4 > after last update, I ran revdep-rebuild and this is the package I have
5 > to rebuild:
6 >
7 > [...]
8 > * All prepared. Starting rebuild
9 > emerge --oneshot app-text/xpdf:0
10 > ..........
11 >
12 > but it fails:
13 >
14 > [...]
15 > GlobalParams.cc:2227: warning: deprecated conversion from string constant
16 > to ‘char*’ GlobalParams.cc:2229: warning: deprecated conversion from
17 > string constant to ‘char*’ GlobalParams.cc: In member function ‘CMap*
18 > GlobalParams::getCMap(GooString*, GooString*)’: GlobalParams.cc:2831:
19 > error: no matching function for call to ‘CMapCache::getCMap(GooString*&,
20 > GooString*&)’ /usr/include/poppler/CMap.h:119: note: candidates are: CMap*
21 > CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
22 > [GlobalParams.o] Error 1
23 > make: *** Waiting for unfinished jobs....
24 > * ERROR: app-text/xpdf-3.02-r2 failed:
25 > * emake failed
26 > *
27 > * Call stack:
28 > * ebuild.sh, line 54: Called src_compile
29 > * environment, line 2595: Called _eapi2_src_compile
30 > * ebuild.sh, line 646: Called die
31 > * The specific snippet of code:
32 > * emake || die "emake failed"
33 > *
34 >
35 > For what I saw in google, seems a poppler related problem. and when running
36 > xpdf:
37
38 Somebody in poppler-land deserves to be shot, it seems every incremental
39 release must block everything before it. So someone in doing API/ABI changes
40 between minor releases (a shootable offense)
41
42 have you rebuilt the entire poppler chain then tried building xpdf again?
43
44
45
46 --
47 alan dot mckinnon at gmail dot com