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

Bug 361677

Summary: app-emulation/xen-tools-4.1.0 fails its curl dependency check with net-misc/curl-7.21.4 and USE=kerberos
Product: Gentoo Linux Reporter: Radoslaw Szkodzinski <astralstorm>
Component: [OLD] ServerAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED DUPLICATE    
Severity: normal CC: 4glitch, dragonheart, hyedad, kerberos, keytoaster, rose, xen
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Radoslaw Szkodzinski 2011-04-02 11:55:17 UTC
It seems that either curl-config --libs or xen-tools check is fundamentally broken.

Snip of the log:
make[2]: Wejście do katalogu `/var/tmp/portage/app-emulation/xen-tools-4.1.0/work/xen-4.1.0/tools/check'
PYTHON=python LIBXENAPI_BINDINGS=y ACM_SECURITY=n ./chk build
Xen CHECK-BUILD  sob, 2 kwi 2011, 12:58:02 CEST
Checking check_crypto_lib: OK
Checking check_curl: 
 *** check_curl FAILED: dependency libraries for curl are missing

Curl is actually present and working. Xen-tools test uses an equivalent of ld $(curl-config --libs) to check for curl presence.
Unfortunately, curl-config --libs is of the following form:
# curl-config --libs
-lcurl -lcares -lidn -lssh2 -lgcrypt -lldap -lrt -L/usr/lib64 -O2 -march=x86-64 -mtune=generic -fprefetch-loop-arrays -pipe -Wno-system-headers -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now -Wl,-z,combreloc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lz -lgnutls -lssh2

Note the CFLAGS being present in the output of the command. Rebuilding curl changes the flags, so it's definitely caused by something in curl. I was unable to trace the source of the CFLAGS in the $LIBS variable.
Comment 1 Rafał Mużyło 2011-04-02 17:18:44 UTC
It looks like most of that mess comes from a kerberos config script.
Unfortunately, both mit-krb5 and heimdal are lacking sanity there.
Comment 2 Dmitri Bogomolov 2011-08-20 14:15:13 UTC
I have the same problem on x86 for app-emulation/xen-tools-4.1.1
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-10-13 20:43:06 UTC
*** Bug 386487 has been marked as a duplicate of this bug. ***
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-10-13 21:05:08 UTC
patches prepared, for review.  kerberos is something else again.
Fix should be soon.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-10-14 14:39:05 UTC
*** Bug 364565 has been marked as a duplicate of this bug. ***
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2011-10-18 13:50:40 UTC

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