[Bug 247941] cad/FreeCAD: Path workbench fails: wrong version of libopenblasp

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 12 23:57:27 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247941

            Bug ID: 247941
           Summary: cad/FreeCAD: Path workbench fails: wrong version of
                    libopenblasp
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: a.parseg at gmail.com

Running FreeCAD, when trying to call up the Path workbench, an error
notification appears and the workbench is not shown/is empty. 

FreeCAD itself continues to run. 

Further attempts at accessing the workbench within the same session will not
repeat the warning, but the workbench will remain emtpy.

The error is reported as such:

---8<---
Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.7 from "/usr/local/bin/FreeCAD",
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy version "1.18.3" you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.

Original error was: Shared object "libopenblasp-r0.3.7.so" not found, required
by "_multiarray_umath.so"

Traceback (most recent call last):
  File "<string>", line 74, in Initialize
  File "/usr/local/FreeCAD/Mod/Path/PathCommands.py", line 30, in <module>
    from PathScripts.PathUtils import loopdetect
  File "/usr/local/FreeCAD/Mod/Path/PathScripts/PathUtils.py", line 33, in
<module>
    import numpy
  File "/home/alexisp/.local/lib/python3.7/site-packages/numpy/__init__.py",
line 142, in <module>
    from . import core
  File
"/home/alexisp/.local/lib/python3.7/site-packages/numpy/core/__init__.py", line
54, in <module>
    raise ImportError(msg)
--->8---

Note the "original error" with libopenblasp-r0.3.7.so not found.

System is running 12.1-RELEASE-p5 GENERIC amd64.

Issue initially noticed with "latest" packages as of 2020-07-12, so FreeCAD
0.18.4_9 and py37-numpy 1.16.6,1.

Tried recompiling cad/FreeCAD from ports, then recompiling math/py-numpy as
well, both with default options, to no effect.

The library itself is present on the system with a more recent version:
package openblas-0.3.9_2,1, file /usr/local/lib/libopenblasp-r0.3.9.so

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list