Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Mar 2025 14:29:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 285283] devel/py-pyyaml
Message-ID:  <bug-285283-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285283

            Bug ID: 285283
           Summary: devel/py-pyyaml
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: d.toschlaeger@gmail.com
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Hey,
I try to update some programs by the ports system. LibreOffice and GNURadio=
 for
example depend on two python extensions. devel/py-pyyaml is one of them. I =
am
using python 3.11 from the ports and py311-cython3-3.0.12 from the ports.

I use portmaster to update my system. I tried to update=20
libreoffice-25.2.1.2 to libreoffice-25.2.1.2_1
py311-lxml-4.9.3 to py311-lxml-4.9.3_1
py311-pyyaml-6.0.1 to py311-pyyaml-6.0.1_1
conan-2.12.0 to conan-2.12.0_1

libreoffice, conan and gnuradio depend on both pyyaml and lxml. The _1 vers=
ions
cannot be compiled because of a version incompatibility error I assume. I t=
ry
to dirty circumvent the problem by manually de-installing lxml 4.9.3 (with a
huge list of programs depending on it) and compiling and installing
devel/py-lxml5. So far, I did not found error messages. but I cannot do the
same with pyyaml.=20

Here is the PyYAML build error (trying it manually from the ports):
=3D> SHA256 Checksum OK for PyYAML-6.0.1.tar.gz.
=3D=3D=3D>  Patching for py311-pyyaml-6.0.1_1
=3D=3D=3D>   py311-pyyaml-6.0.1_1 depends on executable: cython-3.11 - found
=3D=3D=3D>   py311-pyyaml-6.0.1_1 depends on package: py311-setuptools>=3D6=
3.1.0 -
found
=3D=3D=3D>   py311-pyyaml-6.0.1_1 depends on file: /usr/local/bin/python3.1=
1 - found
=3D=3D=3D>   py311-pyyaml-6.0.1_1 depends on shared library: libyaml.so - f=
ound
(/usr/local/lib/libyaml.so)
=3D=3D=3D>  Configuring for py311-pyyaml-6.0.1_1
running config
=3D=3D=3D>  Building for py311-pyyaml-6.0.1_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", li=
ne
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 1=
217,
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/buil=
d_ext.py",
line 339, in run
    self.build_extensions()
  File "setup.py", line 233, in build_extensions
    ext.sources =3D self.cython_sources(ext.sources, ext)
                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/cmd.p=
y",
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285283-21822>