[Bug 294328] math/py-numpy: migrate consumers from numpy1

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294328

--- Comment #40 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=e495cc0f22b915106dfdf7a7ea3d879b64bb8aa2

commit e495cc0f22b915106dfdf7a7ea3d879b64bb8aa2
Author:     Vladimir Druzenko <[email protected]>
AuthorDate: 2026-05-06 09:39:41 +0000
Commit:     Vladimir Druzenko <[email protected]>
CommitDate: 2026-05-06 09:39:41 +0000

    graphics/blender: Fix build after switch to NumPy 2.x

    "ld: error: unable to find library -laudaspace-py"

    This happens because configure can't find numpy and because of this the
    shared library libaudaspace-py.so won't compile:
    -- numpy found at '/usr/local/lib/python3.11/site-packages'
    CMake Warning at build_files/cmake/macros.cmake:1210 (message):
      Python package 'numpy' include dir path could not be found in:

      '/usr/local/lib/python3.11/site-packages/numpy/core/include',
      '/usr/local/lib/python3/site-packages/numpy/core/include',
      '/usr/local/lib/python3.11/dist-packages/numpy/core/include',
      '/usr/local/lib/python3/dist-packages/numpy/core/include',
      '/usr/local/lib/python3.11/vendor-packages/numpy/core/include',
      '/usr/local/lib/python3/vendor-packages/numpy/core/include',

      The 'WITH_PYTHON_NUMPY' option will be disabled.

      The build will be usable, only add-ons that depend on this package won't
be
      functional.
    Call Stack (most recent call first):
      CMakeLists.txt:2598 (find_python_package)

    The actual path is:
    /usr/local/lib/python3.11/site-packages/numpy/_core/include

    PR:             294328
    Approved by:    blanket (fix build)
    Sponsored by:   UNIS Labs

 graphics/blender/files/patch-CMakeLists.txt (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.