<86>Jul 20 09:44:07 userdel[3487691]: delete user 'rooter' <86>Jul 20 09:44:07 userdel[3487691]: removed group 'rooter' owned by 'rooter' <86>Jul 20 09:44:07 userdel[3487691]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 20 09:44:07 groupadd[3487709]: group added to /etc/group: name=rooter, GID=1253 <86>Jul 20 09:44:07 groupadd[3487709]: group added to /etc/gshadow: name=rooter <86>Jul 20 09:44:07 groupadd[3487709]: new group: name=rooter, GID=1253 <86>Jul 20 09:44:07 useradd[3487723]: new user: name=rooter, UID=1253, GID=1253, home=/root, shell=/bin/bash, from=none <86>Jul 20 09:44:07 userdel[3487743]: delete user 'builder' <86>Jul 20 09:44:07 userdel[3487743]: removed group 'builder' owned by 'builder' <86>Jul 20 09:44:07 userdel[3487743]: removed shadow group 'builder' owned by 'builder' <86>Jul 20 09:44:07 groupadd[3487754]: group added to /etc/group: name=builder, GID=1254 <86>Jul 20 09:44:07 groupadd[3487754]: group added to /etc/gshadow: name=builder <86>Jul 20 09:44:07 groupadd[3487754]: new group: name=builder, GID=1254 <86>Jul 20 09:44:07 useradd[3487763]: new user: name=builder, UID=1254, GID=1254, home=/usr/src, shell=/bin/bash, from=none 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>Jul 20 09:44:12 rpmi: rpm-macros-meson-1.4.1-alt1 sisyphus+350009.100.1.1 1717137069 installed <13>Jul 20 09:44:15 rpmi: xml-utils-1:2.12.8-alt1 sisyphus+352486.100.2.1 1720626953 installed <13>Jul 20 09:44:15 rpmi: libtraceevent-1.8.2-alt1 sisyphus+337883.100.2.1 1705831743 installed <13>Jul 20 09:44:15 rpmi: libtraceevent-devel-1.8.2-alt1 sisyphus+337883.100.2.1 1705831743 installed <13>Jul 20 09:44:15 rpmi: libtracefs-1.8.0-alt1 sisyphus+338092.100.2.1 1705831219 installed <13>Jul 20 09:44:15 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed <13>Jul 20 09:44:15 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed <13>Jul 20 09:44:15 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>Jul 20 09:44:15 rpmi: ninja-build-1:1.11.1-alt3 sisyphus+345786.300.4.1 1714124415 installed <13>Jul 20 09:44:15 rpmi: libxslt-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed <13>Jul 20 09:44:15 rpmi: xsltproc-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed <13>Jul 20 09:44:15 rpmi: libpaper2-2:2.1.3-alt1 sisyphus+340967.100.1.1 1708276734 installed <13>Jul 20 09:44:15 rpmi: paper-2:2.1.3-alt1 sisyphus+340967.100.1.1 1708276734 installed <13>Jul 20 09:44:15 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Jul 20 09:44:15 rpmi: libsystemd-1:255.9-alt1 sisyphus+352502.300.4.3 1720636282 installed <13>Jul 20 09:44:15 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Jul 20 09:44:15 rpmi: libjson-c5-0.17-alt1 sisyphus+332175.100.1.1 1697724741 installed <13>Jul 20 09:44:15 rpmi: libiniparser1-4.2.1-alt1 sisyphus+348149.100.1.1 1715840384 installed <13>Jul 20 09:44:15 rpmi: libruby-3.1.4-alt4.4 sisyphus+344821.44.45.2 1715887288 installed <13>Jul 20 09:44:15 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094932 installed <13>Jul 20 09:44:15 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Jul 20 09:44:15 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Jul 20 09:44:15 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Jul 20 09:44:15 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Jul 20 09:44:15 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Jul 20 09:44:15 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Jul 20 09:44:15 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Jul 20 09:44:15 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 09:44:15 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 09:44:15 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Jul 20 09:44:15 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jul 20 09:44:15 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Jul 20 09:44:15 rpmi: libcrypto3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605920 installed <13>Jul 20 09:44:15 rpmi: libssl3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605920 installed <13>Jul 20 09:44:16 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Jul 20 09:44:17 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <86>Jul 20 09:44:17 groupadd[3506831]: group added to /etc/group: name=ruby, GID=999 <86>Jul 20 09:44:17 groupadd[3506831]: group added to /etc/gshadow: name=ruby <86>Jul 20 09:44:17 groupadd[3506831]: new group: name=ruby, GID=999 <86>Jul 20 09:44:17 usermod[3506861]: add 'root' to group 'ruby' <86>Jul 20 09:44:17 usermod[3506861]: add 'root' to shadow group 'ruby' <13>Jul 20 09:44:17 rpmi: ruby-3.1.4-alt4.4 sisyphus+344821.44.45.2 1715887288 installed NOTE: to make the environment variable changes come into effect, please relogin the terminal session <13>Jul 20 09:44:17 rpmi: ruby-stdlibs-3.1.4-alt4.4 sisyphus+344821.44.45.2 1715887288 installed <13>Jul 20 09:44:17 rpmi: gem-asciidoctor-2.0.20-alt1 sisyphus+334282.100.1.1 1699828407 installed <13>Jul 20 09:44:17 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Jul 20 09:44:17 rpmi: libkmod-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Jul 20 09:44:17 rpmi: libkmod-devel-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Jul 20 09:44:17 rpmi: meson-1.4.1-alt1 sisyphus+350009.100.1.1 1717137069 installed <13>Jul 20 09:44:17 rpmi: asciidoctor-2.0.20-alt1 sisyphus+334282.100.1.1 1699828407 installed <13>Jul 20 09:44:17 rpmi: asciidoc-10.2.0-alt1 sisyphus+339930.100.1.1 1707225770 installed <13>Jul 20 09:44:17 rpmi: libiniparser-devel-4.2.1-alt1 sisyphus+348149.100.1.1 1715840384 installed <13>Jul 20 09:44:17 rpmi: libjson-c-devel-0.17-alt1 sisyphus+332175.100.1.1 1697724741 installed <13>Jul 20 09:44:17 rpmi: libkeyutils-devel-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Jul 20 09:44:17 rpmi: libsystemd-devel-1:255.9-alt1 sisyphus+352502.300.4.3 1720636282 installed <13>Jul 20 09:44:17 rpmi: xmlto-0.0.28-alt3 sisyphus+325166.600.15.1 1690187341 installed <13>Jul 20 09:44:17 rpmi: libtracefs-devel-1.8.0-alt1 sisyphus+338092.100.2.1 1705831219 installed <13>Jul 20 09:44:17 rpmi: libuuid-devel-2.39.2-alt1 sisyphus+327286.4500.14.1 1711486360 installed <13>Jul 20 09:44:17 rpmi: libudev-devel-1:255.9-alt1 sisyphus+352502.300.4.3 1720636282 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ndctl-79-alt1.nosrc.rpm (w1.gzdio) Installing ndctl-79-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60391 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ndctl-79 + echo 'Source #0 (ndctl-79.tar.gz):' Source #0 (ndctl-79.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/ndctl-79.tar.gz + /bin/tar -xf - + cd ndctl-79 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's|/usr\(/bin/systemd-escape\)|\1|' daxctl/90-daxctl-device.rules + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.60391 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-79 + 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 setup . 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=79 -Dbashcompletiondir=/usr/share/bash-completion/completions The Meson build system Version: 1.4.1 Source dir: /usr/src/RPM/BUILD/ndctl-79 Build dir: /usr/src/RPM/BUILD/ndctl-79/i586-alt-linux Build type: native build Project name: ndctl Project version: 79 C compiler for the host machine: cc (gcc 13.2.1 "i586-alt-linux-gcc (GCC) 13.2.1 20240128 (ALT Sisyphus 13.2.1-alt3)") C linker for the host machine: cc ld.bfd 2.41.0.20230826 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: YES (/usr/bin/pkg-config) 0.29.2 Run-time dependency libkmod found: YES 31 Run-time dependency libudev found: YES 255 Run-time dependency uuid found: YES 2.39.2 Run-time dependency json-c found: YES 0.17 Run-time dependency libtraceevent found: YES 1.8.2 Run-time dependency libtracefs found: YES 1.8.0 Program asciidoctor found: YES (/usr/bin/asciidoctor) Run-time dependency systemd found: YES 255 Run-time dependency udev found: YES 255 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-79/test/create.sh) Program clear.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/clear.sh) Program pmem-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/pmem-errors.sh) Program daxdev-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/daxdev-errors.sh) Program multi-dax.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/multi-dax.sh) Program btt-check.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/btt-check.sh) Program label-compat.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/label-compat.sh) Program sector-mode.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/sector-mode.sh) Program inject-error.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/inject-error.sh) Program btt-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/btt-errors.sh) Program btt-pad-compat.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/btt-pad-compat.sh) Program firmware-update.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/firmware-update.sh) Program rescan-partitions.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/rescan-partitions.sh) Program inject-smart.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/inject-smart.sh) Program monitor.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/monitor.sh) Program max_available_extent_ns.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/max_available_extent_ns.sh) Program pfn-meta-errors.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/pfn-meta-errors.sh) Program track-uuid.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/track-uuid.sh) Program cxl-topology.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-topology.sh) Program cxl-region-sysfs.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-region-sysfs.sh) Program cxl-labels.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-labels.sh) Program cxl-create-region.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-create-region.sh) Program cxl-xor-region.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-xor-region.sh) Program cxl-update-firmware.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/cxl-update-firmware.sh) Program cxl-events.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-events.sh) Program cxl-sanitize.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-sanitize.sh) Program cxl-destroy-region.sh found: YES (/bin/bash /usr/src/RPM/BUILD/ndctl-79/test/cxl-destroy-region.sh) Program cxl-qos-class.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/cxl-qos-class.sh) Program nfit-security.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/nfit-security.sh) Program cxl-security.sh found: YES (/usr/src/RPM/BUILD/ndctl-79/test/cxl-security.sh) Build targets in project: 96 ndctl 79 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 : 79 Found ninja-1.11.1 at /usr/bin/ninja + ninja-build -j8 -C i586-alt-linux ninja: Entering directory `i586-alt-linux' [1/242] Compiling C object libccan.a.p/ccan_str_str.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [2/242] Compiling C object daxctl/lib/libdaxctl.so.1.0.6.p/.._.._util_iomem.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [3/242] Compiling C object libccan.a.p/ccan_list_list.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [4/242] Compiling C object daxctl/lib/libdaxctl.so.1.0.6.p/.._.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [5/242] Linking static target libccan.a [6/242] Generating daxctl/lib/libdaxctl.pc with a custom command (wrapped by meson to capture output) [7/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/.._.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [8/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/.._.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [9/242] Compiling C object daxctl/lib/libdaxctl.so.1.0.6.p/.._.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [10/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/nfit.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [11/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/dimm.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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 [12/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/inject.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [13/242] Compiling C object daxctl/lib/libdaxctl.so.1.0.6.p/libdaxctl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [14/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/smart.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [15/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/msft.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [16/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/intel.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [17/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/hyperv.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [18/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/hpe1.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [19/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/papr.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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", | ^~~~~~~~ [20/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/ars.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [21/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/firmware.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [22/242] Compiling C object cxl/lib/libcxl.so.1.0.6.p/.._.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [23/242] Generating ndctl/lib/libndctl.pc with a custom command (wrapped by meson to capture output) [24/242] Compiling C object cxl/lib/libcxl.so.1.0.6.p/.._.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [25/242] Generating cxl/lib/libcxl.pc with a custom command (wrapped by meson to capture output) [26/242] Compiling C object util/libutil.a.p/size.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [27/242] Compiling C object util/libutil.a.p/usage.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [28/242] Compiling C object util/libutil.a.p/parse-configs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [29/242] Compiling C object util/libutil.a.p/parse-options.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [30/242] Compiling C object util/libutil.a.p/log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [31/242] Compiling C object util/libutil.a.p/json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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) { | ^ [32/242] Compiling C object util/libutil.a.p/main.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [33/242] Compiling C object util/libutil.a.p/wrapper.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [34/242] Compiling C object util/libutil.a.p/bitmap.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [35/242] Compiling C object util/libutil.a.p/help.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [36/242] Compiling C object util/libutil.a.p/abspath.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [37/242] Compiling C object util/libutil.a.p/iomem.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [38/242] Compiling C object util/libutil.a.p/strbuf.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [39/242] Compiling C object ndctl/ndctl.p/ndctl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [40/242] Linking static target util/libutil.a [41/242] Compiling C object ndctl/ndctl.p/bus.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [42/242] Compiling C object ndctl/ndctl.p/region.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [43/242] Compiling C object ndctl/ndctl.p/create-nfit.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [44/242] Compiling C object ndctl/ndctl.p/.._daxctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [45/242] Compiling C object ndctl/ndctl.p/filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [46/242] Compiling C object ndctl/ndctl.p/namespace.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [47/242] Compiling C object ndctl/ndctl.p/dimm.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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 > | ^ [48/242] Compiling C object ndctl/lib/libndctl.so.6.3.21.p/libndctl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:3145:15: note: in expansion of macro ‘min’ 3145 | 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:3145:15: note: in expansion of macro ‘min’ 3145 | len = min(len, out_length); | ^~~ [49/242] Compiling C object ndctl/ndctl.p/json-smart.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [50/242] Compiling C object ndctl/ndctl.p/json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [51/242] Compiling C object ndctl/ndctl.p/check.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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 [52/242] Compiling C object ndctl/ndctl.p/list.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [53/242] Compiling C object ndctl/ndctl.p/inject-error.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [54/242] Linking target daxctl/lib/libdaxctl.so.1.0.6 [55/242] Compiling C object cxl/lib/libcxl.so.1.0.6.p/libcxl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../cxl/lib/libcxl.c: In function ‘add_cxl_memdev’: ../cxl/lib/libcxl.c:1314:38: warning: comparison is always false due to limited range of data type [-Wtype-limits] 1314 | if (memdev->lsa_size == ULLONG_MAX) | ^~ In file included from ../cxl/lib/libcxl.c:24: ../cxl/lib/libcxl.c: In function ‘add_cxl_decoder’: ../cxl/lib/libcxl.c:2326:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2326 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2326:17: note: in expansion of macro ‘dbg’ 2326 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:2326:39: note: format string is defined here 2326 | dbg(ctx, "%s: target%ld %s phys_path: %s\n", devname, i, | ~~^ | | | long int | %d ../cxl/lib/libcxl.c:2332:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2332 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #define dbg(x, arg...) log_dbg(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2332:17: note: in expansion of macro ‘dbg’ 2332 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ^~~ ../cxl/lib/libcxl.c:2332:39: note: format string is defined here 2332 | dbg(ctx, "%s: target%ld %s fw_path: %s\n", devname, i, | ~~^ | | | long int | %d ../cxl/lib/libcxl.c:2342:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2342 | err(ctx, "%s: failed to parse target%ld\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2343 | devpath_to_devname(cxldecoder_base), i); | ~ | | | size_t {aka unsigned int} ../util/log.h:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #define err(x, arg...) log_err(&(x)->ctx, ## arg) | ^~~~~~~ ../cxl/lib/libcxl.c:2342:17: note: in expansion of macro ‘err’ 2342 | err(ctx, "%s: failed to parse target%ld\n", | ^~~ ../cxl/lib/libcxl.c:2342:55: note: format string is defined here 2342 | 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:3513:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3513 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:3520:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3520 | cmd->send_cmd->in.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_set_output_payload’: ../cxl/lib/libcxl.c:3541:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3541 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c:3548:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3548 | cmd->send_cmd->out.payload = (u64)buf; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alloc_send’: ../cxl/lib/libcxl.c:3575:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3575 | cmd->send_cmd->in.payload = (u64)cmd->input_payload; | ^ ../cxl/lib/libcxl.c:3582:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3582 | cmd->send_cmd->out.payload = (u64)cmd->output_payload; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_life_used_prog_warn_threshold_valid’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3696:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3696 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3702:9: note: in expansion of macro ‘cmd_alert_get_valid_alerts_field’ 3702 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_dev_over_temperature_prog_warn_threshold_valid’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3696:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3696 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3711:9: note: in expansion of macro ‘cmd_alert_get_valid_alerts_field’ 3711 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_dev_under_temperature_prog_warn_threshold_valid’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3696:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3696 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3720:9: note: in expansion of macro ‘cmd_alert_get_valid_alerts_field’ 3720 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_corrected_volatile_mem_err_prog_warn_threshold_valid’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3696:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3696 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3729:9: note: in expansion of macro ‘cmd_alert_get_valid_alerts_field’ 3729 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_corrected_pmem_err_prog_warn_threshold_valid’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3696:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3696 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3738:9: note: in expansion of macro ‘cmd_alert_get_valid_alerts_field’ 3738 | cmd_alert_get_valid_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_life_used_prog_warn_threshold_writable’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3744:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3744 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3750:9: note: in expansion of macro ‘cmd_alert_get_prog_alerts_field’ 3750 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_dev_over_temperature_prog_warn_threshold_writable’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3744:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3744 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3759:9: note: in expansion of macro ‘cmd_alert_get_prog_alerts_field’ 3759 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_dev_under_temperature_prog_warn_threshold_writable’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3744:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3744 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3768:9: note: in expansion of macro ‘cmd_alert_get_prog_alerts_field’ 3768 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_corrected_volatile_mem_err_prog_warn_threshold_writable’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3744:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3744 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3777:9: note: in expansion of macro ‘cmd_alert_get_prog_alerts_field’ 3777 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_corrected_pmem_err_prog_warn_threshold_writable’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3744:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3744 | cmd_get_field_u8_mask(c, get_alert_config, GET_ALERT_CONFIG, \ | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3786:9: note: in expansion of macro ‘cmd_alert_get_prog_alerts_field’ 3786 | cmd_alert_get_prog_alerts_field( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_life_used_crit_alert_threshold’: ../cxl/lib/libcxl.c:3650:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3650 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3794:9: note: in expansion of macro ‘cmd_get_field_u8’ 3794 | cmd_get_field_u8(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_life_used_prog_warn_threshold’: ../cxl/lib/libcxl.c:3650:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3650 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3801:9: note: in expansion of macro ‘cmd_get_field_u8’ 3801 | cmd_get_field_u8(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_dev_over_temperature_crit_alert_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3809:9: note: in expansion of macro ‘cmd_get_field_u16’ 3809 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_dev_under_temperature_crit_alert_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3817:9: note: in expansion of macro ‘cmd_get_field_u16’ 3817 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_dev_over_temperature_prog_warn_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3825:9: note: in expansion of macro ‘cmd_get_field_u16’ 3825 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_dev_under_temperature_prog_warn_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3833:9: note: in expansion of macro ‘cmd_get_field_u16’ 3833 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_corrected_volatile_mem_err_prog_warn_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3841:9: note: in expansion of macro ‘cmd_get_field_u16’ 3841 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_alert_config_get_corrected_pmem_err_prog_warn_threshold’: ../cxl/lib/libcxl.c:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3848:9: note: in expansion of macro ‘cmd_get_field_u16’ 3848 | cmd_get_field_u16(cmd, get_alert_config, GET_ALERT_CONFIG, | ^~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_maintenance_needed’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3859:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3859 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3863:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3863 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_performance_degraded’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3859:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3859 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3869:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3869 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_hw_replacement_needed’: ../cxl/lib/libcxl.c:3682:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3682 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3859:9: note: in expansion of macro ‘cmd_get_field_u8_mask’ 3859 | cmd_get_field_u8_mask(c, get_health_info, GET_HEALTH_INFO, health_status, m) | ^~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c:3875:9: note: in expansion of macro ‘cmd_health_get_status_field’ 3875 | cmd_health_get_status_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_normal’: ../cxl/lib/libcxl.c:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3892:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3892 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_not_ready’: ../cxl/lib/libcxl.c:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3898:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3898 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_persistence_lost’: ../cxl/lib/libcxl.c:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3905:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3905 | cmd_health_check_media_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_media_data_lost’: ../cxl/lib/libcxl.c:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3911:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3911 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3918:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3918 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3925:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3925 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3932:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3932 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3939:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3939 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3946:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3946 | 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:3882:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3882 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3953:9: note: in expansion of macro ‘cmd_health_check_media_field’ 3953 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3972:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3972 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3979:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3979 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3986:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3986 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_normal’: ../cxl/lib/libcxl.c:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:3993:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 3993 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_warning’: ../cxl/lib/libcxl.c:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4000:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4000 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_health_info_get_ext_temperature_critical’: ../cxl/lib/libcxl.c:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4007:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4007 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4014:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4014 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4021:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4021 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4028:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4028 | 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:3960:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3960 | (struct cxl_cmd_get_health_info *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4035:9: note: in expansion of macro ‘cmd_health_check_ext_field’ 4035 | cmd_health_check_ext_field(cmd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../cxl/lib/libcxl.c: In function ‘health_info_get_life_used_raw’: ../cxl/lib/libcxl.c:3650:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3650 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4041:9: note: in expansion of macro ‘cmd_get_field_u8’ 4041 | 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:3660:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3660 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4058:9: note: in expansion of macro ‘cmd_get_field_u16’ 4058 | 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:3671:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3671 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4075:9: note: in expansion of macro ‘cmd_get_field_u32’ 4075 | 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:3671:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3671 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4081:9: note: in expansion of macro ‘cmd_get_field_u32’ 4081 | 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:3671:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3671 | (struct cxl_cmd_##n *)cmd->send_cmd->out.payload; \ | ^ ../cxl/lib/libcxl.c:4087:9: note: in expansion of macro ‘cmd_get_field_u32’ 4087 | 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:4109:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4109 | (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:4136:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4136 | (struct cxl_cmd_identify *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_new_read_label’: ../cxl/lib/libcxl.c:4208:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4208 | 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:4225:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4225 | get_lsa = (struct cxl_cmd_get_lsa_in *)cmd->send_cmd->in.payload; | ^ ../cxl/lib/libcxl.c:4229:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4229 | payload = (void *)cmd->send_cmd->out.payload; | ^ ../cxl/lib/libcxl.c: In function ‘cxl_cmd_new_write_label’: ../cxl/lib/libcxl.c:4471:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4471 | set_lsa = (struct cxl_cmd_set_lsa *)cmd->send_cmd->in.payload; | ^ [56/242] Compiling C object ndctl/ndctl.p/.._daxctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [57/242] Compiling C object ndctl/ndctl.p/load-keys.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [58/242] Compiling C object ndctl/ndctl.p/monitor.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../ndctl/monitor.c: In function ‘monitor_event’: ../ndctl/monitor.c:346:54: warning: comparison of integer expressions of different signedness: ‘__time_t’ {aka ‘long int’} and ‘unsigned int’ [-Wsign-compare] 346 | if ((fullpoll_ts.tv_sec - ts.tv_sec) > monitor.poll_timeout) { | ^ [59/242] Compiling C object ndctl/ndctl.p/inject-smart.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [60/242] Compiling C object ndctl/ndctl.p/keys.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [61/242] Compiling C object daxctl/daxctl.p/daxctl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [62/242] Compiling C object daxctl/daxctl.p/list.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [63/242] Compiling C object daxctl/daxctl.p/migrate.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [64/242] Generating symbol file daxctl/lib/libdaxctl.so.1.0.6.p/libdaxctl.so.1.0.6.symbols [65/242] Compiling C object daxctl/daxctl.p/acpi.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [66/242] Compiling C object daxctl/daxctl.p/json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [67/242] Compiling C object daxctl/daxctl.p/filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [68/242] Compiling C object cxl/cxl.p/cxl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [69/242] Compiling C object cxl/cxl.p/list.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [70/242] Compiling C object daxctl/daxctl.p/device.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [71/242] Compiling C object cxl/cxl.p/port.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [72/242] Compiling C object cxl/cxl.p/bus.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [73/242] Compiling C object cxl/cxl.p/region.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../cxl/region.c:8: ../cxl/region.c: In function ‘parse_create_options’: ../cxl/region.c:353:33: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] 353 | "size (%lu) is not an integral multiple of interleave-ways (%u)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | p->size, p->ways); | ~~~~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../cxl/region.c:352:25: note: in expansion of macro ‘log_err’ 352 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:353:42: note: format string is defined here 353 | "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:680:25: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=] 680 | "%s: region size %#lx exceeds max available space\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | cxl_decoder_get_devname(p->root_decoder), size); | ~~~~ | | | u64 {aka long long unsigned int} ../util/log.h:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../cxl/region.c:679:17: note: in expansion of macro ‘log_err’ 679 | log_err(&rl, | ^~~~~~~ ../cxl/region.c:680:45: note: format string is defined here 680 | "%s: region size %#lx exceeds max available space\n", | ~~~^ | | | long unsigned int | %#llx [74/242] Compiling C object cxl/cxl.p/.._daxctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [75/242] Compiling C object cxl/cxl.p/.._daxctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [76/242] Compiling C object cxl/cxl.p/json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [77/242] Compiling C object cxl/cxl.p/memdev.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [78/242] Compiling C object cxl/cxl.p/filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [79/242] Compiling C object cxl/cxl.p/monitor.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [80/242] Compiling C object cxl/cxl.p/event_trace.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [81/242] Generating Documentation/cxl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [82/242] Generating Documentation/ndctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [83/242] Generating Documentation/daxctl/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [84/242] Compiling C object test/libndctl.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [85/242] Generating Documentation/cxl/lib/asciidoctor-extensions.rb with a custom command (wrapped by meson to capture output) [86/242] Compiling C object test/libndctl.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [87/242] Generating Documentation/cxl/cxl with a custom command [88/242] Generating Documentation/ndctl/ndctl-start-scrub with a custom command [89/242] Generating Documentation/ndctl/ndctl with a custom command [90/242] Generating Documentation/ndctl/ndctl-zero-labels with a custom command [91/242] Generating Documentation/ndctl/ndctl-read-labels with a custom command [92/242] Generating Documentation/ndctl/ndctl-write-labels with a custom command [93/242] Generating Documentation/ndctl/ndctl-wait-scrub with a custom command [94/242] Generating Documentation/ndctl/ndctl-check-labels with a custom command [95/242] Generating Documentation/ndctl/ndctl-enable-region with a custom command [96/242] Generating Documentation/ndctl/ndctl-enable-dimm with a custom command [97/242] Generating Documentation/ndctl/ndctl-enable-namespace with a custom command [98/242] Generating Documentation/ndctl/ndctl-init-labels with a custom command [99/242] Generating Documentation/ndctl/ndctl-disable-namespace with a custom command [100/242] Generating Documentation/ndctl/ndctl-disable-region with a custom command [101/242] Generating Documentation/ndctl/ndctl-create-namespace with a custom command [102/242] Generating Documentation/ndctl/ndctl-disable-dimm with a custom command [103/242] Generating Documentation/ndctl/ndctl-destroy-namespace with a custom command [104/242] Generating Documentation/ndctl/ndctl-update-firmware with a custom command [105/242] Generating Documentation/ndctl/ndctl-inject-error with a custom command [106/242] Generating Documentation/ndctl/ndctl-check-namespace with a custom command [107/242] Generating Documentation/ndctl/ndctl-clear-errors with a custom command [108/242] Generating Documentation/ndctl/ndctl-list with a custom command [109/242] Generating Documentation/ndctl/ndctl-inject-smart with a custom command [110/242] Generating Documentation/ndctl/ndctl-monitor with a custom command [111/242] Generating Documentation/ndctl/ndctl-setup-passphrase with a custom command [112/242] Generating Documentation/ndctl/ndctl-remove-passphrase with a custom command [113/242] Generating Documentation/ndctl/ndctl-update-passphrase with a custom command [114/242] Generating Documentation/ndctl/ndctl-freeze-security with a custom command [115/242] Generating Documentation/ndctl/ndctl-sanitize-dimm with a custom command [116/242] Generating Documentation/ndctl/ndctl-activate-firmware with a custom command [117/242] Generating Documentation/ndctl/ndctl-wait-overwrite with a custom command [118/242] Generating Documentation/ndctl/ndctl-read-infoblock with a custom command [119/242] Generating Documentation/ndctl/ndctl-load-keys with a custom command [120/242] Generating Documentation/daxctl/daxctl with a custom command [121/242] Generating Documentation/daxctl/daxctl-migrate-device-model with a custom command [122/242] Generating Documentation/daxctl/daxctl-list with a custom command [123/242] Generating Documentation/ndctl/ndctl-write-infoblock with a custom command [124/242] Linking target ndctl/lib/libndctl.so.6.3.21 [125/242] Generating Documentation/daxctl/daxctl-offline-memory with a custom command [126/242] Generating symbol file ndctl/lib/libndctl.so.6.3.21.p/libndctl.so.6.3.21.symbols [127/242] Linking target cxl/lib/libcxl.so.1.0.6 [128/242] Generating Documentation/daxctl/daxctl-disable-device with a custom command [129/242] Generating Documentation/daxctl/daxctl-create-device with a custom command [130/242] Generating Documentation/daxctl/daxctl-online-memory with a custom command [131/242] Generating Documentation/daxctl/daxctl-enable-device with a custom command [132/242] Generating Documentation/daxctl/daxctl-reconfigure-device with a custom command [133/242] Generating Documentation/daxctl/daxctl-destroy-device with a custom command [134/242] Generating symbol file cxl/lib/libcxl.so.1.0.6.p/libcxl.so.1.0.6.symbols [135/242] Generating Documentation/cxl/cxl-list with a custom command [136/242] Generating Documentation/cxl/cxl-disable-memdev with a custom command [137/242] Generating Documentation/cxl/cxl-zero-labels with a custom command [138/242] Generating Documentation/cxl/cxl-enable-memdev with a custom command [139/242] Generating Documentation/cxl/cxl-write-labels with a custom command [140/242] Generating Documentation/cxl/cxl-read-labels with a custom command [141/242] Generating Documentation/cxl/cxl-set-partition with a custom command [142/242] Generating Documentation/cxl/cxl-enable-port with a custom command [143/242] Generating Documentation/cxl/cxl-reserve-dpa with a custom command [144/242] Generating Documentation/cxl/cxl-disable-port with a custom command [145/242] Generating Documentation/cxl/cxl-disable-bus with a custom command [146/242] Generating Documentation/cxl/cxl-disable-region with a custom command [147/242] Generating Documentation/cxl/cxl-free-dpa with a custom command [148/242] Generating Documentation/cxl/cxl-create-region with a custom command [149/242] Generating Documentation/cxl/cxl-enable-region with a custom command [150/242] Generating Documentation/cxl/cxl-update-firmware with a custom command [151/242] Generating Documentation/cxl/cxl-destroy-region with a custom command [152/242] Generating Documentation/cxl/cxl-monitor with a custom command [153/242] Generating Documentation/cxl/cxl-wait-sanitize with a custom command [154/242] Compiling C object test/libndctl.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [155/242] Generating Documentation/cxl/cxl-set-alert-config with a custom command [156/242] Generating Documentation/cxl/lib/libcxl with a custom command [157/242] Compiling C object test/dsm-fail.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [158/242] Compiling C object test/dsm-fail.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [159/242] Generating Documentation/cxl/lib/cxl_new with a custom command [160/242] Linking target daxctl/daxctl [161/242] Compiling C object test/dsm-fail.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [162/242] Compiling C object test/dsm-fail.p/.._ndctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [163/242] Compiling C object test/libndctl.p/libndctl.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [164/242] Compiling C object test/dsm-fail.p/.._daxctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [165/242] Compiling C object test/dsm-fail.p/.._util_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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) { | ^ [166/242] Compiling C object test/dsm-fail.p/.._daxctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [167/242] Compiling C object test/dsm-fail.p/dsm-fail.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [168/242] Compiling C object test/dsm-fail.p/.._ndctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [169/242] Compiling C object test/dsm-fail.p/.._ndctl_check.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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 [170/242] Compiling C object test/dsm-fail.p/.._ndctl_namespace.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [171/242] Compiling C object test/hugetlb.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [172/242] Compiling C object test/hugetlb.p/hugetlb.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [173/242] Compiling C object test/hugetlb.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [174/242] Compiling C object test/hugetlb.p/dax-pmd.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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); | ^~~~~ [175/242] Compiling C object test/hugetlb.p/dax-poison.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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} [176/242] Compiling C object test/ack-shutdown-count-set.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [177/242] Compiling C object test/ack-shutdown-count-set.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [178/242] Compiling C object test/ack-shutdown-count-set.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [179/242] Compiling C object test/hugetlb.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [180/242] Compiling C object test/ack-shutdown-count-set.p/ack-shutdown-count-set.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [181/242] Compiling C object test/dax-errors.p/dax-errors.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [182/242] Compiling C object test/smart-notify.p/smart-notify.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [183/242] Linking target test/dax-errors [184/242] Linking target test/hugetlb [185/242] Compiling C object test/smart-listen.p/smart-listen.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [186/242] Linking target test/ack-shutdown-count-set [187/242] Linking target test/smart-notify [188/242] Compiling C object test/daxdev-errors.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [189/242] Compiling C object test/daxdev-errors.p/daxdev-errors.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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 [190/242] Compiling C object test/daxdev-errors.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [191/242] Compiling C object test/list-smart-dimm.p/list-smart-dimm.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [192/242] Compiling C object test/list-smart-dimm.p/.._util_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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) { | ^ [193/242] Compiling C object test/list-smart-dimm.p/.._ndctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [194/242] Linking target test/smart-listen [195/242] Compiling C object test/list-smart-dimm.p/.._ndctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [196/242] Linking target test/libndctl [197/242] Linking target test/daxdev-errors [198/242] Compiling C object test/list-smart-dimm.p/.._daxctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [199/242] Compiling C object test/list-smart-dimm.p/.._daxctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [200/242] Compiling C object test/pmem-ns.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [201/242] Compiling C object test/pmem-ns.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [202/242] Compiling C object test/pmem-ns.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [203/242] Compiling C object test/pmem-ns.p/pmem_namespaces.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [204/242] Compiling C object test/dax-dev.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [205/242] Compiling C object test/dax-dev.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [206/242] Compiling C object test/dax-dev.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [207/242] Compiling C object test/dax-dev.p/dax-dev.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [208/242] Compiling C object test/dax-pmd.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [209/242] Compiling C object test/dax-pmd.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [210/242] Compiling C object test/dax-pmd.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [211/242] Linking target ndctl/ndctl [212/242] Compiling C object test/dax-pmd.p/dax-pmd.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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); | ^~~~~ [213/242] Compiling C object test/dax-pmd.p/dax-poison.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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} [214/242] Linking target test/dax-dev [215/242] Compiling C object test/device-dax.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [216/242] Linking target cxl/cxl [217/242] Linking target test/pmem-ns [218/242] Compiling C object test/device-dax.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [219/242] Compiling C object test/device-dax.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [220/242] Compiling C object test/device-dax.p/.._util_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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) { | ^ [221/242] Compiling C object test/device-dax.p/.._ndctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [222/242] Compiling C object test/device-dax.p/.._ndctl_check.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:55:24: note: in expansion of macro ‘log_dbg’ 55 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:57:24: note: in expansion of macro ‘log_err’ 57 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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:36:72: note: in definition of macro ‘log_cond’ 36 | do_log(ctx, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ | ^~~ ../util/log.h:56:25: note: in expansion of macro ‘log_info’ 56 | #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 [223/242] Compiling C object test/device-dax.p/.._daxctl_filter.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [224/242] Compiling C object test/device-dax.p/.._ndctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [225/242] Compiling C object test/device-dax.p/.._daxctl_json.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [226/242] Linking target test/dsm-fail [227/242] Compiling C object test/device-dax.p/dax-dev.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [228/242] Compiling C object test/device-dax.p/.._ndctl_namespace.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [229/242] Compiling C object test/device-dax.p/dax-pmd.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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); | ^~~~~ [230/242] Compiling C object test/device-dax.p/dax-poison.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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} [231/242] Linking target test/dax-pmd [232/242] Compiling C object test/revoke_devmem.p/.._util_log.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [233/242] Compiling C object test/revoke_devmem.p/core.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [234/242] Compiling C object test/device-dax.p/device-dax.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [235/242] Linking target test/list-smart-dimm [236/242] Compiling C object test/revoke_devmem.p/.._util_sysfs.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [237/242] Compiling C object test/revoke_devmem.p/dax-dev.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [238/242] Compiling C object test/revoke_devmem.p/revoke-devmem.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [239/242] Compiling C object test/mmap.p/mmap.c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [240/242] Linking target test/mmap [241/242] Linking target test/revoke_devmem [242/242] Linking target test/device-dax + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.81295 + 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:/usr/bin:/bin:/usr/local/bin:/usr/games + cd ndctl-79 + 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.0.6 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.3.21 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.6 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/cxl-monitor.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-update-firmware.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-set-alert-config.1 to /usr/src/tmp/ndctl-buildroot/usr/share/man/man1 Installing Documentation/cxl/cxl-wait-sanitize.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-79/ndctl/libndctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/ndctl Installing /usr/src/RPM/BUILD/ndctl-79/ndctl/ndctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/ndctl Installing /usr/src/RPM/BUILD/ndctl-79/daxctl/libdaxctl.h to /usr/src/tmp/ndctl-buildroot/usr/include/daxctl Installing /usr/src/RPM/BUILD/ndctl-79/cxl/libcxl.h to /usr/src/tmp/ndctl-buildroot/usr/include/cxl Installing /usr/src/RPM/BUILD/ndctl-79/daxctl/lib/daxctl.conf to /usr/src/tmp/ndctl-buildroot/usr/share/daxctl Installing /usr/src/RPM/BUILD/ndctl-79/ndctl/ndctl-monitor.service to /usr/src/tmp/ndctl-buildroot/usr/lib/systemd/system Installing /usr/src/RPM/BUILD/ndctl-79/ndctl/monitor.conf to /usr/src/tmp/ndctl-buildroot/etc/ndctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-79/ndctl/ndctl.conf to /usr/src/tmp/ndctl-buildroot/etc/ndctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-79/ndctl/keys.readme to /usr/src/tmp/ndctl-buildroot/etc/ndctl/keys Installing /usr/src/RPM/BUILD/ndctl-79/daxctl/daxctl.example.conf to /usr/src/tmp/ndctl-buildroot/etc/daxctl.conf.d Installing /usr/src/RPM/BUILD/ndctl-79/daxctl/90-daxctl-device.rules to /usr/src/tmp/ndctl-buildroot/usr/lib/udev/rules.d Installing /usr/src/RPM/BUILD/ndctl-79/daxctl/daxdev-reconfigure@.service to /usr/src/tmp/ndctl-buildroot/usr/lib/systemd/system Installing /usr/src/RPM/BUILD/ndctl-79/cxl/cxl-monitor.service to /usr/src/tmp/ndctl-buildroot/usr/lib/systemd/system Installing /usr/src/RPM/BUILD/ndctl-79/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-79/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-79/contrib/ndctl to /usr/src/tmp/ndctl-buildroot/usr/share/bash-completion/completions Installing /usr/src/RPM/BUILD/ndctl-79/contrib/nvdimm-security.conf to /usr/src/tmp/ndctl-buildroot/etc/modprobe.d Installing symlink pointing to libdaxctl.so.1.0.6 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.3.21 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.6 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.6' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libndctl.so.6.3.21' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libdaxctl.so.1.0.6' 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) Verifying systemd units in /usr/src/tmp/ndctl-buildroot Adjusting library links in /usr/src/tmp/ndctl-buildroot ./usr/lib: (from :0) libdaxctl.so.1 -> libdaxctl.so.1.0.6 libndctl.so.6 -> libndctl.so.6.3.21 libcxl.so.1 -> libcxl.so.1.0.6 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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/ndctl-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.111 Check is turned off by --disable check Processing files: ndctl-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RoEduj 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.aK514n find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libndctl = 79-alt1, libdaxctl = 79-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.38), 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:lgUpvYYRWvg97VLnVAIxHDae0RxOJdHSxSZw92Gi1ycFE1Dl2, 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:meFI34rsCgytr2k59pFxJ6hxZBZtL9XueFKvmUyVKdUjBUKSM5rN3bJfZyZfupYYCoZ5e63yXGTIkLlXdH9rd9Bo33IfKivykAESNnFj1GDm5rmWylD41ONqYxaAoxgx1XpEHThUWzLBDzyXkt1WQnd8Z0O3jrhpC5PaJiaGxZb6nkTBJvnEPQTZ2KZiuTcv5f8BrIBHlEiTkRmrHGENoiiVMTnyZc7bBvgK0aNOA3ZHKrESKLraq0wR1b7RVFbbG18wjr1ZrZ820DQRF5rT2DQZq9vwCOOSv3RSQoGbtUOdxz1iAKvA5dvGkYEZ8F4RYBmz4VqxCbrJQN5RoHWF8e0z7pZfKIJ5PQwApuTDZApugIn1OUZsrvojXq2dut5y7jfNSpj3i4wg3UZKZk5biowf2tebCPyzy672V6TpHyj0oRSBntkvUyCV8cwFks18kd89XoPrv8VY4mRLt62NkQ5nXmkdgNFKBUI7VVSUxyCteAYARXqruGoalG7Ovi4RH56vDHm7l7JvtyuprkXFZpnmR1, 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_28), 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.2c7l2W Creating ndctl-debuginfo package Processing files: libndctl-79-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7987 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-79 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libndctl-79 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zsLe1z 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: 400 symbols, 19 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oEBu3U 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:mdip3AdK6x3zonjwGEbVcm3H6x2LbvZC3jK8P9BQEQIUy5ZeQDKP6YJKJXWxHv5ZGjrTZ1mJLvFZJazvRa3yRbDNMkZ3kZeZaCxZslds83sYKqO9Fhgap3rggvwY8AiWw1pHQjkhyqDElZGVvEzjh2wa0vItzlhPGz9EkL5U41Mn98aBe5Zsg5am4aGxuavMagGgaWwo4mvZmZcNHWy9lPPPIa6uSz1BsCk3O7Q3HJkCpkCeHQBkgdIuOONBb3jqrgnLqZK2pCWKHkcbKaNL6AAFNQDVyFrobZ5V1lKn8gWkqwmNyvFmjq4clJRQGceZejc9OEDyK0MTnytZoBO7Abg9mCYRp6uhZiHztyMKDrqf4hf2EhFTfQqZqgrMOtlAKIE2g0bnkNBcyCNl2Grfa0UAGelIL5eF5nrSYxGB02VlBJv3xYadm8c8M8q7csVCE0oo09OX7phP7OhJp7JzpaccDLqdiARyCrlCYSzh7dbiGdGVAKUmBfBUwdl28tZw0m2OWLHJtcrHcbSPvcTZcvaP2yxKwFDw0GWmLM6XpZ9vvIFfzNxDbIpl2Xa1gyDDZ1kUQqxNaFFV32HhFyScoNfMUUXKBJxhjiiv2N28cM7xen0qN7bc0caos4OdKNjKxzeTy49i29M0wxulEeGfIEpe2cw9dTzm02l1FIPCvv8V4rLPK9roPJ9aXc84juGpaKyr1R05DHF3ssSzQsbukQSx1I2dAMQzARV7Kuu5PPypGI7a2Vd4hvJHLy1WAqMb93FVGRx5wRUZlD8nm6RuGBOleIWT8Dn, 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_28), libndctl.so.6(LIBNDCTL_3) Requires: libdaxctl = 79-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.38), libc.so.6(GLIBC_2.4), 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.JFbZhy Creating libndctl-debuginfo package Processing files: libndctl-devel-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b3fBav 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.6i7ONN 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) = 79 Requires: libndctl = 79-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.K6PPv7 Processing files: daxctl-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9duP5w 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.snHTU4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libndctl = 79-alt1, libdaxctl = 79-alt1, udev, /bin/sh, /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.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.38), libc.so.6(GLIBC_2.4), 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:lgo9z2N5qYBJpyLZng97VLnV4dn47wWgVSClXgXv8hMaF2MB8jaqMpB, 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.ThmSau Creating daxctl-debuginfo package Processing files: libdaxctl-79-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.93758 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-79 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libdaxctl-79 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tfkLu0 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: 64 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lY6o6w 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:jcMoBJ42cWICyXIqFwvSUUhZqwBqktzK08sAMmOG5OiHpcko0Y3KF56FWBWLoZs8xTeEdC0EUWhc4O5tNEY4xnMDEfWmBf0wiSj1nOnxHD7wFXmcgb5jFsQsWK9wa8, libdaxctl.so.1(LIBDAXCTL_1), libdaxctl.so.1(LIBDAXCTL_10), 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.38), libc.so.6(GLIBC_2.4), 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.DQjnMg Creating libdaxctl-debuginfo package Processing files: libdaxctl-devel-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1DRJZ8 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.lbwoJh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libdaxctl) = 79 Requires: libdaxctl = 79-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.jioLbB Processing files: cxl-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ClrZKK 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.GL5Wq3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libcxl = 79-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.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.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.8), libc.so.6(GLIBC_2.9), libcxl.so.1 >= set:ldbIxQTAnk2zXskGnlcRhQHEQA5tXPbZEjxsUtr61QfQvh7OwOyoXMm4vzYNqtPtJYLZs6j9ihTFkz2abnLyZ6r3SOWhdPxIaz4mDlyOeEeY8AKa43Zr86doL1jCBJhDjePJ8Ru91A9YanbadXQUWAcIBZIcMegFTQsexKSbHFqgvzQ6b5NTUolaQfl4hQPpScONLQShUIBdTRwu3vNH3iOdSL3Phr2XxSFZnDDIgn8f6862dqcQ6VTyZ5fVCg7cw7CkFkmu7jzFPo0Xr3gs3ytqLZdQUrajNP5laLSugEEzR7iaO3MDprMPMqyZvBG9Nd2XwdQHhsF9qujwpLdCsvUcHCzydlcRxECZwFXbNSo7k4GtPFFKdfozE2dEiT92HI1DplJuLxU618EBZ4T97VN1DXOpuoZmbg8cmSqSuAx0D4sBSndfEfXw2, libcxl.so.1(LIBCXL_1), libcxl.so.1(LIBCXL_2), libcxl.so.1(LIBCXL_3), libcxl.so.1(LIBCXL_4), libcxl.so.1(LIBCXL_5), libcxl.so.1(LIBCXL_6), libcxl.so.1(LIBCXL_7), libdaxctl.so.1 >= set:jeSyRnfGMlZHPCNHmsDOvoGK3AhahAksZ7uKQZALn9aFfoJiZ1aZI9re6, libdaxctl.so.1(LIBDAXCTL_10), 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), libjson-c.so.5 >= set:lghebBdn0TwvBPuNsZfwieOvLO9qK8e0RxOJdHSxSZw92Gixo08IAy6sm9, libjson-c.so.5(JSONC_0.14), libjson-c.so.5(JSONC_PRIVATE), libtraceevent.so.1 >= set:ljIyNvMJr9c, libtracefs.so.1 >= set:lhJOPSwlBOWpscaMZLkl5n90dg7, libuuid.so.1 >= set:igqfiO4Z06, 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.xbd3h7 Creating cxl-debuginfo package Processing files: libcxl-79-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7127 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ndctl-79 + DOCDIR=/usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + export DOCDIR + rm -rf /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + /bin/mkdir -p /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + cp -prL README.md /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + chmod -R go-w /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + chmod -R a+rX /usr/src/tmp/ndctl-buildroot/usr/share/doc/libcxl-79 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KQihXw 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: 253 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p43XYD 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:ldbIxQTYHbqBMa5ctziZaaCW8WlkqOyKZ9nZhD2VMnnHbfHh0Z3QvTlcSdEI8SeI5NT8vImTsnbZHZs6j9ihTFkz2abnLyZ6r3SOWhdPPgaESGO8xRpBEI3G3f2FH2hsv2shcqYsvyZqwmknt1JIdWsOpK5FSb9wcxnVqhFpD6nDAxJYDpwtwiZA01PV4lZkuLICG1Zd8JNihYdemB2Z3l4hQPpScONLQShUIBdTRwu3vNHP5jzxjjzZb3Phr2XxSFZnDDIgn8f6862dqcQ6VTyZ5fVCg7cw7CkFkmu7jzFPoMkGNGzr0yrgIjXJLFNTk27bCQPVyaB8V7F74aWoZ1iaq1d1UPIdUpodNVYylGC4T8I3SgL6NBCEVd1CZ6zFTkyDPIqeTqfwNCpLWgkPv85BaP0nyJNeE8kXCjjtruM6h5qgBKj4ObPC1DplJuLRyFEZtP86qpftDsA77sKbDVxVrbg8cmSqSuAx0D4sBSndfEfXw2, libcxl.so.1(LIBCXL_1), libcxl.so.1(LIBCXL_2), libcxl.so.1(LIBCXL_3), libcxl.so.1(LIBCXL_4), libcxl.so.1(LIBCXL_5), libcxl.so.1(LIBCXL_6), libcxl.so.1(LIBCXL_7) 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.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.8), libdaxctl.so.1 >= set:jhqdXNpQou, libdaxctl.so.1(LIBDAXCTL_1), libdaxctl.so.1(LIBDAXCTL_2), 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.Vfahb5 Creating libcxl-debuginfo package Processing files: libcxl-devel-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9ie8ub 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.oH2GJa find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libcxl) = 79 Requires: libcxl = 79-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.ZmNMwB Processing files: ndctl-debuginfo-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ic6wqr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kJL7av find-requires: running scripts (debuginfo) Requires: ndctl = 79-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-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4NL4Jo find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6sq36Z find-requires: running scripts (debuginfo) Provides: debug(libndctl.so.6) Requires: libndctl = 79-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-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vzezmN find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LfWR2x find-requires: running scripts (debuginfo) Requires: daxctl = 79-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-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vn1SxG find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ocrDyk find-requires: running scripts (debuginfo) Provides: debug(libdaxctl.so.1) Requires: libdaxctl = 79-alt1, debug(libc.so.6), debug(libkmod.so.2), debug(libuuid.so.1) Processing files: cxl-debuginfo-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JszUs4 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iX0Rv2 find-requires: running scripts (debuginfo) Requires: cxl = 79-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcxl.so.1), debug(libdaxctl.so.1), debug(libjson-c.so.5), debug(libtraceevent.so.1), debug(libtracefs.so.1), debug(libuuid.so.1) Processing files: libcxl-debuginfo-79-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F16Js7 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F7mYVC find-requires: running scripts (debuginfo) Provides: debug(libcxl.so.1) Requires: libcxl = 79-alt1, debug(libc.so.6), debug(libdaxctl.so.1), debug(libkmod.so.2), debug(libudev.so.1), 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 cxl a strict dependency on libdaxctl Adding to libcxl a strict dependency on libdaxctl 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 libdaxctl-debuginfo Adding to cxl-debuginfo a strict dependency on libcxl-debuginfo Adding to libcxl-debuginfo a strict dependency on libdaxctl-debuginfo Removing from ndctl-debuginfo 12 sources provided by libndctl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/endian also prunning dir /usr/src/debug/ndctl-79/ccan/list also prunning dir /usr/src/debug/ndctl-79/ccan/short_types also prunning dir /usr/src/debug/ndctl-79/ccan Removing from daxctl-debuginfo 6 sources provided by libndctl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/list also prunning dir /usr/src/debug/ndctl-79/ccan/short_types also prunning dir /usr/src/debug/ndctl-79/ndctl also prunning dir /usr/src/debug/ndctl-79/ccan Removing from libndctl-debuginfo 5 sources provided by libdaxctl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/list Removing from cxl-debuginfo 3 sources provided by libdaxctl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/list Removing from libcxl-debuginfo 5 sources provided by libdaxctl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/list Removing from cxl-debuginfo 4 sources provided by libcxl-debuginfo also prunning dir /usr/src/debug/ndctl-79/ccan/short_types also prunning dir /usr/src/debug/ndctl-79/ccan Removing 19 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 8 extra deps from cxl due to dependency on libdaxctl Removing 3 extra deps from libcxl due to dependency on libdaxctl Removing 8 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 libdaxctl-debuginfo Removing 1 extra deps from libcxl-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 libdaxctl Removing 15 extra deps from libcxl due to repentancy on libdaxctl Removing 1 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 libdaxctl-debuginfo Removing 3 extra deps from libcxl-debuginfo due to repentancy on libdaxctl-debuginfo Removing 1 extra deps from cxl-debuginfo due to repentancy on libcxl-debuginfo Wrote: /usr/src/RPM/RPMS/i586/ndctl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-devel-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/daxctl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-devel-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/cxl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-devel-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ndctl-debuginfo-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libndctl-debuginfo-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/daxctl-debuginfo-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libdaxctl-debuginfo-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/cxl-debuginfo-79-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libcxl-debuginfo-79-alt1.i586.rpm (w2.lzdio) 54.35user 12.30system 0:58.83elapsed 113%CPU (0avgtext+0avgdata 51680maxresident)k 0inputs+0outputs (0major+2938354minor)pagefaults 0swaps 8.50user 2.22system 1:17.12elapsed 13%CPU (0avgtext+0avgdata 128548maxresident)k 12128inputs+0outputs (0major+280733minor)pagefaults 0swaps --- cxl-79-alt1.i586.rpm.repo 2024-05-03 07:48:17.000000000 +0000 +++ cxl-79-alt1.i586.rpm.hasher 2024-07-20 09:45:22.347230625 +0000 @@ -1,3 +1,3 @@ -/lib/systemd/system/cxl-monitor.service 100644 root:root /usr/bin/cxl 100755 root:root +/usr/lib/systemd/system/cxl-monitor.service 100644 root:root /usr/share/man/man1/cxl-create-region.1.xz 100644 root:root @@ -36,4 +36,4 @@ Provides: cxl = 79-alt1:sisyphus+347374.100.1.1 -File: /lib/systemd/system/cxl-monitor.service 100644 root:root 346d1bd72ade2a736638857ad4434595 File: /usr/bin/cxl 100755 root:root 616e929f9f82959ca14dfe89e95a22a6 +File: /usr/lib/systemd/system/cxl-monitor.service 100644 root:root 346d1bd72ade2a736638857ad4434595 File: /usr/share/man/man1/cxl-create-region.1.xz 100644 root:root 0a9d793539c19b5f5ee75e203a53607b @@ -59,2 +59,2 @@ File: /usr/share/man/man1/cxl.1.xz 100644 root:root 900abd1d6f9a6302e2ee93fc218a6da1 -RPMIdentity: 719856838ed46d588331ea4e70cddb0e1a0a5566f9870ac1c27b8726614deb5b490cfced30a05bd80c4097ecc5fd61ebf5a2e0126a5c083cb2daec9870ee2c6e +RPMIdentity: 5a4b8591f35e22c8488f65bf8abbff4dc22db7b4f403d6e767c65fde883bb7b8c1226d6f7a7c791fe8d4a79af887c22397a199c7326e497a943a5da3edbf3bae --- daxctl-79-alt1.i586.rpm.repo 2024-05-03 07:48:16.000000000 +0000 +++ daxctl-79-alt1.i586.rpm.hasher 2024-07-20 09:45:22.523231335 +0000 @@ -2,5 +2,5 @@ /etc/daxctl.conf.d/daxctl.example.conf 100644 root:root -/lib/systemd/system/daxdev-reconfigure@.service 100644 root:root -/lib/udev/rules.d/90-daxctl-device.rules 100644 root:root /usr/bin/daxctl 100755 root:root +/usr/lib/systemd/system/daxdev-reconfigure@.service 100644 root:root +/usr/lib/udev/rules.d/90-daxctl-device.rules 100644 root:root /usr/share/daxctl 40755 root:root @@ -20,3 +20,2 @@ Requires: /lib/ld-linux.so.2 -Requires: /lib/udev/rules.d Requires: libc.so.6(GLIBC_2.34) @@ -31,5 +30,5 @@ File: /etc/daxctl.conf.d/daxctl.example.conf 100644 root:root b7ae7d81dccb334b4a46b46b69b40c49 -File: /lib/systemd/system/daxdev-reconfigure@.service 100644 root:root 0a41db2934db7cc68c7291f4e913c9aa -File: /lib/udev/rules.d/90-daxctl-device.rules 100644 root:root 4fde166e74f6967f6c0de2a05e0fe815 File: /usr/bin/daxctl 100755 root:root 4634ed5f1668a95d13432d545a99cbad +File: /usr/lib/systemd/system/daxdev-reconfigure@.service 100644 root:root 0a41db2934db7cc68c7291f4e913c9aa +File: /usr/lib/udev/rules.d/90-daxctl-device.rules 100644 root:root 4fde166e74f6967f6c0de2a05e0fe815 File: /usr/share/daxctl 40755 root:root @@ -46,2 +45,2 @@ File: /usr/share/man/man1/daxctl.1.xz 100644 root:root a51e393c7bd4711654a7c23bbd9de03a -RPMIdentity: 489af7bd85d74528bb97a49f48e2866e26b4262c6dc644511717e8c4a9bf7c81b045d00c838b9bd7e0ba09e24a71663569df57e75bb9866b5fd484041ba412ee +RPMIdentity: cf3ec189179982adde522b5c942fa204336ceaf40933e26e2ce7293125ed22d27c09d8f7315dbc2e80ab13340c62374bd8369dafd28e14c675f90acdd7326faa --- ndctl-79-alt1.i586.rpm.repo 2024-05-03 07:48:18.000000000 +0000 +++ ndctl-79-alt1.i586.rpm.hasher 2024-07-20 09:45:23.311234512 +0000 @@ -7,4 +7,4 @@ /etc/ndctl/keys/keys.readme 100644 root:root -/lib/systemd/system/ndctl-monitor.service 100644 root:root /usr/bin/ndctl 100755 root:root +/usr/lib/systemd/system/ndctl-monitor.service 100644 root:root /usr/share/bash-completion/completions/cxl 100644 root:root @@ -69,4 +69,4 @@ File: /etc/ndctl/keys/keys.readme 100644 root:root 214c9369c568e58bfca9f32370448b9a -File: /lib/systemd/system/ndctl-monitor.service 100644 root:root 045d0d33a2c17a2e0df027173638638f File: /usr/bin/ndctl 100755 root:root 8bd41708a336614b18cdd6564d9c20a0 +File: /usr/lib/systemd/system/ndctl-monitor.service 100644 root:root 045d0d33a2c17a2e0df027173638638f File: /usr/share/bash-completion/completions/cxl 100644 root:root b08e968f7780b15bfc620b92991c7ad3 @@ -107,2 +107,2 @@ File: /usr/share/man/man1/ndctl.1.xz 100644 root:root 8936afee9faa3c49a6904a44948aee7a -RPMIdentity: 953fda54eaa8e891dd2960ac1a75b2e80163fed6bb3834ee9af9d168814d099812a48e1d6715c6d42c346d00d8ec6938a83913217da55a9da1e4dea7855ad934 +RPMIdentity: e2dd90a40b8e229528ef085da0032148d103960fe7c0d30d5ada255d839d1edea47f25ef245a7b7688c1cab6b1e19b36b8b19813f1c35b6eaac98df0170d0e52