Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257476 - implicit use of app-crypt/mit-krb5 libraries
Summary: implicit use of app-crypt/mit-krb5 libraries
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 10:53 UTC by Andreas Arens
Modified: 2009-02-04 19:28 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 Andreas Arens 2009-02-03 10:53:38 UTC
Following the removal of 'kerberos' from the default USE flags, during my anually manual --depclean run, I've detected that the following packages implicitly use kerberos libraries if existing w/o depending or iusing them:

net-print/libgnomecups-0.2.3
media-sound/vorbis-tools-1.2.0-r2
net-print/gutenprint-5.1.7
gnome-base/libgnomeprint-2.18.5
net-print/gnome-cups-manager-0.33

Found by a revdep-rebuild after emerge -uvDN --with-bdep=y not doing anything.

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-gentoo x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Mon, 02 Feb 2009 19:40:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -O2 -fno-strict-aliasing"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -pipe -O2 -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 apache2 arts asf audiofile avi berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cscope css ctype cups curl curlwrappers dba dbm dbus dga dio divx4linux
 djbfft dri dts dv dvb dvd dvdr dvdread eds emboss emu-linux-x86 encode esd evo exif expat fam fame ffmpeg firefox flac flatfile fontconfig foomaticdb fortran ftp gcj gd gdbm ggi gif gimp glib glitz glut gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal iconv id3tag ieee1394 imagemagick imlib ipv6 isdnlog java javascript jbig joystick jpeg jpeg2k kde kdeenablefinal lame lcms ldap libnotify libwww lirc live lm_sensors lzo mad matroska mbox mhash midi mikmod mime mjpeg mmap mmx mng motif mp3 mp4 mpeg mudflap multilib musepack mysql ncurses network-cron nls nptl nptlonly nvidia offensive ogg oggvorbis openexr opengl openmp pam pango pcre pdf pdflib perl php plotutils png posix ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime readline reflection rle samba sasl sdl session sharedext sharedmem slp sndfile sockets sox speex spell spl sqlite sse sse2 ssl startup-notification svg swat symlink sysfs sysvipc szip tcl tcltk tcpd tetex theora threads tidy tiff tk transcode truetype twolame type1 unicode usb utempter v4l v4l2 vcd vorbis wifi wmf x264 xcb xface xine xinerama xinetd xml xmlrpc xorg xpm xsl xulrunner xv xvid xvmc yv12 zlib"
ALSA_CARDS="hda-intel,ens1370"
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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" 
APACHE2_MPMS="prefork"
ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="de en"
LIRC_DEVICES="asusdh"
USERLAND="GNU"
VIDEO_CARDS="nvidia nv v4l vga vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. Update your system from an older profile that contained kerberos USE flag
2. do emerge --depclean (something you shouldn't do automatically...!)
3. emerge -uvDN --with-bdeps=y world
4. revdep-rebuild

Actual Results:  
revdep-rebuild finds missing libraries

Expected Results:  
revdep-rebuild finds nothing
Comment 1 Rafał Mużyło 2009-02-03 12:31:12 UTC
Are you sure that those were not indirect linking cases
(as in: packages that were linked to kerberos libs
due to overeager build process or an la file) ?
Comment 2 Andreas Arens 2009-02-03 13:27:08 UTC
(In reply to comment #1)
> Are you sure that those were not indirect linking cases
> (as in: packages that were linked to kerberos libs
> due to overeager build process or an la file) ?
> 

Well, difficult to say, since the revdep-rebuild did fix it. However, at least vorbis-tools should be pretty stand alone. The others could be a libgnomeprint indirection.
At simple test will be:
emerge -1 mit-krb5
emerge -1 package_xxx
emerge -C mit-krb5
and see if package_xxx is broken again.

The system right now is consistent without any trace of krb5 (in the state right after the revdep-rebuild). I'll test that up later tonight.
Comment 3 Rafał Mużyło 2009-02-03 14:37:00 UTC
Well, standalone, except for ogg123,
which uses curl, which can depend on kerberos.
Probably, with some help from a la file, that gets
kerberos on the list directly, instead of just indirectly.
Comment 4 Andreas Arens 2009-02-03 17:49:13 UTC
(In reply to comment #3)
> Well, standalone, except for ogg123,
> which uses curl, which can depend on kerberos.
> Probably, with some help from a la file, that gets
> kerberos on the list directly, instead of just indirectly.
> 
Unfortunately I can't reproduce the problem with my simple tests.
Neither vorbis-tools nor any other use an installed kerberos in any ways if not flagged for it. Probably you are right and the dependencies were introduced by no longer existant la files via curl and cups libs.
Since it's a non-reproducible issue with an easy standard-fix (revdep-rebuild) I think is safe to close the bug as false alarm