[MacPorts] #61757: py38-matplotlib @3.3.3 does not build on PPC Leopard, Mac OS X 10.5.8, because of "cc1obj: error: -Werror=unguarded-availability: No option -Wunguarded-availability"
MacPorts
noreply at macports.org
Sun Dec 6 09:56:17 UTC 2020
#61757: py38-matplotlib @3.3.3 does not build on PPC Leopard, Mac OS X 10.5.8,
because of "cc1obj: error: -Werror=unguarded-availability: No option
-Wunguarded-availability"
-----------------------+-----------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: leopard | Port: py38-matplotlib
-----------------------+-----------------------------
{{{
/usr/bin/g++-4.2 -bundle -undefined dynamic_lookup -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -arch ppc -isysroot/
build/temp.macosx-10.5-ppc-3.8/src/_ttconv.o
build/temp.macosx-10.5-ppc-3.8/extern/ttconv/pprdrv_tt.o
build/temp.macosx-10.5-ppc-3.8/extern/ttconv/pprdrv_tt2.o
build/temp.macosx-10.5-ppc-3.8/extern/ttconv/ttutil.o -o
build/lib.macosx-10.5-ppc-3.8/matplotlib/_ttconv.cpython-38-darwin.so
building 'matplotlib.backends._macosx' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-c src/_macosx.m -o build/temp.macosx-10.5-ppc-3.8/src/_macosx.o -Werror
=unguarded-availability -fvisibility=hidden
cc1obj: error: -Werror=unguarded-availability: No option -Wunguarded-
availability
error: command '/usr/bin/gcc-4.2' failed with exit status 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-
matplotlib/py38-matplotlib/work/matplotlib-3.3.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
setup.py --no-user-cfg build
Exit code: 1
Error: Failed to build py38-matplotlib: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61757>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list