G
Gelöschtes Mitglied 62187
Guest
...ich kriege eine Krise mit diesem Python Kram.. ich habe hier 13.5-STABLE und der Ports tree ist von gestern. Ich muß Libreoffice neu bauen,
und eine der Abhängigkeiten ist py-lxml.
Cython habe ich zur Sicherheit neu gebaut
..ich hatte das schon einmal und das wohl irgendwie vertrieben (möglicherweise Binary von einem Freund) aber wie zur Hölle kann ich das debuggen? Ich kenne mich mit python nicht aus..halte es auch nicht für eine besonders pralle Idee Schleifen durch die identation des Codes zu struktutieren, das war bei Fortran schon Mist...
Hat Jemand eine Idee?
Gruß,
Holm
und eine der Abhängigkeiten ist py-lxml.
Code:
in /usr/ports/devel/py-lxml ... make..
===> py311-lxml-6.0.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py311-lxml-6.0.0 for building
===> Extracting for py311-lxml-6.0.0
=> SHA256 Checksum OK for lxml-6.0.0.tar.gz.
===> Patching for py311-lxml-6.0.0
===> py311-lxml-6.0.0 depends on package: py311-setuptools>0 - found
===> py311-lxml-6.0.0 depends on package: py311-wheel>0 - found
===> py311-lxml-6.0.0 depends on package: py311-cython3>=3.1.2 - found
===> py311-lxml-6.0.0 depends on file: /usr/local/bin/python3.11 - found
===> py311-lxml-6.0.0 depends on package: py311-build>=0 - found
===> py311-lxml-6.0.0 depends on package: py311-installer>=0 - found
===> py311-lxml-6.0.0 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===> py311-lxml-6.0.0 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so)
===> Configuring for py311-lxml-6.0.0
===> Building for py311-lxml-6.0.0
* Getting build dependencies for wheel...
Building lxml version 6.0.0.
Building with Cython 3.1.2.
Building against libxml2 2.14.5 and libxslt 1.1.43
Building against libxml2/libxslt in the following directory: /usr/local/lib
Compiling src/lxml/etree.pyx because it changed.
Compiling src/lxml/objectify.pyx because it changed.
Compiling src/lxml/builder.py because it changed.
Compiling src/lxml/_elementpath.py because it changed.
Compiling src/lxml/html/diff.py because it changed.
Compiling src/lxml/html/_difflib.py because it changed.
Compiling src/lxml/sax.py because it changed.
[1/7] Cythonizing src/lxml/_elementpath.py
[2/7] Cythonizing src/lxml/builder.py
[3/7] Cythonizing src/lxml/etree.pyx
warning: src/lxml/xmlerror.pxi:660:22: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:661:69: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:662:20: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:667:22: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:668:73: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:669:20: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:674:22: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:675:73: local variable 'args' referenced before assignment
warning: src/lxml/xmlerror.pxi:676:20: local variable 'args' referenced before assignment
[4/7] Cythonizing src/lxml/html/_difflib.py
[5/7] Cythonizing src/lxml/html/diff.py
[6/7] Cythonizing src/lxml/objectify.pyx
[7/7] Cythonizing src/lxml/sax.py
running egg_info
writing src/lxml.egg-info/PKG-INFO
writing dependency_links to src/lxml.egg-info/dependency_links.txt
writing requirements to src/lxml.egg-info/requires.txt
writing top-level names to src/lxml.egg-info/top_level.txt
reading manifest file 'src/lxml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'LICENSES.txt'
writing manifest file 'src/lxml.egg-info/SOURCES.txt'
ERROR Missing dependencies:
Cython>=3.1.2
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/py-lxml
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-lxml
root@trollo:/usr/ports/devel/py-lxml #
Cython habe ich zur Sicherheit neu gebaut
Code:
===> Installing for py311-cython3-3.1.2
===> Checking if py311-cython3 is already installed
===> Registering installation for py311-cython3-3.1.2
Installing py311-cython3-3.1.2...
root@trollo:/usr/ports/lang/cython3 #
und cython -V behauptet:
Cython version 3.1.2
..ich hatte das schon einmal und das wohl irgendwie vertrieben (möglicherweise Binary von einem Freund) aber wie zur Hölle kann ich das debuggen? Ich kenne mich mit python nicht aus..halte es auch nicht für eine besonders pralle Idee Schleifen durch die identation des Codes zu struktutieren, das war bei Fortran schon Mist...
Hat Jemand eine Idee?
Gruß,
Holm