checking for KRB5_GSSAPI... yes checking for gss_import_cred in -lgssapi_krb5... no configure: error: GSSAPI library does not support gss_import_cred !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-nds/gss-proxy-0.6.2/work/gssproxy-0.6.2/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20170623-211337 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 478396 [details] emerge-info.txt
Created attachment 478398 [details] emerge-history.txt
Created attachment 478400 [details] environment
Created attachment 478402 [details] etc.portage.tbz2
Created attachment 478404 [details] logs.tbz2
Created attachment 478406 [details] net-nds:gss-proxy-0.6.2:20170629-155835.log
Created attachment 478408 [details] temp.tbz2
Still the same with net-nds/gss-proxy-0.7.0-r1.
From configure.ac: > AC_CHECK_HEADERS([gssapi/gssapi.h],,[AC_MSG_ERROR([Could not find GSSAPI headers])]) > PKG_CHECK_MODULES([KRB5_GSSAPI], [krb5-gssapi >= 1.12.0], > [have_krb5_gssapi=1], [have_krb5_gssapi=]) > if test x$have_krb5_gssapi = x; then > AC_MSG_ERROR([Could not find Krb5 / GSSAPI development libraries]) > else > KRB5_CFLAGS="`$PKG_CONFIG --cflags krb5`" > KRB5_LIBS="`$PKG_CONFIG --libs krb5`" > GSSAPI_CFLAGS="`$PKG_CONFIG --cflags krb5-gssapi`" > GSSAPI_LIBS="`$PKG_CONFIG --libs krb5-gssapi`" > fi > AC_CHECK_LIB(gssapi_krb5, gss_import_cred,, > [AC_MSG_ERROR([GSSAPI library does not support gss_import_cred])], > [$GSSAPI_LIBS]) > AC_CHECK_LIB(gssapi_krb5, gss_export_cred,, > [AC_MSG_ERROR([GSSAPI library does not support gss_export_cred])], > [$GSSAPI_LIBS]) > > However it seems to ignore $GSSAPI_LIBS: # pkg-config --libs krb5-gssapi -lgssapi But config.log shows > configure:16663: checking for gssapi/gssapi.h > configure:16663: result: yes > configure:16677: checking for KRB5_GSSAPI > configure:16685: $PKG_CONFIG --exists --print-errors "krb5-gssapi >= 1.12.0" > configure:16688: $? = 0 > configure:16703: $PKG_CONFIG --exists --print-errors "krb5-gssapi >= 1.12.0" > configure:16706: $? = 0 > configure:16742: result: yes > configure:16754: checking for gss_import_cred in -lgssapi_krb5 > configure:16779: i686-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=pentium4m -mtune=pentium4m -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -Wl,--as-needed conftest.c -lgssapi_krb5 -lgssapi -pthread -O2 -pipe -march=pentium4m -mtune=pentium4m -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE >&5 > /usr/lib/gcc/i686-pc-linux-gnu/6.4.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgssapi_krb5 > collect2: error: ld returned 1 exit status > configure:16779: $? = 1 > configure: failed program was: > | /* confdefs.h */ > So it is trying to use "gssapi_krb5" instead of just "gssapi".
This has been open for 18 months and has been blocking a stabilization bug for a year. Does base-system@ care to have a look?
Unclear if this still happens with more recent versions. Please reopen if you can still reproduce.