<86>Sep 17 05:49:37 userdel[3884121]: delete user 'rooter' <86>Sep 17 05:49:37 userdel[3884121]: removed group 'rooter' owned by 'rooter' <86>Sep 17 05:49:37 userdel[3884121]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 17 05:49:37 groupadd[3884166]: group added to /etc/group: name=rooter, GID=981 <86>Sep 17 05:49:37 groupadd[3884166]: group added to /etc/gshadow: name=rooter <86>Sep 17 05:49:37 groupadd[3884166]: new group: name=rooter, GID=981 <86>Sep 17 05:49:37 useradd[3884195]: new user: name=rooter, UID=981, GID=981, home=/root, shell=/bin/bash <86>Sep 17 05:49:37 userdel[3884249]: delete user 'builder' <86>Sep 17 05:49:37 userdel[3884249]: removed group 'builder' owned by 'builder' <86>Sep 17 05:49:37 userdel[3884249]: removed shadow group 'builder' owned by 'builder' <86>Sep 17 05:49:37 groupadd[3884286]: group added to /etc/group: name=builder, GID=982 <86>Sep 17 05:49:37 groupadd[3884286]: group added to /etc/gshadow: name=builder <86>Sep 17 05:49:37 groupadd[3884286]: new group: name=builder, GID=982 <86>Sep 17 05:49:37 useradd[3884315]: new user: name=builder, UID=982, GID=982, home=/usr/src, shell=/bin/bash warning: user aris does not exist - using root warning: group aris does not exist - using root warning: user aris does not exist - using root warning: group aris does not exist - using root <13>Sep 17 05:49:39 rpmi: rpm-macros-meson-0.63.2-alt1 sisyphus+306248.100.1.1 1662320070 installed <13>Sep 17 05:49:42 rpmi: xml-utils-1:2.9.14-alt1 sisyphus+299383.100.1.1 1651519556 installed <13>Sep 17 05:49:42 rpmi: libruby-2.7.6-alt1 sisyphus+296637.220.56.4 1654656998 installed <13>Sep 17 05:49:42 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094932 installed <13>Sep 17 05:49:42 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 17 05:49:42 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed <13>Sep 17 05:49:42 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed <13>Sep 17 05:49:42 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>Sep 17 05:49:42 rpmi: ninja-build-1.11.1-alt1 sisyphus+306014.100.1.1 1661920842 installed <13>Sep 17 05:49:42 rpmi: libxslt-1.1.35-alt2 sisyphus+296567.100.1.1 1647097788 installed <13>Sep 17 05:49:42 rpmi: xsltproc-1.1.35-alt2 sisyphus+296567.100.1.1 1647097788 installed <13>Sep 17 05:49:42 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100446 installed <13>Sep 17 05:49:42 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 17 05:49:42 rpmi: libsystemd-1:251.4-alt1 sisyphus+306253.340.5.1 1662396849 installed <13>Sep 17 05:49:42 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Sep 17 05:49:42 rpmi: libjson-c5-0.15-alt1.1 sisyphus+279547.100.1.2 1626594467 installed <13>Sep 17 05:49:42 rpmi: libiniparser1-4.1-alt1 sisyphus+292388.100.1.1 1640088261 installed <13>Sep 17 05:49:42 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293464 installed <13>Sep 17 05:49:42 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812526 installed <13>Sep 17 05:49:42 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Sep 17 05:49:42 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Sep 17 05:49:42 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Sep 17 05:49:42 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Sep 17 05:49:42 rpmi: ca-certificates-2022.09.15-alt1 sisyphus+306895.200.1.1 1663268411 installed <13>Sep 17 05:49:42 rpmi: ca-trust-0.1.3-alt1 sisyphus+299449.100.1.1 1651660001 installed <13>Sep 17 05:49:42 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Sep 17 05:49:42 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Sep 17 05:49:42 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Sep 17 05:49:42 rpmi: gem-minitest-5.15.0-alt1 sisyphus+293712.300.9.1 1646119914 installed <13>Sep 17 05:49:42 rpmi: gem-net-telnet-0.2.0.1-alt0.1 sisyphus+238996.14500.5.1 1630597117 installed <13>Sep 17 05:49:42 rpmi: gem-power-assert-2.0.1-alt1 sisyphus+296637.272.56.4 1654656448 installed <13>Sep 17 05:49:42 rpmi: gem-rake-13.0.6-alt1 sisyphus+296637.11240.56.4 1654660010 installed <13>Sep 17 05:49:43 rpmi: gem-test-unit-3.3.5-alt1 sisyphus+248971.620.47.1 1586260035 installed <13>Sep 17 05:49:43 rpmi: gem-xmlrpc-0.3.2-alt1 sisyphus+238996.13400.5.1 1630596769 installed <13>Sep 17 05:49:43 rpmi: gem-2:3.1.6-alt1.5 sisyphus+296637.220.56.4 1654656369 installed <13>Sep 17 05:49:43 rpmi: gem-psych-4.0.1-alt1 sisyphus+263530.36000.88.5 1629563629 installed <13>Sep 17 05:49:43 rpmi: ri-6.4.0-alt1 sisyphus+296637.20200.56.4 1654666974 installed <13>Sep 17 05:49:43 rpmi: gem-rdoc-6.4.0-alt1 sisyphus+296637.20200.56.4 1654666974 installed <13>Sep 17 05:49:43 rpmi: rdoc-6.4.0-alt1 sisyphus+296637.20200.56.4 1654666974 installed <13>Sep 17 05:49:43 rpmi: rake-13.0.6-alt1 sisyphus+296637.11240.56.4 1654660010 installed <13>Sep 17 05:49:43 rpmi: bundle-2.2.19-alt1 sisyphus+263530.240.88.5 1629542341 installed <13>Sep 17 05:49:44 rpmi: gem-bundler-2.2.19-alt1 sisyphus+263530.240.88.5 1629542341 installed <13>Sep 17 05:49:44 rpmi: erb-2.7.6-alt1 sisyphus+296637.220.56.4 1654656369 installed <13>Sep 17 05:49:44 rpmi: irb-2.7.6-alt1 sisyphus+296637.220.56.4 1654656369 installed <13>Sep 17 05:49:44 rpmi: ruby-2.7.6-alt1 sisyphus+296637.220.56.4 1654656998 installed <13>Sep 17 05:49:52 rpmi: ruby-stdlibs-2.7.6-alt1 sisyphus+296637.220.56.4 1654656998 installed <13>Sep 17 05:49:52 rpmi: python3-3.10.7-alt1 sisyphus+306631.100.1.2 1663076184 installed <13>Sep 17 05:49:52 rpmi: python3-base-3.10.7-alt1 sisyphus+306631.100.1.2 1663076184 installed <13>Sep 17 05:49:52 rpmi: python3-module-typing_extensions-4.3.0-alt1 sisyphus+306633.100.2.1 1663142187 installed <13>Sep 17 05:49:52 rpmi: gem-asciidoctor-2.0.16-alt1 sisyphus+276204.26140.14.1 1630430203 installed <13>Sep 17 05:49:52 rpmi: libkmod-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Sep 17 05:49:52 rpmi: libkmod-devel-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Sep 17 05:49:52 rpmi: asciidoctor-2.0.16-alt1 sisyphus+276204.26140.14.1 1630430203 installed <13>Sep 17 05:49:53 rpmi: meson-0.63.2-alt1 sisyphus+306248.100.1.1 1662320070 installed <13>Sep 17 05:49:53 rpmi: asciidoc-9.1.0-alt2 sisyphus+282906.100.1.1 1629104440 installed <13>Sep 17 05:49:53 rpmi: libiniparser-devel-4.1-alt1 sisyphus+292388.100.1.1 1640088261 installed <13>Sep 17 05:49:53 rpmi: libjson-c-devel-0.15-alt1.1 sisyphus+279547.100.1.2 1626594467 installed <13>Sep 17 05:49:53 rpmi: libkeyutils-devel-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Sep 17 05:49:53 rpmi: libsystemd-devel-1:251.4-alt1 sisyphus+306253.340.5.1 1662396849 installed <13>Sep 17 05:49:53 rpmi: xmlto-0.0.28-alt2 sisyphus+275491.100.1.2 1624522227 installed <13>Sep 17 05:49:53 rpmi: libuuid-devel-2.37.3-alt2 sisyphus+294073.100.1.1 1643117189 installed <13>Sep 17 05:49:53 rpmi: libudev-devel-1:251.4-alt1 sisyphus+306253.340.5.1 1662396849 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ndctl-74-alt1.nosrc.rpm (w1.gzdio) Installing ndctl-74-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10484 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ndctl-74 + echo 'Source #0 (ndctl-74.tar.gz):' Source #0 (ndctl-74.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/ndctl-74.tar.gz + /bin/tar -xf - + cd ndctl-74 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.10484 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-74 + mkdir -p i586-alt-linux + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + /usr/bin/meson . i586-alt-linux -Doptimization=2 --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --libdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --includedir=/usr/include --datadir=/usr/share --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --wrap-mode=nodownload -Dversion-tag=74 -Dbashcompletiondir=/usr/share/bash-completion/completions The Meson build system Version: 0.63.2 Source dir: /usr/src/RPM/BUILD/ndctl-74 Build dir: /usr/src/RPM/BUILD/ndctl-74/i586-alt-linux Build type: native build Project name: ndctl Project version: 74 C compiler for the host machine: cc (gcc 12.1.1 "i586-alt-linux-gcc (GCC) 12.1.1 20220518 (ALT Sisyphus 12.1.1-alt1)") C linker for the host machine: cc ld.bfd 2.38.20220708 Host machine cpu family: x86 Host machine cpu: i686 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 Program git found: NO Program env found: YES (/usr/bin/env) Configuring version.h using configuration Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency libkmod found: YES 29 Run-time dependency libudev found: YES 251 Run-time dependency uuid found: YES 2.37.3 Run-time dependency json-c found: YES 0.15 Program asciidoctor found: YES (/usr/bin/asciidoctor) Run-time dependency systemd found: YES 251 Run-time dependency udev found: YES 251 Library keyutils found: YES Message: Looking for iniparser include headers ['iniparser.h', 'dictionary.h'] Has header "iniparser.h" : NO Has header "iniparser.h" : YES Has header "dictionary.h" : 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 "signal.h" has symbol "BUS_MCEERR_AR" : YES Header "linux/mman.h" has symbol "MAP_SHARED_VALIDATE" : YES Header "linux/mman.h" has symbol "MAP_SYNC" : YES Checking for function "secure_getenv" : YES Checking for function "__secure_getenv" : YES Checking for function "json_object_new_uint64" with dependency json-c: YES Configuring config.h using configuration Program create.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/create.sh) Program clear.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/clear.sh) Program pmem-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/pmem-errors.sh) Program daxdev-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/daxdev-errors.sh) Program multi-dax.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/multi-dax.sh) Program btt-check.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/btt-check.sh) Program label-compat.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/label-compat.sh) Program sector-mode.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/sector-mode.sh) Program inject-error.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/inject-error.sh) Program btt-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/btt-errors.sh) Program btt-pad-compat.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/btt-pad-compat.sh) Program firmware-update.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/firmware-update.sh) Program rescan-partitions.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/rescan-partitions.sh) Program inject-smart.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/inject-smart.sh) Program monitor.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/monitor.sh) Program max_available_extent_ns.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/max_available_extent_ns.sh) Program pfn-meta-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/pfn-meta-errors.sh) Program track-uuid.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/track-uuid.sh) Program cxl-topology.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-74/test/cxl-topology.sh) Program cxl-region-sysfs.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-74/test/cxl-region-sysfs.sh) Program cxl-labels.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-74/test/cxl-labels.sh) Program cxl-create-region.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-74/test/cxl-create-region.sh) Program security.sh found: YES (/usr/src/RPM/BUILD/ndctl-74/test/security.sh) Build targets in project: 92 ndctl 74 User defined options bindir : /usr/bin datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/lib localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man optimization : 2 prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc wrap_mode : nodownload bashcompletiondir: /usr/share/bash-completion/completions version-tag : 74 Found ninja-1.11.1 at /usr/bin/ninja + ninja-build -j16 -C i586-alt-linux ninja: Entering directory `i586-alt-linux' [1/234] Compiling C object libccan.a.p/ccan_str_str.c.o [2/234] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_iomem.c.o [3/234] Compiling C object libccan.a.p/ccan_list_list.c.o [4/234] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_log.c.o [5/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/.._.._util_log.c.o [6/234] Linking static target libccan.a [7/234] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/.._.._util_sysfs.c.o [8/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/.._.._util_sysfs.c.o [9/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/nfit.c.o [10/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/smart.c.o [11/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/hpe1.c.o [12/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/msft.c.o [13/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/inject.c.o [14/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/hyperv.c.o [15/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/intel.c.o [16/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/dimm.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 ../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 [17/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/papr.c.o 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", | ^~~~~~~~ [18/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/firmware.c.o [19/234] Compiling C object cxl/lib/libcxl.so.1.0.2.p/.._.._util_log.c.o [20/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/ars.c.o [21/234] Compiling C object cxl/lib/libcxl.so.1.0.2.p/.._.._util_sysfs.c.o [22/234] Compiling C object daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.c.o [23/234] Compiling C object util/libutil.a.p/usage.c.o [24/234] Compiling C object util/libutil.a.p/size.c.o [25/234] Compiling C object util/libutil.a.p/log.c.o [26/234] Compiling C object util/libutil.a.p/parse-configs.c.o [27/234] Compiling C object util/libutil.a.p/json.c.o ../util/json.c: In function ‘display_size’: ../util/json.c:35:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [28/234] Compiling C object util/libutil.a.p/parse-options.c.o [29/234] Compiling C object util/libutil.a.p/wrapper.c.o [30/234] Compiling C object util/libutil.a.p/main.c.o [31/234] Compiling C object util/libutil.a.p/help.c.o [32/234] Compiling C object util/libutil.a.p/strbuf.c.o [33/234] Compiling C object util/libutil.a.p/bitmap.c.o [34/234] Compiling C object util/libutil.a.p/abspath.c.o [35/234] Compiling C object util/libutil.a.p/iomem.c.o [36/234] Generating daxctl/lib/libdaxctl.pc with a custom command (wrapped by meson to capture output) [37/234] Linking static target util/libutil.a [38/234] Compiling C object ndctl/ndctl.p/ndctl.c.o [39/234] Compiling C object ndctl/ndctl.p/.._daxctl_filter.c.o [40/234] Compiling C object ndctl/ndctl.p/bus.c.o [41/234] Compiling C object ndctl/ndctl.p/region.c.o [42/234] Compiling C object ndctl/ndctl.p/create-nfit.c.o [43/234] Compiling C object ndctl/ndctl.p/filter.c.o [44/234] Compiling C object ndctl/ndctl.p/.._daxctl_json.c.o [45/234] Generating ndctl/lib/libndctl.pc with a custom command (wrapped by meson to capture output) [46/234] Compiling C object ndctl/ndctl.p/json-smart.c.o [47/234] Compiling C object ndctl/ndctl.p/list.c.o [48/234] Generating cxl/lib/libcxl.pc with a custom command (wrapped by meson to capture output) [49/234] Compiling C object ndctl/ndctl.p/dimm.c.o ../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; | ^ ../ndctl/dimm.c: In function ‘query_fw_finish_status’: ../ndctl/dimm.c:840:50: warning: comparison of integer expressions of different signedness: ‘__time_t’ {aka ‘long int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 840 | if (after.tv_sec - before.tv_sec > | ^ [50/234] Compiling C object ndctl/ndctl.p/inject-error.c.o [51/234] Compiling C object ndctl/ndctl.p/json.c.o [52/234] Compiling C object ndctl/ndctl.p/check.c.o 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 ../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 ../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 ../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); | ^ ../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) | ^~ ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 [53/234] Compiling C object daxctl/daxctl.p/daxctl.c.o [54/234] Compiling C object ndctl/ndctl.p/namespace.c.o [55/234] Compiling C object ndctl/ndctl.p/inject-smart.c.o [56/234] Compiling C object ndctl/ndctl.p/keys.c.o [57/234] Compiling C object ndctl/ndctl.p/load-keys.c.o [58/234] Compiling C object ndctl/ndctl.p/monitor.c.o ../ndctl/monitor.c: In function ‘monitor_event’: ../ndctl/monitor.c:379:54: warning: comparison of integer expressions of different signedness: ‘__time_t’ {aka ‘long int’} and ‘unsigned int’ [-Wsign-compare] 379 | if ((fullpoll_ts.tv_sec - ts.tv_sec) > monitor.poll_timeout) { | ^ [59/234] Compiling C object daxctl/daxctl.p/list.c.o [60/234] Compiling C object daxctl/daxctl.p/migrate.c.o [61/234] Compiling C object daxctl/daxctl.p/filter.c.o [62/234] Compiling C object daxctl/daxctl.p/json.c.o [63/234] Compiling C object cxl/cxl.p/cxl.c.o [64/234] Compiling C object daxctl/daxctl.p/acpi.c.o [65/234] Compiling C object cxl/cxl.p/list.c.o [66/234] Compiling C object daxctl/daxctl.p/device.c.o [67/234] Compiling C object cxl/cxl.p/port.c.o [68/234] Compiling C object cxl/cxl.p/bus.c.o [69/234] Compiling C object cxl/lib/libcxl.so.1.0.2.p/libcxl.c.o ../cxl/lib/libcxl.c: In function ‘add_cxl_memdev’: ../cxl/lib/libcxl.c:1117:30: warning: comparison is always false due to limited range of data type [-Wtype-limits] 1117 | if (memdev->lsa_size == ULLONG_MAX) | ^~ In file included from ../cxl/lib/libcxl.c:22: ../cxl/lib/libcxl.c: In function ‘add_cxl_decoder’: ../cxl/lib/libcxl.c:1856:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1856 | 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:1856:17: note: in expansion of macro ‘dbg’ 1856 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:1856:39: note: format string is defined here 1856 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ~~^ | | | long int | %d ../cxl/lib/libcxl.c:1863:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1863 | err(ctx, "%s: failed to parse target%ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1864 | 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:1863:17: note: in expansion of macro ‘err’ 1863 | err(ctx, "%s: failed to parse target%ld\n", | ^~~ ../cxl/lib/libcxl.c:1863:55: note: format string is defined here 1863 | 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:2964:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2964 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:2971:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2971 | cmd->send_cmd->in.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_set_output_payload’: ../cxl/lib/libcxl.c:2992:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2992 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c:2999:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2999 | cmd->send_cmd->out.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alloc_send’: ../cxl/lib/libcxl.c:3029:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3029 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:3036:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3036 | 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:3136:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3136 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3150:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3150 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3154:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3154 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_performance_degraded’: ../cxl/lib/libcxl.c:3136:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3136 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3150:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3150 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3160:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3160 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_hw_replacement_needed’: ../cxl/lib/libcxl.c:3136:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3136 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3150:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3150 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3166:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3166 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_normal’: ../cxl/lib/libcxl.c:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3183:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3183 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_not_ready’: ../cxl/lib/libcxl.c:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3189:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3189 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_persistence_lost’: ../cxl/lib/libcxl.c:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3196:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3196 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_data_lost’: ../cxl/lib/libcxl.c:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3202:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3202 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3209:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3209 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3216:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3216 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3223:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3223 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3230:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3230 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3237:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3237 | 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:3173:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3173 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3244:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3244 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3263:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3263 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3270:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3270 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3277:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3277 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_normal’: ../cxl/lib/libcxl.c:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3284:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3284 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_warning’: ../cxl/lib/libcxl.c:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3291:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3291 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_critical’: ../cxl/lib/libcxl.c:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3298:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3298 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3305:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3305 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3312:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3312 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3319:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3319 | 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:3251:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3326:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3326 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘health_info_get_life_used_raw’: ../cxl/lib/libcxl.c:3104:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3104 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3332:9: note: in expansion of macro ‘cmd_get_field_u8’ 3332 | 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:3114:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3114 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3349:9: note: in expansion of macro ‘cmd_get_field_u16’ 3349 | 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:3125:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3125 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3366:9: note: in expansion of macro ‘cmd_get_field_u32’ 3366 | 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:3125:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3125 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3372:9: note: in expansion of macro ‘cmd_get_field_u32’ 3372 | 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:3125:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3125 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3378:9: note: in expansion of macro ‘cmd_get_field_u32’ 3378 | 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:3400:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3400 | (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:3427:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3427 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_new_read_label’: ../cxl/lib/libcxl.c:3499:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3499 | 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:3516:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3516 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c:3520:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3520 | payload = (void *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_new_write_label’: ../cxl/lib/libcxl.c:3672:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3672 | set_lsa = (struct cxl_cmd_set_lsa *)cmd->send_cmd->in.payload; | ^ [70/234] Compiling C object cxl/cxl.p/json.c.o [71/234] Compiling C object cxl/cxl.p/region.c.o In file included from ../cxl/region.c:8: ../cxl/region.c: In function ‘parse_create_options’: ../cxl/region.c:174:33: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] 174 | "size (%lu) is not an integral multiple of interleave-ways (%u)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | p->size, p->ways); | ~~~~~~~ | | | 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); \ | ^~~ ../cxl/region.c:173:25: note: in expansion of macro ‘log_err’ 173 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:174:42: note: format string is defined here 174 | "size (%lu) is not an integral multiple of interleave-ways (%u)\n", | ~~^ | | | long unsigned int | %llu ../cxl/region.c: In function ‘create_region’: ../cxl/region.c:466:25: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] 466 | "%s: region size %#lx exceeds max available space\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 467 | cxl_decoder_get_devname(p->root_decoder), 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); \ | ^~~ ../cxl/region.c:465:17: note: in expansion of macro ‘log_err’ 465 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:466:45: note: format string is defined here 466 | "%s: region size %#lx exceeds max available space\n", | ~~~^ | | | long unsigned int | %#llx [72/234] Compiling C object cxl/cxl.p/memdev.c.o [73/234] Compiling C object test/libndctl.p/.._util_log.c.o [74/234] Compiling C object test/libndctl.p/core.c.o [75/234] Compiling C object cxl/cxl.p/filter.c.o [76/234] Compiling C object ndctl/lib/libndctl.so.6.1.20.p/libndctl.c.o 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:3080:15: note: in expansion of macro ‘min’ 3080 | 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:3080:15: note: in expansion of macro ‘min’ 3080 | len = min(len, out_length); | ^~~ [77/234] Compiling C object test/libndctl.p/.._util_sysfs.c.o [78/234] Compiling C object test/dsm-fail.p/.._util_log.c.o [79/234] Compiling C object test/dsm-fail.p/core.c.o [80/234] Compiling C object test/dsm-fail.p/.._util_sysfs.c.o [81/234] Compiling C object test/dsm-fail.p/.._util_json.c.o ../util/json.c: In function ‘display_size’: ../util/json.c:35:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [82/234] Compiling C object test/dsm-fail.p/.._daxctl_filter.c.o [83/234] Compiling C object test/dsm-fail.p/.._ndctl_filter.c.o [84/234] Compiling C object test/dsm-fail.p/.._daxctl_json.c.o [85/234] Compiling C object test/hugetlb.p/.._util_log.c.o [86/234] Compiling C object test/dsm-fail.p/.._ndctl_json.c.o [87/234] Compiling C object test/dsm-fail.p/dsm-fail.c.o [88/234] Compiling C object test/hugetlb.p/hugetlb.c.o [89/234] Generating Documentation/ndctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [90/234] Generating Documentation/daxctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [91/234] Compiling C object test/libndctl.p/libndctl.c.o [92/234] Compiling C object test/hugetlb.p/core.c.o [93/234] Compiling C object test/hugetlb.p/.._util_sysfs.c.o [94/234] Generating Documentation/cxl/lib/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [95/234] Generating Documentation/cxl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [96/234] Compiling C object test/dsm-fail.p/.._ndctl_check.c.o 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 ../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 ../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 ../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); | ^ ../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) | ^~ ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 [97/234] Compiling C object test/ack-shutdown-count-set.p/.._util_log.c.o [98/234] Compiling C object test/dsm-fail.p/.._ndctl_namespace.c.o [99/234] Compiling C object test/hugetlb.p/dax-pmd.c.o 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); | ^~~~~ [100/234] Linking target daxctl/lib/libdaxctl.so.1.1.5 [101/234] Compiling C object test/hugetlb.p/dax-poison.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} [102/234] Compiling C object test/ack-shutdown-count-set.p/core.c.o [103/234] Compiling C object test/ack-shutdown-count-set.p/.._util_sysfs.c.o [104/234] Generating Documentation/ndctl/ndctl with a custom command [105/234] Generating Documentation/ndctl/ndctl-wait-scrub with a custom command [106/234] Generating Documentation/ndctl/ndctl-start-scrub with a custom command [107/234] Generating Documentation/ndctl/ndctl-zero-labels with a custom command [108/234] Generating Documentation/ndctl/ndctl-read-labels with a custom command [109/234] Generating Documentation/ndctl/ndctl-write-labels with a custom command [110/234] Generating Documentation/ndctl/ndctl-init-labels with a custom command [111/234] Generating Documentation/ndctl/ndctl-check-labels with a custom command [112/234] Generating Documentation/ndctl/ndctl-enable-region with a custom command [113/234] Generating Documentation/ndctl/ndctl-disable-region with a custom command [114/234] Generating Documentation/ndctl/ndctl-enable-dimm with a custom command [115/234] Generating Documentation/ndctl/ndctl-disable-dimm with a custom command [116/234] Generating Documentation/ndctl/ndctl-disable-namespace with a custom command [117/234] Generating Documentation/ndctl/ndctl-enable-namespace with a custom command [118/234] Generating symbol file daxctl/lib/libdaxctl.so.1.1.5.p/libdaxctl.so.1.1.5.symbols [119/234] Generating Documentation/ndctl/ndctl-destroy-namespace with a custom command [120/234] Generating Documentation/ndctl/ndctl-create-namespace with a custom command [121/234] Generating Documentation/ndctl/ndctl-check-namespace with a custom command [122/234] Generating Documentation/ndctl/ndctl-clear-errors with a custom command [123/234] Generating Documentation/ndctl/ndctl-inject-smart with a custom command [124/234] Generating Documentation/ndctl/ndctl-inject-error with a custom command [125/234] Generating Documentation/ndctl/ndctl-update-firmware with a custom command [126/234] Generating Documentation/ndctl/ndctl-monitor with a custom command [127/234] Generating Documentation/ndctl/ndctl-list with a custom command [128/234] Generating Documentation/ndctl/ndctl-sanitize-dimm with a custom command [129/234] Generating Documentation/ndctl/ndctl-setup-passphrase with a custom command [130/234] Generating Documentation/ndctl/ndctl-update-passphrase with a custom command [131/234] Generating Documentation/ndctl/ndctl-remove-passphrase with a custom command [132/234] Generating Documentation/ndctl/ndctl-freeze-security with a custom command [133/234] Generating Documentation/ndctl/ndctl-wait-overwrite with a custom command [134/234] Generating Documentation/ndctl/ndctl-read-infoblock with a custom command [135/234] Generating Documentation/ndctl/ndctl-load-keys with a custom command [136/234] Generating Documentation/ndctl/ndctl-write-infoblock with a custom command [137/234] Generating Documentation/ndctl/ndctl-activate-firmware with a custom command [138/234] Generating Documentation/daxctl/daxctl with a custom command [139/234] Generating Documentation/daxctl/daxctl-list with a custom command [140/234] Generating Documentation/daxctl/daxctl-migrate-device-model with a custom command [141/234] Generating Documentation/daxctl/daxctl-reconfigure-device with a custom command [142/234] Generating Documentation/daxctl/daxctl-online-memory with a custom command [143/234] Generating Documentation/daxctl/daxctl-offline-memory with a custom command [144/234] Generating Documentation/daxctl/daxctl-disable-device with a custom command [145/234] Generating Documentation/daxctl/daxctl-enable-device with a custom command [146/234] Generating Documentation/daxctl/daxctl-create-device with a custom command [147/234] Generating Documentation/daxctl/daxctl-destroy-device with a custom command [148/234] Generating Documentation/cxl/cxl with a custom command [149/234] Generating Documentation/cxl/cxl-list with a custom command [150/234] Generating Documentation/cxl/cxl-read-labels with a custom command [151/234] Generating Documentation/cxl/cxl-enable-memdev with a custom command [152/234] Generating Documentation/cxl/cxl-write-labels with a custom command [153/234] Generating Documentation/cxl/cxl-disable-memdev with a custom command [154/234] Generating Documentation/cxl/cxl-zero-labels with a custom command [155/234] Generating Documentation/cxl/cxl-disable-bus with a custom command [156/234] Generating Documentation/cxl/cxl-disable-port with a custom command [157/234] Generating Documentation/cxl/cxl-set-partition with a custom command [158/234] Generating Documentation/cxl/cxl-free-dpa with a custom command [159/234] Generating Documentation/cxl/cxl-reserve-dpa with a custom command [160/234] Compiling C object test/ack-shutdown-count-set.p/ack-shutdown-count-set.c.o [161/234] Generating Documentation/cxl/cxl-enable-port with a custom command [162/234] Compiling C object test/dax-errors.p/dax-errors.c.o [163/234] Compiling C object test/smart-notify.p/smart-notify.c.o [164/234] Compiling C object test/smart-listen.p/smart-listen.c.o [165/234] Compiling C object test/daxdev-errors.p/.._util_log.c.o [166/234] Generating Documentation/cxl/cxl-disable-region with a custom command [167/234] Generating Documentation/cxl/cxl-create-region with a custom command [168/234] Compiling C object test/daxdev-errors.p/daxdev-errors.c.o ../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 [169/234] Compiling C object test/daxdev-errors.p/.._util_sysfs.c.o [170/234] Generating Documentation/cxl/cxl-destroy-region with a custom command [171/234] Compiling C object test/list-smart-dimm.p/list-smart-dimm.c.o [172/234] Generating Documentation/cxl/lib/cxl_new with a custom command [173/234] Compiling C object test/list-smart-dimm.p/.._ndctl_filter.c.o [174/234] Compiling C object test/list-smart-dimm.p/.._util_json.c.o ../util/json.c: In function ‘display_size’: ../util/json.c:35:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [175/234] Compiling C object test/list-smart-dimm.p/.._daxctl_filter.c.o [176/234] Generating Documentation/cxl/cxl-enable-region with a custom command [177/234] Generating Documentation/cxl/lib/libcxl with a custom command [178/234] Compiling C object test/list-smart-dimm.p/.._daxctl_json.c.o [179/234] Compiling C object test/pmem-ns.p/.._util_log.c.o [180/234] Linking target test/dax-errors [181/234] Compiling C object test/list-smart-dimm.p/.._ndctl_json.c.o [182/234] Compiling C object test/pmem-ns.p/core.c.o [183/234] Compiling C object test/dax-dev.p/.._util_log.c.o [184/234] Compiling C object test/pmem-ns.p/.._util_sysfs.c.o [185/234] Compiling C object test/dax-pmd.p/.._util_log.c.o [186/234] Compiling C object test/dax-dev.p/dax-dev.c.o [187/234] Compiling C object test/pmem-ns.p/pmem_namespaces.c.o [188/234] Compiling C object test/dax-dev.p/core.c.o [189/234] Compiling C object test/dax-dev.p/.._util_sysfs.c.o [190/234] Compiling C object test/dax-pmd.p/.._util_sysfs.c.o [191/234] Compiling C object test/device-dax.p/.._util_log.c.o [192/234] Compiling C object test/dax-pmd.p/core.c.o [193/234] Compiling C object test/device-dax.p/core.c.o [194/234] Compiling C object test/dax-pmd.p/dax-poison.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} [195/234] Compiling C object test/dax-pmd.p/dax-pmd.c.o 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); | ^~~~~ [196/234] Compiling C object test/device-dax.p/.._util_sysfs.c.o [197/234] Compiling C object test/device-dax.p/.._util_json.c.o ../util/json.c: In function ‘display_size’: ../util/json.c:35:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:35:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 35 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:31: warning: integer overflow in expression of type ‘long int’ results in ‘-2147483648’ [-Woverflow] 53 | if (bytes < 2L*SZ_1G) { | ^ ../util/json.c:53:27: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘long int’ [-Wsign-compare] 53 | if (bytes < 2L*SZ_1G) { | ^ [198/234] Compiling C object test/device-dax.p/.._daxctl_filter.c.o [199/234] Linking target cxl/lib/libcxl.so.1.0.2 [200/234] Compiling C object test/device-dax.p/.._daxctl_json.c.o [201/234] Compiling C object test/device-dax.p/.._ndctl_filter.c.o [202/234] Compiling C object test/revoke_devmem.p/.._util_log.c.o [203/234] Compiling C object test/device-dax.p/dax-dev.c.o [204/234] Compiling C object test/device-dax.p/device-dax.c.o [205/234] Compiling C object test/device-dax.p/.._ndctl_json.c.o [206/234] Compiling C object test/device-dax.p/dax-pmd.c.o 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); | ^~~~~ [207/234] Compiling C object test/device-dax.p/dax-poison.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} [208/234] Compiling C object test/revoke_devmem.p/core.c.o [209/234] Compiling C object test/revoke_devmem.p/.._util_sysfs.c.o [210/234] Compiling C object test/revoke_devmem.p/dax-dev.c.o [211/234] Compiling C object test/mmap.p/mmap.c.o [212/234] Compiling C object test/device-dax.p/.._ndctl_check.c.o 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 ../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 ../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 ../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); | ^ ../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) | ^~ ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 [213/234] Compiling C object test/device-dax.p/.._ndctl_namespace.c.o [214/234] Compiling C object test/revoke_devmem.p/revoke-devmem.c.o [215/234] Linking target test/mmap [216/234] Generating symbol file cxl/lib/libcxl.so.1.0.2.p/libcxl.so.1.0.2.symbols [217/234] Linking target ndctl/lib/libndctl.so.6.1.20 [218/234] Generating symbol file ndctl/lib/libndctl.so.6.1.20.p/libndctl.so.6.1.20.symbols [219/234] Linking target test/smart-listen [220/234] Linking target test/dax-dev [221/234] Linking target test/hugetlb [222/234] Linking target test/smart-notify [223/234] Linking target test/revoke_devmem [224/234] Linking target test/daxdev-errors [225/234] Linking target test/ack-shutdown-count-set [226/234] Linking target test/pmem-ns [227/234] Linking target test/dax-pmd [228/234] Linking target cxl/cxl [229/234] Linking target test/list-smart-dimm [230/234] Linking target test/libndctl [231/234] Linking target daxctl/daxctl [232/234] Linking target test/device-dax [233/234] Linking target test/dsm-fail [234/234] Linking target ndctl/ndctl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.74593 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ndctl-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ndctl-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd ndctl-74 + DESTDIR=/usr/src/tmp/ndctl-buildroot + ninja-build -C i586-alt-linux install ninja: Entering directory `i586-alt-linux' [0/1] Installing files. Installing daxctl/lib/libdaxctl.so.1.1.5 to /usr/src/tmp/ndctl-buildroot/usr/lib Installing daxctl/lib/libdaxctl.pc to /usr/src/tmp/ndctl-buildroot/usr/lib/pkgconfig Installing ndctl/lib/libndctl.so.6.1.20 to /usr/src/tmp/ndctl-buildroot/usr/lib Installing ndctl/lib/libndctl.pc to /usr/src/tmp/ndctl-buildroot/usr/lib/pkgconfig Installing cxl/lib/libcxl.so.1.0.2 to /usr/src/tmp/ndctl-buildroot/usr/lib Installing cxl/lib/libcxl.pc to /usr/src/tmp/ndctl-buildroot/usr/lib/pkgconfig Installing ndctl/ndctl to /usr/src/tmp/ndctl-buildroot/usr/bin Installing daxctl/daxctl to /usr/src/tmp/ndctl-buildroot/usr/bin Installing cxl/cxl to /usr/src/tmp/ndctl-buildroot/usr/bin Installing Documentation/ndctl/ndctl.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-scrub.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-start-scrub.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-zero-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-init-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-dimm.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-dimm.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-enable-namespace.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-disable-namespace.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-create-namespace.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-destroy-namespace.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-check-namespace.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-clear-errors.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-error.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-inject-smart.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-firmware.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-list.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-monitor.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-setup-passphrase.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-update-passphrase.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-remove-passphrase.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-freeze-security.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-sanitize-dimm.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-load-keys.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-wait-overwrite.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-read-infoblock.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-write-infoblock.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/ndctl/ndctl-activate-firmware.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-list.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-migrate-device-model.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-reconfigure-device.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-online-memory.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-offline-memory.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-disable-device.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-enable-device.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-create-device.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/daxctl/daxctl-destroy-device.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-list.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-read-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-write-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-zero-labels.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-memdev.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-memdev.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-port.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-port.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-bus.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-set-partition.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-reserve-dpa.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-free-dpa.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-create-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-disable-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-enable-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-destroy-region.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/lib/libcxl.3 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man3 Installing Documentation/cxl/lib/cxl_new.3 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man3 Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/libndctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/ndctl/ Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/ndctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/ndctl/ Installing /usr/src/RPM/BUILD/ndctl-74/daxctl/libdaxctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/daxctl/ Installing /usr/src/RPM/BUILD/ndctl-74/cxl/libcxl.h to /usr/src/tmp/ndctl-buildroot/usr/include/cxl/ Installing /usr/src/RPM/BUILD/ndctl-74/daxctl/lib/daxctl.conf to /usr/src/tmp/ndctl-buildroot/usr/share/daxctl Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/ndctl-monitor.service to /usr/src/tmp/ndctl-buildroot/lib/systemd/system Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/monitor.conf to /usr/src/tmp/ndctl-buildroot/etc/ndctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/ndctl.conf to /usr/src/tmp/ndctl-buildroot/etc/ndctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-74/ndctl/keys.readme to /usr/src/tmp/ndctl-buildroot/etc/ndctl/keys Installing /usr/src/RPM/BUILD/ndctl-74/daxctl/daxctl.example.conf to /usr/src/tmp/ndctl-buildroot/etc/daxctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-74/daxctl/90-daxctl-device.rules to /usr/src/tmp/ndctl-buildroot/lib/udev/rules.d Installing /usr/src/RPM/BUILD/ndctl-74/daxctl/daxdev-reconfigure@.service to /usr/src/tmp/ndctl-buildroot/lib/systemd/system Installing /usr/src/RPM/BUILD/ndctl-74/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-74/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-74/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-74/contrib/nvdimm-security.conf to /usr/src/tmp/ndctl-buildroot/etc/modprobe.d Installing symlink pointing to libdaxctl.so.1.1.5 to /usr/src/tmp/ndctl-buildroot/usr/lib/libdaxctl.so.1 Installing symlink pointing to libdaxctl.so.1 to /usr/src/tmp/ndctl-buildroot/usr/lib/libdaxctl.so Installing symlink pointing to libndctl.so.6.1.20 to /usr/src/tmp/ndctl-buildroot/usr/lib/libndctl.so.6 Installing symlink pointing to libndctl.so.6 to /usr/src/tmp/ndctl-buildroot/usr/lib/libndctl.so Installing symlink pointing to libcxl.so.1.0.2 to /usr/src/tmp/ndctl-buildroot/usr/lib/libcxl.so.1 Installing symlink pointing to libcxl.so.1 to /usr/src/tmp/ndctl-buildroot/usr/lib/libcxl.so + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ndctl-buildroot (auto) mode of './usr/lib/libcxl.so.1.0.2' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libndctl.so.6.1.20' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libdaxctl.so.1.1.5' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ndctl-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/libcxl.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/libcxl.pc: Libs: '-L${libdir} -lcxl' --> '-lcxl' /usr/lib/pkgconfig/libndctl.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/libndctl.pc: Libs: '-L${libdir} -lndctl' --> '-lndctl' /usr/lib/pkgconfig/libdaxctl.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/libdaxctl.pc: Libs: '-L${libdir} -ldaxctl' --> '-ldaxctl' Checking contents of files in /usr/src/tmp/ndctl-buildroot/ (default) Compressing files in /usr/src/tmp/ndctl-buildroot (auto) Adjusting library links in /usr/src/tmp/ndctl-buildroot ./lib: (from :0) ./usr/lib: (from :0) libdaxctl.so.1 -> libdaxctl.so.1.1.5 libndctl.so.6 -> libndctl.so.6.1.20 libcxl.so.1 -> libcxl.so.1.0.2 Verifying ELF objects in /usr/src/tmp/ndctl-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.7694 Check is turned off by --disable check Processing files: ndctl-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uriOo4 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m1dPsq find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libndctl = 74-alt1, libdaxctl = 74-alt1, kmod, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libc.so.6(GLIBC_2.9), libdaxctl.so.1 >= set:jeSyRnfGMlZHPCNHmsDOvoGK3AhakJZDuKQZALn9aFfoJiZ1ox973, libdaxctl.so.1(LIBDAXCTL_2), libdaxctl.so.1(LIBDAXCTL_3), libdaxctl.so.1(LIBDAXCTL_4), libdaxctl.so.1(LIBDAXCTL_6), libdaxctl.so.1(LIBDAXCTL_7), libdaxctl.so.1(LIBDAXCTL_8), libiniparser.so.1 >= set:iferKxxpRdlDA2, libjson-c.so.5 >= set:lg0WQqZfwieOvLO9p3nfls0G3BrrmJ3JZxi4kB24pih3eH4, libjson-c.so.5(JSONC_0.14), libjson-c.so.5(JSONC_PRIVATE), libkeyutils.so.1 >= set:jggT0Z6XABWm4, libkeyutils.so.1(KEYUTILS_0.3), libndctl.so.6 >= set:meFI34rsCgytr2k59pFxJ6hxZBZtL9XueFKvmUyVKdUjBUKSM5rN3bJfZyZfupYYCoZ5e63yXGTIkLlXdH9rd9Bo33IfKivykAESNnFj1GDm5rmWylD41ONqYxaAoxgx1XpEHThUWzLBDzyXkt1WQnd8Z0O3jrhpC5PsnGxZb6nkTBJvnEPQTZ2KZiuTcv5f8BrIBHlEiTkRmrHGENoiiVMTnyZc7bBvgK0aNOA3ZHKrESKLraq0wR1b7RVFbbG18wjr1ZrZ820DQRF5rT2DQZq9vwCOOSv3RSQoGbtUOdxz1iAKvA5dvGkYEZ8F4RYBmz4VqxCbrJQN5RoHWF8e0z7pZfKIJ5PQwApuTDZApugIn1OUZsrvojXq2dut5y7jfNSpj3i4wg3UZKZk5biowf2tebCPyzy672V6TpHyj0oRSBntkvUyCV8cwFks18kd89XoPrv8VY4mRLt62NkQ5nXmkdgNFKBUI7VVSUxyCteAYARXqruGoalG7Ovi4RH56vDHm7l7JvtyuprkXFZpnmR1, libndctl.so.6(LIBNDCTL_1), libndctl.so.6(LIBNDCTL_13), libndctl.so.6(LIBNDCTL_14), libndctl.so.6(LIBNDCTL_15), libndctl.so.6(LIBNDCTL_16), libndctl.so.6(LIBNDCTL_17), libndctl.so.6(LIBNDCTL_18), libndctl.so.6(LIBNDCTL_19), libndctl.so.6(LIBNDCTL_20), libndctl.so.6(LIBNDCTL_21), libndctl.so.6(LIBNDCTL_22), libndctl.so.6(LIBNDCTL_23), libndctl.so.6(LIBNDCTL_24), libndctl.so.6(LIBNDCTL_25), libndctl.so.6(LIBNDCTL_26), libndctl.so.6(LIBNDCTL_27), libndctl.so.6(LIBNDCTL_3), libuuid.so.1 >= set:ifQuk1SytZ0SAc, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EIaNGk Creating ndctl-debuginfo package Processing files: libndctl-74-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.78813 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-74 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-74 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.owl1hi find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/ndctl-buildroot/usr/lib/libndctl.so.6: 398 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XHh7cJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libndctl.so.6 = set:mdip3AdK6x3zonjwGEbVcm3H6x2LbvZC3jK8P9BQEQIUy5ZeQDKP6YJKJXWxHv5ZGjrTZ1mJLvFZJazvRa3yRbDNMkZ3kZeZaCxZslds83sYKqO9Fhgap3rggvwY8AiWw1pHQjkhyqDElZGVvEzjh2wa0vItzlhPGz9EkL5U41Mn98aBe5Zsg5am4aGxuavMagGgaWwo4mvZmZcNHWy9lPPPIa6uSz1BsCk3O7Q3HJkCpkCeBX0RMW9b7nKccFJ1tZaSLbApGXKiNIUG4ZG19pqcZ9VyFrobZ5V1lKn8gWkqwmNyvFmjq4clJRQGceZejc9OEDyK0MTnytZoBO7Abg9mCYRp6uhZiHztyMKDrqf4hf2EhFTfQqZqgrMOtlAKIE2g0bnkNBcyCNl2Grfa0UAGelIL5eF5nrSYxGB02VlBJv3xYadm8c8M8q7csVCE0oo09OX7phP7kasQeCFMMsZqmz4pJEVmB9LZ8h7dbiGdGVAKUmBfBUwdl28tZw0m2OWLHJtcrHcbSPvcTZcvaP2yxKwFDw0GWmLM6XpZ9vvIFfzNxDbIpl2Xa1gyDDZ1kUQqxNaFFV32HhFyScoNfMUUXKBJxhjiiv2N28cM7xen0qN7bc0caos4OdKNjKxzeTy49i29M0wxulEeGfIEpe2cw9dTzm02l1FIPCvv8V4rLPK9roPJ9aXc84juGpaKyr1R05DHF3ssSzQsbukQSx1I2dAMQzARV7Kuu5PPypGI7a2Vd4hvJHLy1WAqMb93FVGRx5wRUZlD8nm6RuGBOleIWT8Dn, libndctl.so.6(LIBNDCTL_1), libndctl.so.6(LIBNDCTL_13), libndctl.so.6(LIBNDCTL_14), libndctl.so.6(LIBNDCTL_15), libndctl.so.6(LIBNDCTL_16), libndctl.so.6(LIBNDCTL_17), libndctl.so.6(LIBNDCTL_18), libndctl.so.6(LIBNDCTL_19), libndctl.so.6(LIBNDCTL_20), libndctl.so.6(LIBNDCTL_21), libndctl.so.6(LIBNDCTL_22), libndctl.so.6(LIBNDCTL_23), libndctl.so.6(LIBNDCTL_24), libndctl.so.6(LIBNDCTL_25), libndctl.so.6(LIBNDCTL_26), libndctl.so.6(LIBNDCTL_27), libndctl.so.6(LIBNDCTL_3) Requires: libdaxctl = 74-alt1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libdaxctl.so.1 >= set:jgXgpgiXKtjNNpAtuJZw, libdaxctl.so.1(LIBDAXCTL_1), libdaxctl.so.1(LIBDAXCTL_2), libdaxctl.so.1(LIBDAXCTL_9), libkmod.so.2 >= set:kg4DprnjWGbfe2Wtsy744R1, libkmod.so.2(LIBKMOD_5), libudev.so.1 >= set:kh5NqZiBZLxUs8H6, libudev.so.1(LIBUDEV_183), libuuid.so.1 >= set:igqfiO4, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1DPPS4 Creating libndctl-debuginfo package Processing files: libndctl-devel-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wDFYJt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VQPEIh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/ndctl-buildroot/usr/include/ndctl/ndctl.h:7:10: fatal error: ccan/array_size/array_size.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/ndctl-buildroot/usr/include/ndctl/ndctl.h: cpp failed, trying c++ mode i586-alt-linux-cpp: fatal error: cannot execute 'cc1plus': execvp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/ndctl-buildroot/usr/include/ndctl/ndctl.h: cpp failed Provides: pkgconfig(libndctl) = 74 Requires: libndctl = 74-alt1, /usr/lib/libndctl.so.6, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J8g5py Processing files: daxctl-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j3fFBz find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lGttvT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libndctl = 74-alt1, libdaxctl = 74-alt1, udev, /bin/sh, /lib/ld-linux.so.2, /lib/udev/rules.d, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libdaxctl.so.1 >= set:jdobqQNS9HIkg8EZ2bBhRdZi8x3jRG5KjMfUCKMAGV0diVl1exZ8c4PBZzv2xDwnyWhJl0W0flK4v5aZCWsbUjAzDPs70, libdaxctl.so.1(LIBDAXCTL_1), libdaxctl.so.1(LIBDAXCTL_2), libdaxctl.so.1(LIBDAXCTL_3), libdaxctl.so.1(LIBDAXCTL_4), libdaxctl.so.1(LIBDAXCTL_5), libdaxctl.so.1(LIBDAXCTL_6), libdaxctl.so.1(LIBDAXCTL_7), libdaxctl.so.1(LIBDAXCTL_8), libdaxctl.so.1(LIBDAXCTL_9), libiniparser.so.1 >= set:iferKxxpRdlDA2, libjson-c.so.5 >= set:lgo93ahZ2rP4vZfwieOvLO9qK8e0RxOJdHSxSZw92m9l0K4pih3eH4, libjson-c.so.5(JSONC_0.14), libjson-c.so.5(JSONC_PRIVATE), libndctl.so.6 >= set:minlOrSNy4SfLMojZrxWWtyGQj06tMe, libndctl.so.6(LIBNDCTL_1), libndctl.so.6(LIBNDCTL_3), libuuid.so.1 >= set:ihJ75, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LTexvk Creating daxctl-debuginfo package Processing files: libdaxctl-74-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58404 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-74 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-74 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.maiBbM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/ndctl-buildroot/usr/lib/libdaxctl.so.1: 63 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6RgS5a find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libdaxctl.so.1 = set:jdcmOm216tmjNZcab5ZpdevAv5mazGrY5AMh2v9nJ8bJCz156U7sjnoiRnGZGCfzkLZ0qwjofOgcnS575fxMjMbhZ8qHAf0BYDanyLyHL7wFPJowKkcBONPVXK0i11, libdaxctl.so.1(LIBDAXCTL_1), libdaxctl.so.1(LIBDAXCTL_2), libdaxctl.so.1(LIBDAXCTL_3), libdaxctl.so.1(LIBDAXCTL_4), libdaxctl.so.1(LIBDAXCTL_5), libdaxctl.so.1(LIBDAXCTL_6), libdaxctl.so.1(LIBDAXCTL_7), libdaxctl.so.1(LIBDAXCTL_8), libdaxctl.so.1(LIBDAXCTL_9) Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libkmod.so.2 >= set:khyPkrnCQlnu3iqZ67, libkmod.so.2(LIBKMOD_5), libuuid.so.1 >= set:ihmAf, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4aY32E Creating libdaxctl-debuginfo package Processing files: libdaxctl-devel-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.29LDDj find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PrBWUw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libdaxctl) = 74 Requires: libdaxctl = 74-alt1, /usr/lib/libdaxctl.so.1, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U1R8QM Processing files: cxl-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U4h9R1 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KDZVWZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libcxl = 74-alt1, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libcxl.so.1 >= set:ldbIx4dY46TVEkLiU5xNIErvuV7D2VMXSc2Ev0O06km4kzNT8vImVJwLa24EwyYYurrMmmfGpWWbxRpBEI3G3f2FH2xcxh3SrMA1CccTykXB4gCMHsJEQIjzHjOIeJ1BujPV4WqLICG1Zd8JNihYJo7WDay8WVcr6VUnqX8sSOCXqgLxLUR1g9OCMuEtGZJVFmAf72dqEctbSnfVCwemoiBi9H6xZd6wU64XQuXrqYvSP5laLSugEEzlsA70eqmj8kd9gsq3ZahsF9qujwNQDPIqeaSkNk7YYZrnhOvP9qTwd2ZJi4mp3eebXd4T801Sjwf7vdNw0xMopHpXh62siMlqvRYwZseE, libcxl.so.1(LIBCXL_1), libcxl.so.1(LIBCXL_2), libcxl.so.1(LIBCXL_3), libjson-c.so.5 >= set:lghebBdgV7HZxkOhZrnV4dn47wWgVSClXgXv8hglagA95dUIi, libjson-c.so.5(JSONC_0.14), libjson-c.so.5(JSONC_PRIVATE), libuuid.so.1 >= set:ihyT5, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.R2tBmH Creating cxl-debuginfo package Processing files: libcxl-74-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41443 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-74 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-74 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QunVdX find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/ndctl-buildroot/usr/lib/libcxl.so.1: 204 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CKjORI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libcxl.so.1 = set:ldbIxAuEEl2HkMQdaRH4uhocbWSDnZhD2VMnnHbfHh0Z3UmMoTwOywqcZmAfmHYmMn512kghuuLJdobH7Rcf3F09t9IeH4BtgtUh8tl8yXF4z6fTDEL2qhtR54cpoK5FSb9wcxnVqhFpD6nDAptq3aZ314cDjkVjuLICG1Zd8JNihYJo7WDay8WVcr6VUnqX8sSOCXqgLxLURVyFN06IS4S3JjZfefRyYVgEh3BFrNZqDsjg7bcFiFAlzcBqIWU6wU64XQuXrqYJE5jWVshBiAYzQ325tIyzmgj0UEpdNVsTe9gsq3ZahsF9qujwNi8NPpmdDrJ7MoPIntMPb5Bav5lAYTsySdozMvbh8Lcr6ssmSrJoaGvfzoMu2YVUH964846brdrfOgwj2KiXHC7QDtg1, libcxl.so.1(LIBCXL_1), libcxl.so.1(LIBCXL_2), libcxl.so.1(LIBCXL_3) Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libkmod.so.2 >= set:kg4DprnjWGbfe2Wtsy744R1, libkmod.so.2(LIBKMOD_5), libuuid.so.1 >= set:igqfiO4, libuuid.so.1(UUID_1.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qSFPVv Creating libcxl-debuginfo package Processing files: libcxl-devel-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hTprgN find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tFKsnP find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libcxl) = 74 Requires: libcxl = 74-alt1, /usr/lib/libcxl.so.1, /usr/lib/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qPS0Xh Processing files: ndctl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LoBJ74 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tsjpEl find-requires: running scripts (debuginfo) Requires: ndctl = 74-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdaxctl.so.1), debug(libiniparser.so.1), debug(libjson-c.so.5), debug(libkeyutils.so.1), debug(libndctl.so.6), debug(libuuid.so.1) Processing files: libndctl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CBdoPZ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oxvpD7 find-requires: running scripts (debuginfo) Provides: debug(libndctl.so.6) Requires: libndctl = 74-alt1, debug(libc.so.6), debug(libdaxctl.so.1), debug(libkmod.so.2), debug(libudev.so.1), debug(libuuid.so.1) Processing files: daxctl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vxb9Kr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IXFBi4 find-requires: running scripts (debuginfo) Requires: daxctl = 74-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdaxctl.so.1), debug(libiniparser.so.1), debug(libjson-c.so.5), debug(libndctl.so.6), debug(libuuid.so.1) Processing files: libdaxctl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HS2fER find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UJEiqB find-requires: running scripts (debuginfo) Provides: debug(libdaxctl.so.1) Requires: libdaxctl = 74-alt1, debug(libc.so.6), debug(libkmod.so.2), debug(libuuid.so.1) Processing files: cxl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Hx6Kan find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zWYgqw find-requires: running scripts (debuginfo) Requires: cxl = 74-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcxl.so.1), debug(libjson-c.so.5), debug(libuuid.so.1) Processing files: libcxl-debuginfo-74-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QyJCAC find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qGxiYk find-requires: running scripts (debuginfo) Provides: debug(libcxl.so.1) Requires: libcxl = 74-alt1, debug(libc.so.6), debug(libkmod.so.2), debug(libuuid.so.1) Adding to ndctl a strict dependency on libndctl Adding to ndctl a strict dependency on libdaxctl Adding to ndctl-debuginfo a strict dependency on ndctl Adding to libndctl-devel a strict dependency on libndctl Adding to daxctl a strict dependency on libndctl Adding to libndctl a strict dependency on libdaxctl Adding to libndctl-debuginfo a strict dependency on libndctl Adding to daxctl a strict dependency on libdaxctl Adding to daxctl-debuginfo a strict dependency on daxctl Adding to libdaxctl-devel a strict dependency on libdaxctl Adding to libdaxctl-debuginfo a strict dependency on libdaxctl Adding to cxl a strict dependency on libcxl Adding to cxl-debuginfo a strict dependency on cxl Adding to libcxl-devel a strict dependency on libcxl Adding to libcxl-debuginfo a strict dependency on libcxl Adding to ndctl-debuginfo a strict dependency on libndctl-debuginfo Adding to ndctl-debuginfo a strict dependency on libdaxctl-debuginfo Adding to libndctl-debuginfo a strict dependency on libdaxctl-debuginfo Adding to daxctl-debuginfo a strict dependency on libndctl-debuginfo Adding to daxctl-debuginfo a strict dependency on libdaxctl-debuginfo Adding to cxl-debuginfo a strict dependency on libcxl-debuginfo Removing from ndctl-debuginfo 12 sources provided by libndctl-debuginfo also prunning dir /usr/src/debug/ndctl-74/ccan/endian also prunning dir /usr/src/debug/ndctl-74/ccan/list also prunning dir /usr/src/debug/ndctl-74/ccan/short_types also prunning dir /usr/src/debug/ndctl-74/ccan Removing from daxctl-debuginfo 6 sources provided by libndctl-debuginfo also prunning dir /usr/src/debug/ndctl-74/ccan/list also prunning dir /usr/src/debug/ndctl-74/ccan/short_types also prunning dir /usr/src/debug/ndctl-74/ndctl also prunning dir /usr/src/debug/ndctl-74/ccan Removing from libndctl-debuginfo 5 sources provided by libdaxctl-debuginfo also prunning dir /usr/src/debug/ndctl-74/ccan/list Removing from cxl-debuginfo 5 sources provided by libcxl-debuginfo also prunning dir /usr/src/debug/ndctl-74/ccan/short_types also prunning dir /usr/src/debug/ndctl-74/ccan Removing 18 extra deps from ndctl due to dependency on libndctl Removing 7 extra deps from ndctl due to dependency on libdaxctl Removing 1 extra deps from libndctl-devel due to dependency on libndctl Removing 3 extra deps from daxctl due to dependency on libndctl Removing 4 extra deps from libndctl due to dependency on libdaxctl Removing 10 extra deps from daxctl due to dependency on libdaxctl Removing 1 extra deps from libdaxctl-devel due to dependency on libdaxctl Removing 4 extra deps from cxl due to dependency on libcxl Removing 1 extra deps from libcxl-devel due to dependency on libcxl Removing 1 extra deps from ndctl-debuginfo due to dependency on libndctl-debuginfo Removing 1 extra deps from ndctl-debuginfo due to dependency on libdaxctl-debuginfo Removing 1 extra deps from daxctl-debuginfo due to dependency on libndctl-debuginfo Removing 1 extra deps from libndctl-debuginfo due to dependency on libdaxctl-debuginfo Removing 1 extra deps from daxctl-debuginfo due to dependency on libdaxctl-debuginfo Removing 1 extra deps from cxl-debuginfo due to dependency on libcxl-debuginfo Removing 15 extra deps from ndctl due to repentancy on libndctl Removing 14 extra deps from daxctl due to repentancy on libndctl Removing 15 extra deps from libndctl due to repentancy on libdaxctl Removing 13 extra deps from cxl due to repentancy on libcxl Removing 3 extra deps from ndctl-debuginfo due to repentancy on libndctl-debuginfo Removing 3 extra deps from daxctl-debuginfo due to repentancy on libndctl-debuginfo Removing 3 extra deps from libndctl-debuginfo due to repentancy on libdaxctl-debuginfo Removing 2 extra deps from cxl-debuginfo due to repentancy on libcxl-debuginfo Wrote: /usr/src/RPM/RPMS/i586/ndctl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-devel-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/daxctl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-devel-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/cxl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-devel-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ndctl-debuginfo-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-debuginfo-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/daxctl-debuginfo-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-debuginfo-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/cxl-debuginfo-74-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-debuginfo-74-alt1.i586.rpm (w2.lzdio) 48.18user 13.64system 0:51.48elapsed 120%CPU (0avgtext+0avgdata 51992maxresident)k 0inputs+0outputs (0major+2826406minor)pagefaults 0swaps 4.57user 2.30system 1:20.73elapsed 8%CPU (0avgtext+0avgdata 145788maxresident)k 184inputs+0outputs (45733major+288193minor)pagefaults 0swaps