MidnightBSD Magus

devel/py-lxml

Pythonic binding for the libxml2 and libxslt libraries

Flavor Version Run OSVersion Arch License Restricted Status
py311 6.0.1 629 4.0 i386 bsd3 0 fail

License Permissions:

Events

Machine Type Time Message
m4032 info 2026-01-30 11:49:31.599562 Test Started
m4032 fail 2026-01-30 11:50:10.474596 make build returned non-zero: 1
m4032 fail 2026-01-30 11:50:10.553222 Test complete.

Log

===>  Building for py311-lxml-6.0.1
* Getting build dependencies for wheel...

Error compiling Cython file:
------------------------------------------------------------
...
        bint progressive
        int inSubset
        int charset
        xmlParserInput* input
        int inputNr
        xmlParserInput* inputTab[]
                     ^
------------------------------------------------------------

src/lxml/includes/xmlparser.pxd:195:22: Variable type 'xmlParserInput *[]' is incomplete
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

Error compiling Cython file:
------------------------------------------------------------
...
        # Copied from xmlVErrParser() in libxml2: get current input from stack.
        if parser_input and parser_input.filename is NULL and c_ctxt.inputNr > 1:
            parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2]

        c_error = xmlerror.xmlError(
            domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1286:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
        if parser_input and parser_input.filename is NULL and c_ctxt.inputNr > 1:
            parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2]

        c_error = xmlerror.xmlError(
            domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER,
            code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1287:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            parser_input = c_ctxt.inputTab[c_ctxt.inputNr - 2]

        c_error = xmlerror.xmlError(
            domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER,
            code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE,
            level=xmlerror.xmlErrorLevel.XML_ERR_FATAL,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1288:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...

        c_error = xmlerror.xmlError(
            domain=xmlerror.xmlErrorDomain.XML_FROM_PARSER,
            code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE,
            level=xmlerror.xmlErrorLevel.XML_ERR_FATAL,
            message=b"External entity resolution is disabled for security reasons "
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1289:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            code=xmlerror.xmlParserErrors.XML_ERR_EXT_ENTITY_STANDALONE,
            level=xmlerror.xmlErrorLevel.XML_ERR_FATAL,
            message=b"External entity resolution is disabled for security reasons "
                    b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' "
                    b"if you consider it safe to enable it.",
            file=parser_input.filename,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1292:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            level=xmlerror.xmlErrorLevel.XML_ERR_FATAL,
            message=b"External entity resolution is disabled for security reasons "
                    b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' "
                    b"if you consider it safe to enable it.",
            file=parser_input.filename,
            node=entity,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1293:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            message=b"External entity resolution is disabled for security reasons "
                    b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' "
                    b"if you consider it safe to enable it.",
            file=parser_input.filename,
            node=entity,
            str1= name,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1294:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
                    b"when resolving '&%s;'. Use 'XMLParser(resolve_entities=True)' "
                    b"if you consider it safe to enable it.",
            file=parser_input.filename,
            node=entity,
            str1= name,
            str2=NULL,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1295:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
                    b"if you consider it safe to enable it.",
            file=parser_input.filename,
            node=entity,
            str1= name,
            str2=NULL,
            str3=NULL,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1296:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            file=parser_input.filename,
            node=entity,
            str1= name,
            str2=NULL,
            str3=NULL,
            line=parser_input.line if parser_input else 0,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1297:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            node=entity,
            str1= name,
            str2=NULL,
            str3=NULL,
            line=parser_input.line if parser_input else 0,
            int1=0,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1298:12: Operation not allowed without gil

Error compiling Cython file:
------------------------------------------------------------
...
            str1= name,
            str2=NULL,
            str3=NULL,
            line=parser_input.line if parser_input else 0,
            int1=0,
            int2=parser_input.col if parser_input else 0,
           ^
------------------------------------------------------------

src/lxml/parser.pxi:1299:12: Operation not allowed without gil
Building lxml version 6.0.1.
Building with Cython 0.29.37.
Building against libxml2 2.14.6 and libxslt 1.1.43
Building against libxml2/libxslt in one of the following directories:
  /usr/local/lib
  /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
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in 
    main()
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel
    return self._get_build_requires(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 282, in run_setup
    self).run_setup(setup_script=setup_script)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 251, in 
    **setup_extra_options()
      ^^^^^^^^^^^^^^^^^^^^^
  File "setup.py", line 152, in setup_extra_options
    ext_modules = setupinfo.ext_modules(
                  ^^^^^^^^^^^^^^^^^^^^^^
  File "/magus/work/usr/mports/devel/py-lxml/work-py311/lxml-6.0.1/setupinfo.py", line 180, in ext_modules
    result = cythonize(result, compiler_directives=cythonize_directives)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1115, in cythonize
    cythonize_one(*args)
  File "/usr/local/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/lxml/etree.pyx

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/py-lxml

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis