Closed
Description
What went wrong?
While the package for FreeBSD 12.2 states that the version of Heimdal that is used is 7.7.0 when running krb5-config --version
after installing that package it is reported as
FreeBSD heimdal 1.1.0
This is an issue as the 1.6.10 release includes #218 and this flag was added in Heimdal 1.3. When attempting to install gssapi with pip install gssapi
on FreeBSD it is now failing with
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/python3.6m -c gssapi/raw/types.c -o build/temp.freebsd-12.1-RELEASE-amd64-3.6/gssapi/raw/ty
pes.o -I/usr/include
gssapi/raw/types.c:8152:41: error: use of undeclared identifier 'GSS_C_DELEG_POLICY_FLAG' __pyx_t_5 = __Pyx_PyInt_From_uint32_t(GSS_C_DELEG_POLICY_FLAG); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 59, __pyx_L1_error)
I'm not sure how to fix this issue as Heimdal 1.3.0 is from 2008 and surely any distro today packages something newer but maybe not. I prefer that we didn't remove the flag as I have some use for it but I don't know how to conditionally set it.
How do we reproduce?
On FreeBSD
pkg install heimdal
pip install gssapi
Component versions (python-gssapi, Kerberos, OS / distro, etc.)
FreeBSD 12.2, Heimdal 7.7.0 (or 1.1.0 I have no idea why they are different)
Metadata
Metadata
Assignees
Labels
No labels