Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623048 - net-nds/gssproxy-0.6.2 : configure: error: GSSAPI library does not support gss_import_cred
Summary: net-nds/gssproxy-0.6.2 : configure: error: GSSAPI library does not support gs...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-29 20:08 UTC by Toralf Förster
Modified: 2019-04-22 20:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.29 KB, text/plain)
2017-06-29 20:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,260.38 KB, text/plain)
2017-06-29 20:08 UTC, Toralf Förster
Details
environment (environment,11.27 KB, text/plain)
2017-06-29 20:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.41 KB, application/x-bzip)
2017-06-29 20:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.73 KB, application/x-bzip)
2017-06-29 20:08 UTC, Toralf Förster
Details
net-nds:gss-proxy-0.6.2:20170629-155835.log (net-nds:gss-proxy-0.6.2:20170629-155835.log,9.84 KB, text/plain)
2017-06-29 20:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,6.98 KB, application/x-bzip)
2017-06-29 20:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-29 20:08:40 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-06-29 20:08:43 UTC
Created attachment 478396 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-29 20:08:46 UTC
Created attachment 478398 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-29 20:08:49 UTC
Created attachment 478400 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-06-29 20:08:52 UTC
Created attachment 478402 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-29 20:08:55 UTC
Created attachment 478404 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-29 20:08:58 UTC
Created attachment 478406 [details]
net-nds:gss-proxy-0.6.2:20170629-155835.log
Comment 7 Toralf Förster gentoo-dev 2017-06-29 20:09:01 UTC
Created attachment 478408 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-25 22:58:06 UTC
Still the same with net-nds/gss-proxy-0.7.0-r1.
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-26 19:24:20 UTC
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".
Comment 10 Matt Turner gentoo-dev 2018-12-26 17:22:11 UTC
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?
Comment 11 Matt Turner gentoo-dev 2019-04-22 20:34:28 UTC
Unclear if this still happens with more recent versions. Please reopen if you can still reproduce.