Cook: ndctl 61.2 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): autoconf-2.69-i486 Installing (pkg/local): automake-1.16.2-any Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libtool-2.4.6-i486 Installing (pkg/local): asciidoc-8.6.10-any Installing (pkg/local): libgpg-error-1.34-i486 Installing (pkg/local): libgcrypt-1.8.4-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libxslt-1.1.33-i486 Installing (pkg/local): perl-yaml-syck-1.31-i486 Installing (pkg/local): perl-test-pod-1.52-any Installing (pkg/local): libxml2-tools-2.9.9-i486 Installing (pkg/local): docbook-xml-4.5-any Installing (pkg/local): docbook-xsl-1.79.2-any Installing (pkg/local): xmlto-0.0.28-i486 Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): kmod-dev-25-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): eudev-dev-3.2.9-any Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): json-c-0.13.1-i486 Installing (pkg/local): json-c-dev-0.13.1-any Extracting source archive "ndctl-61.2.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed GIT_VERSION = 61.2+ libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: linking file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:22: installing 'build-aux/compile' configure.ac:27: installing 'build-aux/config.guess' configure.ac:27: installing 'build-aux/config.sub' configure.ac:10: installing 'build-aux/install-sh' configure.ac:10: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' ---------------------------------------------------------------- Initialized build system. For a common configuration please run: ---------------------------------------------------------------- ./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... none checking whether make supports the include directive... yes (GNU style) checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for i486-slitaz-linux-gcc option to accept ISO C99... none needed checking for i486-slitaz-linux-gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether make supports nested variables... (cached) yes checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i486-slitaz-linux-nm -B checking the name lister (/usr/bin/i486-slitaz-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/i486-slitaz-linux-nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a sed that does not truncate output... (cached) /bin/sed checking for asciidoc... /usr/bin/asciidoc checking for xmlto... /usr/bin/xmlto checking for typeof syntax and keyword spelling... typeof checking whether byte ordering is bigendian... no checking whether BUS_MCEERR_AR is declared... yes checking whether MAP_SYNC is declared... no checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libkmod... yes checking for libudev... yes checking for uuid... yes checking for json-c... yes checking for bash-completion >= 2.0... no checking for linux/version.h... yes checking for __secure_getenv... no checking for secure_getenv... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating daxctl/lib/Makefile config.status: creating ndctl/lib/Makefile config.status: creating ndctl/Makefile config.status: creating daxctl/Makefile config.status: creating test/Makefile config.status: creating Documentation/ndctl/Makefile config.status: creating Documentation/daxctl/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ndctl 61.2+ ===== prefix: /usr sysconfdir: /etc libdir: ${exec_prefix}/lib includedir: ${prefix}/include compiler: i486-slitaz-linux-gcc cflags: -march=i486 -Os -pipe -mindirect-branch=thunk ldflags: -Wl,-Os,--as-needed logging: yes debug: no GEN version.m4 make --no-print-directory all-recursive GEN version.m4 Making all in . GEN version.m4 GEN rhel/ndctl.spec GEN sles/ndctl.spec CC ccan/str/str.o CC ccan/str/debug.o CC ccan/list/list.o CC util/parse-options.o CC util/usage.o CC util/size.o CC util/main.o CC util/help.o CC util/strbuf.o CC util/wrapper.o CC util/filter.o CC util/bitmap.o CC util/abspath.o AR libccan.a AR libutil.a Making all in daxctl/lib CC ../../util/sysfs.lo CC ../../util/log.lo CC libdaxctl.lo GEN libdaxctl.pc CCLD libdaxctl.la Making all in ndctl/lib CC dimm.lo CC inject.lo CC nfit.lo CC intel.lo CC hpe1.lo CC smart.lo CC msft.lo CC ars.lo CC firmware.lo In file included from private.h:22, from dimm.c:19: dimm.c: In function '__label_validate': dimm.c:213:13: warning: format '%zx' expects argument of type 'size_t', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../util/log.h:47:51: note: in definition of macro 'log_dbg' # define log_dbg(ctx, arg...) log_null(ctx, ## arg) ^~~ dimm.c:213:4: note: in expansion of macro 'dbg' dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); ^~~ dimm.c:221:13: warning: format '%zx' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat=] dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, nslot, ndd->config_size); ~~~~~~~~~~~~~~~~ ../../util/log.h:47:51: note: in definition of macro 'log_dbg' # define log_dbg(ctx, arg...) log_null(ctx, ## arg) ^~~ dimm.c:221:4: note: in expansion of macro 'dbg' dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", ^~~ CC libndctl.lo GEN libndctl.pc In file included from libndctl.c:29: libndctl.c: In function 'ndctl_cmd_vendor_get_output': ../../ccan/minmax/minmax.h:30:6: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'ssize_t' {aka 'int'} [-Wsign-compare] _a < _b ? _a : _b; \ ^ libndctl.c:2288:8: note: in expansion of macro 'min' len = min(len, out_length); ^~~ ../../ccan/minmax/minmax.h:30:18: warning: operand of ?: changes signedness from 'ssize_t' {aka 'int'} to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] _a < _b ? _a : _b; \ ^~ libndctl.c:2288:8: note: in expansion of macro 'min' len = min(len, out_length); ^~~ CCLD libndctl.la Making all in ndctl CC ndctl.o CC bus.o CC create-nfit.o CC namespace.o CC check.o CC region.o CC dimm.o CC ../util/log.o CC list.o CC test.o CC ../util/json.o dimm.c: In function 'query_fw_finish_status': dimm.c:680:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] printf("Firmware version %#lx.\n", ver); ~~~^ ~~~ %#llx dimm.c:697:37: warning: comparison of integer expressions of different signedness: '__time_t' {aka 'long int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] if (after.tv_sec - before.tv_sec > ^ CC inject-error.o In file included from check.c:25: check.c: In function 'btt_read_info': check.c:117:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] err(bttc, "short read of first info block: %ld\n", size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:117:3: note: in expansion of macro 'err' err(bttc, "short read of first info block: %ld\n", size); ^~~ check.c: In function 'btt_write_info': check.c:139:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "BTT info block at offset %#lx needs to be restored\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ off); ~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:139:3: note: in expansion of macro 'err' err(bttc, "BTT info block at offset %#lx needs to be restored\n", ^~~ check.c:144:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] info(bttc, "Restoring BTT info block at offset %#lx\n", off); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:60:25: note: in expansion of macro 'log_info' #define info(x, arg...) log_info(&(x)->ctx, ## arg) ^~~~~~~~ check.c:144:2: note: in expansion of macro 'info' info(bttc, "Restoring BTT info block at offset %#lx\n", off); ^~~~ check.c:153:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] err(bttc, "short write of the info block: %ld\n", size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:153:3: note: in expansion of macro 'err' err(bttc, "short write of the info block: %ld\n", size); ^~~ In file included from check.c:30: check.c: In function 'btt_copy_to_info2': check.c:184:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); ^ ../util/util.h:48:9: note: in definition of macro 'rounddown' typeof(x) __x = (x); \ ^ check.c:184:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); ^ ../util/util.h:48:19: note: in definition of macro 'rounddown' typeof(x) __x = (x); \ ^ check.c:184:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); ^ In file included from check.c:30: check.c: In function 'btt_map_write': check.c:231:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ms_align = (void *)rounddown((u64)&a->map.map[lba], ^ ../util/util.h:48:9: note: in definition of macro 'rounddown' typeof(x) __x = (x); \ ^ check.c:231:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ms_align = (void *)rounddown((u64)&a->map.map[lba], ^ ../util/util.h:48:19: note: in definition of macro 'rounddown' typeof(x) __x = (x); \ ^ check.c:231:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ms_align = (void *)rounddown((u64)&a->map.map[lba], ^ check.c: In function 'btt_discover_arenas': check.c:852:18: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (remaining <= ARENA_MAX_SIZE) ^~ In file included from check.c:25: check.c:863:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "Unable to read backup info block (offset %#lx)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset); ~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:863:5: note: in expansion of macro 'err' err(bttc, "Unable to read backup info block (offset %#lx)\n", ^~~ check.c:869:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "Backup info block (offset %#lx) verification failed\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset); ~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:869:5: note: in expansion of macro 'err' err(bttc, "Backup info block (offset %#lx) verification failed\n", ^~~ check.c: In function 'btt_create_mappings': check.c:927:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.info_len, a->infooff, strerror(errno)); ~~~~~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:927:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:927:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.info_len, a->infooff, strerror(errno)); ~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:927:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:936:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.data_len, a->dataoff, strerror(errno)); ~~~~~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:936:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:936:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.data_len, a->dataoff, strerror(errno)); ~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:936:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:945:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.map_len, a->mapoff, strerror(errno)); ~~~~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:945:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:945:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.map_len, a->mapoff, strerror(errno)); ~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:945:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:954:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.log_len, a->logoff, strerror(errno)); ~~~~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:954:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:954:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.log_len, a->logoff, strerror(errno)); ~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:954:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:963:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.info2_len, a->info2off, strerror(errno)); ~~~~~~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:963:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c:963:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i, a->map.info2_len, a->info2off, strerror(errno)); ~~~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:61:24: note: in expansion of macro 'log_err' #define err(x, arg...) log_err(&(x)->ctx, ## arg) ^~~~~~~ check.c:963:4: note: in expansion of macro 'err' err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", ^~~ check.c: In function '__btt_recover_first_sb': check.c:1034:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ est_arenas, remaining); ~~~~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:60:25: note: in expansion of macro 'log_info' #define info(x, arg...) log_info(&(x)->ctx, ## arg) ^~~~~~~~ check.c:1034:2: note: in expansion of macro 'info' info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", ^~~~ check.c:1052:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset); ~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:60:25: note: in expansion of macro 'log_info' #define info(x, arg...) log_info(&(x)->ctx, ## arg) ^~~~~~~~ check.c:1052:2: note: in expansion of macro 'info' info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", ^~~~ check.c:1081:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] info(bttc, "Attempting to recover info-block from end offset %#lx\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset); ~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:60:25: note: in expansion of macro 'log_info' #define info(x, arg...) log_info(&(x)->ctx, ## arg) ^~~~~~~~ check.c:1081:3: note: in expansion of macro 'info' info(bttc, "Attempting to recover info-block from end offset %#lx\n", ^~~~ check.c:1114:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset); ~~~~~~ ../util/log.h:40:58: note: in definition of macro 'log_cond' do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ ^~~ ../util/log.h:60:25: note: in expansion of macro 'log_info' #define info(x, arg...) log_info(&(x)->ctx, ## arg) ^~~~~~~~ check.c:1114:3: note: in expansion of macro 'info' info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", ^~~~ CC inject-smart.o CC util/json-smart.o CC util/json-firmware.o CCLD ndctl Making all in daxctl CC daxctl.o CC list.o CC ../util/json.o CCLD daxctl Making all in Documentation/ndctl GEN asciidoc.conf GEN ndctl.xml GEN ndctl-wait-scrub.xml GEN ndctl-start-scrub.xml GEN ndctl-zero-labels.xml GEN ndctl-read-labels.xml GEN ndctl-write-labels.xml GEN ndctl-init-labels.xml GEN ndctl-check-labels.xml GEN ndctl-enable-region.xml GEN ndctl-disable-region.xml GEN ndctl-enable-dimm.xml GEN ndctl-disable-dimm.xml GEN ndctl-enable-namespace.xml GEN ndctl-disable-namespace.xml GEN ndctl-create-namespace.xml GEN ndctl-destroy-namespace.xml GEN ndctl-check-namespace.xml GEN ndctl-inject-error.xml GEN ndctl-inject-smart.xml GEN ndctl-update-firmware.xml GEN ndctl-list.xml GEN ndctl.1 GEN ndctl-wait-scrub.1 GEN ndctl-start-scrub.1 GEN ndctl-zero-labels.1 GEN ndctl-read-labels.1 GEN ndctl-write-labels.1 GEN ndctl-init-labels.1 Note: namesp. add : added namespace before processing ndctl Note: namesp. add : added namespace before processing ndctl-wait-scrub Note: namesp. add : added namespace before processing ndctl-start-scrub Note: namesp. add : added namespace before processing ndctl-zero-labels GEN ndctl-check-labels.1 GEN ndctl-enable-region.1 Note: namesp. add : added namespace before processing ndctl-write-labels Note: namesp. add : added namespace before processing ndctl-read-labels Note: namesp. add : added namespace before processing ndctl-init-labels GEN ndctl-disable-region.1 GEN ndctl-enable-dimm.1 GEN ndctl-disable-dimm.1 GEN ndctl-enable-namespace.1 GEN ndctl-disable-namespace.1 GEN ndctl-create-namespace.1 Note: namesp. add : added namespace before processing ndctl-check-labels Note: namesp. add : added namespace before processing ndctl-enable-region Note: namesp. add : added namespace before processing ndctl-disable-region Note: namesp. add : added namespace before processing ndctl-enable-dimm Note: namesp. add : added namespace before processing ndctl-disable-dimm Note: namesp. add : added namespace before processing ndctl-enable-namespace Note: namesp. add : added namespace before processing ndctl-disable-namespace Note: namesp. add : added namespace before processing ndctl-create-namespace GEN ndctl-destroy-namespace.1 GEN ndctl-check-namespace.1 GEN ndctl-inject-error.1 GEN ndctl-inject-smart.1 GEN ndctl-update-firmware.1 GEN ndctl-list.1 Note: namesp. add : added namespace before processing ndctl-destroy-namespace Note: namesp. add : added namespace before processing ndctl-inject-error Note: namesp. add : added namespace before processing ndctl-update-firmware Note: namesp. add : added namespace before processing ndctl-check-namespaceNote: namesp. add : added namespace before processing ndctl-inject-smart Note: namesp. add : added namespace before processing ndctl-list rm ndctl-check-labels.xml ndctl-init-labels.xml ndctl-list.xml ndctl-wait-scrub.xml ndctl-enable-dimm.xml ndctl-zero-labels.xml ndctl-check-namespace.xml ndctl-inject-error.xml ndctl-write-labels.xml ndctl-inject-smart.xml ndctl-enable-namespace.xml ndctl-read-labels.xml ndctl-destroy-namespace.xml ndctl.xml ndctl-disable-region.xml ndctl-disable-namespace.xml ndctl-start-scrub.xml ndctl-disable-dimm.xml ndctl-create-namespace.xml ndctl-enable-region.xml ndctl-update-firmware.xml Making all in Documentation/daxctl GEN asciidoc.conf GEN daxctl.xml GEN daxctl-list.xml GEN daxctl.1 GEN daxctl-list.1 Note: namesp. add : added namespace before processing daxctl Note: namesp. add : added namespace before processing daxctl-list rm daxctl-list.xml daxctl.xml Making all in test make[2]: Nothing to be done for 'all'. GEN version.m4 make --no-print-directory install-recursive GEN version.m4 Making install in . GEN version.m4 GEN version.m4 make[3]: Nothing to be done for 'install-exec-am'. build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/share/bash-completion/completions' build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/include' /usr/bin/install -c -m 644 contrib/ndctl '/home/slitaz/wok/ndctl/install/usr/share/bash-completion/completions' build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/include/daxctl' /usr/bin/install -c -m 644 daxctl/libdaxctl.h '/home/slitaz/wok/ndctl/install/usr/include/daxctl' Making install in daxctl/lib ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/lib' ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/lib/pkgconfig' ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/include/ndctl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdaxctl.la '/home/slitaz/wok/ndctl/install/usr/lib' /usr/bin/install -c -m 644 ../libdaxctl.h '/home/slitaz/wok/ndctl/install/usr/include/ndctl' /usr/bin/install -c -m 644 libdaxctl.pc '/home/slitaz/wok/ndctl/install/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/libdaxctl.so.1.2.0 /home/slitaz/wok/ndctl/install/usr/lib/libdaxctl.so.1.2.0 libtool: install: (cd /home/slitaz/wok/ndctl/install/usr/lib && { ln -s -f libdaxctl.so.1.2.0 libdaxctl.so.1 || { rm -f libdaxctl.so.1 && ln -s libdaxctl.so.1.2.0 libdaxctl.so.1; }; }) libtool: install: (cd /home/slitaz/wok/ndctl/install/usr/lib && { ln -s -f libdaxctl.so.1.2.0 libdaxctl.so || { rm -f libdaxctl.so && ln -s libdaxctl.so.1.2.0 libdaxctl.so; }; }) libtool: install: /usr/bin/install -c .libs/libdaxctl.lai /home/slitaz/wok/ndctl/install/usr/lib/libdaxctl.la libtool: warning: remember to run 'libtool --finish /usr/lib' Making install in ndctl/lib ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/lib' ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/lib/pkgconfig' ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/include/ndctl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libndctl.la '/home/slitaz/wok/ndctl/install/usr/lib' /usr/bin/install -c -m 644 ../libndctl.h ../ndctl.h '/home/slitaz/wok/ndctl/install/usr/include/ndctl' /usr/bin/install -c -m 644 libndctl.pc '/home/slitaz/wok/ndctl/install/usr/lib/pkgconfig' libtool: warning: relinking 'libndctl.la' libtool: install: (cd /home/slitaz/wok/ndctl/source/ndctl-61.2/ndctl/lib; /bin/sh "/home/slitaz/wok/ndctl/source/ndctl-61.2/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wtype-limits -Wmaybe-uninitialized -Wdeclaration-after-statement -Wunused-result -D_FORTIFY_SOURCE=2 -O2 -fvisibility=hidden -ffunction-sections -fdata-sections -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,--gc-sections -Wl,--as-needed -version-info 16:1:10 -Wl,--version-script=../../ndctl/lib/libndctl.sym -Wl,-Os,--as-needed -o libndctl.la -rpath /usr/lib ../../util/log.lo ../../util/sysfs.lo dimm.lo inject.lo nfit.lo smart.lo intel.lo hpe1.lo msft.lo ars.lo firmware.lo libndctl.lo ../../daxctl/lib/libdaxctl.la -ludev -luuid -lkmod -inst-prefix-dir /home/slitaz/wok/ndctl/install) libtool: install: /usr/bin/install -c .libs/libndctl.so.6.10.1T /home/slitaz/wok/ndctl/install/usr/lib/libndctl.so.6.10.1 libtool: install: (cd /home/slitaz/wok/ndctl/install/usr/lib && { ln -s -f libndctl.so.6.10.1 libndctl.so.6 || { rm -f libndctl.so.6 && ln -s libndctl.so.6.10.1 libndctl.so.6; }; }) libtool: install: (cd /home/slitaz/wok/ndctl/install/usr/lib && { ln -s -f libndctl.so.6.10.1 libndctl.so || { rm -f libndctl.so && ln -s libndctl.so.6.10.1 libndctl.so; }; }) libtool: install: /usr/bin/install -c .libs/libndctl.lai /home/slitaz/wok/ndctl/install/usr/lib/libndctl.la libtool: warning: remember to run 'libtool --finish /usr/lib' Making install in ndctl CCLD ndctl make[3]: Nothing to be done for 'install-data-am'. ../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c ndctl '/home/slitaz/wok/ndctl/install/usr/bin' libtool: warning: 'lib/libndctl.la' has not been installed in '/usr/lib' libtool: warning: '/home/slitaz/wok/ndctl/source/ndctl-61.2/daxctl/lib/libdaxctl.la' has not been installed in '/usr/lib' libtool: warning: '../daxctl/lib/libdaxctl.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/ndctl /home/slitaz/wok/ndctl/install/usr/bin/ndctl Making install in daxctl make[3]: Nothing to be done for 'install-data-am'. ../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c daxctl '/home/slitaz/wok/ndctl/install/usr/bin' libtool: warning: 'lib/libdaxctl.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/daxctl /home/slitaz/wok/ndctl/install/usr/bin/daxctl Making install in Documentation/ndctl make[3]: Nothing to be done for 'install-exec-am'. ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/share/man/man1' /usr/bin/install -c -m 644 ndctl.1 ndctl-wait-scrub.1 ndctl-start-scrub.1 ndctl-zero-labels.1 ndctl-read-labels.1 ndctl-write-labels.1 ndctl-init-labels.1 ndctl-check-labels.1 ndctl-enable-region.1 ndctl-disable-region.1 ndctl-enable-dimm.1 ndctl-disable-dimm.1 ndctl-enable-namespace.1 ndctl-disable-namespace.1 ndctl-create-namespace.1 ndctl-destroy-namespace.1 ndctl-check-namespace.1 ndctl-inject-error.1 ndctl-inject-smart.1 ndctl-update-firmware.1 ndctl-list.1 '/home/slitaz/wok/ndctl/install/usr/share/man/man1' Making install in Documentation/daxctl make[3]: Nothing to be done for 'install-exec-am'. ../../build-aux/install-sh -c -d '/home/slitaz/wok/ndctl/install/usr/share/man/man1' /usr/bin/install -c -m 644 daxctl.1 daxctl-list.1 '/home/slitaz/wok/ndctl/install/usr/share/man/man1' Making install in test make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. ================================================================================ Executing strip on all files... Done Time: 0.45s. Size: 348568 B -> 280516 B. Save: 66 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.83s. Size: 104337 B -> 42318 B. Save: 61 KB. Cache hit: 0/23. ================================================================================ Build dependencies to remove: 36 Removing: advancecomp-static asciidoc autoconf automake dbus docbook-xml docbook-xsl eudev eudev-dev json-c json-c-dev kmod-dev libgcrypt libgdbm libgpg-error libltdl libtool libx11 libxau libxcb libxdmcp libxml2 libxml2-tools libxslt perl perl-core perl-test-pod perl-yaml-syck util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid util-linux-uuid-dev xmlto xz-dev xz-tools Pack: ndctl 61.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "ndctl-61.2-i486.tazpkg" created Pack: ndctl-dev 61.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "ndctl-dev-61.2-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/ndctl-61.2... Done Checking site script in source/ndctl-61.2... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: ndctl 61.2 ================================================================================ Src file : ndctl-61.2.tar.gz Src size : 244.0K Source dir : 7.1M Produced : 520.0K Cook time : 27s Cook date : 2022-07-22 15:01 Target arch : any, i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 316.0K : 81.5K : 6 : ndctl-61.2-i486.tazpkg 2 : 104.0K : 9.2K : 8 : ndctl-dev-61.2-any.tazpkg ================================================================================