[gentoo-user] xpdf build fails

2010-02-04 Thread Arnau Bria
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!
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Alan McKinnon
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



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Daniel Wagener
On Thu, 4 Feb 2010 11:43:46 +0100
Arnau Bria ar...@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



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Arnau Bria
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