>>> ndctl: Building community/ndctl 71.1-r1 (using abuild 3.8.0_rc3-r2) started Sat, 22 May 2021 03:47:56 +0000 >>> ndctl: Checking sanity of /home/buildozer/aports/community/ndctl/APKBUILD... >>> WARNING: ndctl: No maintainer >>> ndctl: Analyzing dependencies... >>> ndctl: Installing for build: build-base libuuid json-c kmod autoconf automake libtool asciidoc xmlto kmod-dev eudev-dev util-linux-dev json-c-dev linux-headers asciidoctor bash-completion keyutils-dev (1/75) Installing libuuid (2.36.2-r2) (2/75) Installing json-c (0.15-r1) (3/75) Installing kmod (29-r0) (4/75) Installing m4 (1.4.18-r2) (5/75) Installing libbz2 (1.0.8-r1) (6/75) Installing perl (5.32.1-r0) (7/75) Installing autoconf (2.71-r0) (8/75) Installing automake (1.16.3-r0) (9/75) Installing readline (8.1.0-r0) (10/75) Installing bash (5.1.4-r0) Executing bash-5.1.4-r0.post-install (11/75) Installing libltdl (2.4.6-r7) (12/75) Installing libtool (2.4.6-r7) (13/75) Installing gdbm (1.19-r0) (14/75) Installing mpdecimal (2.5.1-r1) (15/75) Installing sqlite-libs (3.35.5-r0) (16/75) Installing python3 (3.9.5-r1) (17/75) Installing libxml2-utils (2.9.12-r0) (18/75) Installing libgpg-error (1.42-r0) (19/75) Installing libgcrypt (1.9.3-r0) (20/75) Installing libxslt (1.1.34-r1) (21/75) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (22/75) Installing docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-install (23/75) Installing source-highlight (3.1.9-r1) (24/75) Installing asciidoc (9.1.0-r0) (25/75) Installing perl-yaml-syck (1.34-r0) (26/75) Installing perl-test-pod (1.52-r2) (27/75) Installing xmlto (0.0.28-r2) (28/75) Installing kmod-libs (29-r0) (29/75) Installing kmod-dev (29-r0) (30/75) Installing udev-init-scripts (34-r0) Executing udev-init-scripts-34-r0.post-install (31/75) Installing eudev-libs (3.2.10-r0) (32/75) Installing libblkid (2.36.2-r2) (33/75) Installing eudev (3.2.10-r0) (34/75) Installing eudev-dev (3.2.10-r0) (35/75) Installing blkid (2.36.2-r2) (36/75) Installing libcap-ng (0.8.2-r0) (37/75) Installing setpriv (2.36.2-r2) (38/75) Installing libmount (2.36.2-r2) (39/75) Installing libsmartcols (2.36.2-r2) (40/75) Installing findmnt (2.36.2-r2) (41/75) Installing mcookie (2.36.2-r2) (42/75) Installing hexdump (2.36.2-r2) (43/75) Installing lsblk (2.36.2-r2) (44/75) Installing libfdisk (2.36.2-r2) (45/75) Installing sfdisk (2.36.2-r2) (46/75) Installing cfdisk (2.36.2-r2) (47/75) Installing partx (2.36.2-r2) (48/75) Installing flock (2.36.2-r2) (49/75) Installing logger (2.36.2-r2) (50/75) Installing uuidgen (2.36.2-r2) (51/75) Installing libeconf (0.3.8-r1) (52/75) Installing util-linux (2.36.2-r2) (53/75) Installing util-linux-dev (2.36.2-r2) (54/75) Installing json-c-dev (0.15-r1) (55/75) Installing linux-headers (5.10.27-r0) (56/75) Installing yaml (0.2.5-r0) (57/75) Installing ruby-libs (2.7.3-r1) (58/75) Installing ruby (2.7.3-r1) (59/75) Installing asciidoctor (2.0.15-r0) (60/75) Installing bash-completion (2.11-r4) (61/75) Installing util-linux-bash-completion (2.36.2-r2) (62/75) Installing kmod-bash-completion (29-r0) (63/75) Installing keyutils-libs (1.6.3-r0) (64/75) Installing keyutils-dev (1.6.3-r0) (65/75) Installing .makedepends-ndctl (20210522.034800) (66/75) Installing cargo-bash-completions (1.52.0-r0) (67/75) Installing util-linux-openrc (2.36.2-r2) (68/75) Installing kmod-openrc (29-r0) (69/75) Installing udev-init-scripts-openrc (34-r0) (70/75) Installing eudev-openrc (3.2.10-r0) (71/75) Installing openrc-bash-completion (0.43.3-r0) (72/75) Installing git-bash-completion (2.31.1-r1) (73/75) Installing perl-error (0.17029-r1) (74/75) Installing perl-git (2.31.1-r1) (75/75) Installing git-perl (2.31.1-r1) Executing busybox-1.33.1-r1.trigger Executing eudev-3.2.10-r0.trigger OK: 1158 MiB in 176 packages >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/ndctl-71.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 322k 100 322k 0 0 3586k 0 --:--:-- --:--:-- --:--:-- 3626k >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/ndctl-71.1.tar.gz >>> ndctl: Checking sha512sums... ndctl-71.1.tar.gz: OK >>> ndctl: Unpacking /var/cache/distfiles/v3.14/ndctl-71.1.tar.gz... GIT_VERSION = 71.1 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:21: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:21: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:21: the top level configure.ac:21: installing 'build-aux/compile' configure.ac:26: installing 'build-aux/config.guess' configure.ac:26: 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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... gnutar checking whether make supports the include directive... yes (GNU style) checking for i586-alpine-linux-musl-gcc... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for linux/version.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking build system type... i586-alpine-linux-musl checking host system type... i586-alpine-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/i586-alpine-linux-musl/bin/ld checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert i586-alpine-linux-musl file names to i586-alpine-linux-musl format... func_convert_file_noop checking how to convert i586-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/i586-alpine-linux-musl/bin/ld option to reload object files... -r checking for i586-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i586-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alpine-linux-musl-strip... no checking for strip... strip checking for i586-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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 i586-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i586-alpine-linux-musl/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 asciidoctor... /usr/bin/asciidoctor checking for typeof syntax and keyword spelling... typeof checking whether byte ordering is bigendian... no checking for gcc options needed to detect all undeclared functions... none needed checking whether BUS_MCEERR_AR is declared... yes checking whether MAP_SHARED_VALIDATE is declared... yes checking whether MAP_SYNC is declared... yes checking whether MAP_SHARED_VALIDATE is declared... yes checking whether MAP_SYNC is declared... yes checking for i586-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for KMOD... yes checking for UDEV... yes checking for UUID... yes checking for JSON... yes checking for BASH_COMPLETION... yes checking for __secure_getenv... no checking for secure_getenv... yes checking for keyutils.h... 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 71.1 ===== prefix: /usr sysconfdir: /etc libdir: ${exec_prefix}/lib includedir: ${prefix}/include compiler: gcc cflags: -Os -fomit-frame-pointer ldflags: 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 CC util/iomem.o util/help.c: In function 'exec_man_konqueror': util/help.c:56:34: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 56 | warning("failed to exec '%s': %s", path, | ~^ | | | char * | %d 57 | strerror_r(errno, sbuf, sizeof(sbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int util/help.c: In function 'exec_man_man': util/help.c:68:33: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 68 | warning("failed to exec '%s': %s", path, | ~^ | | | char * | %d 69 | strerror_r(errno, sbuf, sizeof(sbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int AR libccan.a ar: `u' modifier ignored since `D' is the default (see `U') AR libutil.a ar: `u' modifier ignored since `D' is the default (see `U') Making all in daxctl/lib CC ../../util/iomem.lo 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 smart.lo CC intel.lo CC hpe1.lo CC msft.lo CC hyperv.lo CC papr.lo CC ars.lo CC firmware.lo CC libndctl.lo GEN libndctl.pc In file included from papr.c:12: papr.c: In function 'allocate_cmd': papr.c:25:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | "%s:" _format_str, \ | ^~~~~ ...... 100 | payload_size); | ~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ papr.c:24:43: note: in expansion of macro 'err' 24 | #define papr_err(_dimm, _format_str, ...) err(_dimm->bus->ctx, \ | ^~~ papr.c:99:3: note: in expansion of macro 'papr_err' 99 | papr_err(dimm, "Requested payload size too large %lu bytes\n", | ^~~~~~~~ In file included from private.h:12, from dimm.c:10: dimm.c: In function '__label_validate': dimm.c:219:13: warning: format '%zx' expects argument of type 'size_t', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | u64 {aka long long unsigned int} ../../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ dimm.c:219:4: note: in expansion of macro 'dbg' 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ^~~ dimm.c:219:35: note: format string is defined here 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ~~~^ | | | unsigned int | %#llx In file included from private.h:12, from dimm.c:10: dimm.c:227:13: warning: format '%zx' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat=] 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | i, nslot, ndd->config_size); | ~~~~~~~~~~~~~~~~ | | | long unsigned int ../../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ dimm.c:227:4: note: in expansion of macro 'dbg' 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ^~~ dimm.c:227:59: note: format string is defined here 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ~~~^ | | | unsigned int | %#lx In file included from libndctl.c:19: 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] 30 | _a < _b ? _a : _b; \ | ^ libndctl.c:2994:8: note: in expansion of macro 'min' 2994 | 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] 30 | _a < _b ? _a : _b; \ | ^~ libndctl.c:2994:8: note: in expansion of macro 'min' 2994 | len = min(len, out_length); | ^~~ CCLD libndctl.la Making all in ndctl GEN config.h GEN config.h make --no-print-directory all-am 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 ../util/json.o CC inject-error.o CC inject-smart.o CC monitor.o CC load-keys.o CC util/json-smart.o CC util/keys.o In file included from check.c:15: check.c: In function 'btt_read_info': check.c:107:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:107:3: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ check.c:107:48: note: format string is defined here 107 | err(bttc, "short read of first info block: %ld\n", size); | ~~^ | | | long int | %d In file included from check.c:15: check.c: In function 'btt_write_info': check.c:129:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | off); | ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:129:3: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ check.c:129:42: note: format string is defined here 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:134:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:50:25: note: in expansion of macro 'log_info' 50 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ check.c:134:2: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ check.c:134:52: note: format string is defined here 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:143:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=] 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | ssize_t {aka int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:143:3: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ check.c:143:47: note: format string is defined here 143 | err(bttc, "short write of the info block: %ld\n", size); | ~~^ | | | long int | %d In file included from check.c:20: check.c: In function 'btt_copy_to_info2': check.c:174:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:9: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ check.c:174:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ ../util/util.h:38:19: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ check.c:174:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | ms_align = (void *)rounddown((u64)a->map.info2, a->bttc->sys_page_size); | ^ In file included from check.c:20: check.c: In function 'btt_map_write': check.c:221:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:9: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ check.c:221:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../util/util.h:38:19: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ check.c:221:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ monitor.c: In function 'log_file': monitor.c:85:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 85 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, getpid()); | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld monitor.c: In function 'notify_dimm_event': monitor.c:166:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 166 | sprintf(timestamp, "%10ld.%09ld", ts.tv_sec, ts.tv_nsec); | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld dimm.c: In function 'rw_bin': dimm.c:315:37: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 315 | for (offset = start_offset; offset < start_offset + size; | ^ check.c: In function 'btt_discover_arenas': check.c:824:18: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ In file included from check.c:15: check.c:835:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 836 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:835:5: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ check.c:835:60: note: format string is defined here 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:841:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 842 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:841:5: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ check.c:841:45: note: format string is defined here 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c: In function 'btt_mmap': check.c:912:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ check.c:912:2: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ check.c:912:36: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:912:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~ | | | off_t {aka long long int} ../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ check.c:912:2: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ check.c:912:51: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:912:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (void *) addr, length, offset, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ check.c:912:2: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ check.c:912:71: note: format string is defined here 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c: In function 'btt_unmap': check.c:930:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ check.c:930:2: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ check.c:930:36: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:930:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 931 | (void *) addr, length, page_offset); | ~~~~~~~~~~~ | | | off_t {aka long long int} ../util/log.h:37:51: note: in definition of macro 'log_dbg' 37 | # define log_dbg(ctx, arg...) log_null(ctx, ## arg) | ^~~ check.c:930:2: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ check.c:930:56: note: format string is defined here 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c: In function 'btt_create_mappings': check.c:944:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:944:4: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:944:44: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:944:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | i, a->map.info_len, a->infooff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:944:4: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:944:56: note: format string is defined here 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:952:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:952:4: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:952:44: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:952:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | i, a->map.data_len, a->dataoff, strerror(errno)); | ~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:952:4: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:952:56: note: format string is defined here 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:960:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:960:4: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:960:43: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:960:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 961 | i, a->map.map_len, a->mapoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:960:4: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:960:55: note: format string is defined here 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:968:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:968:4: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:968:43: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:968:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 969 | i, a->map.log_len, a->logoff, strerror(errno)); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:968:4: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:968:55: note: format string is defined here 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:976:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:976:4: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:976:45: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#x In file included from check.c:15: check.c:976:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 977 | i, a->map.info2_len, a->info2off, strerror(errno)); | ~~~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:51:24: note: in expansion of macro 'log_err' 51 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ check.c:976:4: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ check.c:976:57: note: format string is defined here 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c: In function '__btt_recover_first_sb': check.c:1047:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | est_arenas, remaining); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:50:25: note: in expansion of macro 'log_info' 50 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ check.c:1047:2: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ check.c:1047:56: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:1065:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1066 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:50:25: note: in expansion of macro 'log_info' 50 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ check.c:1065:2: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ check.c:1065:72: note: format string is defined here 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:1094:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1095 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:50:25: note: in expansion of macro 'log_info' 50 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ check.c:1094:3: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ check.c:1094:67: note: format string is defined here 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from check.c:15: check.c:1127:14: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | offset); | ~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:30:58: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:50:25: note: in expansion of macro 'log_info' 50 | #define info(x, arg...) log_info(&(x)->ctx, ## arg) | ^~~~~~~~ check.c:1127:3: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ check.c:1127:69: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx CCLD ndctl Making all in daxctl GEN config.h make --no-print-directory all-am CC daxctl.o CC acpi.o CC list.o CC migrate.o CC device.o CC ../util/json.o CCLD daxctl Making all in Documentation/ndctl GEN asciidoctor-extensions.rb GEN attrs.adoc 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 GEN ndctl-check-labels.1 GEN ndctl-enable-region.1 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 GEN ndctl-destroy-namespace.1 GEN ndctl-check-namespace.1 GEN ndctl-clear-errors.1 GEN ndctl-inject-error.1 GEN ndctl-inject-smart.1 GEN ndctl-update-firmware.1 GEN ndctl-list.1 GEN ndctl-monitor.1 GEN ndctl-setup-passphrase.1 GEN ndctl-update-passphrase.1 GEN ndctl-remove-passphrase.1 GEN ndctl-freeze-security.1 GEN ndctl-sanitize-dimm.1 GEN ndctl-load-keys.1 GEN ndctl-wait-overwrite.1 GEN ndctl-read-infoblock.1 GEN ndctl-write-infoblock.1 GEN ndctl-activate-firmware.1 Making all in Documentation/daxctl GEN asciidoctor-extensions.rb GEN daxctl.1 GEN daxctl-list.1 GEN daxctl-migrate-device-model.1 GEN daxctl-reconfigure-device.1 GEN daxctl-online-memory.1 GEN daxctl-offline-memory.1 GEN daxctl-disable-device.1 GEN daxctl-enable-device.1 GEN daxctl-create-device.1 GEN daxctl-destroy-device.1 Making all in test make[2]: Nothing to be done for 'all'. >>> ndctl: Entering fakeroot... 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/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions' ./build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/modprobe.d/' ./build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include' /usr/bin/install -c -m 644 contrib/ndctl '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 contrib/nvdimm-security.conf '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/modprobe.d/' ./build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/daxctl' /usr/bin/install -c -m 644 daxctl/libdaxctl.h '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/daxctl' Making install in daxctl/lib ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib' ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/daxctl' ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig' ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libdaxctl.la '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib' /usr/bin/install -c -m 644 daxctl.conf '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/daxctl' /usr/bin/install -c -m 644 ../libdaxctl.h '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl' /usr/bin/install -c -m 644 libdaxctl.pc '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/libdaxctl.so.1.5.0 /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libdaxctl.so.1.5.0 libtool: install: (cd /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib && { ln -s -f libdaxctl.so.1.5.0 libdaxctl.so.1 || { rm -f libdaxctl.so.1 && ln -s libdaxctl.so.1.5.0 libdaxctl.so.1; }; }) libtool: install: (cd /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib && { ln -s -f libdaxctl.so.1.5.0 libdaxctl.so || { rm -f libdaxctl.so && ln -s libdaxctl.so.1.5.0 libdaxctl.so; }; }) libtool: install: /usr/bin/install -c .libs/libdaxctl.lai /home/buildozer/aports/community/ndctl/pkg/ndctl/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/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib' ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig' ../.././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libndctl.la '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib' /usr/bin/install -c -m 644 libndctl.pc '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig' /usr/bin/install -c -m 644 ../libndctl.h ../ndctl.h '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl' libtool: warning: relinking 'libndctl.la' libtool: install: (cd /home/buildozer/aports/community/ndctl/src/ndctl-71.1/ndctl/lib; /bin/sh "/home/buildozer/aports/community/ndctl/src/ndctl-71.1/libtool" --silent --tag CC --mode=relink gcc -Wall -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -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 -Os -fomit-frame-pointer -Wl,--gc-sections -Wl,--as-needed -version-info 25:1:19 -Wl,--version-script=../../ndctl/lib/libndctl.sym -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 hyperv.lo papr.lo ars.lo firmware.lo libndctl.lo ../../daxctl/lib/libdaxctl.la -ludev -luuid -lkmod -inst-prefix-dir /home/buildozer/aports/community/ndctl/pkg/ndctl) libtool: install: /usr/bin/install -c .libs/libndctl.so.6.19.1T /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.so.6.19.1 libtool: install: (cd /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib && { ln -s -f libndctl.so.6.19.1 libndctl.so.6 || { rm -f libndctl.so.6 && ln -s libndctl.so.6.19.1 libndctl.so.6; }; }) libtool: install: (cd /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib && { ln -s -f libndctl.so.6.19.1 libndctl.so || { rm -f libndctl.so && ln -s libndctl.so.6.19.1 libndctl.so; }; }) libtool: install: /usr/bin/install -c .libs/libndctl.lai /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.la libtool: warning: remember to run 'libtool --finish /usr/lib' Making install in ndctl make --no-print-directory install-am CCLD ndctl .././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin' .././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl/keys' .././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl' /bin/sh ../libtool --mode=install /usr/bin/install -c ndctl '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin' /usr/bin/install -c -m 644 keys.readme '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl/keys' /usr/bin/install -c -m 644 monitor.conf '/home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl' libtool: warning: 'lib/libndctl.la' has not been installed in '/usr/lib' libtool: warning: '/home/buildozer/aports/community/ndctl/src/ndctl-71.1/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/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin/ndctl Making install in daxctl make --no-print-directory install-am make[4]: Nothing to be done for 'install-data-am'. .././build-aux/install-sh -c -d '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c daxctl '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin' libtool: warning: 'lib/libdaxctl.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/daxctl /home/buildozer/aports/community/ndctl/pkg/ndctl/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/buildozer/aports/community/ndctl/pkg/ndctl/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-clear-errors.1 ndctl-inject-error.1 ndctl-inject-smart.1 ndctl-update-firmware.1 ndctl-list.1 ndctl-monitor.1 ndctl-setup-passphrase.1 ndctl-update-passphrase.1 ndctl-remove-passphrase.1 ndctl-freeze-security.1 ndctl-sanitize-dimm.1 ndctl-load-keys.1 ndctl-wait-overwrite.1 ndctl-read-infoblock.1 ndctl-write-infoblock.1 ndctl-activate-firmware.1 '/home/buildozer/aports/community/ndctl/pkg/ndctl/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/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1' /usr/bin/install -c -m 644 daxctl.1 daxctl-list.1 daxctl-migrate-device-model.1 daxctl-reconfigure-device.1 daxctl-online-memory.1 daxctl-offline-memory.1 daxctl-disable-device.1 daxctl-enable-device.1 daxctl-create-device.1 daxctl-destroy-device.1 '/home/buildozer/aports/community/ndctl/pkg/ndctl/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'. >>> ndctl-doc*: Running split function doc... >>> ndctl-doc*: Preparing subpackage ndctl-doc... >>> ndctl-doc*: Running postcheck for ndctl-doc >>> ndctl-dev*: Running split function dev... >>> ndctl-dev*: Preparing subpackage ndctl-dev... >>> ndctl-dev*: Stripping binaries >>> ndctl-dev*: Running postcheck for ndctl-dev >>> ndctl-libs*: Running split function libs... >>> ndctl-libs*: Preparing subpackage ndctl-libs... >>> ndctl-libs*: Stripping binaries >>> ndctl-libs*: Running postcheck for ndctl-libs >>> ndctl-bash-completion*: Running split function bashcomp... >>> ndctl-bash-completion*: Preparing subpackage ndctl-bash-completion... >>> ndctl-bash-completion*: Running postcheck for ndctl-bash-completion >>> ndctl*: Running postcheck for ndctl >>> ndctl*: Preparing package ndctl... >>> ndctl*: Stripping binaries >>> ndctl-bash-completion*: Scanning shared objects >>> ndctl-dev*: Scanning shared objects >>> ndctl-doc*: Scanning shared objects >>> ndctl-libs*: Scanning shared objects >>> ndctl*: Scanning shared objects >>> ndctl-bash-completion*: Tracing dependencies... >>> ndctl-bash-completion*: Package size: 36.0 KB >>> ndctl-bash-completion*: Compressing data... >>> ndctl-bash-completion*: Create checksum... >>> ndctl-bash-completion*: Create ndctl-bash-completion-71.1-r1.apk >>> ndctl-dev*: Tracing dependencies... ndctl-libs=71.1-r1 pkgconfig >>> ndctl-dev*: Package size: 100.0 KB >>> ndctl-dev*: Compressing data... >>> ndctl-dev*: Create checksum... >>> ndctl-dev*: Create ndctl-dev-71.1-r1.apk >>> ndctl-doc*: Tracing dependencies... >>> ndctl-doc*: Package size: 200.0 KB >>> ndctl-doc*: Compressing data... >>> ndctl-doc*: Create checksum... >>> ndctl-doc*: Create ndctl-doc-71.1-r1.apk >>> ndctl-libs*: Tracing dependencies... so:libc.musl-x86.so.1 so:libkmod.so.2 so:libudev.so.1 so:libuuid.so.1 >>> ndctl-libs*: Package size: 208.0 KB >>> ndctl-libs*: Compressing data... >>> ndctl-libs*: Create checksum... >>> ndctl-libs*: Create ndctl-libs-71.1-r1.apk >>> ndctl*: Tracing dependencies... libuuid json-c kmod so:libc.musl-x86.so.1 so:libdaxctl.so.1 so:libjson-c.so.5 so:libkeyutils.so.1 so:libndctl.so.6 so:libuuid.so.1 >>> ndctl*: Package size: 324.0 KB >>> ndctl*: Compressing data... >>> ndctl*: Create checksum... >>> ndctl*: Create ndctl-71.1-r1.apk >>> ndctl: Build complete at Sat, 22 May 2021 03:48:33 +0000 elapsed time 0h 0m 37s >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Uninstalling dependencies... (1/75) Purging util-linux-bash-completion (2.36.2-r2) (2/75) Purging kmod-bash-completion (29-r0) (3/75) Purging .makedepends-ndctl (20210522.034800) (4/75) Purging kmod-openrc (29-r0) (5/75) Purging kmod (29-r0) (6/75) Purging autoconf (2.71-r0) (7/75) Purging m4 (1.4.18-r2) (8/75) Purging automake (1.16.3-r0) (9/75) Purging libtool (2.4.6-r7) (10/75) Purging libltdl (2.4.6-r7) (11/75) Purging asciidoc (9.1.0-r0) (12/75) Purging python3 (3.9.5-r1) (13/75) Purging source-highlight (3.1.9-r1) (14/75) Purging xmlto (0.0.28-r2) (15/75) Purging perl-yaml-syck (1.34-r0) (16/75) Purging perl-test-pod (1.52-r2) (17/75) Purging docbook-xsl (1.79.2-r2) Executing docbook-xsl-1.79.2-r2.post-deinstall (18/75) Purging libxslt (1.1.34-r1) (19/75) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (20/75) Purging libxml2-utils (2.9.12-r0) (21/75) Purging kmod-dev (29-r0) (22/75) Purging eudev-dev (3.2.10-r0) (23/75) Purging eudev-openrc (3.2.10-r0) (24/75) Purging eudev (3.2.10-r0) (25/75) Purging udev-init-scripts-openrc (34-r0) (26/75) Purging udev-init-scripts (34-r0) (27/75) Purging eudev-libs (3.2.10-r0) (28/75) Purging util-linux-dev (2.36.2-r2) (29/75) Purging util-linux-openrc (2.36.2-r2) (30/75) Purging util-linux (2.36.2-r2) (31/75) Purging blkid (2.36.2-r2) (32/75) Purging setpriv (2.36.2-r2) (33/75) Purging findmnt (2.36.2-r2) (34/75) Purging mcookie (2.36.2-r2) (35/75) Purging hexdump (2.36.2-r2) (36/75) Purging lsblk (2.36.2-r2) (37/75) Purging sfdisk (2.36.2-r2) (38/75) Purging cfdisk (2.36.2-r2) (39/75) Purging partx (2.36.2-r2) (40/75) Purging flock (2.36.2-r2) (41/75) Purging logger (2.36.2-r2) (42/75) Purging uuidgen (2.36.2-r2) (43/75) Purging libfdisk (2.36.2-r2) (44/75) Purging libmount (2.36.2-r2) (45/75) Purging libsmartcols (2.36.2-r2) (46/75) Purging libuuid (2.36.2-r2) (47/75) Purging json-c-dev (0.15-r1) (48/75) Purging json-c (0.15-r1) (49/75) Purging linux-headers (5.10.27-r0) (50/75) Purging asciidoctor (2.0.15-r0) (51/75) Purging ruby (2.7.3-r1) (52/75) Purging git-bash-completion (2.31.1-r1) (53/75) Purging cargo-bash-completions (1.52.0-r0) (54/75) Purging openrc-bash-completion (0.43.3-r0) (55/75) Purging bash-completion (2.11-r4) (56/75) Purging bash (5.1.4-r0) Executing bash-5.1.4-r0.pre-deinstall (57/75) Purging keyutils-dev (1.6.3-r0) (58/75) Purging keyutils-libs (1.6.3-r0) (59/75) Purging git-perl (2.31.1-r1) (60/75) Purging perl-git (2.31.1-r1) (61/75) Purging perl-error (0.17029-r1) (62/75) Purging perl (5.32.1-r0) (63/75) Purging libbz2 (1.0.8-r1) (64/75) Purging ruby-libs (2.7.3-r1) (65/75) Purging readline (8.1.0-r0) (66/75) Purging gdbm (1.19-r0) (67/75) Purging mpdecimal (2.5.1-r1) (68/75) Purging sqlite-libs (3.35.5-r0) (69/75) Purging libgcrypt (1.9.3-r0) (70/75) Purging libgpg-error (1.42-r0) (71/75) Purging kmod-libs (29-r0) (72/75) Purging libblkid (2.36.2-r2) (73/75) Purging libcap-ng (0.8.2-r0) (74/75) Purging libeconf (0.3.8-r1) (75/75) Purging yaml (0.2.5-r0) Executing busybox-1.33.1-r1.trigger OK: 1013 MiB in 101 packages >>> ndctl: Updating the community/x86 repository index... >>> ndctl: Signing the index...