Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217021 - app-crypt/mit-krb5-1.6.3-r1 missing dev-libs/openssl RDEPEND
Summary: app-crypt/mit-krb5-1.6.3-r1 missing dev-libs/openssl RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 13:36 UTC by Fabio Erculiani
Modified: 2008-06-03 15:48 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 Fabio Erculiani 2008-04-09 13:36:59 UTC
/usr/lib64/krb5/plugins/preauth/pkinit.so wants: libcrypto.so.0.9.8

sabayon server x86_64 # readelf -d /usr/lib64/krb5/plugins/preauth/pkinit.so | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libkrb5.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libcom_err.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libk5crypto.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libkrb5support.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.0.9.8]
 0x0000000000000001 (NEEDED)             Shared library: [libkeyutils.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libresolv.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]



package info:

sabayon server x86_64 # python reagent query search mit-krb5
>>  @@ Entropy Server Mirrors Interface loaded:
>>    # mirror: ftp://xxxxxxx:xxxxxxxx@svn.sabayonlinux.org/
>>  @@ Entropy Server Interface Instance on repository: sabayonlinux.org
>>      @@ Package: app-crypt/mit-krb5-1.6.3-r1         branch: 3.5
>>        Category:             app-crypt
>>        Name:                 mit-krb5
>>        Masked:               False
>>        Available:            version: 1.6.3-r1 ~ tag: NoTag ~ revision: 11
>>        Slot:                 0
>>        Size:                 2.0MB
>>        Download:             packages/amd64/3.5/app-crypt:mit-krb5-1.6.3-r1~11.tbz2
>>        Checksum:             06faa978c1f90bb08ec9180fa0ba29a9
>>        ## Dependencies:
>>        ##                    sys-libs/com_err
>>        ##                    sys-libs/ss
>>        ##                    sys-apps/keyutils:0
>>        ## Conflicts:
>>        ##                    virtual/krb5
>>        Homepage:             http://web.mit.edu/kerberos/www/
>>        Description:          MIT Kerberos V
>>        USE flags:            -elibc_glibc -userland_GNU -kernel_linux
>>                              -amd64 ipv6
>>        CHOST:                x86_64-pc-linux-gnu
>>        CFLAGS:               -Os -march=x86-64 -pipe
>>        CXXFLAGS:             -Os -march=x86-64 -pipe
>>        Gentoo eclasses:      autotools toolchain-funcs portability flag-o-matic libtool versionator multilib eutils
>>        Sources:
>>          # Source: mirror://gentoo/mit-krb5-1.6.3-patches-0.3.tar.bz2
>>          # Source: http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar
>>          # Source: http://dev.gentoo.org/~jokey/mit-krb5-1.6.3-patches-0.3.tar.bz2
>>        Entry API:            2
>>        Keywords:             ppc amd64 ~mips ppc64 m68k arm ~sh sparc ~s390 ia64 alpha hppa x86
>>        Created:              2008-04-09 14:37:34
>>        License:              as-is

cheers :)


Reproducible: Always
Comment 1 Michael Hammer (RETIRED) gentoo-dev 2008-04-14 12:48:37 UTC
I see - the problem is the following in configure.in

if test "$k5_cv_openssl_version_okay" = yes; then
  AC_CONFIG_SUBDIRS(plugins/preauth/pkinit)
fi

That means pkinit is only built if openssl is installed. That's of course a dangerous situation for binary packages which are transfered. Perhaps it would be a solution to add the ssl USE to mit-krb5. Can you please post an emerge --info?

g, mueli
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-06-02 19:04:06 UTC
(In reply to comment #1)
> I see - the problem is the following in configure.in
> 
> if test "$k5_cv_openssl_version_okay" = yes; then
>   AC_CONFIG_SUBDIRS(plugins/preauth/pkinit)
> fi
> 
> That means pkinit is only built if openssl is installed. That's of course a
> dangerous situation for binary packages which are transfered. Perhaps it would
> be a solution to add the ssl USE to mit-krb5. Can you please post an emerge
> --info?
> 
> g, mueli
> 

Further more it's complicated by the fact that its gotta be openssl 0.9.8 or newer.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-06-02 19:05:41 UTC
For the time being until a patch is written, this needs to hard dep on openssl-0.9.8
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2008-06-03 13:55:39 UTC
fixed with a hard dep. if we need a USE flag, it should go in another bug.
Comment 5 Fabio Erculiani 2008-06-03 15:48:41 UTC
Thanks!