Summary: | net-nds/gssproxy-0.6.2 : configure: error: GSSAPI library does not support gss_import_cred | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-nds:gss-proxy-0.6.2:20170629-155835.log temp.tbz2 |
Description
Toralf Förster
2017-06-29 20:08:40 UTC
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. |