devel/py-lxml
Pythonic binding for the libxml2 and libxslt libraries
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| py311 | 4.9.3 | 628 | 4.0 | i386 | bsd3 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4032 | info | 2026-01-24 01:07:58.872402 | Test Started |
| m4032 | fail | 2026-01-24 01:08:42.01832 | make build returned non-zero: 1 |
| m4032 | fail | 2026-01-24 01:08:42.098928 | Test complete. |
Log
[1m===> Building for py311-lxml-4.9.3[0m
Building lxml version 4.9.3.
Building without Cython.
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
running build_ext
building 'lxml.etree' extension
creating build
creating build/temp.midnightbsd-4.0.2-i386-cpython-311
creating build/temp.midnightbsd-4.0.2-i386-cpython-311/src
creating build/temp.midnightbsd-4.0.2-i386-cpython-311/src/lxml
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/local/include/libxml2 -I/usr/local/include -Isrc -Isrc/lxml/includes -I/usr/local/include/python3.11 -c src/lxml/etree.c -o build/temp.midnightbsd-4.0.2-i386-cpython-311/src/lxml/etree.o -w
src/lxml/etree.c:113159:38: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
113159 | __pyx_v_self->_c_ctxt->sax->serror = __pyx_f_4lxml_5etree__receiveParserError;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/etree.c:117647:25: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
117647 | __pyx_v_sax->serror = __pyx_f_4lxml_5etree__receiveParserError;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/etree.c:181731:28: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
181731 | __pyx_v_xpathCtxt->error = __pyx_f_4lxml_5etree__receiveXPathError;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/etree.c:219005:60: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
219005 | xmlRelaxNGSetParserStructuredErrors(__pyx_v_parser_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/relaxng.h:157:30: note: passing argument to parameter 'serror' here
157 | xmlStructuredErrorFunc serror,
| ^
src/lxml/etree.c:219423:60: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
219423 | xmlRelaxNGSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/relaxng.h:190:31: note: passing argument to parameter 'serror' here
190 | xmlStructuredErrorFunc serror, void *ctx);
| ^
src/lxml/etree.c:220312:59: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
220312 | xmlSchemaSetParserStructuredErrors(__pyx_v_parser_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlschemas.h:157:30: note: passing argument to parameter 'serror' here
157 | xmlStructuredErrorFunc serror,
| ^
src/lxml/etree.c:220855:59: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
220855 | xmlSchemaSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlschemas.h:190:30: note: passing argument to parameter 'serror' here
190 | xmlStructuredErrorFunc serror,
| ^
src/lxml/etree.c:221620:66: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
221620 | xmlSchemaSetValidStructuredErrors(__pyx_v_self->_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlschemas.h:190:30: note: passing argument to parameter 'serror' here
190 | xmlStructuredErrorFunc serror,
| ^
src/lxml/etree.c:222797:63: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
222797 | xmlSchematronSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/schematron.h:106:31: note: passing argument to parameter 'serror' here
106 | xmlStructuredErrorFunc serror,
| ^
9 errors generated.
Compile failed: command '/usr/bin/cc' failed with exit code 1
creating tmp
cc -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/include/libxml2 -c /tmp/xmlXPathInitslo02h2j.c -o tmp/xmlXPathInitslo02h2j.o
/tmp/xmlXPathInitslo02h2j.c:3:5: warning: 'xmlXPathInit' is deprecated [-Wdeprecated-declarations]
3 | xmlXPathInit();
| ^
/usr/local/include/libxml2/libxml/xpath.h:556:1: note: 'xmlXPathInit' has been explicitly marked deprecated here
556 | XML_DEPRECATED
| ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro 'XML_DEPRECATED'
61 | #define XML_DEPRECATED __attribute__((deprecated))
| ^
1 warning generated.
cc tmp/xmlXPathInitslo02h2j.o -L/usr/local/lib -L/usr/local/lib -lxml2 -o a.out
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1
Stop.
make: stopped in /usr/mports/devel/py-lxml
Links
Depends On
- devel/py-setuptools (build)
- lang/cython (build)
- lang/python311 (build)
- textproc/libxml2 (lib)
- textproc/libxslt (lib)
- devel/py-setuptools (run)
- lang/python311 (run)
- lang/python311 (test)
Depend Of
- devel/py-pyTooling
- textproc/py-elementpath
- print/py-fonttools3
- devel/py-mypy
- textproc/xml2rfc
- deskutils/calibre
- deskutils/calibre
- print/py-fonttools
- x11-themes/kf6-breeze-icons
- print/py-fontbakery
- www/py-beautifulsoup
- textproc/yelp-tools
- audio/lv2
- graphics/inkscape
- print/py-fontaine
- x11-fonts/py-ufoLib
- x11-fonts/py-afdko
- mail/py-premailer
- multimedia/streamlink
- x11-fonts/py-fontfeatures
- print/py-relatorio
- math/py-networkx
- sysutils/bamf
- www/py-html5-parser
Categories
CVEs
- Loading CVE information...
MidnightBSD Magus