Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2021 21:01:15 GMT
From:      pkg-fallout@FreeBSD.org
To:        yuri@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 130amd64-default][misc/darknet] Failed for darknet-3.20200507_1,1 in build
Message-ID:  <202105202101.14KL1FdM004174@beefy16.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     yuri@FreeBSD.org
Log URL:        http://beefy16.nyi.freebsd.org/data/130amd64-default/b093791110cc/logs/darknet-3.20200507_1,1.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=130amd64-default&build=b093791110cc
Log:

=>> Building misc/darknet
build started at Thu May 20 21:00:03 UTC 2021
port directory: /usr/ports/misc/darknet
package name: darknet-3.20200507_1,1
building for: FreeBSD 130amd64-default-job-15 13.0-RELEASE FreeBSD 13.0-RELEASE amd64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 15

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE
UNAME_r=13.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130amd64-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 darknet-3.20200507_1,1:
     AVX=off: Use AVX instructions
     OPENCV=on: Computer Vision support via OpenCV
     SSE2=on: Use SSE2 instructions
     SSE3=off: Use SSE3 instructions
     SSE4=off: Use SSE4 instructions
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/misc/darknet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/darknet/work  HOME=/wrkdirs/usr/ports/misc/darknet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/darknet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/misc/darknet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/darknet/work  HOME=/wrkdirs/usr/ports/misc/darknet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/darknet/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/misc/darknet/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/darknet"  EXAMPLESDIR="share/examples/darknet"  DATADIR="share/darknet"  WWWDIR="www/darknet"  ETCDIR="etc/darknet"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/darknet DOCSDIR=/usr/local/share/doc/darknet EXAMPLESDIR=/usr/local/share/examples/darknet  WWWDIR=/usr/local/www/darknet ETCDIR=/usr/local/etc/darknet
--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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE
OSREL=13.0
OSVERSION=1300139
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 PD accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   darknet-3.20200507_1,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130amd64-default-job-15] Installing pkg-1.16.3...
[130amd64-default-job-15] Extracting pkg-1.16.3: .......... done
===>   darknet-3.20200507_1,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of darknet-3.20200507_1,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PD accepted by the user
===> Fetching all distfiles required by darknet-3.20200507_1,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PD accepted by the user
===> Fetching all distfiles required by darknet-3.20200507_1,1 for building
=> SHA256 Checksum OK for AlexeyAB-darknet-3.20200507-1f60ca57ad90f34a0559783656fa1ba98c61bb6d_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PD accepted by the user
===> Fetching all distfiles required by darknet-3.20200507_1,1 for building
===>  Extracting for darknet-3.20200507_1,1
=> SHA256 Checksum OK for AlexeyAB-darknet-3.20200507-1f60ca57ad90f34a0559783656fa1ba98c61bb6d_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for darknet-3.20200507_1,1
===>  Applying FreeBSD patches for darknet-3.20200507_1,1 from /usr/ports/misc/darknet/files
===========================================================================
=======================<phase: build-depends  >============================
===>   darknet-3.20200507_1,1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.20.2.txz
[130amd64-default-job-15] Installing cmake-3.20.2...
[130amd64-default-job-15] `-- Installing curl-7.76.1...
[130amd64-default-job-15] |   `-- Installing ca_root_nss-3.63...
[130amd64-default-job-15] |   `-- Extracting ca_root_nss-3.63: ........ done
[130amd64-default-job-15] |   `-- Installing libnghttp2-1.43.0...
[130amd64-default-job-15] |   `-- Extracting libnghttp2-1.43.0: .......... done
[130amd64-default-job-15] `-- Extracting curl-7.76.1: .......... done
[130amd64-default-job-15] `-- Installing expat-2.3.0...
<snip>
1 warning generated.
[  9% 14/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/col2im.c.o -MF CMakeFiles/darknet.dir/src/col2im.c.o.d -o CMakeFiles/darknet.dir/src/col2im.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/col2im.c
[ 10% 15/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/compare.c.o -MF CMakeFiles/darknet.dir/src/compare.c.o.d -o CMakeFiles/darknet.dir/src/compare.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/compare.c
[ 11% 16/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/connected_layer.c.o -MF CMakeFiles/darknet.dir/src/connected_layer.c.o.d -o CMakeFiles/darknet.dir/src/connected_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/connected_layer.c
[ 11% 17/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o -MF CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o.d -o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/conv_lstm_layer.c
[ 12% 18/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/convolutional_layer.c.o -MF CMakeFiles/darknet.dir/src/convolutional_layer.c.o.d -o CMakeFiles/darknet.dir/src/convolutional_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/convolutional_layer.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/convolutional_layer.c:760:9: warning: unused variable 'old_h' [-Wunused-variable]
    int old_h = l->h;
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/convolutional_layer.c:759:9: warning: unused variable 'old_w' [-Wunused-variable]
    int old_w = l->w;
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/convolutional_layer.c:1204:32: warning: unused variable 't_intput_size' [-Wunused-variable]
                        size_t t_intput_size = binary_transpose_align_input(k, n, state.workspace, &l.t_bit_input, ldb_align, l.bit_align);
                               ^
3 warnings generated.
[ 13% 19/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/cost_layer.c.o -MF CMakeFiles/darknet.dir/src/cost_layer.c.o.d -o CMakeFiles/darknet.dir/src/cost_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/cost_layer.c
[ 13% 20/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/cpu_gemm.c.o -MF CMakeFiles/darknet.dir/src/cpu_gemm.c.o.d -o CMakeFiles/darknet.dir/src/cpu_gemm.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/cpu_gemm.c
[ 14% 21/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/crnn_layer.c.o -MF CMakeFiles/darknet.dir/src/crnn_layer.c.o.d -o CMakeFiles/darknet.dir/src/crnn_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/crnn_layer.c
[ 15% 22/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/crop_layer.c.o -MF CMakeFiles/darknet.dir/src/crop_layer.c.o.d -o CMakeFiles/darknet.dir/src/crop_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/crop_layer.c
[ 15% 23/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/dark_cuda.c.o -MF CMakeFiles/darknet.dir/src/dark_cuda.c.o.d -o CMakeFiles/darknet.dir/src/dark_cuda.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/dark_cuda.c
[ 16% 24/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/data.c.o -MF CMakeFiles/darknet.dir/src/data.c.o.d -o CMakeFiles/darknet.dir/src/data.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/data.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/data.c:1134:24: warning: unused variable 'x' [-Wunused-variable]
                int k, x, y;
                       ^
1 warning generated.
[ 17% 25/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o -MF CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o.d -o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/deconvolutional_layer.c
[ 18% 26/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/demo.c.o -MF CMakeFiles/darknet.dir/src/demo.c.o.d -o CMakeFiles/darknet.dir/src/demo.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/demo.c
[ 18% 27/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/detection_layer.c.o -MF CMakeFiles/darknet.dir/src/detection_layer.c.o.d -o CMakeFiles/darknet.dir/src/detection_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detection_layer.c
[ 19% 28/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/detector.c.o -MF CMakeFiles/darknet.dir/src/detector.c.o.d -o CMakeFiles/darknet.dir/src/detector.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:453:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                fprintf(fp, buff);
                            ^~~~
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:453:29: note: treat the string as an argument to avoid this
                fprintf(fp, buff);
                            ^
                            "%s", 
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:546:26: warning: expression result unused [-Wunused-value]
                    for (k; buf[k + n] != '\0'; k++)
                         ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:657:13: warning: unused variable 'mkd' [-Wunused-variable]
        int mkd = make_directory(buff, 0777);
            ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:659:13: warning: unused variable 'mkd2' [-Wunused-variable]
        int mkd2 = make_directory(buff2, 0777);
            ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:1277:15: warning: unused variable 'class_precision' [-Wunused-variable]
        float class_precision = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)fp_for_thresh_per_class[i]);
              ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:1278:15: warning: unused variable 'class_recall' [-Wunused-variable]
        float class_recall = (float)tp_for_thresh_per_class[i] / ((float)tp_for_thresh_per_class[i] + (float)(truth_classes_count[i] - tp_for_thresh_per_class[i]));
              ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/detector.c:419:12: warning: unused function 'get_coco_image_id' [-Wunused-function]
static int get_coco_image_id(char *filename)
           ^
7 warnings generated.
[ 20% 29/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/dice.c.o -MF CMakeFiles/darknet.dir/src/dice.c.o.d -o CMakeFiles/darknet.dir/src/dice.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/dice.c
[ 20% 30/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/dropout_layer.c.o -MF CMakeFiles/darknet.dir/src/dropout_layer.c.o.d -o CMakeFiles/darknet.dir/src/dropout_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/dropout_layer.c
[ 21% 31/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o -MF CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o.d -o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gaussian_yolo_layer.c
[ 22% 32/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/gemm.c.o -MF CMakeFiles/darknet.dir/src/gemm.c.o.d -o CMakeFiles/darknet.dir/src/gemm.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:54:30: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
        m[i] = (float)rand()/RAND_MAX;
                            ~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX        0x7fffffff
                        ^~~~~~~~~~
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:2037:15: warning: unused variable 'out_h' [-Wunused-variable]
    const int out_h = (h + 2 * pad - ksize) / stride + 1;    // output_height=input_height for stride=1 and pad=1
              ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:2038:15: warning: unused variable 'out_w' [-Wunused-variable]
    const int out_w = (w + 2 * pad - ksize) / stride + 1;    // output_width=input_width for stride=1 and pad=1
              ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:99:29: warning: unused function 'xnor' [-Wunused-function]
static inline unsigned char xnor(unsigned char a, unsigned char b) {
                            ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:105:24: warning: unused function 'get_bit_int32' [-Wunused-function]
static inline uint32_t get_bit_int32(uint32_t const*const src, size_t index) {
                       ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:112:24: warning: unused function 'xnor_int32' [-Wunused-function]
static inline uint32_t xnor_int32(uint32_t a, uint32_t b) {
                       ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:121:24: warning: unused function 'fill_bit_int32' [-Wunused-function]
static inline uint32_t fill_bit_int32(char src) {
                       ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:126:24: warning: unused function 'fill_bit_int64' [-Wunused-function]
static inline uint64_t fill_bit_int64(char src) {
                       ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gemm.c:2396:20: warning: unused function 'transpose_scalar_block' [-Wunused-function]
static inline void transpose_scalar_block(float *A, float *B, const int lda, const int ldb, const int block_size)
                   ^
9 warnings generated.
[ 22% 33/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/go.c.o -MF CMakeFiles/darknet.dir/src/go.c.o.d -o CMakeFiles/darknet.dir/src/go.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/go.c
[ 23% 34/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/gru_layer.c.o -MF CMakeFiles/darknet.dir/src/gru_layer.c.o.d -o CMakeFiles/darknet.dir/src/gru_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/gru_layer.c
[ 24% 35/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/im2col.c.o -MF CMakeFiles/darknet.dir/src/im2col.c.o.d -o CMakeFiles/darknet.dir/src/im2col.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/im2col.c
[ 25% 36/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/image.c.o -MF CMakeFiles/darknet.dir/src/image.c.o.d -o CMakeFiles/darknet.dir/src/image.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image.c
[ 25% 37/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/layer.c.o -MF CMakeFiles/darknet.dir/src/layer.c.o.d -o CMakeFiles/darknet.dir/src/layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/layer.c
[ 26% 38/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/list.c.o -MF CMakeFiles/darknet.dir/src/list.c.o.d -o CMakeFiles/darknet.dir/src/list.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/list.c
[ 27% 39/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/local_layer.c.o -MF CMakeFiles/darknet.dir/src/local_layer.c.o.d -o CMakeFiles/darknet.dir/src/local_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/local_layer.c
[ 27% 40/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/lstm_layer.c.o -MF CMakeFiles/darknet.dir/src/lstm_layer.c.o.d -o CMakeFiles/darknet.dir/src/lstm_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/lstm_layer.c
[ 28% 41/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/matrix.c.o -MF CMakeFiles/darknet.dir/src/matrix.c.o.d -o CMakeFiles/darknet.dir/src/matrix.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/matrix.c
[ 29% 42/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/maxpool_layer.c.o -MF CMakeFiles/darknet.dir/src/maxpool_layer.c.o.d -o CMakeFiles/darknet.dir/src/maxpool_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/maxpool_layer.c
[ 29% 43/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/network.c.o -MF CMakeFiles/darknet.dir/src/network.c.o.d -o CMakeFiles/darknet.dir/src/network.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/network.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/network.c:1172:14: warning: unused function 'relu' [-Wunused-function]
static float relu(float src) {
             ^
1 warning generated.
[ 30% 44/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/nightmare.c.o -MF CMakeFiles/darknet.dir/src/nightmare.c.o.d -o CMakeFiles/darknet.dir/src/nightmare.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/nightmare.c
[ 31% 45/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/normalization_layer.c.o -MF CMakeFiles/darknet.dir/src/normalization_layer.c.o.d -o CMakeFiles/darknet.dir/src/normalization_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/normalization_layer.c
[ 31% 46/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/option_list.c.o -MF CMakeFiles/darknet.dir/src/option_list.c.o.d -o CMakeFiles/darknet.dir/src/option_list.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/option_list.c
[ 32% 47/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/parser.c.o -MF CMakeFiles/darknet.dir/src/parser.c.o.d -o CMakeFiles/darknet.dir/src/parser.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/parser.c
[ 33% 48/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/region_layer.c.o -MF CMakeFiles/darknet.dir/src/region_layer.c.o.d -o CMakeFiles/darknet.dir/src/region_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/region_layer.c
[ 34% 49/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/reorg_layer.c.o -MF CMakeFiles/darknet.dir/src/reorg_layer.c.o.d -o CMakeFiles/darknet.dir/src/reorg_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/reorg_layer.c
[ 34% 50/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/reorg_old_layer.c.o -MF CMakeFiles/darknet.dir/src/reorg_old_layer.c.o.d -o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/reorg_old_layer.c
[ 35% 51/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/rnn.c.o -MF CMakeFiles/darknet.dir/src/rnn.c.o.d -o CMakeFiles/darknet.dir/src/rnn.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/rnn.c
[ 36% 52/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/rnn_layer.c.o -MF CMakeFiles/darknet.dir/src/rnn_layer.c.o.d -o CMakeFiles/darknet.dir/src/rnn_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/rnn_layer.c
[ 36% 53/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/rnn_vid.c.o -MF CMakeFiles/darknet.dir/src/rnn_vid.c.o.d -o CMakeFiles/darknet.dir/src/rnn_vid.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/rnn_vid.c
[ 37% 54/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/route_layer.c.o -MF CMakeFiles/darknet.dir/src/route_layer.c.o.d -o CMakeFiles/darknet.dir/src/route_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/route_layer.c
[ 38% 55/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/sam_layer.c.o -MF CMakeFiles/darknet.dir/src/sam_layer.c.o.d -o CMakeFiles/darknet.dir/src/sam_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/sam_layer.c
[ 38% 56/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/scale_channels_layer.c.o -MF CMakeFiles/darknet.dir/src/scale_channels_layer.c.o.d -o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/scale_channels_layer.c
[ 39% 57/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/shortcut_layer.c.o -MF CMakeFiles/darknet.dir/src/shortcut_layer.c.o.d -o CMakeFiles/darknet.dir/src/shortcut_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/shortcut_layer.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/shortcut_layer.c:55:15: warning: unused variable 'scale' [-Wunused-variable]
        float scale = sqrt(2. / l.nweights);
              ^
1 warning generated.
[ 40% 58/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/softmax_layer.c.o -MF CMakeFiles/darknet.dir/src/softmax_layer.c.o.d -o CMakeFiles/darknet.dir/src/softmax_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/softmax_layer.c
[ 40% 59/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/super.c.o -MF CMakeFiles/darknet.dir/src/super.c.o.d -o CMakeFiles/darknet.dir/src/super.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/super.c
[ 41% 60/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/swag.c.o -MF CMakeFiles/darknet.dir/src/swag.c.o.d -o CMakeFiles/darknet.dir/src/swag.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/swag.c
[ 42% 61/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/tag.c.o -MF CMakeFiles/darknet.dir/src/tag.c.o.d -o CMakeFiles/darknet.dir/src/tag.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/tag.c
[ 43% 62/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/tree.c.o -MF CMakeFiles/darknet.dir/src/tree.c.o.d -o CMakeFiles/darknet.dir/src/tree.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/tree.c
[ 43% 63/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/upsample_layer.c.o -MF CMakeFiles/darknet.dir/src/upsample_layer.c.o.d -o CMakeFiles/darknet.dir/src/upsample_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/upsample_layer.c
[ 44% 64/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/utils.c.o -MF CMakeFiles/darknet.dir/src/utils.c.o.d -o CMakeFiles/darknet.dir/src/utils.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/utils.c
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/utils.c:831:33: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
        return ((float)rand() / RAND_MAX * (max - min)) + min;
                              ~ ^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX        0x7fffffff
                        ^~~~~~~~~~
1 warning generated.
[ 45% 65/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/voxel.c.o -MF CMakeFiles/darknet.dir/src/voxel.c.o.d -o CMakeFiles/darknet.dir/src/voxel.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/voxel.c
[ 45% 66/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/writing.c.o -MF CMakeFiles/darknet.dir/src/writing.c.o.d -o CMakeFiles/darknet.dir/src/writing.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/writing.c
[ 46% 67/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/yolo.c.o -MF CMakeFiles/darknet.dir/src/yolo.c.o.d -o CMakeFiles/darknet.dir/src/yolo.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/yolo.c
[ 47% 68/144] /usr/bin/cc -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -MD -MT CMakeFiles/darknet.dir/src/yolo_layer.c.o -MF CMakeFiles/darknet.dir/src/yolo_layer.c.o.d -o CMakeFiles/darknet.dir/src/yolo_layer.c.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/yolo_layer.c
[ 47% 69/144] /usr/bin/c++ -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -std=gnu++11 -MD -MT CMakeFiles/darknet.dir/src/http_stream.cpp.o -MF CMakeFiles/darknet.dir/src/http_stream.cpp.o.d -o CMakeFiles/darknet.dir/src/http_stream.cpp.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/http_stream.cpp
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/http_stream.cpp:249:21: warning: unused variable 'n' [-Wunused-variable]
                int n = _write(client, outputbuf, outlen);
                    ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/http_stream.cpp:507:107: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat]
                sprintf(head, "--mjpegstream\r\nContent-Type: image/jpeg\r\nContent-Length: %zu\r\n\r\n", outlen);
                                                                                            ~~~           ^~~~~~
                                                                                            %d
In file included from /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/http_stream.cpp:580:
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/httplib.h:129:9: warning: 'INVALID_SOCKET' macro redefined [-Wmacro-redefined]
#define INVALID_SOCKET (-1)
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/http_stream.cpp:73:9: note: previous definition is here
#define INVALID_SOCKET -1
        ^
3 warnings generated.
[ 48% 70/144] /usr/bin/c++ -DOPENCV -DUSE_CMAKE_LIBS -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/include -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src -I/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/3rdparty/stb/include -isystem /usr/local/include/opencv4 -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fopenmp=libomp -pthread -std=gnu++11 -MD -MT CMakeFiles/darknet.dir/src/image_opencv.cpp.o -MF CMakeFiles/darknet.dir/src/image_opencv.cpp.o.d -o CMakeFiles/darknet.dir/src/image_opencv.cpp.o -c /wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:94:13: warning: 'image_to_mat' has C-linkage specified, but returns user-defined type 'cv::Mat' which is incompatible with C [-Wreturn-type-c-linkage]
    cv::Mat image_to_mat(image img);
            ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:136:9: warning: 'load_image_mat' has C-linkage specified, but returns user-defined type 'cv::Mat' which is incompatible with C [-Wreturn-type-c-linkage]
cv::Mat load_image_mat(char *filename, int channels)
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:1391:14: warning: unused variable 'buff' [-Wunused-variable]
        char buff[100];
             ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:1367:9: warning: unused variable 'it_tb_res' [-Wunused-variable]
    int it_tb_res = cv::createTrackbar(it_trackbar_name, window_name, &it_trackbar_value, 1000);
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:1375:9: warning: unused variable 'cl_tb_res' [-Wunused-variable]
    int cl_tb_res = cv::createTrackbar(cl_trackbar_name, window_name, &cl_trackbar_value, classes-1);
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:1371:9: warning: unused variable 'lr_tb_res' [-Wunused-variable]
    int lr_tb_res = cv::createTrackbar(lr_trackbar_name, window_name, &lr_trackbar_value, 20);
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:1378:9: warning: unused variable 'bo_tb_res' [-Wunused-variable]
    int bo_tb_res = cv::createTrackbar(bo_trackbar_name, window_name, boxonly, 1);
        ^
/wrkdirs/usr/ports/misc/darknet/work/darknet-1f60ca57ad90f34a0559783656fa1ba98c61bb6d/src/image_opencv.cpp:428:14: warning: unused function 'get_pixel' [-Wunused-function]
static float get_pixel(image m, int x, int y, int c)
             ^
8 warnings generated.
[ 49% 71/144] : && /usr/bin/c++ -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fstack-protector-strong     -fopenmp=libomp CMakeFiles/darknet.dir/src/darknet.c.o CMakeFiles/darknet.dir/src/activation_layer.c.o CMakeFiles/darknet.dir/src/activations.c.o CMakeFiles/darknet.dir/src/art.c.o CMakeFiles/darknet.dir/src/avgpool_layer.c.o CMakeFiles/darknet.dir/src/batchnorm_layer.c.o CMakeFiles/darknet.dir/src/blas.c.o CMakeFiles/darknet.dir/src/box.c.o CMakeFiles/darknet.dir/src/captcha.c.o CMakeFiles/darknet.dir/src/cifar.c.o CMakeFiles/darknet.dir/src/classifier.c.o CMakeFiles/darknet.dir/src/coco.c.o CMakeFiles/darknet.dir/src/col2im.c.o CMakeFiles/darknet.dir/src/compare.c.o CMakeFiles/darknet.dir/src/connected_layer.c.o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o CMakeFiles/d
 arknet.dir/src/convolutional_layer.c.o CMakeFiles/darknet.dir/src/cost_layer.c.o CMakeFiles/darknet.dir/src/cpu_gemm.c.o CMakeFiles/darknet.dir/src/crnn_layer.c.o CMakeFiles/darknet.dir/src/crop_layer.c.o CMakeFiles/darknet.dir/src/dark_cuda.c.o CMakeFiles/darknet.dir/src/data.c.o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o CMakeFiles/darknet.dir/src/demo.c.o CMakeFiles/darknet.dir/src/detection_layer.c.o CMakeFiles/darknet.dir/src/detector.c.o CMakeFiles/darknet.dir/src/dice.c.o CMakeFiles/darknet.dir/src/dropout_layer.c.o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o CMakeFiles/darknet.dir/src/gemm.c.o CMakeFiles/darknet.dir/src/go.c.o CMakeFiles/darknet.dir/src/gru_layer.c.o CMakeFiles/darknet.dir/src/im2col.c.o CMakeFiles/darknet.dir/src/image.c.o CMakeFiles/darknet.dir/src/layer.c.o CMakeFiles/darknet.dir/src/list.c.o CMakeFiles/darknet.dir/src/local_layer.c.o CMakeFiles/darknet.dir/src/lstm_layer.c.o CMakeFiles/darknet.dir/src/matrix.c.o CMakeFiles/darknet.dir/sr
 c/maxpool_layer.c.o CMakeFiles/darknet.dir/s!
 rc/network.c.o CMakeFiles/darknet.dir/src/nightmare.c.o CMakeFiles/darknet.dir/src/normalization_layer.c.o CMakeFiles/darknet.dir/src/option_list.c.o CMakeFiles/darknet.dir/src/parser.c.o CMakeFiles/darknet.dir/src/region_layer.c.o CMakeFiles/darknet.dir/src/reorg_layer.c.o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o CMakeFiles/darknet.dir/src/rnn.c.o CMakeFiles/darknet.dir/src/rnn_layer.c.o CMakeFiles/darknet.dir/src/rnn_vid.c.o CMakeFiles/darknet.dir/src/route_layer.c.o CMakeFiles/darknet.dir/src/sam_layer.c.o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o CMakeFiles/darknet.dir/src/shortcut_layer.c.o CMakeFiles/darknet.dir/src/softmax_layer.c.o CMakeFiles/darknet.dir/src/super.c.o CMakeFiles/darknet.dir/src/swag.c.o CMakeFiles/darknet.dir/src/tag.c.o CMakeFiles/darknet.dir/src/tree.c.o CMakeFiles/darknet.dir/src/upsample_layer.c.o CMakeFiles/darknet.dir/src/utils.c.o CMakeFiles/darknet.dir/src/voxel.c.o CMakeFiles/darknet.dir/src/writing.c.o CMakeFiles/darknet.dir/src/yol
 o.c.o CMakeFiles/darknet.dir/src/yolo_layer.c.o CMakeFiles/darknet.dir/src/http_stream.cpp.o CMakeFiles/darknet.dir/src/image_opencv.cpp.o -o darknet  -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libopencv_gapi.so.4.5.1  /usr/local/lib/libopencv_stitching.so.4.5.1  /usr/local/lib/libopencv_alphamat.so.4.5.1  /usr/local/lib/libopencv_aruco.so.4.5.1  /usr/local/lib/libopencv_bgsegm.so.4.5.1  /usr/local/lib/libopencv_bioinspired.so.4.5.1  /usr/local/lib/libopencv_ccalib.so.4.5.1  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.1  /usr/local/lib/libopencv_dnn_superres.so.4.5.1  /usr/local/lib/libopencv_dpm.so.4.5.1  /usr/local/lib/libopencv_face.so.4.5.1  /usr/local/lib/libopencv_freetype.so.4.5.1  /usr/local/lib/libopencv_fuzzy.so.4.5.1  /usr/local/lib/libopencv_hdf.so.4.5.1  /usr/local/lib/libopencv_hfs.so.4.5.1  /usr/local/lib/libopencv_img_hash.so.4.5.1  /usr/local/lib/libopencv_intensity_transform.so.4.5.1  /usr/local/lib/libopencv_line_descriptor.so.4.5.1  /usr/local/lib/libopencv_mcc
 .so.4.5.1  /usr/local/lib/libopencv_quality.!
 so.4.5.1 !
  /usr/local/lib/libopencv_rapid.so.4.5.1  /usr/local/lib/libopencv_reg.so.4.5.1  /usr/local/lib/libopencv_rgbd.so.4.5.1  /usr/local/lib/libopencv_saliency.so.4.5.1  /usr/local/lib/libopencv_sfm.so.4.5.1  /usr/local/lib/libopencv_stereo.so.4.5.1  /usr/local/lib/libopencv_structured_light.so.4.5.1  /usr/local/lib/libopencv_superres.so.4.5.1  /usr/local/lib/libopencv_surface_matching.so.4.5.1  /usr/local/lib/libopencv_tracking.so.4.5.1  /usr/local/lib/libopencv_videostab.so.4.5.1  /usr/local/lib/libopencv_xfeatures2d.so.4.5.1  /usr/local/lib/libopencv_xobjdetect.so.4.5.1  /usr/local/lib/libopencv_xphoto.so.4.5.1  /usr/local/lib/libopencv_shape.so.4.5.1  /usr/local/lib/libopencv_highgui.so.4.5.1  /usr/local/lib/libopencv_datasets.so.4.5.1  /usr/local/lib/libopencv_plot.so.4.5.1  /usr/local/lib/libopencv_text.so.4.5.1  /usr/local/lib/libopencv_ml.so.4.5.1  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.1  /usr/local/lib/libopencv_optflow.so.4.5.1  /usr/local/lib/libopencv_ximgproc.so.4
 .5.1  /usr/local/lib/libopencv_video.so.4.5.1  /usr/local/lib/libopencv_dnn.so.4.5.1  /usr/local/lib/libopencv_videoio.so.4.5.1  /usr/local/lib/libopencv_imgcodecs.so.4.5.1  /usr/local/lib/libopencv_objdetect.so.4.5.1  /usr/local/lib/libopencv_calib3d.so.4.5.1  /usr/local/lib/libopencv_features2d.so.4.5.1  /usr/local/lib/libopencv_flann.so.4.5.1  /usr/local/lib/libopencv_photo.so.4.5.1  /usr/local/lib/libopencv_imgproc.so.4.5.1  /usr/local/lib/libopencv_core.so.4.5.1  /usr/lib/libomp.so  -pthread && :
FAILED: darknet 
: && /usr/bin/c++ -Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -Wno-deprecated-declarations -Wno-write-strings -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -ffp-contract=fast -msse2 -fstack-protector-strong     -fopenmp=libomp CMakeFiles/darknet.dir/src/darknet.c.o CMakeFiles/darknet.dir/src/activation_layer.c.o CMakeFiles/darknet.dir/src/activations.c.o CMakeFiles/darknet.dir/src/art.c.o CMakeFiles/darknet.dir/src/avgpool_layer.c.o CMakeFiles/darknet.dir/src/batchnorm_layer.c.o CMakeFiles/darknet.dir/src/blas.c.o CMakeFiles/darknet.dir/src/box.c.o CMakeFiles/darknet.dir/src/captcha.c.o CMakeFiles/darknet.dir/src/cifar.c.o CMakeFiles/darknet.dir/src/classifier.c.o CMakeFiles/darknet.dir/src/coco.c.o CMakeFiles/darknet.dir/src/col2im.c.o CMakeFiles/darknet.dir/src/compare.c.o CMakeFiles/darknet.dir/src/connected_layer.c.o CMakeFiles/darknet.dir/src/conv_lstm_layer.c.o CMakeFiles/darknet.dir/src
 /convolutional_layer.c.o CMakeFiles/darknet.dir/src/cost_layer.c.o CMakeFiles/darknet.dir/src/cpu_gemm.c.o CMakeFiles/darknet.dir/src/crnn_layer.c.o CMakeFiles/darknet.dir/src/crop_layer.c.o CMakeFiles/darknet.dir/src/dark_cuda.c.o CMakeFiles/darknet.dir/src/data.c.o CMakeFiles/darknet.dir/src/deconvolutional_layer.c.o CMakeFiles/darknet.dir/src/demo.c.o CMakeFiles/darknet.dir/src/detection_layer.c.o CMakeFiles/darknet.dir/src/detector.c.o CMakeFiles/darknet.dir/src/dice.c.o CMakeFiles/darknet.dir/src/dropout_layer.c.o CMakeFiles/darknet.dir/src/gaussian_yolo_layer.c.o CMakeFiles/darknet.dir/src/gemm.c.o CMakeFiles/darknet.dir/src/go.c.o CMakeFiles/darknet.dir/src/gru_layer.c.o CMakeFiles/darknet.dir/src/im2col.c.o CMakeFiles/darknet.dir/src/image.c.o CMakeFiles/darknet.dir/src/layer.c.o CMakeFiles/darknet.dir/src/list.c.o CMakeFiles/darknet.dir/src/local_layer.c.o CMakeFiles/darknet.dir/src/lstm_layer.c.o CMakeFiles/darknet.dir/src/matrix.c.o CMakeFiles/darknet.dir/src/maxpool_laye
 r.c.o CMakeFiles/darknet.dir/src/network.c.o!
  CMakeFiles/darknet.dir/src/nightmare.c.o CMakeFiles/darknet.dir/src/normalization_layer.c.o CMakeFiles/darknet.dir/src/option_list.c.o CMakeFiles/darknet.dir/src/parser.c.o CMakeFiles/darknet.dir/src/region_layer.c.o CMakeFiles/darknet.dir/src/reorg_layer.c.o CMakeFiles/darknet.dir/src/reorg_old_layer.c.o CMakeFiles/darknet.dir/src/rnn.c.o CMakeFiles/darknet.dir/src/rnn_layer.c.o CMakeFiles/darknet.dir/src/rnn_vid.c.o CMakeFiles/darknet.dir/src/route_layer.c.o CMakeFiles/darknet.dir/src/sam_layer.c.o CMakeFiles/darknet.dir/src/scale_channels_layer.c.o CMakeFiles/darknet.dir/src/shortcut_layer.c.o CMakeFiles/darknet.dir/src/softmax_layer.c.o CMakeFiles/darknet.dir/src/super.c.o CMakeFiles/darknet.dir/src/swag.c.o CMakeFiles/darknet.dir/src/tag.c.o CMakeFiles/darknet.dir/src/tree.c.o CMakeFiles/darknet.dir/src/upsample_layer.c.o CMakeFiles/darknet.dir/src/utils.c.o CMakeFiles/darknet.dir/src/voxel.c.o CMakeFiles/darknet.dir/src/writing.c.o CMakeFiles/darknet.dir/src/yolo.c.o CMakeFil
 es/darknet.dir/src/yolo_layer.c.o CMakeFiles/darknet.dir/src/http_stream.cpp.o CMakeFiles/darknet.dir/src/image_opencv.cpp.o -o darknet  -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libopencv_gapi.so.4.5.1  /usr/local/lib/libopencv_stitching.so.4.5.1  /usr/local/lib/libopencv_alphamat.so.4.5.1  /usr/local/lib/libopencv_aruco.so.4.5.1  /usr/local/lib/libopencv_bgsegm.so.4.5.1  /usr/local/lib/libopencv_bioinspired.so.4.5.1  /usr/local/lib/libopencv_ccalib.so.4.5.1  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.1  /usr/local/lib/libopencv_dnn_superres.so.4.5.1  /usr/local/lib/libopencv_dpm.so.4.5.1  /usr/local/lib/libopencv_face.so.4.5.1  /usr/local/lib/libopencv_freetype.so.4.5.1  /usr/local/lib/libopencv_fuzzy.so.4.5.1  /usr/local/lib/libopencv_hdf.so.4.5.1  /usr/local/lib/libopencv_hfs.so.4.5.1  /usr/local/lib/libopencv_img_hash.so.4.5.1  /usr/local/lib/libopencv_intensity_transform.so.4.5.1  /usr/local/lib/libopencv_line_descriptor.so.4.5.1  /usr/local/lib/libopencv_mcc.so.4.5.1  /us
 r/local/lib/libopencv_quality.so.4.5.1  /usr!
 /local/li!
 b/libopencv_rapid.so.4.5.1  /usr/local/lib/libopencv_reg.so.4.5.1  /usr/local/lib/libopencv_rgbd.so.4.5.1  /usr/local/lib/libopencv_saliency.so.4.5.1  /usr/local/lib/libopencv_sfm.so.4.5.1  /usr/local/lib/libopencv_stereo.so.4.5.1  /usr/local/lib/libopencv_structured_light.so.4.5.1  /usr/local/lib/libopencv_superres.so.4.5.1  /usr/local/lib/libopencv_surface_matching.so.4.5.1  /usr/local/lib/libopencv_tracking.so.4.5.1  /usr/local/lib/libopencv_videostab.so.4.5.1  /usr/local/lib/libopencv_xfeatures2d.so.4.5.1  /usr/local/lib/libopencv_xobjdetect.so.4.5.1  /usr/local/lib/libopencv_xphoto.so.4.5.1  /usr/local/lib/libopencv_shape.so.4.5.1  /usr/local/lib/libopencv_highgui.so.4.5.1  /usr/local/lib/libopencv_datasets.so.4.5.1  /usr/local/lib/libopencv_plot.so.4.5.1  /usr/local/lib/libopencv_text.so.4.5.1  /usr/local/lib/libopencv_ml.so.4.5.1  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.1  /usr/local/lib/libopencv_optflow.so.4.5.1  /usr/local/lib/libopencv_ximgproc.so.4.5.1  /usr/loc
 al/lib/libopencv_video.so.4.5.1  /usr/local/lib/libopencv_dnn.so.4.5.1  /usr/local/lib/libopencv_videoio.so.4.5.1  /usr/local/lib/libopencv_imgcodecs.so.4.5.1  /usr/local/lib/libopencv_objdetect.so.4.5.1  /usr/local/lib/libopencv_calib3d.so.4.5.1  /usr/local/lib/libopencv_features2d.so.4.5.1  /usr/local/lib/libopencv_flann.so.4.5.1  /usr/local/lib/libopencv_photo.so.4.5.1  /usr/local/lib/libopencv_imgproc.so.4.5.1  /usr/local/lib/libopencv_core.so.4.5.1  /usr/lib/libomp.so  -pthread && :
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::LogMessage::stream() [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::LogMessage::LogMessage(char const*, int) [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::LogMessage::~LogMessage() [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to fLI::FLAGS_v [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::InitVLOG3__(int**, int*, char const*, int) [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::LogMessageFatal::LogMessageFatal(char const*, int) [--no-allow-shlib-undefined]
ld: error: /usr/local/lib/libopencv_sfm.so.4.5.1: undefined reference to google::LogMessageFatal::~LogMessageFatal() [--no-allow-shlib-undefined]
c++: fatal error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/darknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105202101.14KL1FdM004174>