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

Bug 576988

Summary: net-libs/libssh-0.7.3 - automagic dep on virtual/krb5 GSSAPI, USE="-gssapi" doesn't disable it properly
Product: Gentoo Linux Reporter: Ben Kohler <bkohler>
Component: [OLD] LibraryAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, bruce, kde, lionel-dev, uwe
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 578520    
Attachments: build.log

Description Ben Kohler gentoo-dev 2016-03-10 18:37:14 UTC
Created attachment 427914 [details]
build.log

Even though gssapi support is toggled via USE=gssapi and -DWITH_gssapi="$(usex gssapi) in src_configure, libssh-0.7.3 appears to detect /usr/lib/libgssapi.so at configure time and turn on support regardless of USE settings.

This causes problems especially for libssh with ABI_X86=32 on for multilib users, since the automagic dep turns on gssapi (krb5) support but there is no abi_x86_32 dependency enforced for the krb5 provider.

The build.log shows what's going on pretty well, I think.

Thanks!
Comment 1 Ben Kohler gentoo-dev 2016-03-10 18:39:51 UTC
In case this is relevant-- the virtual/krb5 provider where this was observed was heimdal, I would assume it also affects mit-krb5 users but I haven't checked
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-03-26 07:38:08 UTC
Fixed in -r1, along with many other configure flags.
Comment 3 Uwe Sauter 2016-03-29 11:51:13 UTC
*** Bug 578500 has been marked as a duplicate of this bug. ***