Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304141 - app-text/poppler-0.12.3-r4: undefined symbol downscale_box_filter in libpoppler-glib breaks evince (start-up and compile)
Summary: app-text/poppler-0.12.3-r4: undefined symbol downscale_box_filter in libpoppl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
: 304485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-09 16:30 UTC by Stephan Friedrichs
Modified: 2011-05-13 09:24 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis --info evince (paludis-info-evince,15.22 KB, text/plain)
2010-02-09 16:31 UTC, Stephan Friedrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2010-02-09 16:30:52 UTC
Since poppler-0.12.3-r4, evince doesn't compile any more, see below.

Reproducible: Always

Steps to Reproduce:
1. paludis -i1 evince
Actual Results:  
libtool: link: x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wl,-O1 -o .libs/evince eggfindbar.o ev-application.o ev-file-monitor.o ev-hi
story.o ev-keyring.o ev-marshal.o ev-media-player-keys.o ev-message-area.o ev-metadata-manager.o ev-navigation-action.o ev-navigation-action
-widget.o ev-password-view.o ev-print-operation.o ev-progress-message-area.o ev-properties-dialog.o ev-properties-fonts.o ev-open-recent-act
ion.o ev-utils.o ev-window.o ev-window-title.o ev-sidebar.o ev-sidebar-attachments.o ev-sidebar-layers.o ev-sidebar-links.o ev-sidebar-page.
o ev-sidebar-thumbnails.o main.o -pthread -D_REENTRANT -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/us
r/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/p
ixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12  ../cut-n-paste/zoom-control/.libs/libephyzoom.a ../cut-n-p
aste/toolbar-editor/.libs/libtoolbareditor.a ../cut-n-paste/totem-screensaver/.libs/libtotemscrsaver.a ../cut-n-paste/gedit-message-area/.li
bs/libgeditmsgarea.a ../cut-n-paste/gimpcellrenderertoggle/.libs/libgimpcellrenderertoggle.a ../cut-n-paste/smclient/.libs/libsmclient.a -L/
usr/lib64 /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so ../properties/.libs/libevproperties.a ../libdocument/.libs/libevdocument.so ../lib
view/.libs/libevview.so ../libmisc/.libs/libevmisc.a /var/tmp/paludis/app-text-evince-2.28.2/work/evince-2.28.2/libview/.libs/libevview.so /
var/tmp/paludis/app-text-evince-2.28.2/work/evince-2.28.2/libdocument/.libs/libevdocument.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libatk-
1.0.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so -
lrt -lpoppler-glib /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1
.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libfontconfig.so 
/usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so -lpthread /usr/li
b64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/li
bgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libxml2.so -ldl -lz -lm -pthread
make[3]: Leaving directory `/var/tmp/paludis/app-text-evince-2.28.2/work/evince-2.28.2/shell'
make[2]: Leaving directory `/var/tmp/paludis/app-text-evince-2.28.2/work/evince-2.28.2/shell'
make[1]: Leaving directory `/var/tmp/paludis/app-text-evince-2.28.2/work/evince-2.28.2'
/usr/lib64/libpoppler-glib.so: undefined reference to `downscale_box_filter(unsigned int*, int, unsigned int, unsigned int, int, int, unsign
ed short, unsigned short, unsigned short, unsigned short, unsigned int*, int)'
Comment 1 Stephan Friedrichs 2010-02-09 16:31:17 UTC
Created attachment 219005 [details]
paludis --info evince
Comment 2 Yu Yuwei 2010-02-10 07:09:07 UTC
same with portage here:

/usr/lib/libpoppler-glib.so: undefined reference to `downscale_box_filter(unsigned int*, int, unsigned int, unsigned int, int, int, unsigned short, unsigned short, unsigned short, unsigned short, unsigned int*, int)'
collect2: ld returned 1 exit status
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-10 07:56:20 UTC
Seems like the same applies here with my default CXXFLAGS, it might just not like -fvisibility-inlines-hidden.

The bad thing here is that poppler *does not fail if it has undefined symbols*. Since I don't know how to check that with CMake, Ben could you please submit upstream a way to fail directly in poppler if undefined symbols are found? Thanks.

Portage 2.2_rc62 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33-rc7 x86_64)
=================================================================
System uname: Linux-2.6.33-rc7-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Wed, 10 Feb 2010 07:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-prerelease-jdk6 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Wformat=2 -Wno-error -Wno-pointer-sign -fdiagnostics-show-option"
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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"
CXXFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wno-error -Wformat=2 -Wstrict-aliasing=2 -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n"
FEATURES="assume-digests autoaddcvs autoconfig collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -g -ggdb"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en it"
MAKEOPTS="-j12 -s"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
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 --exclude=ChangeLog"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/media/repos/gentoo-x86-sync"
PORTDIR_OVERLAY="/var/spool/portage/overlays/cross /var/lib/layman/x11 /var/lib/layman/x11 /var/lib/layman/tante_overlay /var/lib/layman/emacs /var/lib/layman/java-overlay /var/lib/layman/gnome /var/lib/layman/scarabeus /var/lib/layman/enlightenment /media/repos/flame/flame-overlay /media/repos/flame/gentoo/ruby-overlay /var/spool/portage/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avahi avi bluetooth bzip2 bzlib caps cjk cli crypt css cups custom-cflags custom-cxxflags cxx dbus dlloader dnd dpms dri dts emacs emboss fame ffmpeg flac foomaticdb gif gmp gnome gnome-keyring gnutls gpgme gphoto2 gtk gtk2 hal idn ieee1394 imlib imlib2 inotify ipv6 ithreads java5 java6 jpeg kdehiddenvisibility latex libnotify lm_sensors lx700 lzw lzw-tiff maildir matroska midi mmx mmx2 mmxext mng modules mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap multilib native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin ogg oggvorbis openmp pam pch pdf pdflib pic pmount png policykit ppds pppd pulseaudio qemu-fast reflection rtc session snmp speex spell spl sse sse2 ssl ssse3 startup-notification stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xcomposite xorg xpm xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="hda-intel usb-audio mpu401 ice1712" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route asym softvol extplug" 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" APACHE2_MPMS="prefork" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" LIRC_DEVICES="kworld" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 jruby" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2010-02-10 22:57:35 UTC
app-text/poppler-0.12.3-r4 is p.masked for this reason
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-02-11 04:04:07 UTC
*** Bug 304485 has been marked as a duplicate of this bug. ***
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-05-13 09:24:15 UTC
This bug is no longer valid thus closing as fixed instead of just later.