[Pkg-samba-maint] samba-4.16 progress so far

Michael Tokarev mjt at tls.msk.ru
Sat Mar 26 18:09:47 GMT 2022


Now I'm seeing a new issue.  A started from scratch
(after doing many trial-and-error things in my sbuild chroot), and am unable to
compile the thing at all.

It fails like this:

In file included from ../../third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h:40,
                  from ../../lib/replace/system/gssapi.h:43,
                  from ../../lib/krb5_wrap/gss_samba.h:27,
                  from ../../lib/krb5_wrap/gss_samba.c:23:
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:9:8: error: unknown type name ‘GSSAPI_LIB_VARIABLE’
     9 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_copy_ccache_x_oid_desc;
       |        ^~~~~~~~~~~~~~~~~~~
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:9:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘__gss_krb5_copy_ccache_x_oid_desc’
     9 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_copy_ccache_x_oid_desc;
       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:12:8: error: unknown type name ‘GSSAPI_LIB_VARIABLE’
    12 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_get_tkt_flags_x_oid_desc;
       |        ^~~~~~~~~~~~~~~~~~~
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:12:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘__gss_krb5_get_tkt_flags_x_oid_desc’
    12 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_get_tkt_flags_x_oid_desc;
       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:15:8: error: unknown type name ‘GSSAPI_LIB_VARIABLE’
    15 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_extract_authz_data_from_sec_context_x_oid_desc;
       |        ^~~~~~~~~~~~~~~~~~~

(with lots of other GSSAPI_FOO definitions which should be there
but for some reason they're not).

I've seen this before already, but it was, again, in somewhat unclean
build chroot, so I started from scratch and sbuild-apt update fixed it
(it worked one time at least, where I faced the smbconf link failures).
Now I can't make it to work without digging deeper.

Anyone know where/how these symbols supposed to be defined?

Thanks,

/mjt



More information about the Pkg-samba-maint mailing list