[package - main-i386-default][graphics/cimg] Failed for cimg-3.1.4_1,3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 01 Sep 2022 08:53:00 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:     thierry@FreeBSD.org
Log URL:        http://beefy17.nyi.freebsd.org/data/main-i386-default/p1774365e01b3_sf46bea05fe/logs/cimg-3.1.4_1,3.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p1774365e01b3_sf46bea05fe
Log:

=>> Building graphics/cimg
build started at Thu Sep  1 08:51:12 UTC 2022
port directory: /usr/ports/graphics/cimg
package name: cimg-3.1.4_1,3
building for: FreeBSD main-i386-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400066 i386
maintained by: thierry@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1400066
Job Id: 13




!!! Jail is newer than host. (Jail: 1400066, Host: 1400063) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400066
UNAME_v=FreeBSD 14.0-CURRENT 1400066
UNAME_r=14.0-CURRENT
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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 cimg-3.1.4_1,3:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
thierry@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/cimg/work/.cache  HOME=/wrkdirs/usr/ports/graphics/cimg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/cimg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/cimg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/cimg/work/.cache  HOME=/wrkdirs/usr/ports/graphics/cimg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/cimg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/cimg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/
 readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include/Imath -I/usr/local/include/OpenEXR -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/Imath -I/usr/local/include/OpenEXR -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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cimg"  EXAMPLESDIR="share/examples/cimg"  DATADIR="share/cimg"  WWWDIR="www/cimg"  ETCDIR="etc/cimg"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cimg DOCSDIR=/usr/local/share/doc/cimg EXAMPLESDIR=/usr/local/share/examples/cimg  WWWDIR=/usr/local/www/cimg ETCDIR=/usr/local/etc/cimg
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.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" "-m" "elf_i386_fbsd" "-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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400066
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 CeCILL_C CeCILL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cimg-3.1.4_1,3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[main-i386-default-job-13] Installing pkg-1.18.4...
[main-i386-default-job-13] Extracting pkg-1.18.4: .......... done
===>   cimg-3.1.4_1,3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cimg-3.1.4_1,3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-3.1.4_1,3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-3.1.4_1,3 for building
=> SHA256 Checksum OK for dtschump-CImg-v.3.1.4_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-3.1.4_1,3 for building
===>  Extracting for cimg-3.1.4_1,3
=> SHA256 Checksum OK for dtschump-CImg-v.3.1.4_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cimg-3.1.4_1,3
===>  Applying FreeBSD patches for cimg-3.1.4_1,3 from /usr/ports/graphics/cimg/files
===========================================================================
=======================<phase: build-depends  >============================
<snip>
[main-i386-default-job-13] `-- Extracting libdc1394-2.2.6: .......... done
[main-i386-default-job-13] `-- Installing libgphoto2-2.5.26_2...
[main-i386-default-job-13] |   `-- Installing libexif-0.6.24...
[main-i386-default-job-13] |   `-- Extracting libexif-0.6.24: .......... done
[main-i386-default-job-13] `-- Extracting libgphoto2-2.5.26_2: .......... done
[main-i386-default-job-13] `-- Installing openblas-0.3.20,1...
[main-i386-default-job-13] `-- Extracting openblas-0.3.20,1: .......... done
[main-i386-default-job-13] `-- Installing opencl-3.0.8...
[main-i386-default-job-13] `-- Extracting opencl-3.0.8: .......... done
[main-i386-default-job-13] `-- Installing protobuf-3.20.1,1...
[main-i386-default-job-13] `-- Extracting protobuf-3.20.1,1: .......... done
[main-i386-default-job-13] `-- Installing py39-numpy-1.23.1,1...
[main-i386-default-job-13] |   `-- Installing py39-setuptools-63.1.0...
[main-i386-default-job-13] |   `-- Extracting py39-setuptools-63.1.0: .......... done
[main-i386-default-job-13] |   `-- Installing suitesparse-umfpack-5.7.9...
[main-i386-default-job-13] |   | `-- Installing metis-5.1.0_9...
[main-i386-default-job-13] |   | `-- Extracting metis-5.1.0_9: .......... done
[main-i386-default-job-13] |   | `-- Installing suitesparse-amd-2.4.6...
[main-i386-default-job-13] |   |   `-- Installing suitesparse-config-5.12.0...
[main-i386-default-job-13] |   |   `-- Extracting suitesparse-config-5.12.0: ......... done
[main-i386-default-job-13] |   | `-- Extracting suitesparse-amd-2.4.6: .......... done
[main-i386-default-job-13] |   | `-- Installing suitesparse-camd-2.4.6...
[main-i386-default-job-13] |   | `-- Extracting suitesparse-camd-2.4.6: ......... done
[main-i386-default-job-13] |   | `-- Installing suitesparse-ccolamd-2.9.6...
[main-i386-default-job-13] |   | `-- Extracting suitesparse-ccolamd-2.9.6: ........ done
[main-i386-default-job-13] |   | `-- Installing suitesparse-cholmod-3.0.14...
[main-i386-default-job-13] |   |   `-- Installing suitesparse-colamd-2.9.6...
[main-i386-default-job-13] |   |   `-- Extracting suitesparse-colamd-2.9.6: ........ done
[main-i386-default-job-13] |   | `-- Extracting suitesparse-cholmod-3.0.14: .......... done
[main-i386-default-job-13] |   `-- Extracting suitesparse-umfpack-5.7.9: .......... done
[main-i386-default-job-13] `-- Extracting py39-numpy-1.23.1,1: .......... done
[main-i386-default-job-13] Extracting opencv-4.6.0: .......... done
=====
Message from boost-libs-1.80.0:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
=====
Message from postgresql13-client-13.8:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk 
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg2
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
=====
Message from opencl-3.0.8:

--
OpenCL is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors.
=====
Message from metis-5.1.0_9:

--
===>   NOTICE:

The metis port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   cimg-3.1.4_1,3 depends on shared library: libopencv_core.so - found (/usr/local/lib/libopencv_core.so)
===>   Returning to build of cimg-3.1.4_1,3
===>   cimg-3.1.4_1,3 depends on shared library: libGraphicsMagick.so - not found
===>   Installing existing package /packages/All/GraphicsMagick-1.3.38_3,1.pkg
[main-i386-default-job-13] Installing GraphicsMagick-1.3.38_3,1...
[main-i386-default-job-13] Extracting GraphicsMagick-1.3.38_3,1: .......... done
===>   cimg-3.1.4_1,3 depends on shared library: libGraphicsMagick.so - found (/usr/local/lib/libGraphicsMagick.so)
===>   Returning to build of cimg-3.1.4_1,3
===>   cimg-3.1.4_1,3 depends on shared library: libavformat.so - not found
===>   Installing existing package /packages/All/ffmpeg-4.4.2_7,1.pkg
[main-i386-default-job-13] Installing ffmpeg-4.4.2_7,1...
[main-i386-default-job-13] `-- Installing lame-3.100_4...
[main-i386-default-job-13] `-- Extracting lame-3.100_4: .......... done
[main-i386-default-job-13] `-- Installing libass-0.16.0...
[main-i386-default-job-13] `-- Extracting libass-0.16.0: .......... done
[main-i386-default-job-13] `-- Installing libva-2.15.0...
[main-i386-default-job-13] `-- Extracting libva-2.15.0: .......... done
[main-i386-default-job-13] `-- Installing libvdpau-1.5...
[main-i386-default-job-13] `-- Extracting libvdpau-1.5: .......... done
[main-i386-default-job-13] `-- Installing libvorbis-1.3.7_2,3...
[main-i386-default-job-13] |   `-- Installing libogg-1.3.5,4...
[main-i386-default-job-13] |   `-- Extracting libogg-1.3.5,4: .......... done
[main-i386-default-job-13] `-- Extracting libvorbis-1.3.7_2,3: .......... done
[main-i386-default-job-13] `-- Installing libvpx-1.12.0...
[main-i386-default-job-13] `-- Extracting libvpx-1.12.0: .......... done
[main-i386-default-job-13] `-- Installing libx264-0.163.3060...
[main-i386-default-job-13] `-- Extracting libx264-0.163.3060: ......... done
[main-i386-default-job-13] `-- Installing opus-1.3.1...
[main-i386-default-job-13] `-- Extracting opus-1.3.1: .......... done
[main-i386-default-job-13] Extracting ffmpeg-4.4.2_7,1: .......... done
===>   cimg-3.1.4_1,3 depends on shared library: libavformat.so - found (/usr/local/lib/libavformat.so)
===>   Returning to build of cimg-3.1.4_1,3
===>   cimg-3.1.4_1,3 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   cimg-3.1.4_1,3 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   cimg-3.1.4_1,3 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cimg-3.1.4_1,3
/usr/bin/sed -i "" -e 's|#FFMPEG_CFLAGS|FFMPEG_CFLAGS|'	 -e 's|#FFMPEG_DEFINE|FFMPEG_DEFINE|'		 -e 's|#FFMPEG_LIBS|FFMPEG_LIBS|'		 /wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples/Makefile
/usr/bin/sed -i "" -e 's|#LAPACK_CFLAGS|LAPACK_CFLAGS|'			 -e 's|#LAPACK_DEFINE|LAPACK_DEFINE|'				 -e 's|#LAPACK_LIBS|LAPACK_LIBS|'				 -e 's|-lblas -llapack|-L/usr/local/lib -lblas -llapack|'	 /wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples/Makefile
/usr/bin/sed -i "" -e 's|make|gmake|' /wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples/Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for cimg-3.1.4_1,3
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples'
gmake[2]: Entering directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples'

** Compiling 'CImg_demo (3.1.4)' with 'c++'

c++ -o CImg_demo CImg_demo.cpp -I.. -Wall -Wextra -O2 -pipe  -I/usr/local/include/Imath -I/usr/local/include/OpenEXR -fstack-protector-strong -fno-strict-aliasing  -Dcimg_use_vt100 -Dcimg_display=1 -I/usr/local/include -D_THREAD_SAFE -pthread   -Dcimg_use_xrandr  -Dcimg_use_tiff  -Dcimg_use_heif  -Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_png  -Dcimg_use_jpeg  -Dcimg_use_zlib  -Dcimg_use_curl -Dcimg_use_opencv -I/usr/local/include/opencv4  -I/usr/include/opencv -I/usr/include/opencv4 -Dcimg_use_magick -I/usr/local/include/GraphicsMagick  -Dcimg_use_lapack   -Dcimg_use_fftw3  -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong  -L/usr/local/lib -lX11  -lpthread  -lXrandr -ltiff  -ltiffxx -ltiffxx -lheif -lOpenEXR -lImath -lpng -lz -ljpeg -L/lib -lz  -lcurl -L/usr/local/lib -lopencv_gapi -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_barcode -lopencv_bgsegm -lopencv_bioinspired -lopencv_cca
 lib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_sfm -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_videostab -lopencv_videoio -lopencv_wechat_qrcode -lopencv_xfeatures2d -lopencv_shape -lopencv_ml -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core  -lGraphicsMagick++ -L/usr/local/lib -lGraphicsMagick  -L/usr/local/lib -lblas -llapack  -lfftw3 -lfftw3_threads

** Compiling 'captcha (3.1.4)' with 'c++'

c++ -o captcha captcha.cpp -I.. -Wall -Wextra -O2 -pipe  -I/usr/local/include/Imath -I/usr/local/include/OpenEXR -fstack-protector-strong -fno-strict-aliasing  -Dcimg_use_vt100 -Dcimg_display=1 -I/usr/local/include -D_THREAD_SAFE -pthread   -Dcimg_use_xrandr  -Dcimg_use_tiff  -Dcimg_use_heif  -Dcimg_use_openexr -I/usr/local/include/OpenEXR -Dcimg_use_png  -Dcimg_use_jpeg  -Dcimg_use_zlib  -Dcimg_use_curl -Dcimg_use_opencv -I/usr/local/include/opencv4  -I/usr/include/opencv -I/usr/include/opencv4 -Dcimg_use_magick -I/usr/local/include/GraphicsMagick  -Dcimg_use_lapack   -Dcimg_use_fftw3  -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong  -L/usr/local/lib -lX11  -lpthread  -lXrandr -ltiff  -ltiffxx -ltiffxx -lheif -lOpenEXR -lImath -lpng -lz -ljpeg -L/lib -lz  -lcurl -L/usr/local/lib -lopencv_gapi -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_barcode -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib 
 -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_sfm -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_videostab -lopencv_videoio -lopencv_wechat_qrcode -lopencv_xfeatures2d -lopencv_shape -lopencv_ml -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core  -lGraphicsMagick++ -L/usr/local/lib -lGraphicsMagick  -L/usr/local/lib -lblas -llapack  -lfftw3 -lfftw3_threads
In file included from captcha.cpp:47:
In file included from ../CImg.h:610:
In file included from /usr/local/include/OpenEXR/ImfRgbaFile.h:23:
In file included from /usr/local/include/OpenEXR/ImfHeader.h:26:
/usr/local/include/OpenEXR/ImfAttribute.h:288:41: warning: unused parameter 'version' [-Wunused-parameter]
                                    int version) const
                                        ^
/usr/local/include/OpenEXR/ImfAttribute.h:297:42: warning: unused parameter 'size' [-Wunused-parameter]
                                     int size,
                                         ^
/usr/local/include/OpenEXR/ImfAttribute.h:298:42: warning: unused parameter 'version' [-Wunused-parameter]
                                     int version)
                                         ^
In file included from CImg_demo.cpp:48:
In file included from ../CImg.h:610:
In file included from /usr/local/include/OpenEXR/ImfRgbaFile.h:23:
In file included from /usr/local/include/OpenEXR/ImfHeader.h:26:
/usr/local/include/OpenEXR/ImfAttribute.h:288:41: warning: unused parameter 'version' [-Wunused-parameter]
                                    int version) const
                                        ^
/usr/local/include/OpenEXR/ImfAttribute.h:297:42: warning: unused parameter 'size' [-Wunused-parameter]
                                     int size,
                                         ^
/usr/local/include/OpenEXR/ImfAttribute.h:298:42: warning: unused parameter 'version' [-Wunused-parameter]
                                     int version)
                                         ^
3 warnings generated.
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::FeatureList::Save(boost::intrusive_ptr<kmldom::Container>) const'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::AtomUtil::CreateBasicLink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::FeatureList::RegionSplit(boost::intrusive_ptr<kmldom::Region> const&, unsigned int, kmlconvenience::FeatureList*)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:316: captcha] Error 1
gmake[2]: *** Waiting for unfinished jobs....
3 warnings generated.
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::FeatureList::Save(boost::intrusive_ptr<kmldom::Container>) const'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::AtomUtil::CreateBasicLink(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference to `kmlconvenience::FeatureList::RegionSplit(boost::intrusive_ptr<kmldom::Region> const&, unsigned int, kmlconvenience::FeatureList*)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:316: CImg_demo] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples'
gmake[1]: *** [Makefile:453: Mlinux] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.3.1.4/examples'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/cimg