[MacPorts] #65986: py310-libxml2 fails to build on 10.6.8 x86_64 with gcc-4.2: libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyObject’
MacPorts
noreply at macports.org
Thu Oct 13 00:34:18 UTC 2022
#65986: py310-libxml2 fails to build on 10.6.8 x86_64 with gcc-4.2:
libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘PyObject’
--------------------------+---------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: snowleopard | Port: py310-libxml2
--------------------------+---------------------------
{{{
/usr/bin/gcc-4.2 -fno-strict-aliasing -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/
-D_REENTRANT=1 -I/opt/x86_64/include/libxml2
-I/opt/x86_64/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10
-c libxml2-py.c -o build/temp.macosx-10.6-x86_64-cpython-310/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 '/usr/bin/gcc-4.2' failed with exit code 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65986>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list