[package - 114amd64-default][graphics/opencv] Failed for opencv-4.5.3_3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Sep 2021 02:10:06 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: tcberner@FreeBSD.org Log URL: http://beefy9.nyi.freebsd.org/data/114amd64-default/724df9e52627/logs/opencv-4.5.3_3.log Build URL: http://beefy9.nyi.freebsd.org/build.html?mastername=114amd64-default&build=724df9e52627 Log: =>> Building graphics/opencv build started at Sat Sep 18 02:08:22 UTC 2021 port directory: /usr/ports/graphics/opencv package name: opencv-4.5.3_3 building for: FreeBSD 114amd64-default-job-05 11.4-RELEASE-p13 FreeBSD 11.4-RELEASE-p13 amd64 maintained by: tcberner@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1104001 Job Id: 05 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1104001 UNAME_v=FreeBSD 11.4-RELEASE-p13 UNAME_r=11.4-RELEASE-p13 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/114amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/114amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=114amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/114amd64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for opencv-4.5.3_3: EIGEN=on: Add Eigen v3 Support, builds sfm modules GDAL=on: 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 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 ---End OPTIONS List--- --MAINTAINER-- tcberner@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/opencv/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/opencv/work HOME=/wrkdirs/usr/ports/graphics/opencv/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/opencv/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/opencv/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/opencv/work HOME=/wrkdirs/usr/ports/graphics/opencv/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/opencv/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/graphics/opencv/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 55 5" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- SHLIB_VER=4.5.3 ATLAS="@comment " NO_ATLAS="" DC1394="" NO_DC1394="@comment " EIGEN="" NO_EIGEN="@comment " FFMPEG="@comment " NO_FFMPEG="" GDAL="" NO_GDAL="@comment " GDCM="" NO_GDCM="@comment " GPHOTO2="" NO_GPHOTO2="@comment " GSTREAMER="" NO_GSTREAMER="@comment " HARDENING="@comment " NO_HARDENING="" JASPER="@comment " NO_JASPER="" JAVA="@comment " NO_JAVA="" JPEG="" NO_JPEG="@comment " LTO="@comment " NO_LTO="" NOBLAS="@comment " NO_NOBLAS="" OPENBLAS="" NO_OPENBLAS="@comment " OPENCL="" NO_OPENCL="@comment " OPENEXR="" NO_OPENEXR="@comment " OPENJPEG="" NO_OPENJPEG="@comment " PATENTED="@comment " NO_PATENTED="" PNG="" NO_PNG="@comment " PROTOBUF="" NO_PROTOBUF="@comment " PYTHON="" NO_PYTHON="@comment " TBB="@comment " NO_TBB="" TIFF="" NO_TIFF="@comment " V4L="" NO_V4L="@comment " VTK="@comment " NO_VTK="" VULKAN="" NO_VULKAN="@comment " WEBP="" NO_WEBP="@comment " XINE="@comment " NO_XINE="" CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.8 PYTHON_LIBDIR=lib/py thon3.8 PYTHON_PLATFORM=freebsd11 PYTHON_SITELIBDIR=lib/python3.8/site-packages PYTHON_SUFFIX=38 PYTHON_EXT_SUFFIX=.cpython-38 PYTHON_VER=3.8 PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=11.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/opencv" EXAMPLESDIR="share/examples/opencv" DATADIR="share/opencv4" WWWDIR="www/opencv" ETCDIR="etc/opencv" --End PLIST_SUB-- --SUB_LIST-- ATLAS="@comment " NO_ATLAS="" DC1394="" NO_DC1394="@comment " EIGEN="" NO_EIGEN="@comment " FFMPEG="@comment " NO_FFMPEG="" GDAL="" NO_GDAL="@comment " GDCM="" NO_GDCM="@comment " GPHOTO2="" NO_GPHOTO2="@comment " GSTREAMER="" NO_GSTREAMER="@comment " HARDENING="@comment " NO_HARDENING="" JASPER="@comment " NO_JASPER="" JAVA="@comment " NO_JAVA="" JPEG="" NO_JPEG="@comment " LTO="@comment " NO_LTO="" NOBLAS="@comment " NO_NOBLAS="" OPENBLAS="" NO_OPENBLAS="@comment " OPENCL="" NO_OPENCL="@comment " OPENEXR="" NO_OPENEXR="@comment " OPENJPEG="" NO_OPENJPEG="@comment " PATENTED="@comment " NO_PATENTED="" PNG="" NO_PNG="@comment " PROTOBUF="" NO_PROTOBUF="@comment " PYTHON="" NO_PYTHON="@comment " TBB="@comment " NO_TBB="" TIFF="" NO_TIFF="@comment " V4L="" NO_V4L="@comment " VTK="@comment " NO_VTK="" VULKAN="" NO_VULKAN="@comment " WEBP="" NO_WEBP="@comment " XINE="@comment " NO_XINE="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/opencv4 DOCSDIR=/usr/local/share/do c/opencv EXAMPLESDIR=/usr/local/share/examples/opencv WWWDIR=/usr/local/www/opencv ETCDIR=/usr/local/etc/opencv --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=11.4-RELEASE-p13 OSREL=11.4 OSVERSION=1104001 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License BSD3CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> opencv-4.5.3_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.1.pkg [114amd64-default-job-05] Installing pkg-1.17.1... [114amd64-default-job-05] Extracting pkg-1.17.1: .......... done ===> opencv-4.5.3_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of opencv-4.5.3_3 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by opencv-4.5.3_3 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by opencv-4.5.3_3 for building => SHA256 Checksum OK for opencv-opencv-4.5.3_GH0.tar.gz. <snip> -- Found PkgConfig: pkgconf (found version "1.7.4") -- Checking for module 'gtk+-3.0' -- Package 'gtk+-3.0', required by 'virtual:world', not found -- Checking for module 'gtk+-2.0' -- Package 'gtk+-2.0', required by 'virtual:world', not found -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.68.4 -- OpenCV Python: during development append to PYTHONPATH: /wrkdirs/usr/ports/graphics/opencv/work/.build/python_loader -- Checking for module 'gstreamer-base-1.0' -- Found gstreamer-base-1.0, version 1.16.2 -- Checking for module 'gstreamer-app-1.0' -- Found gstreamer-app-1.0, version 1.16.2 -- Checking for module 'gstreamer-riff-1.0' -- Found gstreamer-riff-1.0, version 1.16.2 -- Checking for module 'gstreamer-pbutils-1.0' -- Found gstreamer-pbutils-1.0, version 1.16.2 -- Checking for module 'gstreamer-video-1.0' -- Found gstreamer-video-1.0, version 1.16.2 -- Checking for module 'libdc1394-2' -- Found libdc1394-2, version 2.2.6 -- Checking for module 'libgphoto2' -- Found libgphoto2, version 2.5.26 -- Checking for module 'freetype2' -- Found freetype2, version 23.4.17 -- Checking for module 'harfbuzz' -- Found harfbuzz, version 3.0.0 -- freetype2: YES (ver 23.4.17) -- harfbuzz: YES (ver 3.0.0) -- Found HDF5: /usr/local/lib/libhdf5.so;/usr/local/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.10.6") -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- Checking SFM glog/gflags deps... TRUE -- CERES support is disabled. Ceres Solver for reconstruction API is required. -- Checking for module 'tesseract' -- Package 'tesseract', required by 'virtual:world', not found -- Tesseract: NO -- Allocator metrics storage type: 'long long' -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Failed ++ WeChatQRCode: Using prefetched detect.caffemodel ++ WeChatQRCode: Using prefetched detect.prototxt ++ WeChatQRCode: Using prefetched sr.caffemodel ++ WeChatQRCode: Using prefetched sr.prototxt -- highgui: using builtin backend: NONE ++ xfeatures2d/boostdesc: Using prefetched boostdesc_bgm.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_bgm_bi.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_bgm_hd.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_binboost_064.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_binboost_128.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_binboost_256.i ++ xfeatures2d/boostdesc: Using prefetched boostdesc_lbgm.i ++ xfeatures2d/vgg: Using prefetched vgg_generated_48.i ++ xfeatures2d/vgg: Using prefetched vgg_generated_64.i ++ xfeatures2d/vgg: Using prefetched vgg_generated_80.i ++ xfeatures2d/vgg: Using prefetched vgg_generated_120.i ++ Face: Using prefetched face_landmark_model.dat -- CERES support is disabled. Ceres Solver for reconstruction API is required. -- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE - Failed -- Performing Test HAVE_CXX_WNO_DEPRECATED_COPY -- Performing Test HAVE_CXX_WNO_DEPRECATED_COPY - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Success -- -- General configuration for OpenCV 4.5.3 ===================================== -- Version control: unknown -- -- Extra modules: -- Location (extra): /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/contrib/modules -- Version control (extra): unknown -- -- Platform: -- Timestamp: 2021-09-18T02:09:59Z -- Host: FreeBSD 11.4-RELEASE-p13 amd64 -- CMake: 3.21.0 -- CMake generator: Ninja -- CMake build tool: /usr/local/bin/ninja -- Configuration: Release -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (15 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (29 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (4 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: /usr/bin/c++ (ver 10.0.0) -- C++ flags (Release): -O2 -pipe -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 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -- C++ flags (Debug): -O2 -pipe -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 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -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 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -- C flags (Debug): -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -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 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib -Wl,--gc-sections -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: m pthread -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: alphamat aruco barcode 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 stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto -- Disabled: java_bindings_generator world -- Disabled by dependency: - -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv java julia matlab ovis python2 viz -- Applications: perf_tests apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- GTK+: NO -- -- Media I/O: -- ZLib: /usr/lib/libz.so (ver 1.2.11) -- JPEG: /usr/local/lib/libjpeg.so (ver 80) -- WEBP: /usr/local/lib/libwebp.so (ver encoder: 0x020f) -- PNG: /usr/local/lib/libpng.so (ver 1.6.37) -- TIFF: /usr/local/lib/libtiff.so (ver 42 / 4.3.0) -- JPEG 2000: OpenJPEG (ver 2.4.0) -- OpenEXR: OpenEXR::OpenEXR (ver 3.1.1) -- GDAL: YES (/usr/local/lib/libgdal.so) -- GDCM: YES (3.0.9) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: YES (2.2.6) -- GStreamer: YES (1.16.2) -- v4l/v4l2: YES (linux/videodev2.h) -- gPhoto2: YES -- -- Parallel framework: pthreads -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/icv -- Intel IPP IW: sources (2020.0.0) -- at: /wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw -- VA: NO -- Lapack: YES (/usr/local/lib/libopenblas.so) -- Eigen: YES (ver 3.3.9) -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- Vulkan: YES -- Include path: /usr/local/include -- Link libraries: Dynamic load -- -- OpenCL: YES (no extra features) -- Include path: /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /usr/local/bin/python3.8 (ver 3.8.12) -- Libraries: /usr/local/lib/libpython3.8.so (ver 3.8.12) -- numpy: /usr/local/lib/python3.8/site-packages/numpy/core/include (ver 1.16.6) -- install path: /usr/local/lib/python3.8/site-packages/cv2/python-3.8 -- -- Python (for build): /usr/local/bin/python3.8 -- -- Install to: /usr/local -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /wrkdirs/usr/ports/graphics/opencv/work/.build =========================================================================== =======================<phase: build >============================ ===> Building for opencv-4.5.3_3 [ 0% 1/1513] cd /wrkdirs/usr/ports/graphics/opencv/work/.build && /usr/local/bin/cmake -DCMAKE_HELPER_SCRIPT=/wrkdirs/usr/ports/graphics/opencv/work/.build/OpenCVGenPkgConfig.info.cmake -P /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/cmake/OpenCVGenPkgconfig.cmake [ 0% 2/1513] /usr/bin/cc -DICV_BASE -DIW_BUILD -I/wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw/include -I/wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/icv/include -isystem /wrkdirs/usr/ports/graphics/opencv/work/.build -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -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-hi dden -Wno-unused-function -Wno-missing-braces -Wno-missing-field-initializers -Wno-self-assign -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o -MF 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o.d -o 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o -c /wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw/src/iw_core.c FAILED: 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o /usr/bin/cc -DICV_BASE -DIW_BUILD -I/wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw/include -I/wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/icv/include -isystem /wrkdirs/usr/ports/graphics/opencv/work/.build -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -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 -Wno-unus ed-function -Wno-missing-braces -Wno-missing-field-initializers -Wno-self-assign -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o -MF 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o.d -o 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o -c /wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw/src/iw_core.c In file included from /wrkdirs/usr/ports/graphics/opencv/work/.build/3rdparty/ippicv/ippicv_lnx/iw/src/iw_core.c:63: /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>" #error "<malloc.h> has been replaced by <stdlib.h>" ^ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/opencv