[Bug 261586] databases/py-mysql-connector-python: Allow to build with GSSAPI option

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Jan 2022 02:34:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261586

--- Comment #2 from geraud@gcu.info ---
(In reply to Kubilay Kocak from comment #1)

1) Here's the line of setup.py@v8.0.28

        "gssapi": ["gssapi>=1.6.9"],

Reference :
https://github.com/mysql/mysql-connector-python/blob/8.0.28/setup.py#L146

2) I tried to build py-mysql-connector-python this morning through poudriere
(as a dependency of netbox I believe), and here is the error I got (cut to the
relevant part) :

[...]
===>   py38-mysql-connector-python-8.0.28 depends on package:
py38-gssapi>1.6.14 - not found
===>   Installing existing package /packages/All/py38-gssapi-1.6.14.pkg
[poudriere.vm.skazy.name] Installing py38-gssapi-1.6.14...
[poudriere.vm.skazy.name] `-- Installing krb5-1.19.2...
[poudriere.vm.skazy.name] `-- Extracting krb5-1.19.2: .......... done
[poudriere.vm.skazy.name] `-- Installing py38-decorator-5.1.1...
[poudriere.vm.skazy.name] `-- Extracting py38-decorator-5.1.1: .......... done
[poudriere.vm.skazy.name] Extracting py38-gssapi-1.6.14: .......... done
===>   py38-mysql-connector-python-8.0.28 depends on package:
py38-gssapi>1.6.14 - not found
*** Error code 1
[...]

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