[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 296275] graphics/opencv: missing __init__.py{,i} while packaging"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jun 2026 13:03:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296275
Bug ID: 296275
Summary: graphics/opencv: missing __init__.py{,i} while
packaging
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: desktop@FreeBSD.org
Reporter: d8zNeCFG@aon.at
Assignee: desktop@FreeBSD.org
Flags: maintainer-feedback?(desktop@FreeBSD.org)
Scenario:
- FreeBSD stable/15 at f77062f506f7
- ports latest
- amd64 running under KVM (Linux)
- ports latest
- removing all python (3.11) and dependent ports using "pkg delete python\*"
- updating ports using portmaster
- recreating desired ports with new python default (3.12) using portmaster
- slightly modified OPTIONS for opencv:
[0]# cd /usr/ports/graphics/opencv
[0]# diff =(PORT_DBDIR=/nonexistent make showconfig) =(make showconfig)
10c10
< PATENTED=off: Enable patented 2d feature detection USE AT OWN RISK
---
> PATENTED=on: Enable patented 2d feature detection USE AT OWN RISK
19c19
< AVIF=off: AV1 Image File Format via libavif
---
> AVIF=on: AV1 Image File Format via libavif
[1]#
- running "portmaster x11/kde"
Result:
- The build fails in graphics/opencv
- Specifically, "make package" does not find any __init__.py and __init__.pyi
files specified in pkg-plist (this is a second manual invocation using just
"make package" in /usr/ports/graphics/opencv):
[0]# make package
===> Building packages for opencv-4.13.0_7
===> Building opencv-4.13.0_7
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/Error/__init__.pyi:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/__init__.py:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/__init__.pyi:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/alphamat/__init__.pyi:No
such file or directory
[...]
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/mai
n/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/xfeatures2d/__init__.pyi:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/ximgproc/__init__.pyi:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/mai
n/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/ximgproc/segmentation/__init__.pyi:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/stage/usr/local/lib/python3.12/site-packages/cv2/xphoto/__init__.pyi:No
such file or directory
*** Error code 1
Stop.
make[1]: stopped making
"/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv/work/.package_done.opencv._usr_local"
in /net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv
*** Error code 1
Stop.
make: stopped making "package" in
/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/opencv
[1]#
Expected result:
- The build should succeed as it did last time (May 13).
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.