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-build-245178-23388/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=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sanlock-3.9.4-1.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-build-245178-23388/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=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t4DKmC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.9.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sanlock-3.9.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.9.4 + /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.oChBfj + 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.9.4 + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/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.9.4\" -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.9.4\" -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.9.4/wdmd' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/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.9.4\" -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 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/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.9.4\" -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 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.9.4\" -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. In function 'do_request', inlined from 'resource_thread_examine' at resource.c:2582:3, inlined from 'resource_thread' at resource.c:2731:4: resource.c:2348:17: warning: 'req.force_mode' may be used uninitialized [-Wmaybe-uninitialized] 2348 | log_error("do_request %d unknown force_mode %d", | ^ resource.c: In function 'resource_thread': resource.c:2556:31: note: 'req.force_mode' was declared here 2556 | struct request_record req; | ^ In function 'resource_thread_examine', inlined from 'resource_thread' at resource.c:2731:4: resource.c:2576:17: warning: 'req.lver' may be used uninitialized [-Wmaybe-uninitialized] 2576 | log_token(tt, "examine req lver %llu our lver %llu", | ^ resource.c: In function 'resource_thread': resource.c:2556:31: note: 'req.lver' was declared here 2556 | struct request_record req; | ^ sed -e "s/@VERSION@/3.9.4/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.9.4/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4/src' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/python' python3 setup.py build /usr/lib/python3.11/site-packages/setuptools/dist.py:509: InformationOnly: Normalizing '3.9.4 ' to '3.9.4' self.metadata.version = self._normalize_version( 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 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.9.4/python' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7ExVb1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 + cd sanlock-3.9.4 + rm -rf /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/src' install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/include install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/share/man/man8 install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64/pkgconfig install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/sbin install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64/pkgconfig install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.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-3.9.4-1.ocs23.x86_64//usr/include install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/wdmd' install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/sbin install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/include install -d /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/share/man/man8 install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/sbin install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib64 install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/include install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64 /usr/lib/python3.11/site-packages/setuptools/dist.py:509: InformationOnly: Normalizing '3.9.4 ' to '3.9.4' self.metadata.version = self._normalize_version( running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/sanlock-3.9.4-1.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.9.4-1.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.9.4-1.ocs23.x86_64/usr/lib64/python3.11/site-packages/sanlock_python-3.9.4-py3.11.egg-info running install_scripts make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4/python' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.9.4-1.ocs23.x86_64/usr/lib/systemd/systemd-wdmd install: cannot stat 'init.d/wdmd': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.7ExVb1 (%install) Bad exit status from /var/tmp/rpm-tmp.7ExVb1 (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sanlock.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sanlock.spec