Bug 238130 - devel/boost-libs: the numpy component of boost isn't found by cmake
Summary: devel/boost-libs: the numpy component of boost isn't found by cmake
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
Depends on:
Reported: 2019-05-26 02:04 UTC by Yuri Victorovich
Modified: 2019-06-08 03:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (office)

CMakeLists.txt (378 bytes, text/plain)
2019-05-26 02:04 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2019-05-26 02:04:38 UTC
Created attachment 204612 [details]

The attached CMakeLists.txt fails to find boost because of the last element in its module list: numpy.

The test line is taken from this project which supposedly configures and builds fine: https://github.com/LuxCoreRender/LuxCore/blob/master/cmake/Dependencies.cmake#L69
Comment 1 commit-hook freebsd_committer 2019-06-08 03:13:55 UTC
A commit references this bug:

Author: jbeich
Date: Sat Jun  8 03:13:23 UTC 2019
New revision: 503700
URL: https://svnweb.freebsd.org/changeset/ports/503700

  devel/boost-python-libs: add NumPy support

  numpy component is always built but runtime dependency is left out
  until subpackaging to avoid always pulling py-numpy. Consumers should
  add RUN_DEPENDS+=${PYNUMPY} instead to avoid the following:

  ImportError: No module named numpy.core._multiarray_umath
  ImportError: numpy.core._multiarray_umath failed to import

  PR:		225589 238130