public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] xpdf build fails
@ 2010-02-04 10:43 Arnau Bria
  2010-02-04 10:58 ` Alan McKinnon
  2010-02-04 11:15 ` Daniel Wagener
  0 siblings, 2 replies; 4+ messages in thread
From: Arnau Bria @ 2010-02-04 10:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] xpdf build fails
  2010-02-04 10:43 [gentoo-user] xpdf build fails Arnau Bria
@ 2010-02-04 10:58 ` Alan McKinnon
  2010-02-04 11:15 ` Daniel Wagener
  1 sibling, 0 replies; 4+ messages in thread
From: Alan McKinnon @ 2010-02-04 10:58 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] xpdf build fails
  2010-02-04 10:43 [gentoo-user] xpdf build fails Arnau Bria
  2010-02-04 10:58 ` Alan McKinnon
@ 2010-02-04 11:15 ` Daniel Wagener
  2010-02-04 11:43   ` Arnau Bria
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Wagener @ 2010-02-04 11:15 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] xpdf build fails
  2010-02-04 11:15 ` Daniel Wagener
@ 2010-02-04 11:43   ` Arnau Bria
  0 siblings, 0 replies; 4+ messages in thread
From: Arnau Bria @ 2010-02-04 11:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-04 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 10:43 [gentoo-user] xpdf build fails Arnau Bria
2010-02-04 10:58 ` Alan McKinnon
2010-02-04 11:15 ` Daniel Wagener
2010-02-04 11:43   ` Arnau Bria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox