[Bug 273769] security/py-gssapi py39-gssapi-1.8.3 subprocess.CalledProcessError: Command ' --libs gssapi' returned non-zero exit status 127

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Sep 2023 21:56:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273769

            Bug ID: 273769
           Summary: security/py-gssapi py39-gssapi-1.8.3
                    subprocess.CalledProcessError: Command ' --libs
                    gssapi' returned non-zero exit status 127
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jason@aventia.pw
                CC: john@saltant.com
             Flags: maintainer-feedback?(john@saltant.com)
                CC: john@saltant.com

Hi there I saw there was not already a report so perhaps someone is also unable
to build py39-gssapi-1.8.3 from ports.

Kind Regards,
Jason

# cd /usr/ports/security/py-gssapi
root@nq3:/usr/ports/security/py-gssapi # make clean
===>  Cleaning for py39-gssapi-1.8.3
root@nq3:/usr/ports/security/py-gssapi # make
===>  License ISCL accepted by the user
===>   py39-gssapi-1.8.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py39-gssapi-1.8.3 for building
===>  Extracting for py39-gssapi-1.8.3
=> SHA256 Checksum OK for gssapi-1.8.3.tar.gz.
===>  Patching for py39-gssapi-1.8.3
===>   py39-gssapi-1.8.3 depends on executable: cython-3.9 - found
===>   py39-gssapi-1.8.3 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-gssapi-1.8.3 depends on file: /usr/local/bin/python3.9 - found
===>  Configuring for py39-gssapi-1.8.3
Using  from env
/bin/sh: --libs: not found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 109, in <module>
    link_args = shlex.split(get_output(f"{kc} --libs gssapi"))
  File "setup.py", line 22, in get_output
    res = subprocess.check_output(*args, shell=True, **kwargs)
  File "/usr/local/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/local/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ' --libs gssapi' returned non-zero exit
status 127.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/py-gssapi
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.