When trying to emerge media-gfx/inkscape-0.47 USE="dia gnome lcms nls%* postscript spell -debug -inkjar (-mmx) -wmf (-doc%) (-jabber%) (-perl%)" I get " extension/internal/pdfinput/pdf-parser.cpp:60:26: error: missing binary operator before token "(" In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/ext/hash_map:64, from ./libnrtype/font-instance.h:4, from extension/internal/pdfinput/svg-builder.cpp:40: [..] >>> Failed to emerge media-gfx/inkscape-0.47 " Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 02 Feb 2010 22:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 DOOM3 skype-eula Q3AEULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/var/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ " LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/portage/repos/gentoo" PORTDIR_OVERLAY="/var/portage/repos/layman/java-overlay /var/portage/repos/layman/games /var/portage/repos/private" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipv6 java java6 jpeg jpeg2k kpathsea lcms libnotify lm_sensors log4j mad matroska mikmod mmap mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads thunar tiff truetype unicode usb vcd vim-syntax vorbis wavpack x264 xattr xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" CAMERAS="canon konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
31 Jan 2010; Markus Meier <maekke@gentoo.org> inkscape-0.47.ebuild, +files/inkscape-0.47-poppler.patch: add patch from fedora to build with poppler-0.12.3 wrt bug #301250 Might want to sync? Or with what version of poppler are you trying?
(In reply to comment #1) > 31 Jan 2010; Markus Meier <maekke@gentoo.org> inkscape-0.47.ebuild, > +files/inkscape-0.47-poppler.patch: > add patch from fedora to build with poppler-0.12.3 wrt bug #301250 > Yea, I found that one before filing my report; it seems to be a different issue however. > Might want to sync? Or with what version of poppler are you trying? Well, I synced and retried merging just before filing this report; "emerge --info" from comment 0 says "Timestamp of tree: Tue, 02 Feb 2010 22:15:01 +0000". As for poppler: dev-libs/poppler-0.10.7 USE="abiword poppler-data" dev-libs/poppler-glib-0.10.7 USE="cairo" I'll try remerging these packages, and see if it helps.
(In reply to comment #2) > dev-libs/poppler-0.10.7 USE="abiword poppler-data" > dev-libs/poppler-glib-0.10.7 USE="cairo" Bug 290464. Shouldn't use anything older than app-text/poppler-0.12.3-r3 which is going stable, your poppler is vulnerable
Hmm, remerging dev-libs/poppler-0.10.7 USE="abiword poppler-data" dev-libs/poppler-glib-0.10.7 USE="cairo" and a bunch of other dependencies [1], as I've since unmerged inkscape and ran "emerge --depclean" didn't change anything. Retrying with virtual/poppler-0.12.3-r1 virtual/poppler-glib-0.12.3-r2 as suggested. [1]: [ebuild N ] dev-python/imaging-1.1.6-r1 USE="X -doc -examples -scanner -tk" 426 kB [ebuild N ] dev-libs/boehm-gc-7.1 USE="threads -nocxx" 0 kB [ebuild N ] app-office/dia-0.97-r1 USE="cairo gnome png python zlib -debug -doc" 0 kB [ebuild N ] media-gfx/pstoedit-3.50 USE="plotutils -emf -imagemagick" 0 kB [ebuild N ] dev-python/cython-0.12 USE="-doc -examples" 3,904 kB [ebuild N ] app-text/libwpd-0.8.14 USE="-doc" 0 kB [ebuild N ] media-libs/libwpg-0.1.3 USE="-doc" 0 kB [ebuild N ] dev-python/lxml-2.2.2 USE="threads -doc -examples" 0 kB [ebuild N ] dev-python/reportlab-2.3-r1 USE="-doc -examples -test" 1,814 kB [ebuild N ] media-gfx/skencil-0.6.18_pre20080519 USE="nls" 0 kB [ebuild N ] media-gfx/inkscape-0.47 USE="dia gnome lcms nls postscript spell -debug -inkjar (-mmx) -wmf" 0 kB
Interesting: I get exactly the same failure with media-gfx/inkscape-0.47 USE="gnome mmx nls spell -debug -dia -inkjar -lcms -postscript -wmf" on this x86 [1] box and dev-libs/poppler-0.10.7, but I could compile inkscape cleanly on the amd64 box mentioned in comment 0 after upgrading to the poppler version that is suggested by bug 290464. So I guess that the dependencies of inkscape-0.47 should be updated accordingly after bug 290464 has been resolved. [1]: Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 03 Feb 2010 00:15:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aiglx alsa berkdb bluetooth branding browserplugin bzip2 cairo caps cli consolekit cracklib crypt cups cxx dbus dlloader dri dts dvd dvi emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 java jpeg ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vim-syntax vorbis win32codecs x264 x86 xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
+1 inkscape fails to compile even with higher version of poppler eix --installed poppler [I] app-text/poppler Available versions: [m]0.8.7 [m]0.10.5-r1 ~0.12.3-r2 (~)0.12.3-r3 {abiword cairo cjk debug doc exceptions jpeg jpeg2k lcms png qt4 utils xpdf-headers zlib} Installed versions: 0.12.3-r3(17:57:07 02/09/10)(abiword cairo jpeg jpeg2k lcms png utils xpdf-headers -cjk -debug -doc -exceptions -qt4) Homepage: http://poppler.freedesktop.org/ Description: PDF rendering library based on the xpdf-3.0 code base [I] virtual/poppler-glib Available versions: [m]0.8.7+v [m]0.10.7+v (~)0.12.3-r2+v {cairo} Installed versions: 0.12.3-r2+v(18:20:51 02/09/10)(cairo) Description: Virtual package, includes packages that contain libpoppler-glib.so Found 2 matches. Surprisingly, it did compile once - eix inkscape [I] media-gfx/inkscape Available versions: 0.46-r5!t 0.47!t {debug dia doc gnome inkjar jabber lcms mmx nls perl postscript spell wmf} Installed versions: 0.47!t(23:49:43 02/01/10)(nls spell wmf -debug -dia -gnome -inkjar -lcms -mmx -postscript) Homepage: http://www.inkscape.org/ Description: A SVG based generic vector-drawing program That's why installed on my main system. Portage 2.2_rc60 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-55-with-gentoo-1.12.13 Timestamp of tree: Sat, 30 Jan 2010 01:45:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 Broadcom" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fail-clean fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acc acl acpi alib alsa amd64 asf bash-completion bcmath branding bzip2 cairo cdda cdparanoia cdr cli consolekit cracklib crypt css cxx dbus dga djvu dri dts dv dvd dvdr encode exif fam ffmpeg fftw firefox flac fortran ftp gdbm gif gpm gsl gsm gstreamer gtk hal iconv ipv6 jpeg jpeg2k lame latex ldap libnotify libsamplerate lzo mad matroska matrox memlimit mikmod mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nptl nptlonly nsplugin oci8-instant-client offensive ogg openal openexr opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support quicktime raw readline reflection samba sdl session sharedmem shorten slang smp speex spell spl sse sse2 ssl startup-notification svg symlink sysfs taglib tcpd theora thunar tiff truetype unicode vcd vorbis wavpack wmf x264 xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 218967 [details] build log
Fixed the depend to >=app-text/poppler-0.12.3-r3[cairo,xpdf-headers] and now it builds fine here.