Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125096 - Can't compile kde-base/kpdf-3.5.1
Summary: Can't compile kde-base/kpdf-3.5.1
Status: RESOLVED DUPLICATE of bug 124881
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 08:48 UTC by David Watzke
Modified: 2006-03-05 11:28 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 David Watzke 2006-03-05 08:48:13 UTC
Hi. emerge kpdf ends with that:

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX x86_64-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=athlon64 -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 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:126: 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:126: 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.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  kpdf-3.5.1-r2.ebuild, line 37:   Called kde-meta_src_compile
  kde-meta.eclass, line 400:   Called kde_src_compile
  kde.eclass, line 111:   Called kde_src_compile 'compile'
  kde.eclass, line 228:   Called kde_src_compile 'all' 'myconf' 'configure'

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.

With GCC 3.4.5 it compiled. Now my system runs compiled with GCC 4.1 and all but this is OK. See emerge --info:

Portage 2.1_pre5-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi adns alsa apm audiofile avi bash-completion bitmap-fonts bzip2 cdparanoia cdr css cups dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss encode fbcon ffmpeg flac flash foomaticdb fortran ftp gdbm gif gpm hal i8x0 icq id3 id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal lame lcms lzw lzw-tiff mad matroska mbox mikmod mime mp3 mpeg mplayer mysqli ncurses nls nowebdav nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pcntl pcre pdflib perl php pic png posix ppds python qt quicktime readline sdl session sftplogging skey sockets speex ssl subversion svg symlink theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis xine xml xml2 xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-05 11:28:17 UTC

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