[package - main-armv7-default][net/teddycloud] Failed for teddycloud-0.6.2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 06:54:38 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: freebsd@pe82.de
Log URL: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p34de869e4274_se8d027be6b/logs/teddycloud-0.6.2.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p34de869e4274_se8d027be6b
Log:
=>> Building net/teddycloud
build started at Mon Dec 9 06:54:11 UTC 2024
port directory: /usr/ports/net/teddycloud
package name: teddycloud-0.6.2
building for: FreeBSD main-armv7-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500028 arm
maintained by: freebsd@pe82.de
Makefile datestamp: -rw-r--r-- 1 root wheel 3194 Nov 7 01:04 /usr/ports/net/teddycloud/Makefile
Ports top last git commit: 34de869e427
Ports top unclean checkout: no
Port dir last git commit: 753f3708724
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500028
Job Id: 05
!!! Jail is newer than host. (Jail: 1500028, Host: 1500023) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500028
UNAME_v=FreeBSD 15.0-CURRENT 1500028
UNAME_r=15.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
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/main-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/main-armv7-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-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--
freebsd@pe82.de
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/teddycloud/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/teddycloud/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/teddycloud/work/.cache HOME=/wrkdirs/usr/ports/net/teddycloud/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/teddycloud/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/teddycloud/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--
CONFIG_RUNTIME_BASE_PATH=/usr/local/etc/teddycloud RUNTIME_BASE_PATH=/usr/local/share/teddycloud NO_SANITIZERS=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net/teddycloud/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/teddycloud/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/teddycloud/work/.cache HOME=/wrkdirs/usr/ports/net/teddycloud/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/teddycloud/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/teddycloud/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 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="gcc13" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing " CPP="cpp13" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS="" CXX="g++13" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 " 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--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/teddycloud" EXAMPLESDIR="share/examples/teddycloud" DATADIR="share/teddycloud" WWWDIR="www/teddycloud" ETCDIR="etc/teddycloud"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/teddycloud DOCSDIR=/usr/local/share/doc/teddycloud EXAMPLESDIR=/usr/local/share/examples/teddycloud WWWDIR=/usr/local/www/teddycloud ETCDIR=/usr/local/etc/teddycloud
--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--
ulimit: can't get limit: Invalid argument
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
===> teddycloud-0.6.2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-05] Installing pkg-1.21.3...
[main-armv7-default-job-05] Extracting pkg-1.21.3: .......... done
===> teddycloud-0.6.2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of teddycloud-0.6.2
===========================================================================
=======================<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 teddycloud-0.6.2 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 teddycloud-0.6.2 for building
=> SHA256 Checksum OK for tonies.json.
=> SHA256 Checksum OK for tonieboxes.json.
=> SHA256 Checksum OK for toniebox-reverse-engineering-teddycloud-tc_v0.6.2_GH0.tar.gz.
=> SHA256 Checksum OK for toniebox-reverse-engineering-teddycloud_web-tcw_v0.6.2_GH0.tar.gz.
=> SHA256 Checksum OK for DaveGamble-cJSON-v1.7.15-33-gacc7623_GH0.tar.gz.
=> SHA256 Checksum OK for xiph-ogg-v1.3.5-9-gdb5c7a4_GH0.tar.gz.
=> SHA256 Checksum OK for xiph-opus-v1.4-7-g101a71e0_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-Common-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneCRYPTO-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneSSL-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneTCP-v2.3.2_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 teddycloud-0.6.2 for building
===> Extracting for teddycloud-0.6.2
=> SHA256 Checksum OK for tonies.json.
=> SHA256 Checksum OK for tonieboxes.json.
=> SHA256 Checksum OK for toniebox-reverse-engineering-teddycloud-tc_v0.6.2_GH0.tar.gz.
=> SHA256 Checksum OK for toniebox-reverse-engineering-teddycloud_web-tcw_v0.6.2_GH0.tar.gz.
=> SHA256 Checksum OK for DaveGamble-cJSON-v1.7.15-33-gacc7623_GH0.tar.gz.
=> SHA256 Checksum OK for xiph-ogg-v1.3.5-9-gdb5c7a4_GH0.tar.gz.
=> SHA256 Checksum OK for xiph-opus-v1.4-7-g101a71e0_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-Common-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneCRYPTO-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneSSL-v2.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for Oryx-Embedded-CycloneTCP-v2.3.2_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 teddycloud-0.6.2
===> Applying FreeBSD patches for teddycloud-0.6.2 from /usr/ports/net/teddycloud/files
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> teddycloud-0.6.2 depends on executable: curl - not found
===> Installing existing package /packages/All/curl-8.11.0_1.pkg
[main-armv7-default-job-05] Installing curl-8.11.0_1...
[main-armv7-default-job-05] `-- Installing brotli-1.1.0,1...
[main-armv7-default-job-05] `-- Extracting brotli-1.1.0,1: .......... done
[main-armv7-default-job-05] `-- Installing libidn2-2.3.7...
[main-armv7-default-job-05] | `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-05] | `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-05] | `-- Installing libunistring-1.2...
[main-armv7-default-job-05] | `-- Extracting libunistring-1.2: .......... done
[main-armv7-default-job-05] `-- Extracting libidn2-2.3.7: .......... done
[main-armv7-default-job-05] `-- Installing libnghttp2-1.64.0...
[main-armv7-default-job-05] `-- Extracting libnghttp2-1.64.0: .......... done
[main-armv7-default-job-05] `-- Installing libpsl-0.21.5_1...
[main-armv7-default-job-05] `-- Extracting libpsl-0.21.5_1: .......... done
[main-armv7-default-job-05] `-- Installing libssh2-1.11.1,3...
[main-armv7-default-job-05] `-- Extracting libssh2-1.11.1,3: .......... done
[main-armv7-default-job-05] `-- Installing zstd-1.5.6...
[main-armv7-default-job-05] | `-- Installing liblz4-1.10.0,1...
[main-armv7-default-job-05] | `-- Extracting liblz4-1.10.0,1: .......... done
[main-armv7-default-job-05] `-- Extracting zstd-1.5.6: .......... done
[main-armv7-default-job-05] Extracting curl-8.11.0_1: .......... done
===> teddycloud-0.6.2 depends on executable: curl - found
===> Returning to build of teddycloud-0.6.2
===> teddycloud-0.6.2 depends on executable: protoc-c - not found
===> Installing existing package /packages/All/protobuf-c-1.4.1_7.pkg
[main-armv7-default-job-05] Installing protobuf-c-1.4.1_7...
[main-armv7-default-job-05] `-- Installing protobuf-28.3,1...
[main-armv7-default-job-05] | `-- Installing abseil-20240722.0...
[main-armv7-default-job-05] | `-- Extracting abseil-20240722.0: .......... done
[main-armv7-default-job-05] | `-- Installing jsoncpp-1.9.6_1...
[main-armv7-default-job-05] | `-- Extracting jsoncpp-1.9.6_1: .......... done
[main-armv7-default-job-05] `-- Extracting protobuf-28.3,1: .......... done
[main-armv7-default-job-05] Extracting protobuf-c-1.4.1_7: .......... done
===> teddycloud-0.6.2 depends on executable: protoc-c - found
===> Returning to build of teddycloud-0.6.2
===> teddycloud-0.6.2 depends on package: gmake>=4.4.1 - not found
===> Installing existing package /packages/All/gmake-4.4.1.pkg
[main-armv7-default-job-05] Installing gmake-4.4.1...
[main-armv7-default-job-05] `-- Installing gettext-runtime-0.22.5...
[main-armv7-default-job-05] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-armv7-default-job-05] Extracting gmake-4.4.1: .......... done
===> teddycloud-0.6.2 depends on package: gmake>=4.4.1 - found
===> Returning to build of teddycloud-0.6.2
===> teddycloud-0.6.2 depends on executable: gcc13 - not found
===> Installing existing package /packages/All/gcc13-13.3.0.pkg
[main-armv7-default-job-05] Installing gcc13-13.3.0...
[main-armv7-default-job-05] `-- Installing binutils-2.43.1,1...
[main-armv7-default-job-05] `-- Extracting binutils-2.43.1,1: .......... done
[main-armv7-default-job-05] `-- Installing gmp-6.3.0...
[main-armv7-default-job-05] `-- Extracting gmp-6.3.0: .......... done
[main-armv7-default-job-05] `-- Installing mpc-1.3.1_1...
[main-armv7-default-job-05] | `-- Installing mpfr-4.2.1,1...
[main-armv7-default-job-05] | `-- Extracting mpfr-4.2.1,1: .......... done
[main-armv7-default-job-05] `-- Extracting mpc-1.3.1_1: ......... done
[main-armv7-default-job-05] Extracting gcc13-13.3.0: .......... done
=====
Message from gcc13-13.3.0:
--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using
-Wl,-rpath=/usr/local/lib/gcc13
For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===> teddycloud-0.6.2 depends on executable: gcc13 - found
===> Returning to build of teddycloud-0.6.2
===> teddycloud-0.6.2 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Configuring for teddycloud-0.6.2
===========================================================================
=======================<phase: build >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for teddycloud-0.6.2
-e [\033[0;32mCLEAN\033[0m ] Deleting output files...
-e [ \033[0;32mPLAT\033[0m ] \033[0;36mlinux\033[0m
-e [ \033[0;32mOSID\033[0m ] \033[0;36m"freebsd"\033[0m
-e [ \033[0;32mARCH\033[0m ] \033[0;36m"arm"\033[0m
-e [ \033[0;32mBITS\033[0m ] \033[0;36m32\033[0m
[DIR] creating bin/
-e [\033[0;32mPROTO\033[0m ] \033[0;36mproto/toniebox.pb.freshness-check.fc-request.proto\033[0m
-e [\033[0;32mPROTO\033[0m ] \033[0;36mproto/toniebox.pb.freshness-check.fc-response.proto\033[0m
-e [\033[0;32mPROTO\033[0m ] \033[0;36mproto/toniebox.pb.rtnl.proto\033[0m
-e [\033[0;32mPROTO\033[0m ] \033[0;36mproto/toniebox.pb.taf-header.proto\033[0m
[DIR] creating obj/src/
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/cache.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/cert.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/cloud_request.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/contentJson.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/esp32.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/fs_ext.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/handler.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/handler_api.c\033[0m
-e [ \033[0;32mCC\033[0m ] \033[0;36msrc/handler_cloud.c\033[0m
In file included from src/cyclone/common/debug.h:34,
from include/settings.h:6,
from src/handler_cloud.c:5:
src/handler_cloud.c: In function 'handleCloudTime':
src/handler_cloud.c:51:29: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]
51 | osSprintf(response, "%" PRIuTIME, time(NULL));
| ^~~ ~~~~~~~~~~
| |
| time_t {aka long long int}
src/cyclone/common/os_port.h:233:47: note: in definition of macro 'osSprintf'
233 | #define osSprintf(dest, ...) sprintf(dest, __VA_ARGS__)
| ^~~~~~~~~~~
src/handler_cloud.c:63:33: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]
63 | osSprintf(response, "%" PRIuTIME, time(NULL));
| ^~~ ~~~~~~~~~~
| |
| time_t {aka long long int}
src/cyclone/common/os_port.h:233:47: note: in definition of macro 'osSprintf'
233 | #define osSprintf(dest, ...) sprintf(dest, __VA_ARGS__)
| ^~~~~~~~~~~
src/handler_cloud.c: In function 'handleCloudOTA':
src/handler_cloud.c:92:16: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Werror=format=]
92 | TRACE_INFO(" >> OTA-Request for %d with timestamp %" PRIuTIME " (%s)\r\n", fileId, timestamp, date_buffer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
| |
| time_t {aka long long int}
src/cyclone/common/debug.h:66:50: note: in definition of macro 'TRACE_PRINTF_RESUME'
66 | #define TRACE_PRINTF_RESUME(...) fprintf(stderr, __VA_ARGS__), osResumeAllTasks();
| ^~~~~~~~~~~
src/handler_cloud.c:92:5: note: in expansion of macro 'TRACE_INFO'
92 | TRACE_INFO(" >> OTA-Request for %d with timestamp %" PRIuTIME " (%s)\r\n", fileId, timestamp, date_buffer);
| ^~~~~~~~~~
src/handler_cloud.c:224:24: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Werror=format=]
224 | TRACE_INFO(" >> Found OTA %" PRIu8 " with timestamp %" PRIuTIME " (%s)\r\n", fileId, biggest_timestamp, biggest_filename);
| ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
src/cyclone/common/debug.h:66:50: note: in definition of macro 'TRACE_PRINTF_RESUME'
66 | #define TRACE_PRINTF_RESUME(...) fprintf(stderr, __VA_ARGS__), osResumeAllTasks();
| ^~~~~~~~~~~
src/handler_cloud.c:224:13: note: in expansion of macro 'TRACE_INFO'
224 | TRACE_INFO(" >> Found OTA %" PRIu8 " with timestamp %" PRIuTIME " (%s)\r\n", fileId, biggest_timestamp, biggest_filename);
| ^~~~~~~~~~
src/handler_cloud.c:229:24: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Werror=format=]
229 | TRACE_INFO(" >> Found OTA %" PRIu8 " with timestamp %" PRIuTIME " (%s) but local OTA disabled\r\n", fileId, biggest_timestamp, biggest_filename);
| ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
| |
| time_t {aka long long int}
src/cyclone/common/debug.h:66:50: note: in definition of macro 'TRACE_PRINTF_RESUME'
66 | #define TRACE_PRINTF_RESUME(...) fprintf(stderr, __VA_ARGS__), osResumeAllTasks();
| ^~~~~~~~~~~
src/handler_cloud.c:229:13: note: in expansion of macro 'TRACE_INFO'
229 | TRACE_INFO(" >> Found OTA %" PRIu8 " with timestamp %" PRIuTIME " (%s) but local OTA disabled\r\n", fileId, biggest_timestamp, biggest_filename);
| ^~~~~~~~~~
src/handler_cloud.c: In function 'handleCloudContent':
src/cyclone/common/os_port.h:215:45: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation]
215 | #define osStrncpy(s1, s2, length) (void) strncpy(s1, s2, length)
| ^~~~~~~~~~~~~~~~~~~~~~~
src/handler_cloud.c:511:17: note: in expansion of macro 'osStrncpy'
511 | osStrncpy(&uid[pos], &ruid[14 - pos], 2);
| ^~~~~~~~~
cc1: all warnings being treated as errors
gmake: *** [Makefile:491: obj/src/handler_cloud.o] Error 1
*** Error code 1
Stop.
make: stopped making "build" in /usr/ports/net/teddycloud