Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213706 - inkscape-0.46-r1 fails to compile: extension/internal/pdf-input-cairo.cpp:55: error: ‘poppler_page_render’ was not declared in this scope
Summary: inkscape-0.46-r1 fails to compile: extension/internal/pdf-input-cairo.cpp:55:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 15:03 UTC by Leonie Herzberg
Modified: 2008-03-17 21:42 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 Leonie Herzberg 2008-03-17 15:03:58 UTC
extension/internal/pdf-input-cairo.cpp: In member function ‘virtual SPDocument* Inkscape::Extension::Internal::PdfInputCairo::open(Inkscape::Extension::Input*, const gchar*)’:
extension/internal/pdf-input-cairo.cpp:55: error: ‘poppler_page_render’ was not declared in this scope
make[2]: *** [extension/internal/pdf-input-cairo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46'
make: *** [all] Error 2
 * 
 * ERROR: media-gfx/inkscape-0.46-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2537:  Called gnome2_src_compile
 *             environment, line 1909:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure

emerge --info:
Portage 2.1.4.4 (default-linux/x86/no-nptl, gcc-4.2.3, glibc-2.5-r4, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz
Timestamp of tree: Mon, 17 Mar 2008 11:00:03 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="de uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri eds emacs emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog jpeg libwww mad midi mikmod motif mp3 mpeg mudflap ncurses nls ogg opengl openmp oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de uk" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Markus Meier gentoo-dev 2008-03-17 17:28:35 UTC
same error as in bug 213026 comment 2.
can you please post the output of 'emerge -pv inkscape poppler-bindings'?
Comment 2 Leonie Herzberg 2008-03-17 19:55:36 UTC
yes, poppler-bindings is built without cairo support. so this is obviously a duplicate, sorry for that ;-)
Comment 3 Markus Meier gentoo-dev 2008-03-17 20:06:48 UTC
Did you have the pdf USE-flag set for inkscape or not? (pleas post emerge -pv inkscape) If not, this this is a bug :-)
Comment 4 Leonie Herzberg 2008-03-17 20:10:09 UTC
[ebuild     U ] media-gfx/inkscape-0.46-r1 [0.45.1-r1] USE="perl spell -debug -dia -doc -gnome -inkjar -jabber -lcms -mmx -pdf% -postscript -wmf" 0 kB 

so this is a bug? :-)
Comment 5 Markus Meier gentoo-dev 2008-03-17 20:46:38 UTC
(In reply to comment #4)
> so this is a bug? :-)

It looks so. I removed the pdf USE-flag and inkscape requires cairo support in poppler-bindings. Thanks for the report!
Comment 6 Leonie Herzberg 2008-03-17 21:42:51 UTC
thank you :)