Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 2024 15:54:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247940] Introduce gssapi=.. in DEFAULT_VERSIONS like for ssl=...
Message-ID:  <bug-247940-7788-FNHgXhKU6j@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247940-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247940-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247940

--- Comment #26 from Michael Osipov <michaelo@FreeBSD.org> ---
There is a problem with the patch. mail/dovecot was likely a bad example
neither after not before the match "make debug-krb" work.

I have also patched ftp/curl and I see:
root@deblndw011x:/var/poudriere/ports/default-head/ftp/curl (main *%=3D)
# make debug-krb
make: "/var/poudriere/ports/default-head/Mk/Uses/gssapi.mk" line 110: Unkno=
wn
directive "GSSAPI"
make: "/var/poudriere/ports/default-head/Mk/Uses/gssapi.mk" line 153: Unkno=
wn
directive "GSSAPI"
make: "/var/poudriere/ports/default-head/Mk/Uses/gssapi.mk" line 160: Unkno=
wn
directive "GSSAPI"
make: Fatal errors encountered -- cannot continue
make: stopped in /var/poudriere/ports/default-head/ftp/curl

after removing the dangling GSSAPI_PROVIDER I am able to call (gssapi=3Dmit=
):
root@deblndw011x:/var/poudriere/ports/default-head/ftp/curl (main *%=3D)
# make debug-krb
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -o /tmp/debug-krb.x -I"/usr/local/include"  -lkrb5
-lgssapi_krb5 -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib  /tmp/debug-krb.=
c &&
 ldd /tmp/debug-krb.x;  /bin/rm -f /tmp/debug-krb.x
/tmp/debug-krb.x:
        libkrb5.so.3.3 =3D> /usr/local/lib/libkrb5.so.3.3 (0x3071b77d5000)
        libgssapi_krb5.so.2.2 =3D> /usr/local/lib/libgssapi_krb5.so.2.2
(0x3071b7d90000)
        libc.so.7 =3D> /lib/libc.so.7 (0x3071b92fb000)
        libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1
(0x3071b8057000)
        libcom_err.so.3.0 =3D> /usr/local/lib/libcom_err.so.3.0 (0x3071b846=
5000)
        libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1
(0x3071ba5bb000)
        libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x3071bb43d000)
        [vdso] (0x7ffffffff000)
PREFIX: /usr/local
GSSAPIBASEDIR: /usr/local
GSSAPIINCDIR: /usr/local/include
GSSAPILIBDIR: /usr/local/lib
GSSAPILIBS: -lkrb5 -lgssapi_krb5
GSSAPICPPFLAGS: -I/usr/local/include
GSSAPILDFLAGS: -L/usr/local/lib
GSSAPI_PROJECT: mit
GSSAPI_PROVIDER: mit
GSSAPI_CONFIGURE_ARGS: CFLAGS=3D-I/usr/local/include -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=
=20=20
LDFLAGS=3D-L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/lib
-fstack-protector-strong   LIBS=3D-lkrb5 -lgssapi_krb5 -lkrb5 -lgssapi_krb5
-L/usr/local/lib  KRB5CONFIG=3D/usr/local/bin/krb5-config
KRB5CONFIG: /usr/local/bin/krb5-config
CFLAGS: -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing
LDFLAGS:  -L/usr/local/lib -L/usr/lib -L/usr/lib -fstack-protector-strong
LDADD:

Please double check

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247940-7788-FNHgXhKU6j>