[package - 141i386-default][graphics/timg] Failed for timg-1.6.1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jan 2025 01:22:53 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/beefy21/data/141i386-default/a921cfa68370/logs/timg-1.6.1.log Build URL: https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=a921cfa68370 Log: =>> Building graphics/timg build started at Sun Jan 5 01:22:41 UTC 2025 port directory: /usr/ports/graphics/timg package name: timg-1.6.1 building for: FreeBSD 141i386-default-job-40 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386 maintained by: uzsolt@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 895 Jan 4 01:01 /usr/ports/graphics/timg/Makefile Ports top last git commit: a921cfa683 Ports top unclean checkout: no Port dir last git commit: dbebb74d71 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500028 Jail OSVERSION: 1401000 Job Id: 40 ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1401000 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=14.1-RELEASE-p6 LOCALBASE=/usr/local UNAME_v=FreeBSD 14.1-RELEASE-p6 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-default/40/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=141i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/141i386-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--- 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} #### #### # 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 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) 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 [141i386-default-job-40] Installing pkg-1.21.3... [141i386-default-job-40] 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.3.pkg [141i386-default-job-40] Installing cmake-core-3.31.3... [141i386-default-job-40] `-- Installing expat-2.6.4... [141i386-default-job-40] `-- Extracting expat-2.6.4: .......... done [141i386-default-job-40] `-- Installing jsoncpp-1.9.6_1... [141i386-default-job-40] `-- Extracting jsoncpp-1.9.6_1: .......... done [141i386-default-job-40] `-- Installing libidn2-2.3.7... [141i386-default-job-40] | `-- Installing indexinfo-0.3.1... [141i386-default-job-40] | `-- Extracting indexinfo-0.3.1: .... done [141i386-default-job-40] | `-- Installing libunistring-1.2... [141i386-default-job-40] | `-- Extracting libunistring-1.2: .......... done [141i386-default-job-40] `-- Extracting libidn2-2.3.7: .......... done [141i386-default-job-40] `-- Installing libuv-1.49.2... [141i386-default-job-40] `-- Extracting libuv-1.49.2: .......... done [141i386-default-job-40] `-- Installing rhash-1.4.4_1... [141i386-default-job-40] | `-- Installing gettext-runtime-0.23... [141i386-default-job-40] | `-- Extracting gettext-runtime-0.23: .......... done [141i386-default-job-40] `-- Extracting rhash-1.4.4_1: .......... done [141i386-default-job-40] Extracting cmake-core-3.31.3: .......... done ===> timg-1.6.1 depends on file: /usr/local/bin/cmake - found <snip> [141i386-default-job-40] `-- Installing libICE-1.1.1,1... [141i386-default-job-40] `-- Extracting libICE-1.1.1,1: .......... done [141i386-default-job-40] `-- Installing libSM-1.2.4,1... [141i386-default-job-40] `-- Extracting libSM-1.2.4,1: .......... done [141i386-default-job-40] `-- Installing libwmf-0.2.13_2... [141i386-default-job-40] | `-- Installing libgd-2.3.3_13,1... [141i386-default-job-40] | `-- Extracting libgd-2.3.3_13,1: .......... done [141i386-default-job-40] `-- Extracting libwmf-0.2.13_2: .......... done [141i386-default-job-40] Extracting GraphicsMagick-1.3.43_2,1: .......... done ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache ===> timg-1.6.1 depends on shared library: libGraphicsMagick.so - found (/usr/local/lib/libGraphicsMagick.so) ===> Returning to build of timg-1.6.1 ===> timg-1.6.1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> timg-1.6.1 depends on shared library: libsixel.so - not found ===> Installing existing package /packages/All/libsixel-1.8.6_1,1.pkg [141i386-default-job-40] Installing libsixel-1.8.6_1,1... [141i386-default-job-40] Extracting libsixel-1.8.6_1,1: .......... done ===> timg-1.6.1 depends on shared library: libsixel.so - found (/usr/local/lib/libsixel.so) ===> Returning to build of timg-1.6.1 ===> timg-1.6.1 depends on shared library: libturbojpeg.so - not found ===> Installing existing package /packages/All/libjpeg-turbo-3.0.4.pkg [141i386-default-job-40] Installing libjpeg-turbo-3.0.4... [141i386-default-job-40] Extracting libjpeg-turbo-3.0.4: .......... done ===> timg-1.6.1 depends on shared library: libturbojpeg.so - found (/usr/local/lib/libturbojpeg.so) ===> Returning to build of timg-1.6.1 =========================================================================== =======================<phase: configure >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for timg-1.6.1 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/graphics/timg/work/.build -- The CXX compiler identification is Clang 18.1.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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.0.4 -- 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.2s) -- 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% 1/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:17: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'time_t' (aka 'int') 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:17: note: insert an explicit cast to silence this issue 53 | return {ms / 1000, (ms % 1000) * 1000000}; | ^~~~~~~~~ | static_cast<time_t>( ) /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:17: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'time_t' (aka 'int') 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:17: note: insert an explicit cast to silence this issue 56 | return {usec / 1000, (usec % 1000000) * 1000}; | ^~~~~~~~~~~ | static_cast<time_t>( ) /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:17: error: non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'time_t' (aka 'int') 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:17: note: insert an explicit cast to silence this issue 59 | return {nanos / 1000000000, nanos % 1000000000}; | ^~~~~~~~~~~~~~~~~~ | static_cast<time_t>( ) /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>() 6 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/timg