Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/inferit-9_6-bootstrap-build-94421-179744/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6131d617ddf24784ab2f8b218d0eb62d', '-D', '/var/lib/mock/inferit-9_6-bootstrap-build-94421-179744/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1729641600 Wrote: /builddir/build/SRPMS/sanlock-3.9.5-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/inferit-9_6-bootstrap-build-94421-179744/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ffcda4146bd44a3990095153a15e1bbf', '-D', '/var/lib/mock/inferit-9_6-bootstrap-build-94421-179744/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m4oek16c:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1729641600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.puFmi8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.9.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.9.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-systemd-wdmd-work-around-race-with-udev-setting-soft.patch):' Patch #0 (0001-systemd-wdmd-work-around-race-with-udev-setting-soft.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .backup0 --fuzz=0 patching file init.d/systemd-wdmd + echo 'Patch #1 (0002-sanlock-new-NODELAY-flag-for-add_lockspace.patch):' Patch #1 (0002-sanlock-new-NODELAY-flag-for-add_lockspace.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .backup1 --fuzz=0 patching file src/cmd.c patching file src/delta_lease.c patching file src/delta_lease.h patching file src/direct.c patching file src/lockspace.c patching file src/lockspace.h patching file src/sanlock_admin.h patching file src/sanlock_internal.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wcCCyp + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.9.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/wdmd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.5\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/wdmd' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -pie -shared -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c sizeflags.c delta_lease.c paxos_lease.c rindex.c direct.c task.c timeouts.c direct_lib.c monotime.c env.c -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd lockspace.h:24:5: warning: type of 'lockspace_disk' does not match original declaration [-Wlto-type-mismatch] 24 | int lockspace_disk(char *space_name, struct sync_disk *disk, int *sector_size); | ^ direct_lib.c:50:5: note: type mismatch in parameter 3 50 | int lockspace_disk(char *space_name GNUC_UNUSED, struct sync_disk *disk GNUC_UNUSED) | ^ direct_lib.c:50:5: note: 'lockspace_disk' was previously declared here resource.h:27:6: warning: type of 'check_mode_block' does not match original declaration [-Wlto-type-mismatch] 27 | void check_mode_block(struct token *token, uint64_t next_lver, int q, char *dblock); | ^ direct_lib.c:66:6: note: type mismatch in parameter 2 66 | void check_mode_block(struct token *token GNUC_UNUSED, int q GNUC_UNUSED, char *dblock GNUC_UNUSED) | ^ direct_lib.c:66:6: note: type 'int' should match type 'uint64_t' direct_lib.c:66:6: note: 'check_mode_block' was previously declared here direct_lib.c:66:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.5\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c sizeflags.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c rindex.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c env.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. In file included from main.c:47: main.c: In function 'setup_host_name': main.c:1642:34: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1642 | log_warn("our_host_name shortened from config %s len %ld to: %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1643 | com.our_host_name_opt, strlen(com.our_host_name_opt), our_host_name_global); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} log.h:43:82: note: in definition of macro 'log_warn' 43 | #define log_warn(fmt, args...) log_level(0, 0, NULL, LOG_WARNING, fmt, ##args) | ^~~ main.c:1642:80: note: format string is defined here 1642 | log_warn("our_host_name shortened from config %s len %ld to: %s", | ~~^ | | | long int | %d resource.c: In function 'resource_thread': resource.c:2349:17: warning: 'req.force_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] 2349 | log_error("do_request %d unknown force_mode %d", | ^ resource.c:2557:31: note: 'req.force_mode' was declared here 2557 | struct request_record req; | ^ resource.c:2576:12: warning: 'req.lver' may be used uninitialized in this function [-Wmaybe-uninitialized] 2576 | if (req.lver <= lver) { | ^ resource.c:2557:31: note: 'req.lver' was declared here 2557 | struct request_record req; | ^ sed -e "s/@VERSION@/3.9.5/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.9.5/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/src' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/python' python3 setup.py build /usr/lib/python3.9/site-packages/setuptools/dist.py:466: UserWarning: Normalizing '3.9.5 ' to '3.9.5' warnings.warn(tmpl.format(**locals())) running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-i686-3.9 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I../src -I/usr/include/python3.9 -c sanlock.c -o build/temp.linux-i686-3.9/sanlock.o -std=c99 creating build/lib.linux-i686-3.9 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-i686-3.9/sanlock.o -L../src -L/usr/lib -lsanlock -o build/lib.linux-i686-3.9/sanlock.cpython-39-i386-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/python' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hXnEfI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 ++ dirname /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 + cd sanlock-3.9.5 + rm -rf /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 + make -C src install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/src' install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/include install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/share/man/man8 install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib/pkgconfig install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/sbin install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib/pkgconfig install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/include install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/src' + make -C wdmd install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/wdmd' install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/include install -d /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/share/man/man8 install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/sbin install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/include install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/wdmd' + make -C python install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.5/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 /usr/lib/python3.9/site-packages/setuptools/dist.py:466: UserWarning: Normalizing '3.9.5 ' to '3.9.5' warnings.warn(tmpl.format(**locals())) running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9 creating /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9/site-packages copying build/lib.linux-i686-3.9/sanlock.cpython-39-i386-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9/site-packages running install_egg_info running egg_info creating sanlock_python.egg-info writing sanlock_python.egg-info/PKG-INFO writing dependency_links to sanlock_python.egg-info/dependency_links.txt writing top-level names to sanlock_python.egg-info/top_level.txt writing manifest file 'sanlock_python.egg-info/SOURCES.txt' reading manifest file 'sanlock_python.egg-info/SOURCES.txt' writing manifest file 'sanlock_python.egg-info/SOURCES.txt' Copying sanlock_python.egg-info to /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9/site-packages/sanlock_python-3.9.5-py3.9.egg-info running install_scripts make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.5/python' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/systemd-wdmd /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386//usr/lib/systemd/system/wdmd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/run/sanlock + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 3.9.5-3.el9 --unique-debug-suffix -3.9.5-3.el9.i386 --unique-debug-src-base sanlock-3.9.5-3.el9.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.9.5 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9/site-packages/sanlock.cpython-39-i386-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/sbin/wdmd original debug info size: 1324kB, size after compression: 1160kB /usr/bin/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 1735 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/python3.9 using python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386/usr/lib/debug/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash Processing files: sanlock-3.9.5-3.el9.i686 Provides: config(sanlock) = 3.9.5-3.el9 sanlock = 3.9.5-3.el9 sanlock(x86-32) = 3.9.5-3.el9 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh /usr/sbin/groupadd /usr/sbin/useradd Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/bash libaio.so.1 libaio.so.1(LIBAIO_0.1) libaio.so.1(LIBAIO_0.4) libblkid.so.1 libblkid.so.1(BLKID_2.15) libblkid.so.1(BLKID_2.17) libc.so.6 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.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.9) libsanlock.so.1 libuuid.so.1 libuuid.so.1(UUID_1.0) libwdmd.so.1 rtld(GNU_HASH) Processing files: sanlock-debugsource-3.9.5-3.el9.i686 Provides: sanlock-debugsource = 3.9.5-3.el9 sanlock-debugsource(x86-32) = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-lib-3.9.5-3.el9.i686 Provides: libsanlock.so.1 libsanlock_client.so.1 libwdmd.so.1 sanlock-lib = 3.9.5-3.el9 sanlock-lib(x86-32) = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaio.so.1 libaio.so.1(LIBAIO_0.1) libaio.so.1(LIBAIO_0.4) libblkid.so.1 libblkid.so.1(BLKID_2.15) libblkid.so.1(BLKID_2.17) libc.so.6 libc.so.6(GLIBC_2.0) 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.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: python3-sanlock-3.9.5-3.el9.i686 Provides: python-sanlock = 3.9.5-3.el9 python3-sanlock = 3.9.5-3.el9 python3-sanlock(x86-32) = 3.9.5-3.el9 python3.9-sanlock = 3.9.5-3.el9 python3.9dist(sanlock-python) = 3.9.5 python3dist(sanlock-python) = 3.9.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) libsanlock.so.1 python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.9.5-3.el9 python39-sanlock < 3.9.5-3.el9 Processing files: sanlock-devel-3.9.5-3.el9.i686 Provides: pkgconfig(libsanlock) = 3.9.5 pkgconfig(libsanlock_client) = 3.9.5 sanlock-devel = 3.9.5-3.el9 sanlock-devel(x86-32) = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsanlock.so.1 libsanlock_client.so.1 libwdmd.so.1 Processing files: sanlock-debuginfo-3.9.5-3.el9.i686 Provides: debuginfo(build-id) = eafe0d5bf57714430a3cfa033f85edcc5807b773 debuginfo(build-id) = f143fc3bfc26452187222515ab8b08b2f9ff6e1a sanlock-debuginfo = 3.9.5-3.el9 sanlock-debuginfo(x86-32) = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-32) = 3.9.5-3.el9 Processing files: sanlock-lib-debuginfo-3.9.5-3.el9.i686 Provides: debuginfo(build-id) = 16a6d6014062798734a02efff39f1dfb2f5ec799 debuginfo(build-id) = 5867e330d39d9d88a6b6c6445df4d9c44e0ba01e debuginfo(build-id) = aecff8f901ad0ac578ee5a6fbce81439a923cf31 sanlock-lib-debuginfo = 3.9.5-3.el9 sanlock-lib-debuginfo(x86-32) = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-32) = 3.9.5-3.el9 Processing files: python3-sanlock-debuginfo-3.9.5-3.el9.i686 Provides: debuginfo(build-id) = 8721b7cb27eac37c8e6eb187508910a2eb04f7e4 python-sanlock-debuginfo = 3.9.5-3.el9 python3-sanlock-debuginfo = 3.9.5-3.el9 python3-sanlock-debuginfo(x86-32) = 3.9.5-3.el9 python3.9-sanlock-debuginfo = 3.9.5-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-32) = 3.9.5-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.9.5-3.el9.i386 Wrote: /builddir/build/RPMS/sanlock-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.9.5-3.el9.i686.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.9.5-3.el9.i686.rpm Child return code was: 0