Hi,
building any port that depends at runtime on py-numpy on macppc fails
now with undef symbols, here example with py3-laspy:
===> py3-laspy-1.5.1 depends on: py3-numpy-* -> py3-numpy-1.14.5
....
Traceback (most recent call last):
File "./setup.py", line 4, in <module>
import laspy
File "/usr/obj/ports/py-laspy-1.5.1-python3/laspy-1.5.1/laspy/__init__.py",
line 5, in <module>
from laspy import base
File "/usr/obj/ports/py-laspy-1.5.1-python3/laspy-1.5.1/laspy/base.py", line
7, in <module>
import numpy as np
File "/usr/local/lib/python3.6/site-packages/numpy/__init__.py", line 166, in
<module>
from . import random
File "/usr/local/lib/python3.6/site-packages/numpy/random/__init__.py", line
99, in <module>
from .mtrand import *
ImportError: Cannot load specified object
python3.6:/usr/local/lib/python3.6/site-packages/numpy/random/mtrand.so:
undefined symbol '_savegpr_24'
python3.6:/usr/local/lib/python3.6/site-packages/numpy/random/mtrand.so:
undefined symbol '_restgpr_24_x'
Sadly, this also breaks boost on macppc, as it depends on numpy, during
configure the following is seen on stderr:
python2.7:/usr/local/lib/python2.7/site-packages/numpy/random/mtrand.so:
undefined symbol '_savegpr_25'
python2.7:/usr/local/lib/python2.7/site-packages/numpy/random/mtrand.so:
undefined symbol '_restgpr_25_x'
the build goes on but packaging fails because of missing boost_numpy libs..
Error:
/usr/obj/ports/boost-1.66.0/fake-macppc/usr/local/lib/libboost_numpy-mt.a does
not exist
Error:
/usr/obj/ports/boost-1.66.0/fake-macppc/usr/local/lib/libboost_numpy-mt.so.8.0
does not exist
Error: /usr/obj/ports/boost-1.66.0/fake-macppc/usr/local/lib/libboost_numpy.a
does not exist
Error:
/usr/obj/ports/boost-1.66.0/fake-macppc/usr/local/lib/libboost_numpy.so.8.0
does not exist
Landry