=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mkspiffs-0.2.3 cd /tmp/pkgbuild/filesystems/mkspiffs/work.alpha/mkspiffs-0.2.3 && env TARGET_OS=NetBSD VERSION=0.2.3 USETOOLS=no CC=gcc CFLAGS=-O2\ -mieee CPPFLAGS= CXX=c++ CXXFLAGS=-O2\ -mieee COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O\ -mieee LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.cwrapper/bin:/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.buildlink/bin:/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.gcc/bin:/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/filesystems/mkspiffs/work.alpha/.cwrapper/config /usr/pkg/bin/gmake dist c++ -std=gnu++11 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o main.o main.cpp gcc -std=gnu99 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o spiffs/src/spiffs_cache.o spiffs/src/spiffs_cache.c gcc -std=gnu99 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o spiffs/src/spiffs_check.o spiffs/src/spiffs_check.c gcc -std=gnu99 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o spiffs/src/spiffs_gc.o spiffs/src/spiffs_gc.c gcc -std=gnu99 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o spiffs/src/spiffs_hydrogen.o spiffs/src/spiffs_hydrogen.c gcc -std=gnu99 -Os -Wall -O2 -mieee -Itclap -Iinclude -Ispiffs/src -I. -D VERSION=\"0.2.3\" -D SPIFFS_VERSION=\"0.2.3\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -c -o spiffs/src/spiffs_nucleus.o spiffs/src/spiffs_nucleus.c In file included from /usr/include/string.h:127, from include/spiffs_config.h:16, from spiffs/src/spiffs.h:14, from spiffs/src/spiffs_nucleus.c:1: spiffs/src/spiffs_nucleus.c: In function 'spiffs_object_create': spiffs/src/spiffs_nucleus.c:942:3: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 942 | strncpy((char*)oix_hdr.name, (const char*)name, SPIFFS_OBJ_NAME_LEN); | ^~~~~~~ c++ main.o spiffs/src/spiffs_cache.o spiffs/src/spiffs_check.o spiffs/src/spiffs_gc.o spiffs/src/spiffs_hydrogen.o spiffs/src/spiffs_nucleus.o -o mkspiffs -Wl,-R/usr/pkg/lib strip mkspiffs cp mkspiffs mkspiffs-0.2.3-generic-NetBSD/ tar czf mkspiffs-0.2.3-generic-NetBSD.tar.gz mkspiffs-0.2.3-generic-NetBSD mkdir -p spiffs_t cp spiffs/src/*.h spiffs_t/ cp spiffs/src/*.c spiffs_t/ rm -rf spiffs_t/.git rm -f spiffs_t/.DS_Store ls -1 spiffs_t > out.list0 touch spiffs_t/.DS_Store mkdir -p spiffs_t/.git touch spiffs_t/.git/foo ./mkspiffs -c spiffs_t -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | sort | sed s/^\\/// > out.list1 SPIFFS_write error(-10014): unknown error adding file! ./mkspiffs -u spiffs_u -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | sort | sed s/^\\/// > out.list_u ./mkspiffs -l -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | cut -f 2 | sort | sed s/^\\/// > out.list2 diff --strip-trailing-cr out.list0 out.list1 3,6d2 < spiffs_check.c < spiffs_gc.c < spiffs_hydrogen.c < spiffs_nucleus.c gmake: *** [Makefile:129: test] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/filesystems/mkspiffs *** Error code 1 Stop. make: stopped in /usr/pkgsrc/filesystems/mkspiffs