FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-04-2010, 09:58 AM
Alan McKinnon
 
Default xpdf build fails

On Thursday 04 February 2010 12:43:46 Arnau Bria wrote:
> Hi all,
>
> after last update, I ran revdep-rebuild and this is the package I have
> to rebuild:
>
> [...]
> * All prepared. Starting rebuild
> emerge --oneshot app-text/xpdf:0
> ..........
>
> but it fails:
>
> [...]
> GlobalParams.cc:2227: warning: deprecated conversion from string constant
> to ‘char*’ GlobalParams.cc:2229: warning: deprecated conversion from
> string constant to ‘char*’ GlobalParams.cc: In member function ‘CMap*
> GlobalParams::getCMap(GooString*, GooString*)’: GlobalParams.cc:2831:
> error: no matching function for call to ‘CMapCache::getCMap(GooString*&,
> GooString*&)’ /usr/include/poppler/CMap.h:119: note: candidates are: CMap*
> CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
> [GlobalParams.o] Error 1
> make: *** Waiting for unfinished jobs....
> * ERROR: app-text/xpdf-3.02-r2 failed:
> * emake failed
> *
> * Call stack:
> * ebuild.sh, line 54: Called src_compile
> * environment, line 2595: Called _eapi2_src_compile
> * ebuild.sh, line 646: Called die
> * The specific snippet of code:
> * emake || die "emake failed"
> *
>
> For what I saw in google, seems a poppler related problem. and when running
> xpdf:

Somebody in poppler-land deserves to be shot, it seems every incremental
release must block everything before it. So someone in doing API/ABI changes
between minor releases (a shootable offense)

have you rebuilt the entire poppler chain then tried building xpdf again?



--
alan dot mckinnon at gmail dot com
 
Old 02-04-2010, 10:15 AM
Daniel Wagener
 
Default xpdf build fails

On Thu, 4 Feb 2010 11:43:46 +0100
Arnau Bria <arnau@emergetux.net> wrote:

> Hi all,
>
> after last update, I ran revdep-rebuild and this is the package I have
> to rebuild:
>
> [...]
> * All prepared. Starting rebuild
> emerge --oneshot app-text/xpdf:0
> ..........
>
> but it fails:
>
> [...]
> GlobalParams.cc:2227: warning: deprecated conversion from string
> constant to ‘char*’ GlobalParams.cc:2229: warning: deprecated
> conversion from string constant to ‘char*’ GlobalParams.cc: In member
> function ‘CMap* GlobalParams::getCMap(GooString*, GooString*)’:
> GlobalParams.cc:2831: error: no matching function for call to
> ‘CMapCache::getCMap(GooString*&,
> GooString*&)’ /usr/include/poppler/CMap.h:119: note: candidates are:
> CMap* CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
> [GlobalParams.o] Error 1 make: *** Waiting for unfinished jobs....
> * ERROR: app-text/xpdf-3.02-r2 failed:
> * emake failed
> *
> * Call stack:
> * ebuild.sh, line 54: Called src_compile
> * environment, line 2595: Called _eapi2_src_compile
> * ebuild.sh, line 646: Called die
> * The specific snippet of code:
> * emake || die "emake failed"
> *
>
> For what I saw in google, seems a poppler related problem. and when
> running xpdf:
>
>
> $ xpdf
> xpdf: error while loading shared libraries: libpoppler.so.4: cannot
> open shared object file: No such file or directory
>
> I don't have libpoppler.so.4 installed:
>
> # locate libpoppler.so.4
> #
>
> and poppler installed pacakges in my system:
>
> # eix poppler|grep "^[i]"
> [i] app-text/poppler
> [i] virtual/poppler
> [i] virtual/poppler-glib
> [i] virtual/poppler-utils
>
> with use:
>
> [i] app-text/poppler
> 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} 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)
>
>
> How may I solve this issue?
>
> Any help is appreciated.
>
> Cheers!

had this today this morning, solved it by unmasking
app-text/xpdf-3.02-r4 after finding this:
http://bugs.gentoo.org/show_bug.cgi?id=293588#c5
 
Old 02-04-2010, 10:43 AM
Arnau Bria
 
Default xpdf build fails

On Thu, 4 Feb 2010 12:15:01 +0100
Daniel Wagener wrote:

[...]
> had this today this morning, solved it by unmasking
> app-text/xpdf-3.02-r4 after finding this:
> http://bugs.gentoo.org/show_bug.cgi?id=293588#c5
Thanks!!

I always forget to look in bugs.gentto before asking here :-)

Cheers!
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
 

Thread Tools




All times are GMT. The time now is 09:55 AM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org