pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50310: print/cups build fails with builtin heimdal
The following reply was made to PR pkg/50310; it has been noted by GNATS.
From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <frederic%fauberteau.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: sbd%NetBSD.org@localhost
Subject: Re: pkg/50310: print/cups build fails with builtin heimdal
Date: Mon, 02 Nov 2015 10:18:05 +0100
Le 07/10/2015 14:20, frederic%fauberteau.org@localhost a écrit :
>> Number: 50310
>> Category: pkg
>> Synopsis: print/cups build fails with builtin heimdal
>> Confidential: no
>> Severity: critical
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Wed Oct 07 12:20:00 +0000 2015
>> Originator: Fr�d�ric Fauberteau
>> Release: pkgsrc-2015Q3
>> Organization:
>> Environment:
> NetBSD trashware 6.1_STABLE NetBSD 6.1_STABLE (TRASHWARE) #0: Tue Jul
> 7 09:13:34 CEST 2015
> triaxx@trashware:/home/triaxx/dev/nbsd/netbsd-6/obj/sys/arch/amd64/compile/TRASHWARE
> amd64
>> Description:
> cups build fails on a link error due to missing krb5 libraries.
>
> print/cups is parameterized as follows:
> These options are enabled by default:
> dbus dnssd kerberos libusb
>
> These options are currently enabled:
> dnssd kerberos libusb
>
> the compilation error message is:
> ld: cannot find -lgssapi_krb5
> ld: cannot find -lk5crypto
>
> the content of /usr/pkgsrc/print/cups/work/.buildlink/lib does not
> contain any link to 'gssapi_krb5' of 'k5crypto' library. The build
> process detects USE_BUILTIN.heimdal=yes but neither
> /usr/lib/libgssapi_krb5*.so nor /usr/lib/libk5crypto*.so exist.
>> How-To-Repeat:
> Build print/cups with kerberos support and builtin heimdal
>> Fix:
Applying this patch:
==========
$NetBSD$
--- config-scripts/cups-gssapi.m4.orig 2014-06-10 13:54:53.000000000
+0000
+++ config-scripts/cups-gssapi.m4
@@ -22,8 +22,8 @@ LIBGSSAPI=""
AC_SUBST(LIBGSSAPI)
if test x$enable_gssapi != xno; then
- AC_PATH_TOOL(KRB5CONFIG, krb5-config)
- if test "x$KRB5CONFIG" != x; then
+ AC_PATH_TOOL(KRB5_CONFIG, krb5-config)
+ if test "x$KRB5_CONFIG" != x; then
case "$uname" in
Darwin)
# OS X weak-links to the Kerberos framework...
@@ -40,15 +40,15 @@ if test x$enable_gssapi != xno; then
# Solaris has a non-standard krb5-config, don't use it!
AC_CHECK_LIB(gss, gss_display_status,
AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available])
- CFLAGS="`$KRB5CONFIG --cflags` $CFLAGS"
- CPPFLAGS="`$KRB5CONFIG --cflags` $CPPFLAGS"
- LIBGSSAPI="-lgss `$KRB5CONFIG --libs`")
+ CFLAGS="`$KRB5_CONFIG --cflags` $CFLAGS"
+ CPPFLAGS="`$KRB5_CONFIG --cflags` $CPPFLAGS"
+ LIBGSSAPI="-lgss `$KRB5_CONFIG --libs`")
;;
*)
# Other platforms just ask for GSSAPI
- CFLAGS="`$KRB5CONFIG --cflags gssapi` $CFLAGS"
- CPPFLAGS="`$KRB5CONFIG --cflags gssapi` $CPPFLAGS"
- LIBGSSAPI="`$KRB5CONFIG --libs gssapi`"
+ CFLAGS="`$KRB5_CONFIG --cflags gssapi` $CFLAGS"
+ CPPFLAGS="`$KRB5_CONFIG --cflags gssapi` $CPPFLAGS"
+ LIBGSSAPI="`$KRB5_CONFIG --libs gssapi`"
;;
esac
AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available])
==========
Home |
Main Index |
Thread Index |
Old Index