[MacPorts] #59122: py-numpy @1.17.2 does not build on PPC Tiger, Mac OS X 10.4.11, because of "'for' loop initial declaration used outside C99 mode"

MacPorts noreply at macports.org
Mon Dec 5 21:40:00 UTC 2022


#59122: py-numpy @1.17.2 does not build on PPC Tiger, Mac OS X 10.4.11, because of
"'for' loop initial declaration used outside C99 mode"
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  michaelld
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.0
Resolution:             |   Keywords:  tiger
      Port:  py-numpy   |
------------------------+-----------------------

Comment (by ballapete):

 This package is not needed anymore by some other `port` (once needed by
 `boost`?). When I start to build it I still see

 {{{
 /usr/bin/gnutar: numpy-1.23.5/.coveragerc: implausibly old time stamp
 1970-01-01 01:00:00
 }}}

 plus a few hundred similar lines. When will this vanish? I have `lbzip2`
 installed, doesn't this work without such silly complaints?

 `CC='/opt/local/bin/gcc-mp-7'` is now recorded in the build process'
 environment, so it should build. Before I see this report:

 {{{
 Running from numpy source directory.
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 numpy/py310-numpy/work/numpy-1.23.5/setup.py:86: DeprecationWarning:

   `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
   of the deprecation of `distutils` itself. It will be removed for
   Python >= 3.12. For older Python versions it will remain present.
   It is recommended to use `setuptools < 60.0` for those Python versions.
   For more details, see:
     https://numpy.org/devdocs/reference/distutils_status_migration.html

 }}}

 `py-numpy` and `py310-numpy` built, because the `Portfile` was upgraded.
 So this ticket can be closed.

-- 
Ticket URL: <https://trac.macports.org/ticket/59122#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list