Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 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-ocs23-python311-build-79171-4617/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'b16890ec61d941c79885c4e9cf80dcb1', '-D', '/var/lib/mock/dist-ocs23-python311-build-79171-4617/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 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 Wrote: /builddir/build/SRPMS/sanlock-3.8.5-2.ocs23.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-ocs23-python311-build-79171-4617/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '4ee265a1a7174bcfaa9e90f72b6e2a0d', '-D', '/var/lib/mock/dist-ocs23-python311-build-79171-4617/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vwrn8yhu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZkQz3b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sanlock-3.8.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p1bsA1 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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-3.8.5 + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.8.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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=\"3.8.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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=\"3.8.5\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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-3.8.5/wdmd' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.8.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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=\"3.8.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 client.c: In function 'sanlock_get_hosts': client.c:298:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 298 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_set_config': client.c:383:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 383 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_reg_event': client.c:806:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 806 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_end_event': client.c:884:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 884 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_set_event': client.c:931:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 931 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_str_to_lockspace': client.c:2292:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 2292 | strncpy(ls->name, str, SANLK_NAME_LEN); | ^ paxos_lease.c: In function '_lease_read_one.constprop.0': paxos_lease.c:1410:25: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 1410 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ paxos_lease.c: In function 'paxos_lease_acquire': paxos_lease.c:580:33: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 580 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ paxos_lease.c:793:33: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 793 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ direct.c: In function 'direct_dump': direct.c:755:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 755 | strncpy(sname, lr->space_name, NAME_ID_SIZE); | ^ direct.c:756:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 756 | strncpy(rname, lr->resource_name, NAME_ID_SIZE); | ^ direct.c:731:33: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 731 | strncpy(sname, lr->space_name, NAME_ID_SIZE); | ^ direct.c:732:33: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 732 | strncpy(rname, lr->resource_name, NAME_ID_SIZE); | ^ direct.c: In function 'direct_next_free': direct.c:875:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 875 | strncpy(sd.path, path, SANLK_PATH_LEN); | ^ direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ 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 direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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=\"3.8.5\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 client.c: In function 'sanlock_get_hosts': client.c:298:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 298 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_set_config': client.c:383:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 383 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_reg_event': client.c:806:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 806 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_end_event': client.c:884:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 884 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_set_event': client.c:931:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 931 | strncpy(ls.name, ls_name, SANLK_NAME_LEN); | ^ client.c: In function 'sanlock_str_to_lockspace': client.c:2292:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 2292 | strncpy(ls->name, str, SANLK_NAME_LEN); | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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=\"3.8.5\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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. direct.c: In function 'direct_dump': direct.c:755:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 755 | strncpy(sname, lr->space_name, NAME_ID_SIZE); | ^ direct.c:756:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 756 | strncpy(rname, lr->resource_name, NAME_ID_SIZE); | ^ direct.c:731:33: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 731 | strncpy(sname, lr->space_name, NAME_ID_SIZE); | ^ direct.c:732:33: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 732 | strncpy(rname, lr->resource_name, NAME_ID_SIZE); | ^ direct.c: In function 'direct_next_free': direct.c:875:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 875 | strncpy(sd.path, path, SANLK_PATH_LEN); | ^ direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:452:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 452 | strncpy(hs->owner_name, leader->resource_name, NAME_ID_SIZE); | ^ lockspace.c:472:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 472 | strncpy(hs->owner_name, leader->resource_name, NAME_ID_SIZE); | ^ main.c: In function 'do_direct': main.c:3514:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 3514 | strncpy(lr.resource_name, val, NAME_ID_SIZE); | ^ main.c:3511:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 3511 | strncpy(lr.space_name, val, NAME_ID_SIZE); | ^ main.c: In function 'read_config_file': main.c:2836:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 2836 | strncpy(com.our_host_name, str, NAME_ID_SIZE); | ^ main.c: In function 'main': main.c:1916:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 1916 | strncpy(com.rindex.lockspace_name, ls_name, SANLK_NAME_LEN); | ^ main.c:1916:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] main.c:1916:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] main.c:1875:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 1875 | strncpy(com.rentry.name, name, SANLK_NAME_LEN); | ^ paxos_lease.c: In function '_lease_read_one.constprop.0': paxos_lease.c:1410:25: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 1410 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ paxos_lease.c: In function 'paxos_lease_acquire': paxos_lease.c:580:33: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 580 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ paxos_lease.c:793:33: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 793 | strncat(bk_debug, bk_str, BK_STR_SIZE-1); | ^ cmd.c: In function 'send_state_daemon': cmd.c:2510:9: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 2510 | strncpy(st.name, our_host_name_global, NAME_ID_SIZE); | ^ cmd.c: In function 'send_state_client': cmd.c:2533:9: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 2533 | strncpy(st.name, cl->owner_name, NAME_ID_SIZE); | ^ direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ In function 'do_request', inlined from 'resource_thread_examine' at resource.c:2405:3, inlined from 'resource_thread' at resource.c:2554:4: resource.c:2171:17: warning: 'req.force_mode' may be used uninitialized [-Wmaybe-uninitialized] 2171 | log_error("do_request %d unknown force_mode %d", | ^ resource.c: In function 'resource_thread': resource.c:2379:31: note: 'req.force_mode' was declared here 2379 | struct request_record req; | ^ In function 'resource_thread_examine', inlined from 'resource_thread' at resource.c:2554:4: resource.c:2399:17: warning: 'req.lver' may be used uninitialized [-Wmaybe-uninitialized] 2399 | log_token(tt, "examine req lver %llu our lver %llu", | ^ resource.c: In function 'resource_thread': resource.c:2379:31: note: 'req.lver' was declared here 2379 | struct request_record req; | ^ sed -e "s/@VERSION@/3.8.5/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.5/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.5/src' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.5/python' python3 setup.py build /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '3.8.5 ' to '3.8.5' warnings.warn(tmpl.format(**locals())) running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-x86_64-cpython-311 gcc -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I../src -I/usr/include/python3.11 -c sanlock.c -o build/temp.linux-x86_64-cpython-311/sanlock.o -std=c99 sanlock.c: In function ‘py_add_lockspace’: sanlock.c:804:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 804 | strncpy(ls.name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_rem_lockspace’: sanlock.c:915:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 915 | strncpy(ls.name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_inq_lockspace’: sanlock.c:858:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 858 | strncpy(ls.name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_set_lvb’: sanlock.c:1799:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1799 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1800:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1800 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_release’: sanlock.c:1260:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1260 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1261:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1261 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_request’: sanlock.c:1316:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1316 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1317:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1317 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_write_lockspace’: sanlock.c:534:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 534 | strncpy(ls.name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_read_resource_owners’: sanlock.c:1388:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1388 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1389:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1389 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_write_resource’: sanlock.c:737:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 737 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:738:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 738 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_acquire’: sanlock.c:1106:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1106 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1107:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1107 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ sanlock.c: In function ‘py_get_lvb’: sanlock.c:1865:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1865 | strncpy(res->lockspace_name, PyBytes_AsString(lockspace), SANLK_NAME_LEN); | ^ sanlock.c:1866:5: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 1866 | strncpy(res->name, PyBytes_AsString(resource), SANLK_NAME_LEN); | ^ creating build/lib.linux-x86_64-cpython-311 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/sanlock.o -L../src -L/usr/lib64 -lsanlock -o build/lib.linux-x86_64-cpython-311/sanlock.cpython-311-x86_64-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.5/python' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i4xm4A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 + cd sanlock-3.8.5 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.5/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.5/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.5/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.5/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.5/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '3.8.5 ' to '3.8.5' warnings.warn(tmpl.format(**locals())) running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/python3.11/site-packages copying build/lib.linux-x86_64-cpython-311/sanlock.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/python3.11/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.8.5-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/sanlock_python-3.8.5-py3.11.egg-info running install_scripts make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.5/python' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//usr/lib/systemd/system/wdmd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64//var/run/sanlock + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.8.5-2.ocs23 --unique-debug-suffix -3.8.5-2.ocs23.x86_64 --unique-debug-src-base sanlock-3.8.5-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.8.5 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/sanlock.cpython-311-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/sbin/wdmd 1598 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: sanlock-3.8.5-2.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1FVWmq + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.5 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64/usr/share/doc/sanlock + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sanlock) = 3.8.5-2.ocs23 sanlock = 3.8.5-2.ocs23 sanlock(x86-64) = 3.8.5-2.ocs23 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-lib-3.8.5-2.ocs23.x86_64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.8.5-2.ocs23 sanlock-lib(x86-64) = 3.8.5-2.ocs23 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: python3-sanlock-3.8.5-2.ocs23.x86_64 Provides: python-sanlock = 3.8.5-2.ocs23 python-sanlock = 3.8.5-2.ocs23 python3-sanlock = 3.8.5-2.ocs23 python3-sanlock(x86-64) = 3.8.5-2.ocs23 python3.11-sanlock = 3.8.5-2.ocs23 python3.11-sanlock = 3.8.5-2.ocs23 python3.11dist(sanlock-python) = 3.8.5 python3dist(sanlock-python) = 3.8.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libsanlock.so.1()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python3.11-sanlock < 3.8.5-2.ocs23 Processing files: sanlock-devel-3.8.5-2.ocs23.x86_64 Provides: pkgconfig(libsanlock) = 3.8.5 pkgconfig(libsanlock_client) = 3.8.5 sanlock-devel = 3.8.5-2.ocs23 sanlock-devel(x86-64) = 3.8.5-2.ocs23 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-debugsource-3.8.5-2.ocs23.x86_64 Provides: sanlock-debugsource = 3.8.5-2.ocs23 sanlock-debugsource(x86-64) = 3.8.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-debuginfo-3.8.5-2.ocs23.x86_64 Provides: debuginfo(build-id) = 20e29c09a437442ed3f03d8a9cdffdcfd890da93 debuginfo(build-id) = 7fdabc4734a18ba3ded743daa1f1ba9f76d9e3b7 sanlock-debuginfo = 3.8.5-2.ocs23 sanlock-debuginfo(x86-64) = 3.8.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-64) = 3.8.5-2.ocs23 Processing files: sanlock-lib-debuginfo-3.8.5-2.ocs23.x86_64 Provides: debuginfo(build-id) = 04d9fa18d60a25e71fdc28952d69eb306ffcba83 debuginfo(build-id) = 60bb18c99a02540e075256d7213aa98b67cfeda6 debuginfo(build-id) = 9950f6c3d79bb7360d659534b376e07532bca32f libsanlock.so.1.0-3.8.5-2.ocs23.x86_64.debug()(64bit) libsanlock_client.so.1.0-3.8.5-2.ocs23.x86_64.debug()(64bit) libwdmd.so.1.0-3.8.5-2.ocs23.x86_64.debug()(64bit) sanlock-lib-debuginfo = 3.8.5-2.ocs23 sanlock-lib-debuginfo(x86-64) = 3.8.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-64) = 3.8.5-2.ocs23 Processing files: python3-sanlock-debuginfo-3.8.5-2.ocs23.x86_64 Provides: debuginfo(build-id) = 689e6dcde80f88462187f682b2a3c42b88421932 python-sanlock-debuginfo = 3.8.5-2.ocs23 python3-sanlock-debuginfo = 3.8.5-2.ocs23 python3-sanlock-debuginfo(x86-64) = 3.8.5-2.ocs23 python3.11-sanlock-debuginfo = 3.8.5-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(x86-64) = 3.8.5-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.5-2.ocs23.x86_64 Wrote: /builddir/build/RPMS/python3-sanlock-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.5-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.5-2.ocs23.x86_64.rpm Child return code was: 0