Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124910 - xpdf 3.01-r7 and kpdf-3.5.1-r2 builds fail after upgrade of poppler to 0.5.1
Summary: xpdf 3.01-r7 and kpdf-3.5.1-r2 builds fail after upgrade of poppler to 0.5.1
Status: RESOLVED DUPLICATE of bug 124881
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 01:34 UTC by Vasilis Lourdas
Modified: 2006-03-04 01:48 UTC (History)
0 users

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 Vasilis Lourdas 2006-03-04 01:34:01 UTC
After I upgraded to poppler-0.5.1, I did a revdep-rebuild as the ebuild info stated in order to find any broken dependencies. xpdf-3.01-r7 and kpdf-3.5.1-r2 must be recompiled, but both fail.

xpdf error:
 * Applying xpdf-3.01-poppler-nodrm.patch ...                                                                     [ ok ]
>>> Source unpacked.
g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash  -c -o CoreOutputDev.o CoreOutputDev.cc
g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash  -c -o PDFCore.o PDFCore.cc
PDFCore.cc: In member function `virtual GBool PDFCore::gotoNamedDestination(GooString*)':
PDFCore.cc:860: error: no matching function for call to `PDFDoc::findDest(GooString*&)'
/usr/include/poppler/PDFDoc.h:127: note: candidates are: LinkDest* PDFDoc::findDest(UGooString*)
make: *** [PDFCore.o] Error 1

!!! ERROR: app-text/xpdf-3.01-r7 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

kpdf error:
make[3]: Entering directory `/var/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf/core'
Making all in generator_pdf
make[4]: Entering directory `/var/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 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -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
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 `/var/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 `/var/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1/kpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kpdf-3.5.1-r2/work/kpdf-3.5.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kpdf-3.5.1-r2 failed.
!!! Function kde_src_compile, Line 224, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


my emerge --info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
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 -march=athlon-xp -fomit-frame-pointer -pipe"
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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.risq.qc.ca /ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.agsn.ca/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://mirror.etf.bg.ac.yu/gentoo http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus doc dts dvd dvdr dvdread eds effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glut glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hddtemp howl iconv idn imagemagick imap imlib ipv6 jabber java jpeg jpeg2k junit kde kdeenablefinal lcms ldap libg++ libsamplerate libwww lm_sensors lua mad maildir mailwrapper mhash mikmod mime mmx mmxext mng motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mysql mysqli ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin objc odbc offensive ogg oggvorbis openal opengl oss pam pcntl pcre pdf pdflib pear perl php pic plugin png postgres postgresi ppds python qt quicktime rar rdesktop readline recode ruby samba sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis win32codecs wmf wv wxgtk1 xine xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-04 01:48:18 UTC

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