Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153623 - x11-libs/cairo - undefined reference to `cairo_pdf_surface_create'
Summary: x11-libs/cairo - undefined reference to `cairo_pdf_surface_create'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 15:08 UTC by Guy
Modified: 2006-10-31 23:11 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 Guy 2006-10-31 15:08:09 UTC
There is apparently a conflict involved.

x86_64-pc-linux-gnu-gcc -march=opteron -O2 -pipe -o gnome-keyring-ask gnome-keyring-ask.o  /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libxml2.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so -lpthread /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lrt
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
make[2]: *** [list-keyrings] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [test-keyring] Error 1
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
make[2]: *** [gnome-keyring-ask] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-0.6.0/work/gnome-keyring-0.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-keyring-0.6.0/work/gnome-keyring-0.6.0'
make: *** [all] Error 2

!!! ERROR: gnome-base/gnome-keyring-0.6.0 failed.
Call stack:

...

fyremaster ~ # equery b libgtk-x11-2.0.so
[ Searching for file(s) libgtk-x11-2.0.so in *... ]
app-emulation/emul-linux-x86-gtklibs-2.8.8 (/emul/linux/x86/usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.800.8)
x11-libs/gtk+-2.10.6 (/usr/lib64/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1000.6)
fyremaster ~ #
Comment 1 Guy 2006-10-31 15:08:59 UTC
yremaster ~ # emerge --info
Portage 2.1.2_rc1-r1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17.13 x86_64)
=================================================================
System uname: 2.6.17.13 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.5
Last Sync: Tue, 31 Oct 2006 11:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
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 --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.111.23/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 asf audacious audiofile bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdda cddb cdparanoia cdr chroot cli cracklib crypt cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dmx dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal examples exif extrafilters fame fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gcj gd gd-external gdbm ggi gif gimp gimpprint glut gnome gnutils gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp iconv icq idn imagemagick imap imlib input_devices_keyboard input_devices_mouse insecure-savers ipv6 irc isdnlog jabber java javascript jikes jpeg jpeg2k junit kde kerberos kernel_linux lcms ldap libcaca libedit libvisual libwww lm_sensors logrotate lzo lzw lzw-tiff mad matroska mikmod mime ming mjpeg mmap mng mono mozcalendar mozilla moznocompose moznomail mozsvg mp3 mpeg musepack musicbrainz mysql mysqli nas ncurses nls nptl nptlonly nsplugin ntfs odbc offensive ogg oggvorbis openal opengl oscar pam pcre pda pdf perl php png portaudio posix postgres ppds pppd python qt3 qt4 quicktime readline reflection reiserfs rtc ruby samba sasl scanner sdk sdl session shorten simplexml skins slang slp sndfile snmp soap sockets sox speex spell spl sql sqlite ssl subversion svg tckltk tcltk tcpd tetex theora threads tidy tiff tk tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vcdimager vchroot verbose vhosts video_cards_radeon video_cards_vesa videos visualization vorbis vorbis-psy wma wmf wxgtk1 x264 xanim xcomposite xface xine xinerama xml xml2 xmlrpc xorg xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Guy 2006-10-31 15:18:22 UTC
The same problem as with gnome-keyring

x86_64-pc-linux-gnu-gcc -march=opteron -O2 -pipe -Wall -o .libs/test-pager test-pager.o  -L/usr/lib64 ./.libs/libwnck-1.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libxml2.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so -lpthread /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so -lrt /usr/lib64/libstartup-notification-1.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXRes.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/libXau.so
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
make[2]: *** [test-pager] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libwnck-2.16.1/work/libwnck-2.16.1/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libwnck-2.16.1/work/libwnck-2.16.1'
make: *** [all] Error 2

!!! ERROR: x11-libs/libwnck-2.16.1 failed.
Comment 3 Guy 2006-10-31 15:32:36 UTC
I performed a 'revdep-rebuild' on this system. No packages were found to rebuild.
Comment 4 Guy 2006-10-31 16:44:36 UTC
On the off chance that 'cairo' might have something to do with this, I re-emerged it:


[ebuild   R   ] x11-libs/cairo-1.2.4  USE="X directfb pdf* png svg -doc -glitz" 0 kB
[ebuild     U ] media-libs/libsdl-1.2.11-r1 [1.2.11] USE="X aalib alsa dga directfb esd fbcon ggi libcaca nas opengl xinerama xv -arts* -noaudio -noflagstrip -nojoystick -novideo -oss (-svga)" 0 kB

Total size of downloads: 0 kB

Note that I had added the USE flag "pdf". This was not picked up by "emerge -uNDv world" nor by "emerge -NDv kde-meta" as a dependency for gnome-keyring, libwnck or xscreensaver.

Solved by:

emerge cairo libsdl
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 23:11:32 UTC
Closing, not a bug (and has nothing to do w/ emul-libs).