[package - 122amd64-default][graphics/cimg] Failed for cimg-2.9.7_2,3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 18 May 2021 16:20:21 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://beefy6.nyi.freebsd.org/data/122amd64-default/7bfc2c072607/logs/cimg-2.9.7_2,3.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=122amd64-default&build=7bfc2c072607
Log:

=>> Building graphics/cimg
build started at Tue May 18 16:17:02 UTC 2021
port directory: /usr/ports/graphics/cimg
package name: cimg-2.9.7_2,3
building for: FreeBSD 122amd64-default-job-07 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 amd64
maintained by: thierry@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1202000
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p6
UNAME_r=12.2-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122amd64-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-2.9.7_2,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="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/cimg/work  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 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/cimg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/cimg/work  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 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-protec
 tor-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -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=12.2 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
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p6
OSREL=12.2
OSVERSION=1202000
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 CeCILL_C CeCILL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cimg-2.9.7_2,3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122amd64-default-job-07] Installing pkg-1.16.3...
[122amd64-default-job-07] Extracting pkg-1.16.3: .......... done
===>   cimg-2.9.7_2,3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cimg-2.9.7_2,3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-2.9.7_2,3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-2.9.7_2,3 for building
=> SHA256 Checksum OK for dtschump-CImg-v.2.9.7_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License CeCILL_C CeCILL accepted by the user
===> Fetching all distfiles required by cimg-2.9.7_2,3 for building
===>  Extracting for cimg-2.9.7_2,3
=> SHA256 Checksum OK for dtschump-CImg-v.2.9.7_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cimg-2.9.7_2,3
===>  Applying FreeBSD patches for cimg-2.9.7_2,3 from /usr/ports/graphics/cimg/files
===========================================================================
=======================<phase: build-depends  >============================
===>   cimg-2.9.7_2,3 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122amd64-default-job-07] Installing gmake-4.3_2...
[122amd64-default-job-07] `-- Installing gettext-runtime-0.21...
[122amd64-default-job-07] |   `-- Installing indexinfo-0.3.1...
[122amd64-default-job-07] |   `-- Extracting indexinfo-0.3.1: .... done
[122amd64-default-job-07] `-- Extracting gettext-runtime-0.21: .......... done
[122amd64-default-job-07] Extracting gmake-4.3_2: .......... done
===>   cimg-2.9.7_2,3 depends on package: gmake>=4.3 - found
===>   Returning to build of cimg-2.9.7_2,3
===>   cimg-2.9.7_2,3 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.txz
[122amd64-default-job-07] Installing pkgconf-1.7.4,1...
[122amd64-default-job-07] Extracting pkgconf-1.7.4,1: .......... done
===>   cimg-2.9.7_2,3 depends on package: pkgconf>=1.3.0_1 - found
<snip>
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52906:37: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 row, rowsperstrip = (uint32)-1;
                                    ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52909:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
          uint32 nrow = (row + rowsperstrip>ny?ny - row:rowsperstrip);
          ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52931:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 row, rowsperstrip = (uint32)-1;
        ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52931:37: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 row, rowsperstrip = (uint32)-1;
                                    ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52935:13: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
            uint32 nrow = (row + rowsperstrip>ny?ny - row:rowsperstrip);
            ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52956:7: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
      uint16 samplesperpixel = 1, bitspersample = 8, photo = 0;
      ^
/usr/local/include/tiff.h:81:45: note: 'uint16' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52957:7: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
      uint16 sampleformat = 1;
      ^
/usr/local/include/tiff.h:81:45: note: 'uint16' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52958:7: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
      uint32 nx = 1, ny = 1;
      ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52997:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 *const raster = (uint32*)_TIFFmalloc(nx*ny*sizeof(uint32));
        ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52997:33: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 *const raster = (uint32*)_TIFFmalloc(nx*ny*sizeof(uint32));
                                ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:52997:66: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
        uint32 *const raster = (uint32*)_TIFFmalloc(nx*ny*sizeof(uint32));
                                                                 ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:53003:64: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
                              cimg::strbuffersize(nx*ny*sizeof(uint32)),filename);
                                                               ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:53029:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
        uint16 config;
        ^
/usr/local/include/tiff.h:81:45: note: 'uint16' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:53032:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
          uint32 tw = 1, th = 1;
          ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:57166:7: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
      uint32 rowsperstrip = (uint32)-1;
      ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:57166:30: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
      uint32 rowsperstrip = (uint32)-1;
                             ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:57167:7: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
      uint16 spp = _spectrum, bpp = sizeof(t)*8, photometric;
      ^
/usr/local/include/tiff.h:81:45: note: 'uint16' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
In file included from CImg_demo.cpp:48:
./CImg.h:57204:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
          uint32 nrow = (row + rowsperstrip>_height?_height - row:rowsperstrip);
          ^
/usr/local/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^
/usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED'
#define TIFF_GCC_DEPRECATED __attribute__((deprecated))
                                           ^
38 warnings generated.
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessage::LogMessage(char const*, int)'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `fLI::FLAGS_v'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::InitVLOG3__(int**, int*, char const*, int)'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessageFatal::~LogMessageFatal()'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessage::~LogMessage()'
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessage::stream()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:315: CImg_demo] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.2.9.7/examples'
gmake[1]: *** [Makefile:449: Mlinux] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/cimg/work/CImg-v.2.9.7/examples'
*** Error code 1

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