Bug 283889

Summary: devel/py-pyyaml fails to build on 14.2-RELESE
Product: Ports & Packages Reporter: George Mitchell <george>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (python)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description George Mitchell 2025-01-06 19:05:54 UTC
"make" in /usr/ports/devel/py-pyyaml reports:

oot@sullivan:/usr/ports/devel/py-pyyaml # make
===>  License MIT accepted by the user
===>   py311-pyyaml-6.0.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-pyyaml-6.0.1 for building
===>  Extracting for py311-pyyaml-6.0.1
=> SHA256 Checksum OK for PyYAML-6.0.1.tar.gz.
===>  Patching for py311-pyyaml-6.0.1
===>   py311-pyyaml-6.0.1 depends on executable: cython-3.11 - found
===>   py311-pyyaml-6.0.1 depends on package: py311-setuptools>=63.1.0 - found
===>   py311-pyyaml-6.0.1 depends on file: /usr/local/bin/python3.11 - found
===>   py311-pyyaml-6.0.1 depends on shared library: libyaml.so - found (/usr/local/lib/libyaml.so)
===>  Configuring for py311-pyyaml-6.0.1
running config
===>  Building for py311-pyyaml-6.0.1
running build_ext
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 289, in <module>
    setup(
  File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 177, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "setup.py", line 191, in run
    _build_ext.run(self)
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "setup.py", line 233, in build_extensions
    ext.sources = self.cython_sources(ext.sources, ext)
                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 103, in __getattr__
    raise AttributeError(attr)
AttributeError: cython_sources
*** Error code 1

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

Stop.
make: stopped in /usr/ports/devel/py-pyyaml
root@sullivan:/usr/ports/devel/py-pyyaml # exit

Help!  I can't see what's wrong.
Comment 1 George Mitchell 2025-01-08 00:18:20 UTC
Closing because I was able to download from the FreeBSD package repo.