Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/dist-an23-build-512213-75090/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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', 'f457b60c9cd94626870e96a13385adb5', '-D', '/var/lib/mock/dist-an23-build-512213-75090/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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', '--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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1770422400 Wrote: /builddir/build/SRPMS/sanlock-4.0.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/dist-an23-build-512213-75090/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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', '5baa8252c9414885881254d1fe033d9b', '-D', '/var/lib/mock/dist-an23-build-512213-75090/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.229nk807:/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', '--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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1770422400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pYACbg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-4.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sanlock-4.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-4.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-sanlock-fix-zero-io-timeout-for-direct-lockspace-req.patch):' Patch #0 (0001-sanlock-fix-zero-io-timeout-for-direct-lockspace-req.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup0 --fuzz=0 patching file src/direct.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aMZ3YN + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sanlock-4.0.0 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-4.0.0/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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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=\"4.0.0\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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=\"4.0.0\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-4.0.0/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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-4.0.0/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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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=\"4.0.0\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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=\"4.0.0\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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=\"4.0.0\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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 function 'do_client', inlined from 'main' at main.c:4350:8: main.c:3778:22: warning: dangling pointer 'config_data_584' to 'io_timeout_data' may be used [-Wdangling-pointer=] 3778 | rv = sanlock_set_config(com.lockspace.name, 0, config_cmd, config_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:3772:34: note: 'io_timeout_data' declared here 3772 | uint32_t io_timeout_data = com.io_timeout; | ^~~~~~~~~~~~~~~ In function 'do_request', inlined from 'resource_thread_examine' at resource.c:2614:3, inlined from 'resource_thread' at resource.c:2763:4: resource.c:2380:17: warning: 'req.force_mode' may be used uninitialized [-Wmaybe-uninitialized] 2380 | log_error("do_request %d unknown force_mode %d", | ^ resource.c: In function 'resource_thread': resource.c:2588:31: note: 'req.force_mode' was declared here 2588 | struct request_record req; | ^ In function 'resource_thread_examine', inlined from 'resource_thread' at resource.c:2763:4: resource.c:2608:17: warning: 'req.lver' may be used uninitialized [-Wmaybe-uninitialized] 2608 | log_token(tt, "examine req lver %llu our lver %llu", | ^ resource.c: In function 'resource_thread': resource.c:2588:31: note: 'req.lver' was declared here 2588 | struct request_record req; | ^ sed -e "s/@VERSION@/4.0.0/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/4.0.0/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-4.0.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Eg5Yhv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sanlock-4.0.0 + rm -rf /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-4.0.0/src' install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/include install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/share/man/man8 install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64/pkgconfig install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/sbin install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64/pkgconfig install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/include install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-4.0.0/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-4.0.0/wdmd' install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/include install -d /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/share/man/man8 install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/sbin install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib64 install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/include install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-4.0.0/wdmd' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/systemd-wdmd /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib/systemd/system/wdmd.service + install -p -D -m 0644 src/sanlock.sysusers /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//usr/lib/sysusers.d/sanlock.conf + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64//var/run/sanlock + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 4.0.0-1.an23 --unique-debug-suffix -4.0.0-1.an23.x86_64 --unique-debug-src-base sanlock-4.0.0-1.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-4.0.0 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sanlock-4.0.0-1.an23.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 -j80 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: sanlock-4.0.0-1.an23.x86_64 Provides: config(sanlock) = 4.0.0-1.an23 group(disk) group(sanlock) = 179 sanlock = 4.0.0-1.an23 sanlock(x86-64) = 4.0.0-1.an23 user(sanlock) user(sanlock) = 179 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()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libsanlock.so.1()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debugsource-4.0.0-1.an23.x86_64 Provides: sanlock-debugsource = 4.0.0-1.an23 sanlock-debugsource(x86-64) = 4.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-lib-4.0.0-1.an23.x86_64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 4.0.0-1.an23 sanlock-lib(x86-64) = 4.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: sanlock-devel-4.0.0-1.an23.x86_64 Provides: pkgconfig(libsanlock) = 4.0.0 pkgconfig(libsanlock_client) = 4.0.0 sanlock-devel = 4.0.0-1.an23 sanlock-devel(x86-64) = 4.0.0-1.an23 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()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) Processing files: sanlock-doc-4.0.0-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1gbpBi + umask 022 + cd /builddir/build/BUILD + cd sanlock-4.0.0 + DOCDIR=/builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/usr/share/doc/sanlock-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/usr/share/doc/sanlock-doc + cp -pr README.rst /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64/usr/share/doc/sanlock-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: sanlock-doc = 4.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-debuginfo-4.0.0-1.an23.x86_64 Provides: debuginfo(build-id) = 9d2e7addad9a85775020023cb193616485f181a0 debuginfo(build-id) = c98aa6be141f4019af784a808d707b4ba67ac251 sanlock-debuginfo = 4.0.0-1.an23 sanlock-debuginfo(x86-64) = 4.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-64) = 4.0.0-1.an23 Processing files: sanlock-lib-debuginfo-4.0.0-1.an23.x86_64 Provides: debuginfo(build-id) = 56aded98a9238df286da26325baf5943eb1dd3e3 debuginfo(build-id) = 5d1dda8e4314680a5ada82563ac3d09f07c2e16c debuginfo(build-id) = 82528886f026fb7b9c3403b68b4ad55ea5ea3a57 libsanlock.so.1.0-4.0.0-1.an23.x86_64.debug()(64bit) libsanlock_client.so.1.0-4.0.0-1.an23.x86_64.debug()(64bit) libwdmd.so.1.0-4.0.0-1.an23.x86_64.debug()(64bit) sanlock-lib-debuginfo = 4.0.0-1.an23 sanlock-lib-debuginfo(x86-64) = 4.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-64) = 4.0.0-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-4.0.0-1.an23.x86_64 Wrote: /builddir/build/RPMS/sanlock-devel-4.0.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-doc-4.0.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/sanlock-lib-4.0.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-4.0.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-4.0.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-4.0.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-4.0.0-1.an23.x86_64.rpm Child return code was: 0