[MacPorts] #55529: py-matplotlib @2.1.1_0 fails building on 10.5.8

MacPorts noreply at macports.org
Sat Dec 16 09:36:11 UTC 2017


#55529: py-matplotlib @2.1.1_0 fails building on 10.5.8
------------------------+---------------------------
 Reporter:  udbraumann  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:  powerpc     |       Port:  py-matplotlib
------------------------+---------------------------
 While upgrading py27-matplotlib from 2.1.0_2 to 2.1.1_0 building stopped
 here:


 {{{
 ...
 :info:build building 'matplotlib.backends._macosx' extension
 :info:build /usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -arch ppc
 -I/opt/local/include -I.
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c src/_macosx.m -o build/temp.macosx-10.5-ppc-2.7/src/_macosx.o
 :info:build src/_macosx.m: In function ‘NavigationToolbar_get_active’:
 :info:build src/_macosx.m:1313: error: ‘for’ loop initial declaration used
 outside C99 mode
 :info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-
 matplotlib/py27-matplotlib/work/matplotlib-2.1.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :info:build Exit code: 1
 ...
 }}}

 Any ideas?

--
Ticket URL: <https://trac.macports.org/ticket/55529>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list