[MacPorts] #65891: py39-libxml2 @2.10.2 does not build on PPC Tiger, Mac OS X 10.4.11, because gcc-apple-4.2 expected in libxml2-py.c something different
MacPorts
noreply at macports.org
Sat Sep 24 11:01:33 UTC 2022
#65891: py39-libxml2 @2.10.2 does not build on PPC Tiger, Mac OS X 10.4.11, because
gcc-apple-4.2 expected in libxml2-py.c something different
-----------------------+--------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: tiger ppc | Port: py39-libxml2
-----------------------+--------------------------
{{{
/opt/local/bin/gcc-apple-4.2 -fno-strict-aliasing -Wsign-compare -fno-
common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc
-isysroot/ -D_REENTRANT=1 -I/opt/local/include/libxml2
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
-c libxml2-py.c -o build/temp.macosx-10.4-ppc-cpython-39/libxml2-py.o
libxml2-py.c:196: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:324: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:1557: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:1578: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:2331: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:2358: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3270: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3283: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3330: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3541: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3776: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3791: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3806: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:3829: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:6377: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:6464: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:6734: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:6937: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:7020: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'PyObject'
libxml2-py.c:13533: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'PyObject'
error: command '/opt/local/bin/gcc-apple-4.2' failed with exit code 1
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_python_py-
libxml2/py39-libxml2/work/libxml2-2.10.2/python" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
setup.py --no-user-cfg build -j1
Exit code: 1
}}}
It seems to be connected with
{{{
#if defined(LIBXML_HTML_ENABLED)
XML_IGNORE_DEPRECATION_WARNINGS
PyObject *
}}}
with `XML_IGNORE_DEPRECATION_WARNINGS` causing the failure.
--
Ticket URL: <https://trac.macports.org/ticket/65891>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list