>>> ndctl: Building community/ndctl 73-r0 (using abuild 3.9.0-r0) started Wed, 13 Apr 2022 22:46:28 +0000 >>> ndctl: Checking sanity of /home/buildozer/aports/community/ndctl/APKBUILD... >>> WARNING: ndctl: No maintainer >>> ndctl: Analyzing dependencies... >>> ndctl: Installing for build: build-base kmod meson asciidoc asciidoctor autoconf automake bash-completion eudev-dev iniparser-dev json-c-dev keyutils-dev kmod-dev libtool linux-headers util-linux-dev xmlto (1/66) Installing xz-libs (5.2.5-r1) (2/66) Installing kmod (29-r2) (3/66) Installing samurai (1.2-r1) (4/66) Installing libbz2 (1.0.8-r1) (5/66) Installing libffi (3.4.2-r1) (6/66) Installing gdbm (1.23-r0) (7/66) Installing mpdecimal (2.5.1-r1) (8/66) Installing readline (8.1.2-r0) (9/66) Installing sqlite-libs (3.38.0-r0) (10/66) Installing python3 (3.10.3-r0) (11/66) Installing meson (0.62.0-r0) (12/66) Installing libxml2 (2.9.13-r0) (13/66) Installing libxml2-utils (2.9.13-r0) (14/66) Installing libgpg-error (1.45-r0) (15/66) Installing libgcrypt (1.9.4-r0) (16/66) Installing libxslt (1.1.35-r0) (17/66) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (18/66) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (19/66) Installing source-highlight (3.1.9-r3) (20/66) Installing asciidoc (9.1.1-r0) (21/66) Installing libucontext (1.2-r0) (22/66) Installing yaml (0.2.5-r0) (23/66) Installing ruby-libs (3.1.2-r0) (24/66) Installing ruby (3.1.2-r0) (25/66) Installing asciidoctor (2.0.17-r1) (26/66) Installing m4 (1.4.19-r1) (27/66) Installing perl (5.34.1-r0) (28/66) Installing autoconf (2.71-r0) (29/66) Installing automake (1.16.5-r0) (30/66) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (31/66) Installing bash-completion (2.11-r4) (32/66) Installing meson-bash-completion (0.62.0-r0) (33/66) Installing kmod-bash-completion (29-r2) (34/66) Installing udev-init-scripts (35-r0) Executing udev-init-scripts-35-r0.post-install (35/66) Installing eudev-libs (3.2.11-r0) (36/66) Installing libblkid (2.38-r0) (37/66) Installing kmod-libs (29-r2) (38/66) Installing eudev (3.2.11-r0) (39/66) Installing eudev-dev (3.2.11-r0) (40/66) Installing iniparser (4.1-r0) (41/66) Installing iniparser-dev (4.1-r0) (42/66) Installing json-c (0.15-r3) (43/66) Installing json-c-dev (0.15-r3) (44/66) Installing keyutils-libs (1.6.3-r0) (45/66) Installing keyutils-dev (1.6.3-r0) (46/66) Installing kmod-dev (29-r2) (47/66) Installing libltdl (2.4.7-r0) (48/66) Installing libtool (2.4.7-r0) (49/66) Installing linux-headers (5.16.7-r1) (50/66) Installing libuuid (2.38-r0) (51/66) Installing libfdisk (2.38-r0) (52/66) Installing libmount (2.38-r0) (53/66) Installing libsmartcols (2.38-r0) (54/66) Installing util-linux-dev (2.38-r0) (55/66) Installing perl-yaml-syck (1.34-r1) (56/66) Installing perl-test-pod (1.52-r2) (57/66) Installing xmlto (0.0.28-r2) (58/66) Installing .makedepends-ndctl (20220413.224630) (59/66) Installing kmod-openrc (29-r2) (60/66) Installing udev-init-scripts-openrc (35-r0) (61/66) Installing eudev-openrc (3.2.11-r0) (62/66) Installing openrc-bash-completion (0.44.10-r5) (63/66) Installing git-bash-completion (2.35.2-r0) (64/66) Installing perl-error (0.17029-r1) (65/66) Installing perl-git (2.35.2-r0) (66/66) Installing git-perl (2.35.2-r0) Executing busybox-1.35.0-r8.trigger Executing eudev-3.2.11-r0.trigger OK: 397 MiB in 154 packages >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/ndctl-73.tar.gz >>> ndctl: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/ndctl-73.tar.gz >>> ndctl: Checking sha512sums... ndctl-73.tar.gz: OK >>> ndctl: Unpacking /var/cache/distfiles/v3.16/ndctl-73.tar.gz... The Meson build system Version: 0.62.0 Source dir: /home/buildozer/aports/community/ndctl/src/ndctl-73 Build dir: /home/buildozer/aports/community/ndctl/src/ndctl-73/output Build type: native build Project name: ndctl Project version: 73 C compiler for the host machine: gcc (gcc 11.2.1 "gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219") C linker for the host machine: gcc ld.bfd 2.38 Host machine cpu family: arm Host machine cpu: armv8l Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Wchar-subscripts: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs : NO Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wmaybe-uninitialized: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wunused-result: YES Compiler for C supports arguments -D_FORTIFY_SOURCE=2: YES Compiler for C supports arguments -O2: YES meson.build:77: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:77: WARNING: Consider using the built-in optimization level instead of using "-O2". Program git found: YES (/usr/bin/git) Program env found: YES (/usr/bin/env) WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency libkmod found: YES 29 Run-time dependency libudev found: YES 243 Run-time dependency uuid found: YES 2.38.0 Run-time dependency json-c found: YES 0.15 Program asciidoctor found: YES (/usr/bin/asciidoctor) Library keyutils found: YES Library iniparser found: YES Has header "dlfcn.h" : YES Has header "inttypes.h" : YES Has header "keyutils.h" : YES Has header "linux/version.h" : YES Has header "memory.h" : YES Has header "stdint.h" : YES Has header "stdlib.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/stat.h" : YES Has header "sys/types.h" : YES Has header "unistd.h" : YES Header has symbol "BUS_MCEERR_AR" : YES Header has symbol "MAP_SHARED_VALIDATE" : YES Header has symbol "MAP_SYNC" : YES Checking for function "secure_getenv" : YES Checking for function "__secure_getenv" : NO Checking for function "json_object_new_uint64" with dependency json-c: YES Configuring config.h using configuration Program create.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/create.sh) Program clear.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/clear.sh) Program pmem-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/pmem-errors.sh) Program daxdev-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/daxdev-errors.sh) Program multi-dax.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/multi-dax.sh) Program btt-check.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/btt-check.sh) Program label-compat.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/label-compat.sh) Program sector-mode.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/sector-mode.sh) Program inject-error.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/inject-error.sh) Program btt-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/btt-errors.sh) Program btt-pad-compat.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/btt-pad-compat.sh) Program firmware-update.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/firmware-update.sh) Program rescan-partitions.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/rescan-partitions.sh) Program inject-smart.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/inject-smart.sh) Program monitor.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/monitor.sh) Program max_available_extent_ns.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/max_available_extent_ns.sh) Program pfn-meta-errors.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/pfn-meta-errors.sh) Program track-uuid.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/track-uuid.sh) Program security.sh found: YES (/home/buildozer/aports/community/ndctl/src/ndctl-73/test/security.sh) Run-time dependency bash-completion found: YES 2.11 Build targets in project: 91 ndctl 73 User defined options auto_features : auto bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload b_lto : false b_pie : true b_staticpic : true systemd : disabled Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/community/ndctl/src/ndctl-73/output' [1/231] Compiling C object test/mmap.p/mmap.c.o [2/231] Compiling C object test/revoke_devmem.p/dax-dev.c.o [3/231] Compiling C object test/revoke_devmem.p/revoke-devmem.c.o [4/231] Compiling C object test/revoke_devmem.p/.._util_sysfs.c.o [5/231] Compiling C object test/revoke_devmem.p/.._util_log.c.o [6/231] Compiling C object test/revoke_devmem.p/core.c.o [7/231] Compiling C object test/dax-pmd.p/dax-poison.c.o [8/231] Compiling C object test/dax-pmd.p/dax-pmd.c.o [9/231] Compiling C object test/dax-pmd.p/.._util_sysfs.c.o [10/231] Compiling C object test/dax-pmd.p/.._util_log.c.o [11/231] Compiling C object test/dax-pmd.p/core.c.o [12/231] Compiling C object test/dax-dev.p/dax-dev.c.o [13/231] Compiling C object test/dax-dev.p/.._util_sysfs.c.o [14/231] Compiling C object test/dax-dev.p/.._util_log.c.o [15/231] Compiling C object test/dax-dev.p/core.c.o [16/231] Compiling C object test/pmem-ns.p/pmem_namespaces.c.o [17/231] Compiling C object test/pmem-ns.p/.._util_sysfs.c.o [18/231] Compiling C object test/pmem-ns.p/.._util_log.c.o [19/231] Compiling C object test/pmem-ns.p/core.c.o [20/231] Compiling C object test/daxdev-errors.p/.._util_sysfs.c.o [21/231] Compiling C object test/daxdev-errors.p/.._util_log.c.o [22/231] Compiling C object test/daxdev-errors.p/daxdev-errors.c.o [23/231] Compiling C object test/smart-listen.p/smart-listen.c.o [24/231] Compiling C object test/smart-notify.p/smart-notify.c.o [25/231] Compiling C object test/dax-errors.p/dax-errors.c.o [26/231] Compiling C object test/ack-shutdown-count-set.p/ack-shutdown-count-set.c.o [27/231] Compiling C object test/ack-shutdown-count-set.p/.._util_sysfs.c.o [28/231] Compiling C object test/ack-shutdown-count-set.p/.._util_log.c.o [29/231] Compiling C object test/ack-shutdown-count-set.p/core.c.o [30/231] Compiling C object test/hugetlb.p/dax-poison.c.o [31/231] Compiling C object test/hugetlb.p/dax-pmd.c.o [32/231] Compiling C object test/hugetlb.p/hugetlb.c.o [33/231] Compiling C object test/hugetlb.p/.._util_sysfs.c.o [34/231] Compiling C object test/hugetlb.p/.._util_log.c.o [35/231] Compiling C object test/hugetlb.p/core.c.o [36/231] Compiling C object test/libndctl.p/libndctl.c.o [37/231] Compiling C object test/libndctl.p/.._util_sysfs.c.o [38/231] Compiling C object test/libndctl.p/.._util_log.c.o [39/231] Compiling C object test/libndctl.p/core.c.o [40/231] Generating Documentation/cxl/lib/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [41/231] Generating Documentation/cxl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [42/231] Generating Documentation/daxctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [43/231] Generating Documentation/ndctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [44/231] Compiling C object util/libutil.a.p/iomem.c.o [45/231] Compiling C object util/libutil.a.p/abspath.c.o [46/231] Compiling C object util/libutil.a.p/bitmap.c.o [47/231] Compiling C object util/libutil.a.p/wrapper.c.o [48/231] Compiling C object util/libutil.a.p/strbuf.c.o [49/231] Compiling C object util/libutil.a.p/help.c.o [50/231] Compiling C object util/libutil.a.p/main.c.o [51/231] Compiling C object util/libutil.a.p/size.c.o [52/231] Compiling C object util/libutil.a.p/usage.c.o [53/231] Compiling C object util/libutil.a.p/parse-configs.c.o [54/231] Compiling C object util/libutil.a.p/parse-options.c.o [55/231] Generating cxl/lib/libcxl.pc with a custom command (wrapped by meson to capture output) [56/231] Compiling C object cxl/lib/libcxl.so.1.0.1.p/libcxl.c.o [57/231] Compiling C object cxl/lib/libcxl.so.1.0.1.p/.._.._util_log.c.o [58/231] Compiling C object cxl/lib/libcxl.so.1.0.1.p/.._.._util_sysfs.c.o [59/231] Generating ndctl/lib/libndctl.pc with a custom command (wrapped by meson to capture output) [60/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/libndctl.c.o [61/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/firmware.c.o [62/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/ars.c.o [63/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/papr.c.o [64/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/hyperv.c.o [65/231] Linking target test/dax-errors [66/231] Linking target test/mmap [67/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/msft.c.o [68/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/hpe1.c.o [69/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/intel.c.o [70/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/smart.c.o [71/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/nfit.c.o [72/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/inject.c.o [73/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/dimm.c.o [74/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/.._.._util_sysfs.c.o [75/231] Compiling C object ndctl/lib/libndctl.so.6.0.20.p/.._.._util_log.c.o [76/231] Generating daxctl/lib/libdaxctl.pc with a custom command (wrapped by meson to capture output) [77/231] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.c.o [78/231] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_log.c.o [79/231] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_sysfs.c.o [80/231] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_iomem.c.o [81/231] Compiling C object libccan.a.p/ccan_list_list.c.o [82/231] Compiling C object libccan.a.p/ccan_str_str.c.o [83/231] Generating sles/ndctl.spec.sles.in with a custom command [84/231] Generating rhel/ndctl.spec.in with a custom command [85/231] Generating version.h with a custom command In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ [86/231] Generating Documentation/cxl/cxl-set-partition with a custom command [87/231] Generating Documentation/cxl/cxl-disable-port with a custom command [88/231] Generating Documentation/cxl/cxl-enable-port with a custom command [89/231] Generating Documentation/cxl/cxl-disable-memdev with a custom command [90/231] Generating Documentation/cxl/cxl-enable-memdev with a custom command [91/231] Generating Documentation/cxl/cxl-zero-labels with a custom command [92/231] Generating Documentation/cxl/cxl-write-labels with a custom command [93/231] Generating Documentation/cxl/cxl-read-labels with a custom command [94/231] Generating Documentation/cxl/cxl-list with a custom command [95/231] Generating Documentation/cxl/cxl with a custom command ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} ../test/daxdev-errors.c: In function 'test_daxdev_clear_error': ../test/daxdev-errors.c:297:29: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 297 | rc = sscanf(buf, "%lu %lu", &offset, &blocks); | ~~^ ~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llu ../test/daxdev-errors.c:297:33: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 4 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 297 | rc = sscanf(buf, "%lu %lu", &offset, &blocks); | ~~^ ~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llu ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} ../util/help.c: In function 'exec_man_konqueror': ../util/help.c:56:48: 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:40: 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 [96/231] Generating Documentation/daxctl/daxctl-destroy-device with a custom command [97/231] Generating Documentation/daxctl/daxctl-create-device with a custom command [98/231] Generating Documentation/daxctl/daxctl-enable-device with a custom command [99/231] Generating Documentation/daxctl/daxctl-disable-device with a custom command [100/231] Generating Documentation/daxctl/daxctl-offline-memory with a custom command [101/231] Generating Documentation/daxctl/daxctl-online-memory with a custom command [102/231] Generating Documentation/daxctl/daxctl-reconfigure-device with a custom command [103/231] Generating Documentation/daxctl/daxctl-migrate-device-model with a custom command [104/231] Generating Documentation/daxctl/daxctl-list with a custom command [105/231] Generating Documentation/daxctl/daxctl with a custom command In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ In file included from ../ndctl/lib/papr.c:12: ../ndctl/lib/papr.c: In function 'allocate_cmd': ../ndctl/lib/papr.c:25:47: 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, \ | ^~~~~ ../util/log.h:30:72: 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) | ^~~~~~~ ../ndctl/lib/papr.c:24:43: note: in expansion of macro 'err' 24 | #define papr_err(_dimm, _format_str, ...) err(_dimm->bus->ctx, \ | ^~~ ../ndctl/lib/papr.c:99:17: note: in expansion of macro 'papr_err' 99 | papr_err(dimm, "Requested payload size too large %lu bytes\n", | ^~~~~~~~ [106/231] Generating Documentation/ndctl/ndctl-activate-firmware with a custom command [107/231] Generating Documentation/ndctl/ndctl-write-infoblock with a custom command [108/231] Generating Documentation/ndctl/ndctl-read-infoblock with a custom command [109/231] Generating Documentation/ndctl/ndctl-wait-overwrite with a custom command [110/231] Generating Documentation/ndctl/ndctl-load-keys with a custom command [111/231] Generating Documentation/ndctl/ndctl-sanitize-dimm with a custom command [112/231] Generating Documentation/ndctl/ndctl-freeze-security with a custom command [113/231] Generating Documentation/ndctl/ndctl-remove-passphrase with a custom command [114/231] Generating Documentation/ndctl/ndctl-update-passphrase with a custom command [115/231] Generating Documentation/ndctl/ndctl-setup-passphrase with a custom command [116/231] Generating Documentation/ndctl/ndctl-monitor with a custom command [117/231] Generating Documentation/ndctl/ndctl-list with a custom command [118/231] Generating Documentation/ndctl/ndctl-update-firmware with a custom command [119/231] Generating Documentation/ndctl/ndctl-inject-smart with a custom command [120/231] Generating Documentation/ndctl/ndctl-inject-error with a custom command [121/231] Generating Documentation/ndctl/ndctl-clear-errors with a custom command [122/231] Generating Documentation/ndctl/ndctl-check-namespace with a custom command [123/231] Generating Documentation/ndctl/ndctl-destroy-namespace with a custom command [124/231] Generating Documentation/ndctl/ndctl-create-namespace with a custom command [125/231] Generating Documentation/ndctl/ndctl-disable-namespace with a custom command [126/231] Generating Documentation/ndctl/ndctl-enable-namespace with a custom command [127/231] Generating Documentation/ndctl/ndctl-disable-dimm with a custom command [128/231] Generating Documentation/ndctl/ndctl-enable-dimm with a custom command [129/231] Generating Documentation/ndctl/ndctl-disable-region with a custom command [130/231] Generating Documentation/ndctl/ndctl-enable-region with a custom command [131/231] Linking static target util/libutil.a [132/231] Generating Documentation/ndctl/ndctl-check-labels with a custom command [133/231] Generating Documentation/ndctl/ndctl-init-labels with a custom command [134/231] Generating Documentation/ndctl/ndctl-write-labels with a custom command [135/231] Generating Documentation/ndctl/ndctl-read-labels with a custom command [136/231] Generating Documentation/ndctl/ndctl-zero-labels with a custom command [137/231] Generating Documentation/ndctl/ndctl-start-scrub with a custom command [138/231] Generating Documentation/ndctl/ndctl-wait-scrub with a custom command [139/231] Generating Documentation/ndctl/ndctl with a custom command [140/231] Generating Documentation/cxl/lib/cxl_new with a custom command [141/231] Generating Documentation/cxl/lib/libcxl with a custom command [142/231] Linking static target libccan.a [143/231] Compiling C object test/device-dax.p/dax-poison.c.o [144/231] Compiling C object test/device-dax.p/dax-pmd.c.o [145/231] Compiling C object test/device-dax.p/dax-dev.c.o [146/231] Compiling C object test/device-dax.p/device-dax.c.o In file included from ../ndctl/lib/private.h:12, from ../ndctl/lib/dimm.c:10: ../ndctl/lib/dimm.c: In function '__label_validate': ../ndctl/lib/dimm.c:219:34: warning: format '%zx' expects argument of type 'size_t', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/lib/dimm.c:219:25: note: in expansion of macro 'dbg' 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ^~~ ../ndctl/lib/dimm.c:219:56: note: format string is defined here 219 | dbg(ctx, "nsindex%d mysize: %#zx invalid\n", i, size); | ~~~^ | | | unsigned int | %#llx In file included from ../ndctl/lib/private.h:12, from ../ndctl/lib/dimm.c:10: ../ndctl/lib/dimm.c:227:34: warning: format '%zx' expects argument of type 'size_t', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/lib/dimm.c:227:25: note: in expansion of macro 'dbg' 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ^~~ ../ndctl/lib/dimm.c:227:80: note: format string is defined here 227 | dbg(ctx, "nsindex%d nslot: %u invalid, config_size: %#zx\n", | ~~~^ | | | unsigned int | %#lx [147/231] Compiling C object test/device-dax.p/.._daxctl_json.c.o [148/231] Compiling C object test/device-dax.p/.._daxctl_filter.c.o [149/231] Compiling C object test/device-dax.p/.._ndctl_json.c.o [150/231] Compiling C object test/device-dax.p/.._util_json.c.o [151/231] Compiling C object test/device-dax.p/.._ndctl_check.c.o [152/231] Compiling C object test/device-dax.p/.._ndctl_filter.c.o [153/231] Compiling C object test/device-dax.p/.._ndctl_namespace.c.o [154/231] Compiling C object test/device-dax.p/.._util_sysfs.c.o [155/231] Compiling C object test/device-dax.p/.._util_log.c.o [156/231] Compiling C object test/device-dax.p/core.c.o [157/231] Compiling C object test/list-smart-dimm.p/.._daxctl_filter.c.o [158/231] Compiling C object test/list-smart-dimm.p/.._daxctl_json.c.o [159/231] Compiling C object test/list-smart-dimm.p/.._ndctl_json.c.o [160/231] Compiling C object test/list-smart-dimm.p/.._util_json.c.o [161/231] Compiling C object test/list-smart-dimm.p/.._ndctl_filter.c.o [162/231] Compiling C object test/list-smart-dimm.p/list-smart-dimm.c.o [163/231] Compiling C object test/dsm-fail.p/dsm-fail.c.o [164/231] Compiling C object test/dsm-fail.p/.._daxctl_json.c.o [165/231] Compiling C object test/dsm-fail.p/.._daxctl_filter.c.o [166/231] Compiling C object test/dsm-fail.p/.._ndctl_json.c.o [167/231] Compiling C object test/dsm-fail.p/.._util_json.c.o [168/231] Compiling C object test/dsm-fail.p/.._ndctl_check.c.o ../test/dax-poison.c: In function 'test_dax_poison': ../test/dax-poison.c:99:63: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=] 99 | fprintf(stderr, "%s: mmap got %p align: %ld offset: %zd\n", | ~~^ | | | int | %lld 100 | __func__, addr, align, offset); | ~~~~~~ | | | off_t {aka long long int} [169/231] Compiling C object test/dsm-fail.p/.._ndctl_filter.c.o [170/231] Compiling C object test/dsm-fail.p/.._ndctl_namespace.c.o [171/231] Compiling C object test/dsm-fail.p/.._util_sysfs.c.o [172/231] Compiling C object test/dsm-fail.p/.._util_log.c.o [173/231] Compiling C object test/dsm-fail.p/core.c.o [174/231] Compiling C object cxl/cxl.p/filter.c.o [175/231] Compiling C object cxl/cxl.p/json.c.o [176/231] Compiling C object cxl/cxl.p/.._util_log.c.o [177/231] Compiling C object cxl/cxl.p/.._util_json.c.o [178/231] Compiling C object cxl/cxl.p/memdev.c.o [179/231] Compiling C object cxl/cxl.p/port.c.o [180/231] Compiling C object cxl/cxl.p/list.c.o [181/231] Compiling C object cxl/cxl.p/cxl.c.o [182/231] Compiling C object daxctl/daxctl.p/filter.c.o [183/231] Compiling C object daxctl/daxctl.p/json.c.o [184/231] Compiling C object daxctl/daxctl.p/.._util_json.c.o [185/231] Compiling C object daxctl/daxctl.p/device.c.o [186/231] Compiling C object daxctl/daxctl.p/migrate.c.o [187/231] Compiling C object daxctl/daxctl.p/list.c.o [188/231] Compiling C object daxctl/daxctl.p/acpi.c.o [189/231] Compiling C object daxctl/daxctl.p/daxctl.c.o [190/231] Compiling C object ndctl/ndctl.p/load-keys.c.o [191/231] Compiling C object ndctl/ndctl.p/keys.c.o [192/231] Compiling C object ndctl/ndctl.p/monitor.c.o [193/231] Compiling C object ndctl/ndctl.p/inject-smart.c.o [194/231] Compiling C object ndctl/ndctl.p/inject-error.c.o [195/231] Compiling C object ndctl/ndctl.p/json-smart.c.o [196/231] Compiling C object ndctl/ndctl.p/json.c.o [197/231] Compiling C object ndctl/ndctl.p/.._daxctl_json.c.o [198/231] Compiling C object ndctl/ndctl.p/.._util_json.c.o [199/231] Compiling C object ndctl/ndctl.p/list.c.o [200/231] Compiling C object ndctl/ndctl.p/filter.c.o [201/231] Compiling C object ndctl/ndctl.p/.._daxctl_filter.c.o [202/231] Compiling C object ndctl/ndctl.p/.._util_log.c.o [203/231] Compiling C object ndctl/ndctl.p/dimm.c.o [204/231] Compiling C object ndctl/ndctl.p/region.c.o [205/231] Compiling C object ndctl/ndctl.p/check.c.o [206/231] Compiling C object ndctl/ndctl.p/namespace.c.o [207/231] Compiling C object ndctl/ndctl.p/create-nfit.c.o [208/231] Compiling C object ndctl/ndctl.p/bus.c.o [209/231] Compiling C object ndctl/ndctl.p/ndctl.c.o ../test/device-dax.c: In function 'verify_data': ../test/device-dax.c:124:73: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 124 | fprintf(stderr, "%s: verify loop took too long usecs: %ld\n", | ~~^ | | | long int | %lld 125 | daxctl_dev_get_devname(dev), tv_diff.tv_usec); | ~~~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} In file included from ../test/dax-pmd.c:18: ../test/dax-pmd.c: In function 'test_pmd': ../util/size.h:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 31 | #define ALIGN(x, a) ((((unsigned long long) x) + (a - 1)) & ~(a - 1)) | ^ ../test/dax-pmd.c:337:19: note: in expansion of macro 'ALIGN' 337 | m_align = ALIGN(base, HPAGE_SIZE) - ((unsigned long) base); | ^~~~~ In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: 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 ../ndctl/check.c:14: ../ndctl/check.c:134:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: 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 ../ndctl/check.c:14: ../ndctl/check.c:143:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ In file included from ../ndctl/check.c:14: ../ndctl/check.c:835:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: 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 ../ndctl/check.c:14: ../ndctl/check.c:841:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from ../ndctl/check.c:14: ../ndctl/check.c:1065:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: 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 ../ndctl/check.c:14: ../ndctl/check.c:1094:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: 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 ../ndctl/check.c:14: ../ndctl/check.c:1127:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx [210/231] Linking target daxctl/lib/libdaxctl.so.1.1.5 [211/231] Generating symbol file daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.so.1.1.5.symbols ../ndctl/monitor.c: In function 'log_file': ../ndctl/monitor.c:87:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 87 | fprintf(f, "[%10ld.%09ld] [%d] ", ts.tv_sec, ts.tv_nsec, getpid()); | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld ../ndctl/monitor.c: In function 'notify_dimm_event': ../ndctl/monitor.c:168:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 168 | sprintf(timestamp, "%10ld.%09ld", ts.tv_sec, ts.tv_nsec); | ~~~~^ ~~~~~~~~~ | | | | long int time_t {aka long long int} | %10lld In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: 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 ../ndctl/check.c:14: ../ndctl/check.c:134:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: 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 ../ndctl/check.c:14: ../ndctl/check.c:143:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ In file included from ../ndctl/check.c:14: ../ndctl/check.c:835:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: 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 ../ndctl/check.c:14: ../ndctl/check.c:841:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from ../ndctl/check.c:14: ../ndctl/check.c:1065:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: 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 ../ndctl/check.c:14: ../ndctl/check.c:1094:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: 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 ../ndctl/check.c:14: ../ndctl/check.c:1127:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../ndctl/dimm.c: In function 'dump_index_json': ../ndctl/dimm.c:230:33: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 230 | for (offset = 0; offset < nsindex_size * 2; offset += nsindex_size) { | ^ ../ndctl/dimm.c: In function 'rw_bin': ../ndctl/dimm.c:328:44: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 328 | for (offset = start_offset; offset < start_offset + size; | ^ In file included from ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_read_info': ../ndctl/check.c:107:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:107:17: note: in expansion of macro 'err' 107 | err(bttc, "short read of first info block: %ld\n", size); | ^~~ ../ndctl/check.c:107:62: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_write_info': ../ndctl/check.c:129:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:129:17: note: in expansion of macro 'err' 129 | err(bttc, "BTT info block at offset %#lx needs to be restored\n", | ^~~ ../ndctl/check.c:129:56: 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 ../ndctl/check.c:14: ../ndctl/check.c:134:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:134:9: note: in expansion of macro 'info' 134 | info(bttc, "Restoring BTT info block at offset %#lx\n", off); | ^~~~ ../ndctl/check.c:134:59: 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 ../ndctl/check.c:14: ../ndctl/check.c:143:27: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:143:17: note: in expansion of macro 'err' 143 | err(bttc, "short write of the info block: %ld\n", size); | ^~~ ../ndctl/check.c:143:61: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_copy_to_info2': ../ndctl/check.c:174:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:174:20: 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 ../util/size.h:8, from ../ndctl/check.c:18: ../ndctl/check.c: In function 'btt_map_write': ../ndctl/check.c:221:38: 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:16: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:38: 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:26: note: in definition of macro 'rounddown' 38 | typeof(x) __x = (x); \ | ^ ../ndctl/check.c:221:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 221 | ms_align = (void *)rounddown((u64)&a->map.map[lba], | ^ ../ndctl/check.c: In function 'btt_discover_arenas': ../ndctl/check.c:824:39: warning: comparison is always true due to limited range of data type [-Wtype-limits] 824 | if (remaining <= ARENA_MAX_SIZE) | ^~ In file included from ../ndctl/check.c:14: ../ndctl/check.c:835:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:835:33: note: in expansion of macro 'err' 835 | err(bttc, "Unable to read backup info block (offset %#lx)\n", | ^~~ ../ndctl/check.c:835:88: 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 ../ndctl/check.c:14: ../ndctl/check.c:841:43: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:841:33: note: in expansion of macro 'err' 841 | err(bttc, "Backup info block (offset %#lx) verification failed\n", | ^~~ ../ndctl/check.c:841:73: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_mmap': ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:58: 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 ../ndctl/check.c:14: ../ndctl/check.c:912:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:912:9: note: in expansion of macro 'dbg' 912 | dbg(bttc, "addr = %p, length = %#lx, offset = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:912:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_unmap': ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:43: 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 ../ndctl/check.c:14: ../ndctl/check.c:930:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 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:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../ndctl/check.c:930:9: note: in expansion of macro 'dbg' 930 | dbg(bttc, "addr = %p, length = %#lx, page_offset = %#lx\n", | ^~~ ../ndctl/check.c:930:63: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function 'btt_create_mappings': ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:944:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:944:25: note: in expansion of macro 'err' 944 | err(bttc, "mmap arena[%d].info [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:944:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:65: 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 ../ndctl/check.c:14: ../ndctl/check.c:952:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:952:25: note: in expansion of macro 'err' 952 | err(bttc, "mmap arena[%d].data [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:952:77: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:960:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:960:25: note: in expansion of macro 'err' 960 | err(bttc, "mmap arena[%d].map [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:960:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:64: 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 ../ndctl/check.c:14: ../ndctl/check.c:968:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:968:25: note: in expansion of macro 'err' 968 | err(bttc, "mmap arena[%d].log [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:968:76: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:66: 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 ../ndctl/check.c:14: ../ndctl/check.c:976:35: 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:72: 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) | ^~~~~~~ ../ndctl/check.c:976:25: note: in expansion of macro 'err' 976 | err(bttc, "mmap arena[%d].info2 [sz = %#lx, off = %#lx] failed: %s\n", | ^~~ ../ndctl/check.c:976:78: 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 ../ndctl/check.c:14: ../ndctl/check.c: In function '__btt_recover_first_sb': ../ndctl/check.c:1047:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1047:9: note: in expansion of macro 'info' 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ^~~~ ../ndctl/check.c:1047:63: note: format string is defined here 1047 | info(bttc, "estimated arenas: %d, remaining bytes: %#lx\n", | ~~~^ | | | long unsigned int | %#llx In file included from ../ndctl/check.c:14: ../ndctl/check.c:1065:20: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1065:9: note: in expansion of macro 'info' 1065 | info(bttc, "Attempting recover info-block from end-of-arena offset %#lx\n", | ^~~~ ../ndctl/check.c:1065:79: 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 ../ndctl/check.c:14: ../ndctl/check.c:1094:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1094:17: note: in expansion of macro 'info' 1094 | info(bttc, "Attempting to recover info-block from end offset %#lx\n", | ^~~~ ../ndctl/check.c:1094:81: 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 ../ndctl/check.c:14: ../ndctl/check.c:1127:28: 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:72: 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) | ^~~~~~~~ ../ndctl/check.c:1127:17: note: in expansion of macro 'info' 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ^~~~ ../ndctl/check.c:1127:83: note: format string is defined here 1127 | info(bttc, "Attempting to recover info-block from info2 offset %#lx\n", | ~~~^ | | | long unsigned int | %#llx ../cxl/lib/libcxl.c: In function 'add_cxl_memdev': ../cxl/lib/libcxl.c:385:30: warning: comparison is always false due to limited range of data type [-Wtype-limits] 385 | if (memdev->lsa_size == ULLONG_MAX) | ^~ In file included from ../cxl/lib/libcxl.c:21: ../cxl/lib/libcxl.c: In function 'add_cxl_decoder': ../cxl/lib/libcxl.c:1007:26: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1007 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} ../util/log.h:30:72: note: in definition of macro 'log_cond' 30 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:49:24: note: in expansion of macro 'log_dbg' 49 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:1007:17: note: in expansion of macro 'dbg' 1007 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:1007:39: note: format string is defined here 1007 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ~~^ | | | long int | %d In file included from ../cxl/lib/libcxl.c:21: ../cxl/lib/libcxl.c:1014:26: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1014 | err(ctx, "%s: failed to parse target%ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1015 | devpath_to_devname(cxldecoder_base), i); | ~ | | | size_t {aka unsigned int} ../util/log.h:30:72: 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) | ^~~~~~~ ../cxl/lib/libcxl.c:1014:17: note: in expansion of macro 'err' 1014 | err(ctx, "%s: failed to parse target%ld\n", | ^~~ ../cxl/lib/libcxl.c:1014:55: note: format string is defined here 1014 | err(ctx, "%s: failed to parse target%ld\n", | ~~^ | | | long int | %d ../cxl/lib/libcxl.c: In function 'cxl_cmd_set_input_payload': ../cxl/lib/libcxl.c:1861:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1861 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:1868:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1868 | cmd->send_cmd->in.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_set_output_payload': ../cxl/lib/libcxl.c:1889:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1889 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c:1896:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1896 | cmd->send_cmd->out.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_alloc_send': ../cxl/lib/libcxl.c:1926:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1926 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:1933:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1933 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_maintenance_needed': ../cxl/lib/libcxl.c:2033:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2033 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2047:9: note: in expansion of macro 'cmd_get_field_u8_mask' 2047 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:2051:9: note: in expansion of macro 'cmd_health_get_status_field' 2051 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_performance_degraded': ../cxl/lib/libcxl.c:2033:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2033 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2047:9: note: in expansion of macro 'cmd_get_field_u8_mask' 2047 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:2057:9: note: in expansion of macro 'cmd_health_get_status_field' 2057 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_hw_replacement_needed': ../cxl/lib/libcxl.c:2033:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2033 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2047:9: note: in expansion of macro 'cmd_get_field_u8_mask' 2047 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:2063:9: note: in expansion of macro 'cmd_health_get_status_field' 2063 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_normal': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2080:9: note: in expansion of macro 'cmd_health_check_media_field' 2080 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_not_ready': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2086:9: note: in expansion of macro 'cmd_health_check_media_field' 2086 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_persistence_lost': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2093:9: note: in expansion of macro 'cmd_health_check_media_field' 2093 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_data_lost': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2099:9: note: in expansion of macro 'cmd_health_check_media_field' 2099 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_powerloss_persistence_loss': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2106:9: note: in expansion of macro 'cmd_health_check_media_field' 2106 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_shutdown_persistence_loss': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2113:9: note: in expansion of macro 'cmd_health_check_media_field' 2113 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_persistence_loss_imminent': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2120:9: note: in expansion of macro 'cmd_health_check_media_field' 2120 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_powerloss_data_loss': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2127:9: note: in expansion of macro 'cmd_health_check_media_field' 2127 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_shutdown_data_loss': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2134:9: note: in expansion of macro 'cmd_health_check_media_field' 2134 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_media_data_loss_imminent': ../cxl/lib/libcxl.c:2070:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2070 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2141:9: note: in expansion of macro 'cmd_health_check_media_field' 2141 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_normal': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2160:9: note: in expansion of macro 'cmd_health_check_ext_field' 2160 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_warning': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2167:9: note: in expansion of macro 'cmd_health_check_ext_field' 2167 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_life_used_critical': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2174:9: note: in expansion of macro 'cmd_health_check_ext_field' 2174 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_normal': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2181:9: note: in expansion of macro 'cmd_health_check_ext_field' 2181 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_warning': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2188:9: note: in expansion of macro 'cmd_health_check_ext_field' 2188 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_temperature_critical': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2195:9: note: in expansion of macro 'cmd_health_check_ext_field' 2195 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_volatile_normal': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2202:9: note: in expansion of macro 'cmd_health_check_ext_field' 2202 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_volatile_warning': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2209:9: note: in expansion of macro 'cmd_health_check_ext_field' 2209 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_persistent_normal': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2216:9: note: in expansion of macro 'cmd_health_check_ext_field' 2216 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_ext_corrected_persistent_warning': ../cxl/lib/libcxl.c:2148:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2148 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2223:9: note: in expansion of macro 'cmd_health_check_ext_field' 2223 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'health_info_get_life_used_raw': ../cxl/lib/libcxl.c:2001:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2001 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2229:9: note: in expansion of macro 'cmd_get_field_u8' 2229 | cmd_get_field_u8(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'health_info_get_temperature_raw': ../cxl/lib/libcxl.c:2011:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2011 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2246:9: note: in expansion of macro 'cmd_get_field_u16' 2246 | cmd_get_field_u16(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_dirty_shutdowns': ../cxl/lib/libcxl.c:2022:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2022 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2263:9: note: in expansion of macro 'cmd_get_field_u32' 2263 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_volatile_errors': ../cxl/lib/libcxl.c:2022:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2022 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2269:9: note: in expansion of macro 'cmd_get_field_u32' 2269 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_health_info_get_pmem_errors': ../cxl/lib/libcxl.c:2022:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2022 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:2275:9: note: in expansion of macro 'cmd_get_field_u32' 2275 | cmd_get_field_u32(cmd, get_health_info, GET_HEALTH_INFO, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function 'cxl_cmd_identify_get_fw_rev': ../cxl/lib/libcxl.c:2297:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2297 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_identify_get_label_size': ../cxl/lib/libcxl.c:2324:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2324 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_new_read_label': ../cxl/lib/libcxl.c:2396:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2396 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_read_label_get_payload': ../cxl/lib/libcxl.c:2413:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2413 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c:2417:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2417 | payload = (void *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function 'cxl_cmd_new_write_label': ../cxl/lib/libcxl.c:2569:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2569 | set_lsa = (struct cxl_cmd_set_lsa *)cmd->send_cmd->in.payload; | ^ [212/231] Linking target cxl/lib/libcxl.so.1.0.1 [213/231] Generating symbol file cxl/lib/libcxl.so.1.0.1.p/libcxl.so.1.0.1.symbols [214/231] Linking target cxl/cxl In file included from ../ndctl/lib/libndctl.c:19: ../ndctl/lib/libndctl.c: In function 'ndctl_cmd_vendor_get_output': ../ccan/minmax/minmax.h:30:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'ssize_t' {aka 'int'} [-Wsign-compare] 30 | _a < _b ? _a : _b; \ | ^ ../ndctl/lib/libndctl.c:3070:15: note: in expansion of macro 'min' 3070 | len = min(len, out_length); | ^~~ ../ccan/minmax/minmax.h:30:32: 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; \ | ^~ ../ndctl/lib/libndctl.c:3070:15: note: in expansion of macro 'min' 3070 | len = min(len, out_length); | ^~~ [215/231] Linking target ndctl/lib/libndctl.so.6.0.20 [216/231] Generating symbol file ndctl/lib/libndctl.so.6.0.20.p/libndctl.so.6.0.20.symbols [217/231] Linking target test/revoke_devmem [218/231] Linking target test/device-dax [219/231] Linking target test/dax-pmd [220/231] Linking target test/dax-dev [221/231] Linking target test/pmem-ns [222/231] Linking target test/list-smart-dimm [223/231] Linking target test/daxdev-errors [224/231] Linking target test/smart-listen [225/231] Linking target test/smart-notify [226/231] Linking target test/ack-shutdown-count-set [227/231] Linking target test/hugetlb [228/231] Linking target test/dsm-fail [229/231] Linking target test/libndctl [230/231] Linking target daxctl/daxctl [231/231] Linking target ndctl/ndctl >>> ndctl: Entering fakeroot... Installing daxctl/lib/libdaxctl.so.1.1.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing daxctl/lib/libdaxctl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing ndctl/lib/libndctl.so.6.0.20 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing ndctl/lib/libndctl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing cxl/lib/libcxl.so.1.0.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib Installing cxl/lib/libcxl.pc to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/pkgconfig Installing ndctl/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing daxctl/daxctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing cxl/cxl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/bin Installing Documentation/ndctl/ndctl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-scrub.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-start-scrub.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-zero-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-init-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-region.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-create-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-destroy-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-namespace.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-clear-errors.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-error.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-smart.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-firmware.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-monitor.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-setup-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-remove-passphrase.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-freeze-security.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-sanitize-dimm.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-load-keys.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-overwrite.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-infoblock.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-infoblock.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/ndctl/ndctl-activate-firmware.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-migrate-device-model.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-reconfigure-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-online-memory.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-offline-memory.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-disable-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-enable-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-create-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/daxctl/daxctl-destroy-device.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-list.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-read-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-write-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-zero-labels.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-memdev.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-memdev.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-port.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-port.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/cxl-set-partition.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man1 Installing Documentation/cxl/lib/libcxl.3 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man3 Installing Documentation/cxl/lib/cxl_new.3 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/man/man3 Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/ndctl/libndctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/ndctl/ndctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/ndctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/daxctl/libdaxctl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/daxctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/cxl/libcxl.h to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/include/cxl Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/daxctl/lib/daxctl.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/daxctl Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/ndctl/monitor.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/ndctl/ndctl.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/ndctl/keys.readme to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/ndctl/keys Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/daxctl/daxctl.example.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/daxctl.conf.d Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/contrib/ndctl to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions Installing /home/buildozer/aports/community/ndctl/src/ndctl-73/contrib/nvdimm-security.conf to /home/buildozer/aports/community/ndctl/pkg/ndctl/etc/modprobe.d Installing symlink pointing to libdaxctl.so.1.1.5 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libdaxctl.so.1 Installing symlink pointing to libdaxctl.so.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libdaxctl.so Installing symlink pointing to libndctl.so.6.0.20 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.so.6 Installing symlink pointing to libndctl.so.6 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libndctl.so Installing symlink pointing to libcxl.so.1.0.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libcxl.so.1 Installing symlink pointing to libcxl.so.1 to /home/buildozer/aports/community/ndctl/pkg/ndctl/usr/lib/libcxl.so >>> 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... '/home/buildozer/aports/community/ndctl/pkg/ndctl/usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/ndctl/pkg/ndctl-bash-completion/usr/share/bash-completion/completions' >>> 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: 68.0 KB >>> ndctl-bash-completion*: Compressing data... >>> ndctl-bash-completion*: Create checksum... >>> ndctl-bash-completion*: Create ndctl-bash-completion-73-r0.apk >>> ndctl-dev*: Tracing dependencies... ndctl-libs=73-r0 pkgconfig >>> ndctl-dev*: Package size: 116.0 KB >>> ndctl-dev*: Compressing data... >>> ndctl-dev*: Create checksum... >>> ndctl-dev*: Create ndctl-dev-73-r0.apk >>> ndctl-doc*: Tracing dependencies... >>> ndctl-doc*: Package size: 260.0 KB >>> ndctl-doc*: Compressing data... >>> ndctl-doc*: Create checksum... >>> ndctl-doc*: Create ndctl-doc-73-r0.apk >>> ndctl-libs*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libkmod.so.2 so:libudev.so.1 so:libuuid.so.1 >>> ndctl-libs*: Package size: 176.0 KB >>> ndctl-libs*: Compressing data... >>> ndctl-libs*: Create checksum... >>> ndctl-libs*: Create ndctl-libs-73-r0.apk >>> ndctl*: Tracing dependencies... kmod so:libc.musl-armv7.so.1 so:libcxl.so.1 so:libdaxctl.so.1 so:libiniparser.so.1 so:libjson-c.so.5 so:libkeyutils.so.1 so:libndctl.so.6 so:libuuid.so.1 >>> ndctl*: Package size: 312.0 KB >>> ndctl*: Compressing data... >>> ndctl*: Create checksum... >>> ndctl*: Create ndctl-73-r0.apk >>> ndctl: Build complete at Wed, 13 Apr 2022 22:46:42 +0000 elapsed time 0h 0m 14s >>> ndctl: Cleaning up srcdir >>> ndctl: Cleaning up pkgdir >>> ndctl: Uninstalling dependencies... (1/66) Purging meson-bash-completion (0.62.0-r0) (2/66) Purging kmod-bash-completion (29-r2) (3/66) Purging .makedepends-ndctl (20220413.224630) (4/66) Purging kmod-openrc (29-r2) (5/66) Purging kmod (29-r2) (6/66) Purging meson (0.62.0-r0) (7/66) Purging samurai (1.2-r1) (8/66) Purging asciidoc (9.1.1-r0) (9/66) Purging python3 (3.10.3-r0) (10/66) Purging source-highlight (3.1.9-r3) (11/66) Purging asciidoctor (2.0.17-r1) (12/66) Purging ruby (3.1.2-r0) (13/66) Purging autoconf (2.71-r0) (14/66) Purging m4 (1.4.19-r1) (15/66) Purging automake (1.16.5-r0) (16/66) Purging git-bash-completion (2.35.2-r0) (17/66) Purging openrc-bash-completion (0.44.10-r5) (18/66) Purging bash-completion (2.11-r4) (19/66) Purging eudev-dev (3.2.11-r0) (20/66) Purging eudev-openrc (3.2.11-r0) (21/66) Purging eudev (3.2.11-r0) (22/66) Purging udev-init-scripts-openrc (35-r0) (23/66) Purging udev-init-scripts (35-r0) (24/66) Purging eudev-libs (3.2.11-r0) (25/66) Purging iniparser-dev (4.1-r0) (26/66) Purging iniparser (4.1-r0) (27/66) Purging json-c-dev (0.15-r3) (28/66) Purging json-c (0.15-r3) (29/66) Purging keyutils-dev (1.6.3-r0) (30/66) Purging keyutils-libs (1.6.3-r0) (31/66) Purging kmod-dev (29-r2) (32/66) Purging kmod-libs (29-r2) (33/66) Purging libtool (2.4.7-r0) (34/66) Purging libltdl (2.4.7-r0) (35/66) Purging linux-headers (5.16.7-r1) (36/66) Purging util-linux-dev (2.38-r0) (37/66) Purging libfdisk (2.38-r0) (38/66) Purging libmount (2.38-r0) (39/66) Purging libsmartcols (2.38-r0) (40/66) Purging libuuid (2.38-r0) (41/66) Purging xmlto (0.0.28-r2) (42/66) Purging perl-yaml-syck (1.34-r1) (43/66) Purging perl-test-pod (1.52-r2) (44/66) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (45/66) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (46/66) Purging libxslt (1.1.35-r0) (47/66) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (48/66) Purging libxml2-utils (2.9.13-r0) (49/66) Purging git-perl (2.35.2-r0) (50/66) Purging perl-git (2.35.2-r0) (51/66) Purging perl-error (0.17029-r1) (52/66) Purging perl (5.34.1-r0) (53/66) Purging libxml2 (2.9.13-r0) (54/66) Purging xz-libs (5.2.5-r1) (55/66) Purging libbz2 (1.0.8-r1) (56/66) Purging ruby-libs (3.1.2-r0) (57/66) Purging libffi (3.4.2-r1) (58/66) Purging gdbm (1.23-r0) (59/66) Purging mpdecimal (2.5.1-r1) (60/66) Purging readline (8.1.2-r0) (61/66) Purging sqlite-libs (3.38.0-r0) (62/66) Purging libgcrypt (1.9.4-r0) (63/66) Purging libgpg-error (1.45-r0) (64/66) Purging libucontext (1.2-r0) (65/66) Purging yaml (0.2.5-r0) (66/66) Purging libblkid (2.38-r0) Executing busybox-1.35.0-r8.trigger OK: 255 MiB in 88 packages >>> ndctl: Updating the community/armv7 repository index... >>> ndctl: Signing the index...