Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121496 - kde-base/kdegraphics-3.5.1-r2 compile failure
Summary: kde-base/kdegraphics-3.5.1-r2 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 121550 121567 121577 121582 121852 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-03 19:18 UTC by Daniel Black (RETIRED)
Modified: 2006-02-06 11:27 UTC (History)
4 users (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 Daniel Black (RETIRED) gentoo-dev 2006-02-03 19:18:57 UTC
Making all in generator_pdf
make[4]: Entering directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-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 -march=athlon-xp -O2 -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
/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 -march=athlon-xp -O2 -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
generator_pdf.cpp:29:45: poppler/poppler-page-transition.h: No such file or directory
generator_pdf.cpp:53: error: `Poppler' is not a namespace-name
generator_pdf.cpp:53: error: expected namespace-name before ';' token
generator_pdf.cpp: In member function `void PDFGenerator::addTransition(int, KPDFPage*)':
generator_pdf.cpp:881: error: `PageTransition' was not declared in this scope
generator_pdf.cpp:881: error: `pdfTransition' was not declared in this scope
generator_pdf.cpp:883: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:883: error: `Replace' was not declared in this scope
generator_pdf.cpp:883: warning: unused variable 'Replace'
generator_pdf.cpp:888: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:888: error: `Replace' was not declared in this scope
generator_pdf.cpp:891: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:891: error: `Split' was not declared in this scope
generator_pdf.cpp:894: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:894: error: `Blinds' was not declared in this scope
generator_pdf.cpp:897: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:897: error: `Box' was not declared in this scope
generator_pdf.cpp:900: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:900: error: `Wipe' was not declared in this scope
generator_pdf.cpp:903: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:903: error: `Dissolve' was not declared in this scope
generator_pdf.cpp:906: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:906: error: `Glitter' was not declared in this scope
generator_pdf.cpp:909: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:909: error: `Fly' was not declared in this scope
generator_pdf.cpp:912: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:912: error: `Push' was not declared in this scope
generator_pdf.cpp:915: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:915: error: `Cover' was not declared in this scope
generator_pdf.cpp:918: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:918: error: `Uncover' was not declared in this scope
generator_pdf.cpp:921: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:921: error: `Fade' was not declared in this scope
generator_pdf.cpp:888: warning: unused variable 'Replace'
generator_pdf.cpp:891: warning: unused variable 'Split'
generator_pdf.cpp:894: warning: unused variable 'Blinds'
generator_pdf.cpp:897: warning: unused variable 'Box'
generator_pdf.cpp:900: warning: unused variable 'Wipe'
generator_pdf.cpp:903: warning: unused variable 'Dissolve'
generator_pdf.cpp:906: warning: unused variable 'Glitter'
generator_pdf.cpp:909: warning: unused variable 'Fly'
generator_pdf.cpp:912: warning: unused variable 'Push'
generator_pdf.cpp:915: warning: unused variable 'Cover'
generator_pdf.cpp:918: warning: unused variable 'Uncover'
generator_pdf.cpp:921: warning: unused variable 'Fade'
generator_pdf.cpp:929: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:932: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:938: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:938: error: `Inward' was not declared in this scope
generator_pdf.cpp:941: error: `PageTransition' is not a class or namespace
generator_pdf.cpp:941: error: `Outward' was not declared in this scope
generator_pdf.cpp:938: warning: unused variable 'Inward'
generator_pdf.cpp:941: warning: unused variable 'Outward'
generator_pdf.cpp:881: warning: unused variable 'PageTransition'
make[4]: *** [generator_pdf.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf/core/generator_pdf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegraphics-3.5.1-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  kdegraphics-3.5.1-r2.ebuild, line 70:   Called kde_src_compile
  kde.eclass, line 74:   Called kde_src_compile 'compile'
  kde.eclass, line 186:   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.

frog twinkle # emerge -pv  kdegraphics

These are the packages that I would merge, in order:

emCalculating dependenci ...done!
[ebuild     U ] kde-base/kdegraphics-3.5.1-r2 [3.5.0-r4] USE="gphoto2 imlib kdeenablefinal xinerama -arts -debug -openexr -opengl -pdf% -povray -scanner -tetex*" 0 kB

Total size of downloads: 0 kB
frog twinkle # emerge info
Portage 2.1_pre4-r1 (!/home/dan/gentoo/gentoo-x86/profiles/hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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 /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks sandbox sfperms sign strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo             http://gentoo.oregonstate.edu  http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi alsa avi bash-completion berkdb bitmap-fonts bzip2 caps crypt cups divx4linux dlloader ecc encode ethereal extensions fastcgi fla flac fortran gd gmp gnutls gphoto2 gstreamer gtk gtk2 hardened hpn i8x0 imagemagick imlib ipv6 javacomm jpeg kde kdeenablefinal kerberos libgda lzo mbox mmx mp3 mpeg multitarget mysql nptl nptlonly ntlm ogg oggvorbis openal operanom2 pam perl php pic png postgres ppds python qt quicktime readline samba sdl sguil slp socks5 sox spell sse ssl tiff true-type truetype type1-fonts usb userlocales vhosts vorbis x86 xine xinerama xml xml2 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

frog twinkle # emerge -pv poppler

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-text/poppler-0.5.0-r2  USE="jpeg zlib -cairo" 0 kB
Comment 1 AleX Kiausch 2006-02-03 23:07:47 UTC
I emerged poppler-bindings then it worked ... maybe it should be added to dependencies of kdegraphics ...
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-04 03:07:08 UTC
This is fixed now that I made pdf useflag control also kpdf building; both poppler dependencies (poppler and poppler-bindings) are controlled by it.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-04 07:27:32 UTC
*** Bug 121550 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 10:37:59 UTC
*** Bug 121567 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 11:58:04 UTC
*** Bug 121577 has been marked as a duplicate of this bug. ***
Comment 6 Jared Greenwald 2006-02-04 12:17:56 UTC
(In reply to comment #2)
> This is fixed now that I made pdf useflag control also kpdf building; both
> poppler dependencies (poppler and poppler-bindings) are controlled by it.
> 

But even without the pdf flag, it still tries to build with the poppler bindings.  
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-04 12:18:05 UTC
*** Bug 121582 has been marked as a duplicate of this bug. ***
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-04 12:27:24 UTC
Make sure you emerge sync and you have last version of the ebuild, kpdf is disabled while building with -pdf so it won't ask for poppler.
Comment 9 Jared Greenwald 2006-02-04 13:43:38 UTC
(In reply to comment #8)
> Make sure you emerge sync and you have last version of the ebuild, kpdf is
> disabled while building with -pdf so it won't ask for poppler.
> 

I've fixed my system, but still...  I had/have poppler installed (not poppler-bindings or kpdf) and when I emerged kdegraphics it didn't complain that I didn't have either.  I assume that kpdf would be blocked by poppler anyway...
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 11:27:27 UTC
*** Bug 121852 has been marked as a duplicate of this bug. ***