Compile error: Merging translations into pdfdocument.evince-backend. mkdir .libs i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libdocument -DGNOMELOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DEV_ENABLE_DEBUG -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -O2 -march=i686 -pipe -ggdb -Wall -Wno-unused -O2 -march=i686 -pipe -ggdb -MT ev-poppler.lo -MD -MP -MF .deps/ev-poppler.Tpo -c ev-poppler.cc -fPIC -DPIC -o .libs/ev-poppler.o ev-poppler.cc: In function 'GdkPixbuf* pdf_document_images_get_image(EvDocumentImages*, EvImage*)': ev-poppler.cc:1226: error: 'poppler_page_get_image' was not declared in this scope Reproducible: Always Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 i686) ================================================================= System uname: 2.6.23-gentoo-r5 i686 Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz Timestamp of tree: Fri, 26 Sep 2008 02:06:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.3-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer nostrip sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/suka /usr/portage/local/layman/voip /usr/portage/local/layman/gnome" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa apache2 avahi berkdb bluetooth bonobo cli cracklib crypt cups daap dba dbus debug dell doc dri dv dvb dvd dvdr dvdread eds encode evo f77 faad fastcgi fftw firefox flac fortran gcj gd gdbm glitz gnome gnome-keyring gnomedb gnutls gpm gstreamer gstreamer010 gtk gtk2 gtkhtml gtksharp hal howl http iconv ipod ipv6 isdnlog jpeg keyring lame ldap libgda libnotify libsamplerate mad midi mjpeg mmx mono mozilla mp3 mpeg mudflap mysql nautilus ncurses networkmanager nls nntp nptl nptlonly nsplugin obex objc ogg opengl openmp oss pam pcre pda pdf perl png postgres pppd pulseaudio python quicktime readline real reflection rtc samba session smp softmmu soup speex spell spl sse sse2 ssl svg tcpd theora tracker unicode upnp usb vorbis webkit wifi win32codecs x86 xml xml2 xorg xv xvid 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 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" DVB_CARDS="bcm3510 dibusb-usb1 dibusb-usb2 or51132 or51211 tda1004x ttusb-dec ttpci usb-a800 usb-bluebird usb-dib0700 usb-dtt200u usb-umt usb-vp702x usb-vp7045 usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
could you add glib/poppler* versions ?
FI, on my machines at work: with poppler*-0.6: $ readelf -s /usr/lib/libpoppler-glib.so | egrep "poppler_page_get_image" 555: 000111c4 522 FUNC GLOBAL DEFAULT 11 poppler_page_get_image_ma with poppler*-0.8: $ readelf -s /usr/lib/libpoppler-glib.so | egrep "poppler_page_get_image" 411: 0000000000016830 218 FUNC GLOBAL DEFAULT 10 poppler_page_get_image 631: 0000000000016910 302 FUNC GLOBAL DEFAULT 10 poppler_page_get_image_ma
We talked about it on IRC with Gilles and using cairo to emerge poppler-bindings you have the symbols back on the system: USE="cairo" emerge -1 poppler-bindings before cairo: $ readelf -s /usr/lib/libpoppler-glib.so.3.0.0 | egrep "poppler_page_get_image" 259: 000000000000ea80 3 FUNC GLOBAL DEFAULT 11 poppler_page_get_image_ma with cairo: $ readelf -s /usr/lib/libpoppler-glib.so.3.0.0 | egrep "poppler_page_get_image" 411: 0000000000018150 218 FUNC GLOBAL DEFAULT 11 poppler_page_get_image 631: 0000000000018230 319 FUNC GLOBAL DEFAULT 11 poppler_page_get_image_ma
I can confirm that this indeed solves the compilation problem. I guess this means that USE="cairo" for poppler-bindings should be added as a requirement for evince.
fixed in overlay.