Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2020 23:57:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247941] cad/FreeCAD: Path workbench fails: wrong version of libopenblasp
Message-ID:  <bug-247941-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247941

            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@FreeBSD.org
          Reporter: a.parseg@gmail.com

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

FreeCAD itself continues to run.=20

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, requi=
red
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247941-7788>