Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 244358

Summary: media-video/totem-2.24.2 will not merge if kerberos is not present
Product: Gentoo Linux Reporter: Nicholas Doyle <njdoyle+bugs>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicholas Doyle 2008-10-25 18:44:04 UTC
Trying to install totem from the gnome overlay. I do not have kerberos installed. I try to emerge totem, it does not try to pull in kerberos as a dependency. Totem merge fails trying to link kerberos.


Error:
x86_64-pc-linux-gnu-gcc -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/totem-pl-parser/1/plparser -I/usr/include/evolution-data-server-2.24 -I/usr/include/libsoup-2.4 -I../../ -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -march=native -O2 -pipe -fno-ident -Wl,-O1 -o .libs/bvw-test bvw_test-bvw-test.o -pthread -Wl,--export-dynamic  ./.libs/libbaconvideowidget.so /usr/lib64/libgsttag-0.10.so -L/usr/lib64 /usr/lib64/libgnomeui-2.so /usr/lib64/libgnome-keyring.so /usr/lib64/libbonoboui-2.so -luuid /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgailutil.so /usr/lib64/libXinerama.so /usr/lib64/libXcursor.so /usr/lib64/libXcomposite.so /usr/lib64/libXdamage.so /usr/lib64/libXfixes.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libgnome-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libavahi-glib.so /usr/lib64/libavahi-client.so /usr/lib64/libavahi-common.so -lresolv -lutil /usr/lib64/libpopt.so /usr/lib64/libtotem-plparser.so /usr/lib64/libcamel-1.2.so -L/usr/lib64/nspr -L/usr/lib64/lib -L/usr/lib64/nss -lssl3 -lsmime3 -lnssutil3 -lnss3 -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 /usr/lib64/libedataserver-1.2.so -lplds4 -lplc4 -lnspr4 /usr/lib64/libsqlite3.so /usr/lib64/libgconf-2.so /usr/lib64/libdbus-glib-1.so -lnsl /usr/lib64/libsoup-2.4.so /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libORBit-2.so /usr/lib64/libhal.so /usr/lib64/libdbus-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/libgio-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXi.so /usr/lib64/libpng12.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libgstvideo-0.10.so /usr/lib64/libgstaudio-0.10.so /usr/lib64/libgstbase-0.10.so /usr/lib64/libgstinterfaces-0.10.so /usr/lib64/libgstpbutils-0.10.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libxml2.so -lz -lm /usr/lib64/libglib-2.0.so /usr/lib64/libXrandr.so /usr/lib64/libXrender.so /usr/lib64/libXxf86vm.so /usr/lib64/libXtst.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkrb5
collect2: ld returned 1 exit status
make[5]: *** [bvw-test] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/totem-2.24.2/work/totem-2.24.2/src/backend'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/media-video/totem-2.24.2/work/totem-2.24.2/src/backend'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/totem-2.24.2/work/totem-2.24.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-video/totem-2.24.2/work/totem-2.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/totem-2.24.2/work/totem-2.24.2'
make: *** [all] Error 2


emerge --info:
Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1-njdoyle x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r1-njdoyle-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-glibc2.2.5
Timestamp of tree: Sat, 25 Oct 2008 17:35:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=native -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://cdot.senecac.on.ca/software/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_CA en_US"
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/local/portage/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet avahi bash-completion beagle berkdb bidi bluetooth bzip2 cairo cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups cvs daap dbus doc dri dvd dvdr eds encode exif fam fbcon ffmpeg flac fontconfig fortran ftp fuse galago gdbm gif git gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv icu ieee1394 ipod ipv6 isdnlog java java6 jpeg jpeg2k kpathsea lcms libnotify mad midi mmx mmxext mng mono mp3 mpeg mudflap multilib musepack nautilus ncurses network networkmanager nls nntp nptl nptlonly nsplugin ntp ogg openal opengl openmp pam pcre pdf perl png pppd python quicktime rar readline reflection resolvconf samba sdl session smp speex spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd theora threads tiff truetype unicode usb v4l v4l2 vim-syntax vorbis webkit x264 xattr xcb xinerama xinetd xml xorg xpm xulrunner xv xvid xvmc zeroconf 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" CAMERAS="canon directory fuji ricoh" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_US" USERLAND="GNU" VIDEO_CARDS="i810 intel fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nicholas Doyle 2008-10-25 18:49:18 UTC
Sorry, this totem is actually in the official portage tree.
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2008-10-25 20:12:14 UTC
(In reply to comment #0)
> Trying to install totem from the gnome overlay. I do not have kerberos
> installed. I try to emerge totem, it does not try to pull in kerberos as a
> dependency. Totem merge fails trying to link kerberos.
[snip]
> -I/usr/include/evolution-data-server-2.24 -I/usr/include/libsoup-2.4 -I../../
[snip]
> LDFLAGS="-Wl,-O1"
[snip]

Did you have evolution-data-server installed with the kerberos USE flag at one point of time? Try rebuilding anything you once built with the "kerberos" USE flag. 

If this is indeed the problem, and if you want to reduce such problems in the future, adding -Wl,--as-needed to your LDFLAGS would be wise.

Also, not sure if this will help, but try running revdep-rebuild (static linking is a bitch)
Comment 3 Nicholas Doyle 2008-10-25 21:17:17 UTC
I have no packages installed with the kerberos USE flag enabled, revdep-rebuild finds nothing and --as-needed has no effect.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-10-25 21:22:01 UTC
find -name "*.la" | xargs grep krb5
grep krb5 /usr/lib/pkgconfig/*

Thanks
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-10-25 21:22:59 UTC
find /usr/lib -name "*.la" | xargs grep krb5
find /usr/lib/pkgconfig  | xargs grep krb5

That should work better
Comment 6 Nicholas Doyle 2008-10-25 22:02:42 UTC
Added the trailing slash to the directories for the desired functionality.

# find /usr/lib/ -name "*.la" | xargs grep --color krb5
Found hits in:
/usr/lib/gnome-panel/libclock-applet.la
/usr/lib/python2.5/site-packages/gtk-2.0/evolution/ebook.la
/usr/lib64/libtotem-plparser.la

# find /usr/lib/pkgconfig/ | xargs grep krb5
This found no hits.


I had some packages emerged before with the kerberos USE flag, they were all remerged without it. Somehow from before, dev-libs/totem-pl-parser pulled in an unwanted dependency on kerberos. It never got rebuilt because it didn't have the kerberos USE flag. After I rebuilt dev-libs/totem-pl-parser, totem emerged fine.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-10-26 08:47:12 UTC
I think it's still evolution that has an automagic dep on kerberos...

Sounds a lot like bug #235101

Thanks for the follow up.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-26 15:04:01 UTC
it's not evo's fault, totem-pl-parser uses eds and subsequantly probably copies some libs that should go in its Libs.private in pkg-config file.

For what it's worth this was originally reported as bug #235101

*** This bug has been marked as a duplicate of bug 235101 ***