Date: Wed, 3 Aug 2022 21:31:04 -1000 From: "parv/FreeBSD" <parv.0zero9+freebsd@gmail.com> To: freebsd-questions@freebsd.org Subject: graphics/opencv- pkg trying to install nonexistent files, due to PY_FLAVOR, results in port not being installed Message-ID: <CABObuOoZVBvEE0m_uL_LUnqZWFQo4ShmAu5q9bB3b1xYEL0F8A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000002dffa605e5655812 Content-Type: text/plain; charset="UTF-8" Hi there, I was building "graphics/opencv" with ... - ports tree as of 20220803) on FreeBSD 13 (as of 20220729); - root shell was zsh once, other time was /bin/sh; - in /etc/make.conf, I have "DEFAULT_VERSIONS+= python=3.10 python3=3.10 ; USE_PYTHON= concurrent" ... instead of installing package as I needed it be lighter than default; certainly do not need any heavy database clients. The installation fails when pkg-static tries to install nonexistent files related to *cascades*. For example below path without "py310-" exists (in "Installing:" message) but not the one with it (in "pkg-static:" message) ... (grep output has been formatted to show path distinction) /usr/local/bin/grep -iE --color /haarcascade_eye.xml log.build log.install log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_eye.xml log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_eye.xml:No such file or directory How do I solve the issue of presence of PY_FLAVOR in path of a file being installed that does not exist? I had this issue in other ports too which had started only recently (I would say since pkg(8) gained FLAVOR awareness). Selected build+install log, "make showconfig", env(1) output, /etc/make.conf are at the end. - parv # make showconfig. ===> The following configuration options are available for opencv-4.5.5_8: EIGEN=on: Add Eigen v3 Support, builds sfm modules GDAL=off: Add Geospatial Data Abstraction Library Support GDCM=on: Add Open source DICOM library Support HARDENING=off: Enables Build Hardening JAVA=off: Enable Java Support LTO=off: Enables Link Time Optimizations OPENCL=on: Add OpenCL Support PATENTED=off: Enable patented 2d feature detection USE AT OWN RISK PROTOBUF=on: Enable protobuf support, builds dnn modules PYTHON=on: Enable Python Support 3.6 or greater TBB=off: Add Intel Threading Building Blocks Support TESSERACT=on: Add Tesseract-based OCR ====> GUI (Graphical User Interface) support GTK3=off: GTK+ 3 GUI toolkit support VTK=off: Include VTK library support (build opencv_viz module) ====> Options available for the group IMAGE GPHOTO2=on: Add Gphoto2 Support JPEG=on: Add LibJpeg Support OPENEXR=on: Add OpenEXR Support PNG=on: Add LibPNG Support TIFF=on: Add LibTIFF Support ====> Video support DC1394=on: IEEE 1394 camera support FFMPEG=off: Link with ffmpeg GSTREAMER=on: Add GSTREAMER Support V4L=on: Enable support for Video for Linux VULKAN=on: Add Vulkan Support WEBP=on: Add Webp Support XINE=off: Add Xine Support ====> Options available for the single BLAS: you have to select exactly one of them ATLAS=off: ATLAS blas implementation with lapacke OPENBLAS=on: OpenBLAS blas implementation with lapacke NOBLAS=off: Disable support for lapack/blas ====> Options available for the radio JPEG2K: you can only select none or one of them JASPER=off: Add Jasper Support for JPEG2000 OPENJPEG=on: Add OpenJPEG Support for JPEG2000, OpenCV preferred ===> Use 'make config' to modify these settings # grep cascades log.{build,install} # grep cascades log.* log.build:[ 60% 916/1514] /usr/local/libexec/ccache/c++ -DVK_NO_PROTOTYPES -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/3rdparty/quirc/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/ts/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/objdetect/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/imgcodecs/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/flann/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/imgproc/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/dnn/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/features2d/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/calib3d/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/videoio/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/highgui/include -isystem /build/ports/src-ports/ports/graphics/opencv/work/.build -isystem /usr/local/include/eigen3 -O2 -pipe -fno-omit-frame-pointer -march=nocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-arguments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O2 -pipe -fno-omit-frame-pointer -march=nocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -fPIE -std=c++11 -MD -MT modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o -MF modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o.d -o modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o -c /build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/objdetect/perf/opencl/perf_cascades.cpp log.build:In file included from /build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/objdetect/perf/opencl/perf_cascades.cpp:1: log.build:/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/objdetect/perf/opencl/perf_cascades.cpp:16:27: note: in instantiation of function template specialization 'testing::Combine<testing::internal::ValueArray3<std::string, std::string, std::string>, testing::internal::ValueArray3<std::string, std::string, std::string>, testing::internal::ValueArray3<int, int, int>>' requested here log.build:[ 65% 990/1514] : && /usr/local/libexec/ccache/c++ -O2 -pipe -fno-omit-frame-pointer -march=nocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-arguments -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O2 -pipe -fno-omit-frame-pointer -march=nocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib -Wl,--gc-sections -Wl,--as-needed modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_hogdetect.cpp.o modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_main.cpp.o modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_qrcode_pipeline.cpp.o -o bin/opencv_perf_objdetect -Wl,-rpath,/build/ports/src-ports/ports/graphics/opencv/work/.build/lib lib/libopencv_ts.a lib/libopencv_objdetect.so.4.5.5 lib/libopencv_highgui.so.4.5.5 lib/libopencv_dnn.so.4.5.5 lib/libopencv_calib3d.so.4.5.5 -lm -lpthread lib/libopencv_videoio.so.4.5.5 lib/libopencv_imgcodecs.so.4.5.5 -lm -lpthread lib/libopencv_features2d.so.4.5.5 lib/libopencv_flann.so.4.5.5 lib/libopencv_imgproc.so.4.5.5 lib/libopencv_core.so.4.5.5 && : log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_eye.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_eye_tree_eyeglasses.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalcatface.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalcatface_extended.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_alt.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_alt2.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_alt_tree.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_default.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_fullbody.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_lefteye_2splits.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_licence_plate_rus_16stages.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_lowerbody.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_profileface.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_righteye_2splits.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_russian_plate_number.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_smile.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_upperbody.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/lbpcascades/lbpcascade_frontalcatface.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/lbpcascades/lbpcascade_frontalface.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/lbpcascades/lbpcascade_frontalface_improved.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/lbpcascades/lbpcascade_profileface.xml log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/lbpcascades/lbpcascade_silverware.xml log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_eye.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_eye_tree_eyeglasses.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalcatface.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalcatface_extended.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalface_alt.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalface_alt2.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalface_alt_tree.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalface_default.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_fullbody.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_lefteye_2splits.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_licence_plate_rus_16stages.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_lowerbody.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_profileface.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_righteye_2splits.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_russian_plate_number.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_smile.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_upperbody.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_frontalcatface.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_frontalface.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_frontalface_improved.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_profileface.xml:No such file or directory log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_silverware.xml:No such file or directory # grep -v '^#' /etc/make.conf. SRC_BASE= /src-ports/freesd PACKAGES= /src-ports/pkg-save PORTSDIR= /src-ports/ports WRKDIRPREFIX= /build/ports WITH_CCACHE_BUILD= yes CPUTYPE?= nocona WITH_CTF=1 CFLAGS+=-fno-omit-frame-pointer ONLY_FOR_ARCHS= amd64 BATCH= yes DEFAULT_VERSIONS+= ssl=openssl DEFAULT_VERSIONS+= python=3.10 python3=3.10 USE_PYTHON= concurrent OPTIONS_UNSET+=HAL OPTIONS_UNSET+= WAYLAND VIDEO_WAYLAND PLATFORM_WAYLAND x11-toolkits_gtk30_UNSET+=WAYLAND OPTIONS_UNSET+= WX OPTIONS_UNSET+= DEBUG TEST DOCS EXAMPLES DOXYGEN INFO OPTIONS_UNSET+= READLINE OPTIONS_UNSET+= GNUTLS OPTIONS_UNSET+= OPENCL OPTIONS_UNSET+= LTO OPTIONS_SET+= OPTIMIZED_CFLAGS ASM SIMD AVX CPU_OPTS OPTIONS_SET+= OPENMP OPTIONS_SET+= MANPAGES MAN3 MAN1 MAN8 OPTIONS_SET+= NLS ICU ICONV L10N FRIBIDI OPTIONS_SET+= BROTLI ZSTD ZLIB LZ4 OPTIONS_SET+= LIBEDIT PCRE2 OPTIONS_SET+= KERBEROS OPTIONS_SET+= SSL OPENSSL SSH LIBSSH2 SASL OPTIONS_SET+= SIGNATURE OPTIONS_SET+= IDN IPV6 SOCKS SMB FETCH CURL LDAP LDAPS OPTIONS_SET+= OPENJPEG JPEG2000 GIF PNG WEBP TIFF XPM OPTIONS_SET+= SDL SVGALIB V4L TESSERACT RTMP OPTIONS_SET+= SNDIO OPUS JACK TWOLAME OGG VORBIS FLAC MPG123 OPTIONS_SET+= X11 VIDEO_X11 PLATFORM_X11 .if ${.CURDIR:M/*/*/www/firefox*} OPTIONS_SET+= DBUS .endif .if ${.CURDIR:M/*/*/lang/rust*} OPTIONS_UNSET+= DOCS EXAMPLES MANPAGES GDB SOURCES OPTIONS_SET+= WASM .endif .if ${.CURDIR:M/*/*/*/qt*} || ${.CURDIR:M/*/*/*/*docbook*} OPTIONS_UNSET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/lib*} OPTIONS_UNSET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/devel/tevent*} || ${.CURDIR:M/*/*/devel/talloc*} || ${.CURDIR:M/*/*/databases/tdb*} OPTIONS_UNSET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/shell*/bash*} OPTIONS_UNSET+= DOCS MANPAGES HELP OPTIONS_UNSET+= CMAKE_MODULES SYSBASHRC SYSLOG OPTIONS_UNSET+= FDESCFS STATIC OPTIONS_SET+= SHARED .endif .if ${.CURDIR:M/*/*/shell*/zsh*} OPTIONS_SET+= STATIC OPTIONS_SET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/www/mongoose} OPTIONS_SET+= DOCS EXAMPLES .endif .if ${.CURDIR:M/*/*/lang/perl5*} || ${.CURDIR:M/*/*/p5-*} # Cannot use DEBUG as XS modules cause panic "failed to extend arg stack". #OPTIONS_UNSET+= DEBUG OPTIONS_UNSET+= PERL_64BITINT DOT_INC OPTIONS_SET+= DEBUG OPTIONS_SET+= PERL_MALLOC OPTIONS_SET+= DTRACE MULTIPLICITY SITECUSTOMIZE THREADS .endif .if ${.CURDIR:M/*/*/*/python3*} || ${.CURDIR:M/*/*/*/py*} OPTIONS_UNSET+= DEBUG LIBMPDEC PYMALLOC OPTIONS_SET+= SIGNATURE OPTIONS_SET+= SIPHASH .endif .if ${.CURDIR:M/*/*/*/python3*} || ${.CURDIR:M/*/*/*/py*} || ${.CURDIR:M/*/*/lang/perl5*} || ${.CURDIR:M/*/*/p5-*} OPTIONS_SET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/editors/vim*} LDFLAGS+= -static FLAVOR= console OPTIONS_SET+= DOCS EXAMPLES MANPAGES .endif .if ${.CURDIR:M/*/*/lang/lua*} # Some Lua ports mark LIBEDIT to be broken, promote LIBEDIT_DL instead. OPTIONS_UNSET+= LIBEDIT OPTIONS_SET+= LIBEDIT_DL OPTIONS_SET+= DOCS MANPAGES HELP EXAMPLES .endif .if ${.CURDIR:M/*/*/*/sqlite*} OPTIONS_UNSET+= UNKNOWN_SQL OPTIONS_SET+= DOCS MANPAGES HELP EXAMPLES OPTIONS_SET+= ARMOR LIKENOTBLOB NORMALIZE STMT JSON1 .endif .if ${.CURDIR:M/*/*/devel/apr*} OPTIONS_SET+= SQLITE .endif .if ${.CURDIR:M/*/*/devel/git*} OPTIONS_UNSET+= CVS SVN P4 OPTIONS_SET+= DOCS MANPAGES HELP EXAMPLES OPTIONS_SET+= CONTRIB CURL GUI HTMLDOCS GITWEB GUI PERL SEND_EMAIL SUBTREE .endif .if ${.CURDIR:M/*/*/devel/subversion*} OPTIONS_UNSET+= GPG_AGENT STATIC FREEBSD_TEMPLATE SVNSERVE_WRAPPER OPTIONS_SET+= BDB DOCS NLS SASL SERF TOOLS .endif .if ${.CURDIR:M/*/*/math/gmp*} OPTIONS_SET+= CPU_OPTS .endif .if ${.CURDIR:M/*/*/security/*gpg*} || ${.CURDIR:M/*/*/security/*gnupg*} OPTIONS_UNSET+= LDAP LDAPS .endif .if ${.CURDIR:M/*/*/ftp/curl*} OPTIONS_UNSET+= GPG_AGENT FREEBSD_TEMPLATE OPTIONS_SET+= DOCS EXAMPLES MANPAGES OPTIONS_SET+= SASL SERF OPTIONS_SET+= FREEBSD_TEMPLATE .endif # root's "env". VENDOR=amd LESS=-sSIXR LSCOLORS=xxGAxxxxxxxxxxxxxx LOGNAME=root PAGER=less LANG=C.UTF-8 OSTYPE=FreeBSD MACHTYPE=x86_64 MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin EDITOR=vi HOST=gaia OLDPWD=/root CCACHE_DIR=/src-build/ccache PWD=/src-ports/ports/graphics/opencv GROUP=wheel TERM=xterm USER=root HOME=/root HOSTTYPE=FreeBSD SHELL=/bin/csh MM_CHARSET=UTF-8 BLOCKSIZE=K SHLVL=1 --0000000000002dffa605e5655812 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">Hi there,<br><br>I was building "graphics/opencv" with ...<br>= <br>- ports tree as of 20220803) on FreeBSD 13 (as of 20220729);<br>- root = shell was zsh once, other time was /bin/sh;<br>- in /etc/make.conf, I have = "DEFAULT_VERSIONS+=3D python=3D3.10<br>=C2=A0 python3=3D3.10 ; USE_PYT= HON=3D concurrent"<br><br>... instead of installing package as I neede= d it be lighter than<br>default; certainly do not need any heavy database c= lients.<br><br>The installation fails when pkg-static tries to install none= xistent<br>files related to *cascades*. For example below path without &quo= t;py310-"<br>exists (in "Installing:" message) but not the o= ne with it (in<br>"pkg-static:" message) ...<br><br>=C2=A0 =C2=A0= (grep output has been formatted to show path distinction)<br>=C2=A0 =C2=A0/= usr/local/bin/grep -iE --color /haarcascade_eye.xml log.build log.install<b= r>=C2=A0 =C2=A0log.install:-- Installing:<br>=C2=A0 =C2=A0 =C2=A0 /build/po= rts/src-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haar= cascades/haarcascade_eye.xml<br>=C2=A0 =C2=A0log.install:pkg-static: Unable= to access file<br>=C2=A0 =C2=A0 =C2=A0 /build/ports/src-ports/ports/graphi= cs/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_= eye.xml:No such file or directory<br><br>How do I solve the issue of presen= ce of PY_FLAVOR in path of a file<br>being installed that does not exist? I= had this issue in other ports<br>too which had started only recently (I wo= uld say since pkg(8) gained<br>FLAVOR awareness).<br><br>Selected build+ins= tall log, "make showconfig", env(1) output,<br>/etc/make.conf are= at the end.<br><br><br>- parv<br><br><br># make showconfig.<br><br>=3D=3D= =3D> The following configuration options are available for opencv-4.5.5_= 8:<br>=C2=A0 =C2=A0 =C2=A0EIGEN=3Don: Add Eigen v3 Support, builds sfm modu= les<br>=C2=A0 =C2=A0 =C2=A0GDAL=3Doff: Add Geospatial Data Abstraction Libr= ary Support<br>=C2=A0 =C2=A0 =C2=A0GDCM=3Don: Add Open source DICOM library= Support<br>=C2=A0 =C2=A0 =C2=A0HARDENING=3Doff: Enables Build Hardening<br= >=C2=A0 =C2=A0 =C2=A0JAVA=3Doff: Enable Java Support<br>=C2=A0 =C2=A0 =C2= =A0LTO=3Doff: Enables Link Time Optimizations<br>=C2=A0 =C2=A0 =C2=A0OPENCL= =3Don: Add OpenCL Support<br>=C2=A0 =C2=A0 =C2=A0PATENTED=3Doff: Enable pat= ented 2d feature detection USE AT OWN RISK<br>=C2=A0 =C2=A0 =C2=A0PROTOBUF= =3Don: Enable protobuf support, builds dnn modules<br>=C2=A0 =C2=A0 =C2=A0P= YTHON=3Don: Enable Python Support 3.6 or greater<br>=C2=A0 =C2=A0 =C2=A0TBB= =3Doff: Add Intel Threading Building Blocks Support<br>=C2=A0 =C2=A0 =C2=A0= TESSERACT=3Don: Add Tesseract-based OCR<br>=3D=3D=3D=3D> GUI (Graphical = User Interface) support<br>=C2=A0 =C2=A0 =C2=A0GTK3=3Doff: GTK+ 3 GUI toolk= it support<br>=C2=A0 =C2=A0 =C2=A0VTK=3Doff: Include VTK library support (b= uild opencv_viz module)<br>=3D=3D=3D=3D> Options available for the group= IMAGE<br>=C2=A0 =C2=A0 =C2=A0GPHOTO2=3Don: Add Gphoto2 Support<br>=C2=A0 = =C2=A0 =C2=A0JPEG=3Don: Add LibJpeg Support<br>=C2=A0 =C2=A0 =C2=A0OPENEXR= =3Don: Add OpenEXR Support<br>=C2=A0 =C2=A0 =C2=A0PNG=3Don: Add LibPNG Supp= ort<br>=C2=A0 =C2=A0 =C2=A0TIFF=3Don: Add LibTIFF Support<br>=3D=3D=3D=3D&g= t; Video support<br>=C2=A0 =C2=A0 =C2=A0DC1394=3Don: IEEE 1394 camera suppo= rt<br>=C2=A0 =C2=A0 =C2=A0FFMPEG=3Doff: Link with ffmpeg<br>=C2=A0 =C2=A0 = =C2=A0GSTREAMER=3Don: Add GSTREAMER Support<br>=C2=A0 =C2=A0 =C2=A0V4L=3Don= : Enable support for Video for Linux<br>=C2=A0 =C2=A0 =C2=A0VULKAN=3Don: Ad= d Vulkan Support<br>=C2=A0 =C2=A0 =C2=A0WEBP=3Don: Add Webp Support<br>=C2= =A0 =C2=A0 =C2=A0XINE=3Doff: Add Xine Support<br>=3D=3D=3D=3D> Options a= vailable for the single BLAS: you have to select<br>exactly one of them<br>= =C2=A0 =C2=A0 =C2=A0ATLAS=3Doff: ATLAS blas implementation with lapacke<br>= =C2=A0 =C2=A0 =C2=A0OPENBLAS=3Don: OpenBLAS blas implementation with lapack= e<br>=C2=A0 =C2=A0 =C2=A0NOBLAS=3Doff: Disable support for lapack/blas<br>= =3D=3D=3D=3D> Options available for the radio JPEG2K: you can only selec= t none<br>or one of them<br>=C2=A0 =C2=A0 =C2=A0JASPER=3Doff: Add Jasper Su= pport for JPEG2000<br>=C2=A0 =C2=A0 =C2=A0OPENJPEG=3Don: Add OpenJPEG Suppo= rt for JPEG2000, OpenCV preferred<br>=3D=3D=3D> Use 'make config'= ; to modify these settings<br><br><br># grep cascades log.{build,install}<b= r><br><br># grep cascades log.*<br><br>log.build:[ 60% 916/1514] /usr/local= /libexec/ccache/c++ -DVK_NO_PROTOTYPES -D_USE_MATH_DEFINES -D__OPENCV_BUILD= =3D1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS = -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/3rdparty/q= uirc/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5= .5/modules/ts/include -I/build/ports/src-ports/ports/graphics/opencv/work/o= pencv-4.5.5/modules/objdetect/include -I/build/ports/src-ports/ports/graphi= cs/opencv/work/opencv-4.5.5/modules/imgcodecs/include -I/build/ports/src-po= rts/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include -I/build/p= orts/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/flann/includ= e -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/= imgproc/include -I/build/ports/src-ports/ports/graphics/opencv/work/opencv-= 4.5.5/modules/dnn/include -I/build/ports/src-ports/ports/graphics/opencv/wo= rk/opencv-4.5.5/modules/features2d/include -I/build/ports/src-ports/ports/g= raphics/opencv/work/opencv-4.5.5/modules/calib3d/include -I/build/ports/src= -ports/ports/graphics/opencv/work/opencv-4.5.5/modules/videoio/include -I/b= uild/ports/src-ports/ports/graphics/opencv/work/opencv-4.5.5/modules/highgu= i/include -isystem /build/ports/src-ports/ports/graphics/opencv/work/.build= -isystem /usr/local/include/eigen3 -O2 -pipe -fno-omit-frame-pointer -marc= h=3Dnocona -fstack-protector-strong -isystem /usr/local/include -fno-strict= -aliasing =C2=A0-isystem /usr/local/include =C2=A0 -fsigned-char -W -Wall -= Werror=3Dreturn-type -Werror=3Dnon-virtual-dtor -Werror=3Daddress -Werror= =3Dsequence-point -Wformat -Werror=3Dformat-security -Wmissing-declarations= -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-ari= th -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -W= no-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wn= o-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion= -fdiagnostics-show-option -Wno-long-long -pthread -Qunused-arguments -ffun= ction-sections -fdata-sections =C2=A0-msse -msse2 -msse3 -fvisibility=3Dhid= den -fvisibility-inlines-hidden -O2 -pipe -fno-omit-frame-pointer -march=3D= nocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-ali= asing =C2=A0-isystem /usr/local/include =C2=A0-DNDEBUG -fPIE -std=3Dc++11 -= MD -MT modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/p= erf_cascades.cpp.o -MF modules/objdetect/CMakeFiles/opencv_perf_objdetect.d= ir/perf/opencl/perf_cascades.cpp.o.d -o modules/objdetect/CMakeFiles/opencv= _perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o -c /build/ports/src-por= ts/ports/graphics/opencv/work/opencv-4.5.5/modules/objdetect/perf/opencl/pe= rf_cascades.cpp<br>log.build:In file included from /build/ports/src-ports/p= orts/graphics/opencv/work/opencv-4.5.5/modules/objdetect/perf/opencl/perf_c= ascades.cpp:1:<br>log.build:/build/ports/src-ports/ports/graphics/opencv/wo= rk/opencv-4.5.5/modules/objdetect/perf/opencl/perf_cascades.cpp:16:27: note= : in instantiation of function template specialization 'testing::Combin= e<testing::internal::ValueArray3<std::string, std::string, std::strin= g>, testing::internal::ValueArray3<std::string, std::string, std::str= ing>, testing::internal::ValueArray3<int, int, int>>' reque= sted here<br>log.build:[ 65% 990/1514] : && /usr/local/libexec/ccac= he/c++ -O2 -pipe -fno-omit-frame-pointer -march=3Dnocona -fstack-protector-= strong -isystem /usr/local/include -fno-strict-aliasing =C2=A0-isystem /usr= /local/include =C2=A0 -fsigned-char -W -Wall -Werror=3Dreturn-type -Werror= =3Dnon-virtual-dtor -Werror=3Daddress -Werror=3Dsequence-point -Wformat -We= rror=3Dformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict= -prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuni= nitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wn= o-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-convers= ion -Wno-deprecated-anon-enum-enum-conversion -fdiagnostics-show-option -Wn= o-long-long -pthread -Qunused-arguments -ffunction-sections -fdata-sections= =C2=A0-msse -msse2 -msse3 -fvisibility=3Dhidden -fvisibility-inlines-hidde= n -O2 -pipe -fno-omit-frame-pointer -march=3Dnocona -fstack-protector-stron= g -isystem /usr/local/include -fno-strict-aliasing =C2=A0-isystem /usr/loca= l/include =C2=A0-DNDEBUG -L/usr/local/lib -fstack-protector-strong -L/usr/l= ocal/lib =C2=A0-Wl,--gc-sections -Wl,--as-needed modules/objdetect/CMakeFil= es/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o modules/objdet= ect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_hogdetect.cpp.o m= odules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_main.cpp.o = modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_qrcode_pip= eline.cpp.o -o bin/opencv_perf_objdetect =C2=A0-Wl,-rpath,/build/ports/src-= ports/ports/graphics/opencv/work/.build/lib =C2=A0lib/libopencv_ts.a =C2=A0= lib/libopencv_objdetect.so.4.5.5 =C2=A0lib/libopencv_highgui.so.4.5.5 =C2= =A0lib/libopencv_dnn.so.4.5.5 =C2=A0lib/libopencv_calib3d.so.4.5.5 =C2=A0-l= m =C2=A0-lpthread =C2=A0lib/libopencv_videoio.so.4.5.5 =C2=A0lib/libopencv_= imgcodecs.so.4.5.5 =C2=A0-lm =C2=A0-lpthread =C2=A0lib/libopencv_features2d= .so.4.5.5 =C2=A0lib/libopencv_flann.so.4.5.5 =C2=A0lib/libopencv_imgproc.so= .4.5.5 =C2=A0lib/libopencv_core.so.4.5.5 && :<br>log.install:-- Ins= talling: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/= share/opencv4/haarcascades/haarcascade_eye.xml<br>log.install:-- Installing= : /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/o= pencv4/haarcascades/haarcascade_eye_tree_eyeglasses.xml<br>log.install:-- I= nstalling: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/loca= l/share/opencv4/haarcascades/haarcascade_frontalcatface.xml<br>log.install:= -- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/= local/share/opencv4/haarcascades/haarcascade_frontalcatface_extended.xml<br= >log.install:-- Installing: /build/ports/src-ports/ports/graphics/opencv/wo= rk/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_alt.x= ml<br>log.install:-- Installing: /build/ports/src-ports/ports/graphics/open= cv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_frontalface_= alt2.xml<br>log.install:-- Installing: /build/ports/src-ports/ports/graphic= s/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcascade_fronta= lface_alt_tree.xml<br>log.install:-- Installing: /build/ports/src-ports/por= ts/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/haarcasc= ade_frontalface_default.xml<br>log.install:-- Installing: /build/ports/src-= ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades= /haarcascade_fullbody.xml<br>log.install:-- Installing: /build/ports/src-po= rts/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcascades/h= aarcascade_lefteye_2splits.xml<br>log.install:-- Installing: /build/ports/s= rc-ports/ports/graphics/opencv/work/stage/usr/local/share/opencv4/haarcasca= des/haarcascade_licence_plate_rus_16stages.xml<br>log.install:-- Installing= : /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/o= pencv4/haarcascades/haarcascade_lowerbody.xml<br>log.install:-- Installing:= /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/op= encv4/haarcascades/haarcascade_profileface.xml<br>log.install:-- Installing= : /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/o= pencv4/haarcascades/haarcascade_righteye_2splits.xml<br>log.install:-- Inst= alling: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/s= hare/opencv4/haarcascades/haarcascade_russian_plate_number.xml<br>log.insta= ll:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/u= sr/local/share/opencv4/haarcascades/haarcascade_smile.xml<br>log.install:--= Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/lo= cal/share/opencv4/haarcascades/haarcascade_upperbody.xml<br>log.install:-- = Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/loc= al/share/opencv4/lbpcascades/lbpcascade_frontalcatface.xml<br>log.install:-= - Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/l= ocal/share/opencv4/lbpcascades/lbpcascade_frontalface.xml<br>log.install:--= Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/lo= cal/share/opencv4/lbpcascades/lbpcascade_frontalface_improved.xml<br>log.in= stall:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stag= e/usr/local/share/opencv4/lbpcascades/lbpcascade_profileface.xml<br>log.ins= tall:-- Installing: /build/ports/src-ports/ports/graphics/opencv/work/stage= /usr/local/share/opencv4/lbpcascades/lbpcascade_silverware.xml<br>log.insta= ll:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/= opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_eye= .xml:No such file or directory<br>log.install:pkg-static: Unable to access = file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/shar= e/py310-opencv/haarcascades/haarcascade_eye_tree_eyeglasses.xml:No such fil= e or directory<br>log.install:pkg-static: Unable to access file /build/port= s/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/h= aarcascades/haarcascade_frontalcatface.xml:No such file or directory<br>log= .install:pkg-static: Unable to access file /build/ports/src-ports/ports/gra= phics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcasca= de_frontalcatface_extended.xml:No such file or directory<br>log.install:pkg= -static: Unable to access file /build/ports/src-ports/ports/graphics/opencv= /work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_frontalfa= ce_alt.xml:No such file or directory<br>log.install:pkg-static: Unable to a= ccess file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/loca= l/share/py310-opencv/haarcascades/haarcascade_frontalface_alt2.xml:No such = file or directory<br>log.install:pkg-static: Unable to access file /build/p= orts/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-openc= v/haarcascades/haarcascade_frontalface_alt_tree.xml:No such file or directo= ry<br>log.install:pkg-static: Unable to access file /build/ports/src-ports/= ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/= haarcascade_frontalface_default.xml:No such file or directory<br>log.instal= l:pkg-static: Unable to access file /build/ports/src-ports/ports/graphics/o= pencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_full= body.xml:No such file or directory<br>log.install:pkg-static: Unable to acc= ess file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/= share/py310-opencv/haarcascades/haarcascade_lefteye_2splits.xml:No such fil= e or directory<br>log.install:pkg-static: Unable to access file /build/port= s/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/h= aarcascades/haarcascade_licence_plate_rus_16stages.xml:No such file or dire= ctory<br>log.install:pkg-static: Unable to access file /build/ports/src-por= ts/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascad= es/haarcascade_lowerbody.xml:No such file or directory<br>log.install:pkg-s= tatic: Unable to access file /build/ports/src-ports/ports/graphics/opencv/w= ork/stage/usr/local/share/py310-opencv/haarcascades/haarcascade_profileface= .xml:No such file or directory<br>log.install:pkg-static: Unable to access = file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/shar= e/py310-opencv/haarcascades/haarcascade_righteye_2splits.xml:No such file o= r directory<br>log.install:pkg-static: Unable to access file /build/ports/s= rc-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/haar= cascades/haarcascade_russian_plate_number.xml:No such file or directory<br>= log.install:pkg-static: Unable to access file /build/ports/src-ports/ports/= graphics/opencv/work/stage/usr/local/share/py310-opencv/haarcascades/haarca= scade_smile.xml:No such file or directory<br>log.install:pkg-static: Unable= to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr= /local/share/py310-opencv/haarcascades/haarcascade_upperbody.xml:No such fi= le or directory<br>log.install:pkg-static: Unable to access file /build/por= ts/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py310-opencv/= lbpcascades/lbpcascade_frontalcatface.xml:No such file or directory<br>log.= install:pkg-static: Unable to access file /build/ports/src-ports/ports/grap= hics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpcascade_= frontalface.xml:No such file or directory<br>log.install:pkg-static: Unable= to access file /build/ports/src-ports/ports/graphics/opencv/work/stage/usr= /local/share/py310-opencv/lbpcascades/lbpcascade_frontalface_improved.xml:N= o such file or directory<br>log.install:pkg-static: Unable to access file /= build/ports/src-ports/ports/graphics/opencv/work/stage/usr/local/share/py31= 0-opencv/lbpcascades/lbpcascade_profileface.xml:No such file or directory<b= r>log.install:pkg-static: Unable to access file /build/ports/src-ports/port= s/graphics/opencv/work/stage/usr/local/share/py310-opencv/lbpcascades/lbpca= scade_silverware.xml:No such file or directory<br><br><br># grep -v '^#= ' /etc/make.conf.<br><br>SRC_BASE=3D =C2=A0 /src-ports/freesd<br><br>PA= CKAGES=3D =C2=A0/src-ports/pkg-save<br>PORTSDIR=3D =C2=A0/src-ports/ports<b= r>WRKDIRPREFIX=3D =C2=A0/build/ports<br><br>WITH_CCACHE_BUILD=3D =C2=A0yes<= br><br>CPUTYPE?=3D =C2=A0 nocona<br>WITH_CTF=3D1<br>CFLAGS+=3D-fno-omit-fra= me-pointer<br><br>ONLY_FOR_ARCHS=3D amd64<br><br>BATCH=3D =C2=A0yes<br><br>= DEFAULT_VERSIONS+=3D ssl=3Dopenssl<br>DEFAULT_VERSIONS+=3D python=3D3.10 py= thon3=3D3.10<br>USE_PYTHON=3D concurrent<br><br><br>OPTIONS_UNSET+=3DHAL<br= >OPTIONS_UNSET+=3D WAYLAND VIDEO_WAYLAND PLATFORM_WAYLAND<br>x11-toolkits_g= tk30_UNSET+=3DWAYLAND<br>OPTIONS_UNSET+=3D WX<br><br>OPTIONS_UNSET+=3D DEBU= G TEST DOCS EXAMPLES DOXYGEN INFO<br>OPTIONS_UNSET+=3D READLINE<br>OPTIONS_= UNSET+=3D GNUTLS<br>OPTIONS_UNSET+=3D OPENCL<br>OPTIONS_UNSET+=3D LTO<br><b= r>OPTIONS_SET+=3D OPTIMIZED_CFLAGS ASM SIMD AVX CPU_OPTS<br>OPTIONS_SET+=3D= OPENMP<br>OPTIONS_SET+=3D MANPAGES MAN3 MAN1 MAN8<br>OPTIONS_SET+=3D NLS I= CU ICONV L10N FRIBIDI<br>OPTIONS_SET+=3D BROTLI ZSTD ZLIB LZ4<br>OPTIONS_SE= T+=3D LIBEDIT PCRE2<br>OPTIONS_SET+=3D KERBEROS<br>OPTIONS_SET+=3D SSL OPEN= SSL SSH LIBSSH2 SASL<br>OPTIONS_SET+=3D SIGNATURE<br>OPTIONS_SET+=3D IDN IP= V6 SOCKS SMB FETCH CURL LDAP LDAPS<br>OPTIONS_SET+=3D OPENJPEG JPEG2000 GIF= PNG WEBP TIFF XPM<br>OPTIONS_SET+=3D SDL SVGALIB V4L TESSERACT RTMP<br>OPT= IONS_SET+=3D SNDIO OPUS JACK TWOLAME OGG VORBIS FLAC MPG123<br>OPTIONS_SET+= =3D X11 VIDEO_X11 PLATFORM_X11<br><br>.if ${.CURDIR:M/*/*/www/firefox*}<br>= =C2=A0 =C2=A0OPTIONS_SET+=3D DBUS<br>.endif<br><br>.if ${.CURDIR:M/*/*/lang= /rust*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D DOCS EXAMPLES MANPAGES GDB SOURCE= S<br>=C2=A0 =C2=A0OPTIONS_SET+=3D WASM<br>.endif<br><br>.if ${.CURDIR:M/*/*= /*/qt*} || ${.CURDIR:M/*/*/*/*docbook*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D D= OCS MANPAGES HELP EXAMPLES<br>.endif<br>.if ${.CURDIR:M/*/*/lib*}<br>=C2=A0= =C2=A0OPTIONS_UNSET+=3D DOCS MANPAGES HELP EXAMPLES<br>.endif<br>.if ${.CU= RDIR:M/*/*/devel/tevent*} || ${.CURDIR:M/*/*/devel/talloc*} || ${.CURDIR:M/= */*/databases/tdb*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D DOCS MANPAGES HELP EX= AMPLES<br>.endif<br><br>.if ${.CURDIR:M/*/*/shell*/bash*}<br>=C2=A0 =C2=A0O= PTIONS_UNSET+=3D DOCS MANPAGES HELP<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D CMAKE= _MODULES SYSBASHRC SYSLOG<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D FDESCFS STATIC<= br><br>=C2=A0 =C2=A0OPTIONS_SET+=3D SHARED<br>.endif<br><br>.if ${.CURDIR:M= /*/*/shell*/zsh*}<br>=C2=A0 =C2=A0OPTIONS_SET+=3D STATIC<br>=C2=A0 =C2=A0OP= TIONS_SET+=3D DOCS MANPAGES HELP EXAMPLES<br>.endif<br><br>.if ${.CURDIR:M/= */*/www/mongoose}<br>=C2=A0 =C2=A0OPTIONS_SET+=3D DOCS EXAMPLES<br>.endif<b= r><br>.if ${.CURDIR:M/*/*/lang/perl5*} || ${.CURDIR:M/*/*/p5-*}<br>=C2=A0 = =C2=A0# Cannot use DEBUG as XS modules cause panic "failed to extend a= rg stack".<br>=C2=A0 =C2=A0#OPTIONS_UNSET+=3D DEBUG<br>=C2=A0 =C2=A0OP= TIONS_UNSET+=3D PERL_64BITINT DOT_INC<br><br>=C2=A0 =C2=A0OPTIONS_SET+=3D D= EBUG<br>=C2=A0 =C2=A0OPTIONS_SET+=3D PERL_MALLOC<br>=C2=A0 =C2=A0OPTIONS_SE= T+=3D DTRACE MULTIPLICITY SITECUSTOMIZE THREADS<br>.endif<br><br>.if ${.CUR= DIR:M/*/*/*/python3*} || ${.CURDIR:M/*/*/*/py*}<br>=C2=A0 =C2=A0OPTIONS_UNS= ET+=3D DEBUG LIBMPDEC PYMALLOC<br><br>=C2=A0 =C2=A0OPTIONS_SET+=3D SIGNATUR= E<br>=C2=A0 =C2=A0OPTIONS_SET+=3D SIPHASH<br>.endif<br><br>.if ${.CURDIR:M/= */*/*/python3*} || ${.CURDIR:M/*/*/*/py*} || ${.CURDIR:M/*/*/lang/perl5*} |= | ${.CURDIR:M/*/*/p5-*}<br>=C2=A0 =C2=A0OPTIONS_SET+=3D DOCS MANPAGES HELP = EXAMPLES<br>.endif<br><br><br>.if ${.CURDIR:M/*/*/editors/vim*}<br>=C2=A0 = =C2=A0LDFLAGS+=3D -static<br>=C2=A0 =C2=A0FLAVOR=3D =C2=A0console<br>=C2=A0= =C2=A0OPTIONS_SET+=3D DOCS EXAMPLES MANPAGES<br>.endif<br><br>.if ${.CURDI= R:M/*/*/lang/lua*}<br>=C2=A0 =C2=A0# Some Lua ports mark LIBEDIT to be brok= en, promote LIBEDIT_DL instead.<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D LIBEDIT<b= r>=C2=A0 =C2=A0OPTIONS_SET+=3D LIBEDIT_DL<br>=C2=A0 =C2=A0OPTIONS_SET+=3D D= OCS MANPAGES HELP EXAMPLES<br>.endif<br><br>.if ${.CURDIR:M/*/*/*/sqlite*}<= br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D UNKNOWN_SQL<br><br>=C2=A0 =C2=A0OPTIONS_S= ET+=3D DOCS MANPAGES HELP EXAMPLES<br>=C2=A0 =C2=A0OPTIONS_SET+=3D ARMOR LI= KENOTBLOB NORMALIZE STMT JSON1<br>.endif<br><br>.if ${.CURDIR:M/*/*/devel/a= pr*}<br>=C2=A0 =C2=A0OPTIONS_SET+=3D SQLITE<br>.endif<br><br>.if ${.CURDIR:= M/*/*/devel/git*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D CVS SVN P4<br><br>=C2= =A0 =C2=A0OPTIONS_SET+=3D DOCS MANPAGES HELP EXAMPLES<br>=C2=A0 =C2=A0OPTIO= NS_SET+=3D CONTRIB CURL GUI HTMLDOCS GITWEB GUI PERL SEND_EMAIL SUBTREE<br>= .endif<br><br>.if ${.CURDIR:M/*/*/devel/subversion*}<br>=C2=A0 =C2=A0OPTION= S_UNSET+=3D GPG_AGENT STATIC FREEBSD_TEMPLATE SVNSERVE_WRAPPER<br>=C2=A0 = =C2=A0OPTIONS_SET+=3D BDB DOCS NLS SASL SERF TOOLS<br>.endif<br><br>.if ${.= CURDIR:M/*/*/math/gmp*}<br>=C2=A0 =C2=A0OPTIONS_SET+=3D CPU_OPTS<br>.endif<= br><br>.if ${.CURDIR:M/*/*/security/*gpg*} || ${.CURDIR:M/*/*/security/*gnu= pg*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D LDAP LDAPS<br>.endif<br><br>.if ${.C= URDIR:M/*/*/ftp/curl*}<br>=C2=A0 =C2=A0OPTIONS_UNSET+=3D GPG_AGENT FREEBSD_= TEMPLATE<br>=C2=A0 =C2=A0OPTIONS_SET+=3D DOCS EXAMPLES MANPAGES<br>=C2=A0 = =C2=A0OPTIONS_SET+=3D SASL SERF<br>=C2=A0 =C2=A0OPTIONS_SET+=3D FREEBSD_TEM= PLATE<br>.endif<br><br><br># root's "env".<br><br>VENDOR=3Dam= d<br>LESS=3D-sSIXR<br>LSCOLORS=3DxxGAxxxxxxxxxxxxxx<br>LOGNAME=3Droot<br>PA= GER=3Dless<br>LANG=3DC.UTF-8<br>OSTYPE=3DFreeBSD<br>MACHTYPE=3Dx86_64<br>MA= IL=3D/var/mail/root<br>PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin= :/usr/local/bin:/root/bin<br>EDITOR=3Dvi<br>HOST=3Dgaia<br>OLDPWD=3D/root<b= r>CCACHE_DIR=3D/src-build/ccache<br>PWD=3D/src-ports/ports/graphics/opencv<= br>GROUP=3Dwheel<br>TERM=3Dxterm<br>USER=3Droot<br>HOME=3D/root<br>HOSTTYPE= =3DFreeBSD<br>SHELL=3D/bin/csh<br>MM_CHARSET=3DUTF-8<br>BLOCKSIZE=3DK<br>SH= LVL=3D1<br><br><br></div></div> --0000000000002dffa605e5655812--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOoZVBvEE0m_uL_LUnqZWFQo4ShmAu5q9bB3b1xYEL0F8A>