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

--- Comment #7 from Martin Birgmeier <[email protected]> ---
Comparing the build log of building ("make package") under
- bhyve (with all processor extensions visible) and
- Linux KVM (using cpu = qemu64)
yields the following differences during the configure stage:

80a81,93
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/local/lib/python3.12/site-packages/numpy/__init__.py", line 112, 
> in <module>
>     from numpy.__config__ import show_config
>   File "/usr/local/lib/python3.12/site-packages/numpy/__config__.py", line 4, 
> in <module>
>     from numpy._core._multiarray_umath import (
>   File "/usr/local/lib/python3.12/site-packages/numpy/_core/__init__.py", 
> line 24, in <module>
>     from . import multiarray
>   File "/usr/local/lib/python3.12/site-packages/numpy/_core/multiarray.py", 
> line 11, in <module>
>     from . import _multiarray_umath, overrides
> RuntimeError: NumPy was built with baseline optimizations: 
> (X86_V2) but your machine doesn't support:
> (X86_V2).
566,570d578
< -- Found 'misc' Python modules from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/opencv-4.13.0/modules/python/package/extra_modules
< -- Found 'mat_wrapper;utils' Python modules from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/opencv-4.13.0/modules/core/misc/python/package
< -- Found 'gapi' Python modules from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/opencv-4.13.0/modules/gapi/misc/python/package
< -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD
< -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Success
583c591
< --     Timestamp:                   2026-06-29T05:56:49Z
---
> --     Timestamp:                   2026-06-29T06:10:08Z
618c626
< --     To be built:                 alphamat aruco bgsegm bioinspired calib3d
ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann
freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc
intensity_transform line_descriptor mcc 
ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd
saliency sfm shape signal stereo stitching structured_light superres
surface_matching text tracking ts video videoio videostab wechat_qrcode
xfeatures2d ximgproc xobjdetect xphoto
---
> --     To be built:                 alphamat aruco bgsegm bioinspired calib3d 
> ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann 
> freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc 
> intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping 
> photo plot quality rapid reg rgbd saliency sfm shape signal stereo stitching 
> structured_light superres surface_matching text tracking ts video videoio 
> videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
621c629
< --     Unavailable:                 cannops cudaarithm cudabgsegm cudacodec
cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow
cudastereo cudawarping cudev cvv fastcv java julia matlab ovis python2 viz
---
> --     Unavailable:                 cannops cudaarithm cudabgsegm cudacodec 
> cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow 
> cudastereo cudawarping cudev cvv fastcv java julia matlab ovis python2 
> python3 viz
678c686
< --     Libraries:                   /usr/local/lib/libpython3.12.so (ver
3.12.13)
---
> --     Libraries:                   NO
680,681c688,689
< --     numpy:                      
/usr/local/lib/python3.12/site-packages/numpy/_core/include (ver 2.4.6)
< --     install path:               
/usr/local/lib/python3.12/site-packages/cv2/python-3.12
---
> --     numpy:                       NO (Python3 wrappers can not be generated)
> --     install path:                -
688c696
< -- Configuring done (10.9s)
---
> -- Configuring done (11.2s)

The line "numpy: NO (Python3 wrappers can not be generated)" points to the root
cause.

-- Martin

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

Reply via email to