Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155530 - kerberos incorrectly uses the static USE flag
Summary: kerberos incorrectly uses the static USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
: 159953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-17 15:48 UTC by sw1ft
Modified: 2007-05-26 13:37 UTC (History)
3 users (show)

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


Attachments
Emerge log for sys-apps/discover (emergelog.txt,19.68 KB, text/plain)
2006-11-17 15:50 UTC, sw1ft
Details
mit-krb5-no-static-USE-flag.patch (mit-krb5-no-static-USE-flag.patch,866 bytes, patch)
2006-12-28 11:56 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sw1ft 2006-11-17 15:48:25 UTC
sys-apps/discover won't emerge; I believe it is because it is trying to build a static version of itself, but it depends on mit-krb5 (specifically libgssapi_krb5), which doesn't supply a static library for itself anymore; therefore the emerge fails. Take a look at the results of "ls /usr/lib/*gss*":

/usr/lib/libgssapi.a            /usr/lib/libgssapi.so.2      /usr/lib/librpcsecgss.la
/usr/lib/libgssapi_krb5.so      /usr/lib/libgssapi.so.2.0.0  /usr/lib/librpcsecgss.so
/usr/lib/libgssapi_krb5.so.2    /usr/lib/libgssrpc.so        /usr/lib/librpcsecgss.so.3
/usr/lib/libgssapi_krb5.so.2.2  /usr/lib/libgssrpc.so.4      /usr/lib/librpcsecgss.so.3.0.0
/usr/lib/libgssapi.la           /usr/lib/libgssrpc.so.4.0
/usr/lib/libgssapi.so           /usr/lib/librpcsecgss.a

I ran ldconfig manually to make sure it was seeing libgssapi_krb5 and it is indeed seeing it. Following is an emerge --info; I'll attach the emerge log.

Emerge --info:
Portage 2.1.2_rc1-r6 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(TM) XP 2900+
Gentoo Base System version 1.12.4
Last Sync: Wed, 15 Nov 2006 03:00:01 +0000
dev-java/java-config: 1.3.3, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="${NXDIR}/etc ${NXDIR}/home /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en it es de gr fr jp ga hu lt nb fi el pt ro ru sk sl sr sv zh_CN da ja en_GB nl pl zh_TW"
MAKEOPTS="-j2 -s "
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/portage/local/layman/sabayon /usr/portage/local/layman/gentopia /usr/portage/local/layman/xeffects /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/local/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/portage/local/layman/sabayon /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7Zip X a52 aac accessibility acpi ada aim alsa amarok apache2 arts artswrappersuid asf audiofile avahi berkdb bidi bitmap-fonts bluetooth cairo cdda chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbus dga dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds effects elibc_glibc emboss encode esd evo exscalibar ext-man ext-rtf ext-tex extraicons extramodules fame fat ffmpeg fftw firefox flac flash foomatic-db foomaticdb fortran freetype gcj gdbm gif gimpprint glitz gnokii gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap imlib inkjar input_devices_acecad input_devices_aiptek input_devices_calcomp input_devices_citron input_devices_digitaledge input_devices_dmc input_devices_dynapro input_devices_elo2300 input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_jamstudio input_devices_joystick input_devices_keyboard input_devices_magellan input_devices_microtouch input_devices_mouse input_devices_mutouch input_devices_palmax input_devices_penmount input_devices_spaceorb input_devices_summa input_devices_synaptics input_devices_tek4957 input_devices_ur98 input_devices_vmmouse input_devices_void ipod ipv6 irc irda isdnlog jabber jack java jfs joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux kqemu krb4 lcd libao libcaca libclamav libg++ libwww linguas_da linguas_de linguas_el linguas_en linguas_en_GB linguas_es linguas_fi linguas_fr linguas_ga linguas_gr linguas_hu linguas_it linguas_ja linguas_jp linguas_lt linguas_nb linguas_nl linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_zh_CN linguas_zh_TW live livecd lj lm_sensors logitech-mouse lzo mad mail matroska mikmod mjpeg mmx mono motif moznocompose moznoirc moznomail mp3 mpeg msn musepack musicbrainz mysql mythtv ncurses network new-login nls nptl nptlonly nsplugin ntfs nvidia ogg ole openexr opengl pam pam_console pascal pcmcia pcre pda pdf perl php plugin png postgres povray ppds pppd pwdb python qt qt3 qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rss ruby samba scanner sdl session skins slp sms sndfile speech speex spell spl spreadsheet sql ssl stream streams subversion svg switch_all_desktops sysfs tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo visualization voice vorbis weather webservices wifi win32codecs winbind wmf wxwindows xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 sw1ft 2006-11-17 15:50:44 UTC
Created attachment 102238 [details]
Emerge log for sys-apps/discover
Comment 2 Ed Wiget 2006-12-28 10:49:10 UTC
same problem here, 2.0.2 emerges fine but 2.0.7 has exact same error and the exact same libs exist here too.
Comment 3 SpanKY gentoo-dev 2006-12-28 11:55:38 UTC
really has nothing to do with discover ... discover doesnt use nor care about kerberos

some other package that discover needs is itself requiring kerberos

the fact that mit-krb5 fails to install static libs at all is a bug in that package
Comment 4 SpanKY gentoo-dev 2006-12-28 11:56:39 UTC
Created attachment 104870 [details, diff]
mit-krb5-no-static-USE-flag.patch

i dont want to download the mit-krb5 tarball but i'm pretty sure this is all you need
Comment 5 SpanKY gentoo-dev 2007-01-04 18:14:49 UTC
*** Bug 159953 has been marked as a duplicate of this bug. ***
Comment 6 Patrizio Bassi 2007-01-05 03:06:56 UTC
patch forcing static compilation too works and make discover compile fine.

please commit to portage.
Comment 7 Timothy Redaelli (RETIRED) gentoo-dev 2007-01-06 18:27:09 UTC
Fixed thx
Comment 8 Lance Spaulding 2007-04-29 02:18:57 UTC
This bug still occurs with mit-krb5-1.4.3-r3 & discover-2.0.7.  The kerberos patch also doesn't apply to the new mit-krb5 ebuild and adding the "--enable-static" option results in: 

configure: rechecking with PTHREAD_... options
checking for pthread_rwlock_init in -lc... yes
checking for library containing dlopen... -ldl
configure: error: Sorry, static libraries do not work in this release.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-crypt/mit-krb5-1.5.2-r2/work/krb5-1.5.2/src/config.log

!!! ERROR: app-crypt/mit-krb5-1.5.2-r2 failed.
Comment 9 Patrizio Bassi 2007-05-26 13:37:49 UTC
i confirm that i still can't build discover.....any news?