Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124892 - Kpdf dosn't compile with poppler-bindings-0.5.1
Summary: Kpdf dosn't compile with poppler-bindings-0.5.1
Status: RESOLVED DUPLICATE of bug 124881
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 19:19 UTC by Alain Crespo
Modified: 2006-03-04 05:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Crespo 2006-03-03 19:19:06 UTC
After updating poppler and poppler-bindings to version 0.5.1 I have run revdep-rebuild -p. It says that kpdf is broken and I have re-emerged kpdf.
But it doesn't compile.
This is the error output:

make[4]: Entering directory `/mnt/big/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf/core/generator_pdf'
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../.. -I../../../kpdf -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/include/poppler     -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -mtune=athlon-xp -pipe -fomit-frame-pointer -ffast-math -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o generator_pdf.lo `test -f 'generator_pdf.cpp' || echo './'`generator_pdf.cpp
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../.. -I../../../kpdf -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/include/poppler     -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -mtune=athlon-xp -pipe -fomit-frame-pointer -ffast-math -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o gp_outputdev.lo `test -f 'gp_outputdev.cpp' || echo './'`gp_outputdev.cpp
gp_outputdev.cpp: In member function `KPDFLink* KPDFOutputDev::generateLink(LinkAction*)':
gp_outputdev.cpp:249: error: no matching function for call to `KPDFOutputDev::decodeViewport(UGooString*, LinkDest*)'
gp_outputdev.h:74: note: candidates are: DocumentViewport KPDFOutputDev::decodeViewport(GooString*, LinkDest*)
gp_outputdev.cpp:259: error: no matching function for call to `KPDFOutputDev::decodeViewport(UGooString*, LinkDest*)'
gp_outputdev.h:74: note: candidates are: DocumentViewport KPDFOutputDev::decodeViewport(GooString*, LinkDest*)
gp_outputdev.cpp: In member function `DocumentViewport KPDFOutputDev::decodeViewport(GooString*, LinkDest*)':
gp_outputdev.cpp:330: error: no matching function for call to `PDFDoc::findDest(GooString*&)'
/usr/include/poppler/PDFDoc.h:127: note: candidates are: LinkDest* PDFDoc::findDest(UGooString*)
make[4]: *** [gp_outputdev.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
generator_pdf.cpp: In member function `virtual void PDFGenerator::putFontInfo(KListView*)':
generator_pdf.cpp:395: error: no matching function for call to `Dict::lookup(const char[10], Object*)'
/usr/include/poppler/Dict.h:52: note: candidates are: Object* Dict::lookup(const UGooString&, Object*)
generator_pdf.cpp: In member function `virtual QString PDFGenerator::getMetaData(const QString&, const QString&)':
generator_pdf.cpp:496: error: no matching function for call to `PDFDoc::findDest(GooString*&)'
/usr/include/poppler/PDFDoc.h:127: note: candidates are: LinkDest* PDFDoc::findDest(UGooString*)
generator_pdf.cpp: In member function `void PDFGenerator::scanFonts(Dict*, KListView*, Ref**, int&, int&)':
generator_pdf.cpp:556: error: no matching function for call to `Dict::lookupNF(const char[5], Object*)'
/usr/include/poppler/Dict.h:53: note: candidates are: Object* Dict::lookupNF(const UGooString&, Object*)
generator_pdf.cpp:583: error: no matching function for call to `Dict::lookup(const char[8], Object*)'
/usr/include/poppler/Dict.h:52: note: candidates are: Object* Dict::lookup(const UGooString&, Object*)
generator_pdf.cpp:591: error: no matching function for call to `Dict::lookup(const char[10], Object*)'
/usr/include/poppler/Dict.h:52: note: candidates are: Object* Dict::lookup(const UGooString&, Object*)
generator_pdf.cpp: In member function `QString PDFGenerator::getDocumentInfo(const QString&) const':
generator_pdf.cpp:691: error: no matching function for call to `Dict::lookup(char*, Object*)'
/usr/include/poppler/Dict.h:52: note: candidates are: Object* Dict::lookup(const UGooString&, Object*)
generator_pdf.cpp: In member function `QString PDFGenerator::getDocumentDate(const QString&) const':
generator_pdf.cpp:749: error: no matching function for call to `Dict::lookup(char*, Object*)'
/usr/include/poppler/Dict.h:52: note: candidates are: Object* Dict::lookup(const UGooString&, Object*)
generator_pdf.cpp: In member function `void PDFGenerator::addSynopsisChildren(QDomNode*, GooList*)':
generator_pdf.cpp:805: error: cannot convert `UGooString*' to `GooString*' in initialization
make[4]: *** [generator_pdf.lo] Error 1
make[4]: Leaving directory `/mnt/big/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf/core/generator_pdf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/big/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/big/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/big/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1'
make: *** [all] Error 2



emerge --info :

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=athlon-xp -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/ http://gentoo.mirror.solnet.ch http://mirror.ovh.net/gentoo-distfiles/"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/big/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X Xaw3d a52 aac aalib acl acpi adns alsa apache2 apm arts audiofile avi bash-completion berkdb bindist bitmap-fonts bzip2 bzlib cdb cddb cdparanoia cdr crypt cups curl directfb divx4linux dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn imagemagick imlib ipv6 jabber jack java javascript joystick jpeg junit kde kdeenablefinal lcms libcaca libg++ libwww lirc live lm_sensors lua lzo mad matroska mbox mhash mikmod mime ming mmx mmxext mng motif mp3 mpeg msn mysql nas ncurses nls nptl nvidia objc odbc offensive ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php pic png posix postgres povray ppds python pyton qt quicktime readline real recode rtc samba sasl scanner sdl slang sndfile snmp sockets speex spell sqlite sse ssl svg svga symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vorbis wmf wxwindows xface xine xls xml xml2 xmms xosd xprint xv xvid zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 younker 2006-03-03 20:24:20 UTC
I have met the same problem.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-04 05:20:45 UTC

*** This bug has been marked as a duplicate of 124881 ***