[package - 141releng-armv7-default][graphics/timg] Failed for timg-1.6.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 02 Feb 2025 00:52:57 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:     uzsolt@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/141releng-armv7-default/86e28c84a7e0/logs/timg-1.6.1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=141releng-armv7-default&build=86e28c84a7e0
Log:

=>> Building graphics/timg
build started at Sun Feb  2 00:52:32 UTC 2025
port directory: /usr/ports/graphics/timg
package name: timg-1.6.1
building for: FreeBSD 141releng-armv7-default-job-13 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 1401000 arm
maintained by: uzsolt@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1049 Jan 18 01:09 /usr/ports/graphics/timg/Makefile
Ports top last git commit: 86e28c84a7e
Ports top unclean checkout: no
Port dir last git commit: 342f30257a4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p6 1401000
UNAME_r=14.1-RELEASE-p6
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141releng-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/141releng-armv7-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141releng-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
uzsolt@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/timg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/timg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/timg/work/.cache  HOME=/wrkdirs/usr/ports/graphics/timg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/timg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/timg/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--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/timg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/timg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/timg/work/.cache  HOME=/wrkdirs/usr/ports/graphics/timg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/timg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/timg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/graphics/timg/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  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INST
ALL_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=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/timg"  EXAMPLESDIR="share/examples/timg"  DATADIR="share/timg"  WWWDIR="www/timg"  ETCDIR="etc/timg"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/timg DOCSDIR=/usr/local/share/doc/timg EXAMPLESDIR=/usr/local/share/examples/timg  WWWDIR=/usr/local/www/timg ETCDIR=/usr/local/etc/timg
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   timg-1.6.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141releng-armv7-default-job-13] Installing pkg-1.21.3...
[141releng-armv7-default-job-13] Extracting pkg-1.21.3: .......... done
===>   timg-1.6.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of timg-1.6.1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by timg-1.6.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by timg-1.6.1 for building
=> SHA256 Checksum OK for hzeller-timg-v1.6.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by timg-1.6.1 for building
===>  Extracting for timg-1.6.1
=> SHA256 Checksum OK for hzeller-timg-v1.6.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for timg-1.6.1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   timg-1.6.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.4.pkg
[141releng-armv7-default-job-13] Installing cmake-core-3.31.4...
[141releng-armv7-default-job-13] `-- Installing expat-2.6.4...
[141releng-armv7-default-job-13] `-- Extracting expat-2.6.4: .......... done
[141releng-armv7-default-job-13] `-- Installing jsoncpp-1.9.6_1...
[141releng-armv7-default-job-13] `-- Extracting jsoncpp-1.9.6_1: .......... done
[141releng-armv7-default-job-13] `-- Installing libidn2-2.3.7...
[141releng-armv7-default-job-13] |   `-- Installing indexinfo-0.3.1...
[141releng-armv7-default-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
[141releng-armv7-default-job-13] |   `-- Installing libunistring-1.3...
[141releng-armv7-default-job-13] |   `-- Extracting libunistring-1.3: .......... done
[141releng-armv7-default-job-13] `-- Extracting libidn2-2.3.7: .......... done
[141releng-armv7-default-job-13] `-- Installing libuv-1.50.0...
[141releng-armv7-default-job-13] `-- Extracting libuv-1.50.0: .......... done
[141releng-armv7-default-job-13] `-- Installing rhash-1.4.4_1...
[141releng-armv7-default-job-13] |   `-- Installing gettext-runtime-0.23.1...
[141releng-armv7-default-job-13] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[141releng-armv7-default-job-13] `-- Extracting rhash-1.4.4_1: .......... done
[141releng-armv7-default-job-13] Extracting cmake-core-3.31.4: .......... done
<snip>
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "2.3.0")
-- Checking for module 'libdeflate'
--   Found libdeflate, version 1.22
-- Checking for module 'libsixel'
--   Found libsixel, version 1.8.6
-- Checking for module 'libturbojpeg'
--   Found libturbojpeg, version 3.1.0
-- Checking for module 'libexif'
--   Found libexif, version 0.6.24
-- Checking for module 'libavutil'
--   Found libavutil, version 58.29.100
-- Checking for module 'libswscale'
--   Found libswscale, version 7.5.100
-- Checking for module 'GraphicsMagick++'
--   Found GraphicsMagick++, version 1.3.43
-- Checking for modules 'libavcodec;libavutil;libavformat'
--   Found libavcodec, version 60.31.102
--   Found libavutil, version 58.29.100
--   Found libavformat, version 60.16.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 60.3.100
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Warning (dev) at src/CMakeLists.txt:49 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:55 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:73 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:91 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for C++ include stb/stb_image.h
-- Looking for C++ include stb/stb_image.h - not found
CMake Warning (dev) at src/CMakeLists.txt:107 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

--> Using STB from third_party/ instead
-- Looking for C++ include stb/stb_image_resize2.h
-- Looking for C++ include stb/stb_image_resize2.h - not found
-- Looking for C++ include qoi.h
-- Looking for C++ include qoi.h - not found
CMake Warning (dev) at src/CMakeLists.txt:122 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "timg" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

--> Using QOI from third_party/ instead
CMake Warning at man/CMakeLists.txt:17 (message):
  NOT re-generating the manpage.  Possibly pandoc is not installed.


-- Configuring done (2.9s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /wrkdirs/usr/ports/graphics/timg/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for timg-1.6.1
[  5% 3/20] /usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/framebuffer.cc.o -MF src/CMakeFiles/timg.dir/framebuffer.cc.o.d -o src/CMakeFiles/timg.dir/framebuffer.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/framebuffer.cc
[ 10% 4/20] /usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o -MF src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o.d -o src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/buffered-write-sequencer.cc
FAILED: src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o 
/usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o -MF src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o.d -o src/CMakeFiles/timg.dir/buffered-write-sequencer.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/buffered-write-sequencer.cc
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/buffered-write-sequencer.cc:16:
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/buffered-write-sequencer.h:27:
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: note: insert an explicit cast to silence this issue
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            static_cast<long>(   )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: note: insert an explicit cast to silence this issue
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
      |                              static_cast<long>(     )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: note: insert an explicit cast to silence this issue
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     static_cast<long>()
3 errors generated.
[ 15% 4/20] /usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/timg.cc.o -MF src/CMakeFiles/timg.dir/timg.cc.o.d -o src/CMakeFiles/timg.dir/timg.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg.cc
FAILED: src/CMakeFiles/timg.dir/timg.cc.o 
/usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/timg.cc.o -MF src/CMakeFiles/timg.dir/timg.cc.o.d -o src/CMakeFiles/timg.dir/timg.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg.cc
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg.cc:21:
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/buffered-write-sequencer.h:27:
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: note: insert an explicit cast to silence this issue
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            static_cast<long>(   )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: note: insert an explicit cast to silence this issue
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
      |                              static_cast<long>(     )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: note: insert an explicit cast to silence this issue
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     static_cast<long>()
3 errors generated.
[ 20% 4/20] /usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/image-source.cc.o -MF src/CMakeFiles/timg.dir/image-source.cc.o.d -o src/CMakeFiles/timg.dir/image-source.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/image-source.cc
FAILED: src/CMakeFiles/timg.dir/image-source.cc.o 
/usr/bin/c++ -DHAVE_AVDEVICE -DWITH_TIMG_GRPAPHICSMAGICK -DWITH_TIMG_JPEG -DWITH_TIMG_QOI -DWITH_TIMG_SIXEL -DWITH_TIMG_STB -DWITH_TIMG_VIDEO -I/wrkdirs/usr/ports/graphics/timg/work/.build/src -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party -I/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/third_party/qoi -isystem /usr/local/include -isystem /usr/local/include/GraphicsMagick -W -Wall -Wextra -Wno-unused-parameter -O3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -pthread -MD -MT src/CMakeFiles/timg.dir/image-source.cc.o -MF src/CMakeFiles/timg.dir/image-source.cc.o.d -o src/CMakeFiles/timg.dir/image-source.cc.o -c /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/image-source.cc
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/image-source.cc:16:
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/image-source.h:23:
In file included from /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/display-options.h:25:
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:53:28: note: insert an explicit cast to silence this issue
   53 |         return {ms / 1000, (ms % 1000) * 1000000};
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            static_cast<long>(   )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:56:30: note: insert an explicit cast to silence this issue
   56 |         return {usec / 1000, (usec % 1000000) * 1000};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
      |                              static_cast<long>(     )
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37: note: insert an explicit cast to silence this issue
   59 |         return {nanos / 1000000000, nanos % 1000000000};
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     static_cast<long>()
3 errors generated.
ninja: build stopped: subcommand failed.
===> 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/timg