Created attachment 193947 [details]
Poudriere build log
I am building ports on my wandboard-quad running
FreeBSD 12.0-CURRENT #0 r333645
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: /usr/local/lib/libblas.so.2: Undefined symbol "__aeabi_uidiv@GCC_3.5"
I don't know how to fix it. It is on my list to be marked BROKEN unless the maintainer has an idea.
I've seen errors like this before on x86 (also involving libblas), usually resulting from an improperly-upgraded port collection.
Did this error arise as part of a from-scratch build of ports?
(In reply to mainland from comment #2)
I have used a portsnap generated ports tree for the first build.
I have built all ports from this ports tree, no updates of the ports tree.
To be sure I have checked out a new ports tree using svnlite:
root@wqtest:/usr/local/BUILD/Poudriere-current12/ports/svn # svnlite info
Working Copy Root Path: /usr/local/BUILD/Poudriere-current12/ports/svn
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Node Kind: directory
Last Changed Author: yuri
Last Changed Rev: 472939
Last Changed Date: 2018-06-20 21:15:21 +0000 (Wed, 20 Jun 2018)
Using this new ports tree I tried to build ports-mgmt/porttree,
I got the same errors.
Please see the error logs:
These ports build successfully:
(In reply to Ulrich Grey from comment #3)
I have used ports-mgmt/poudriere, every port is built in a clean environment.
I'm afraid I have no other ideas. The port should probably be marked BROKEN on arm for now.
(In reply to Mark Linimon from comment #1)
I think it's the problem with base libgcc vs ports libgcc.
Not sure if it's somehow related, I had this error with scikit-learn:
In : import scipy.special
ImportError Traceback (most recent call last)
<ipython-input-8-f4252bb1d87c> in <module>()
----> 1 import scipy.special
/usr/local/lib/python3.7/site-packages/scipy/special/init.py in <module>()
638 from .sf_error import SpecialFunctionWarning, SpecialFunctionError
--> 640 from ._ufuncs import *
642 from .basic import *
ImportError: /usr/local/lib/python3.7/site-packages/scipy/special/_ufuncs.so: Undefined symbol "cpow@GFORTRAN_C99_7"
It failed to import scipy until I rebuilt math/py-scipy with this lines commented on:
May be something similar should be done for matplotlib (yet it works well for me here)
We have version 2.2.4. Does the problem still exist?