Mock Version: 2.4 Mock Version: 2.4 Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/eln-build-22100435-1874742/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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 warning: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1596844800 Wrote: /builddir/build/SRPMS/sanlock-3.8.1-7.eln103.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/eln-build-22100435-1874742/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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 warning: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1596844800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.90IhAe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-python-Remove-extra-link-args.patch):' Patch #0 (0001-python-Remove-extra-link-args.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cZQeBb + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 In file included from /usr/include/string.h:519, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2, inlined from 'sanlock_str_to_lockspace' at client.c:2236:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one' at paxos_lease.c:1410:4, inlined from 'paxos_lease_read' at paxos_lease.c:1560:8, inlined from 'paxos_lease_acquire' at paxos_lease.c:1692:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:580:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:793:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from paxos_lease.c:28: paxos_lease.c: In function 'paxos_lease_acquire': log.h:39:47: warning: 'tmp_q' may be used uninitialized in this function [-Wmaybe-uninitialized] 39 | #define log_token(token, fmt, args...) log_level(token->space_id, token->res_id, NULL, LOG_DEBUG, fmt, ##args) | ^~~~~~~~~ paxos_lease.c:1459:45: note: 'tmp_q' was declared here 1459 | int i, d, rv = 0, found, num_reads, q_one, tmp_q = -1; | ^~~~~ paxos_lease.c:1487:17: warning: 'mbal_one' may be used uninitialized in this function [-Wmaybe-uninitialized] 1487 | if (!tmp_mbal || mbal_one > tmp_mbal) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ paxos_lease.c:1455:11: note: 'mbal_one' was declared here 1455 | uint64_t mbal_one; | ^~~~~~~~ paxos_lease.c:1666:11: warning: 'max_mbal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1666 | uint64_t max_mbal; | ^~~~~~~~ In file included from /usr/include/string.h:519, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c: In function 'direct_next_free': direct.c:893:15: warning: 'align_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 893 | sector_count = align_size / sector_size; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c:896:9: warning: 'sector_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 896 | data = malloc(datalen); | ^~~~~~~~~~~~~~~ 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:893:15: warning: 'align_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 893 | sector_count = align_size / sector_size; | ^ direct.c:863:42: note: 'align_size' was declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ direct.c:896:9: warning: 'sector_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 896 | data = malloc(datalen); | ^ direct.c:863:6: note: 'sector_size' was declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ paxos_lease.c: In function 'paxos_lease_acquire': paxos_lease.c:1564:3: warning: 'tmp_q' may be used uninitialized in this function [-Wmaybe-uninitialized] 1564 | log_token(token, "%s leader %llu owner %llu %llu %llu max mbal[%d] %llu " | ^ paxos_lease.c:1487:17: warning: 'mbal_one' may be used uninitialized in this function [-Wmaybe-uninitialized] 1487 | if (!tmp_mbal || mbal_one > tmp_mbal) { | ^ paxos_lease.c:1666:11: warning: 'max_mbal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1666 | uint64_t max_mbal; | ^ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c In file included from /usr/include/string.h:519, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2, inlined from 'sanlock_str_to_lockspace' at client.c:2236:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c sizeflags.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c rindex.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c env.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. In file included from /usr/include/string.h:519, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c: In function 'direct_next_free': direct.c:893:15: warning: 'align_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 893 | sector_count = align_size / sector_size; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c:896:9: warning: 'sector_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 896 | data = malloc(datalen); | ^~~~~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c: In function '_write_sectors.constprop.0': diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c: In function 'write_iobuf': diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c: In function 'read_iobuf': diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c: In function 'read_sectors': diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskio.c:592:30: warning: '%llu' directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~ diskio.c:592:29: note: directive argument in the range [1, 18446744073709551615] 592 | snprintf(off_str, buflen, "%llu", (unsigned long long)offset); | ^~~~~~ In file included from /usr/include/stdio.h:866, from diskio.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 21 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from lockspace.c:16: In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:375:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:395:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from main.c:16: In function 'strncpy', inlined from 'read_file_leader' at main.c:3476:4, inlined from 'do_direct_write_leader' at main.c:3589:7, inlined from 'do_direct' at main.c:3700:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_file_leader' at main.c:3473:4, inlined from 'do_direct_write_leader' at main.c:3589:7, inlined from 'do_direct' at main.c:3700:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_file' at main.c:2810:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parse_arg_rindex' at main.c:1890:3, inlined from 'read_command_line' at main.c:2478:4, inlined from 'main' at main.c:3899:7: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] In function 'strncpy', inlined from 'parse_arg_rentry' at main.c:1849:3, inlined from 'read_command_line' at main.c:2431:5, inlined from 'main' at main.c:3899:7: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one' at paxos_lease.c:1410:4, inlined from 'paxos_lease_read' at paxos_lease.c:1560:8, inlined from 'paxos_lease_acquire' at paxos_lease.c:1692:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:580:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:793:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from paxos_lease.c:28: paxos_lease.c: In function 'paxos_lease_acquire': log.h:39:47: warning: 'tmp_q' may be used uninitialized in this function [-Wmaybe-uninitialized] 39 | #define log_token(token, fmt, args...) log_level(token->space_id, token->res_id, NULL, LOG_DEBUG, fmt, ##args) | ^~~~~~~~~ paxos_lease.c:1459:45: note: 'tmp_q' was declared here 1459 | int i, d, rv = 0, found, num_reads, q_one, tmp_q = -1; | ^~~~~ paxos_lease.c:1487:17: warning: 'mbal_one' may be used uninitialized in this function [-Wmaybe-uninitialized] 1487 | if (!tmp_mbal || mbal_one > tmp_mbal) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ paxos_lease.c:1455:11: note: 'mbal_one' was declared here 1455 | uint64_t mbal_one; | ^~~~~~~~ paxos_lease.c:1666:11: warning: 'max_mbal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1666 | uint64_t max_mbal; | ^~~~~~~~ In file included from /usr/include/string.h:519, from cmd.c:16: In function 'strncpy', inlined from 'send_state_client' at cmd.c:2493:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'send_state_daemon' at cmd.c:2470:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'resource_thread': resource.c:2171:3: warning: 'req.force_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] 2171 | log_error("do_request %d unknown force_mode %d", | ^ resource.c:2379:24: note: 'req.force_mode' was declared here 2379 | struct request_record req; | ^ resource.c:2399:3: warning: 'req.lver' may be used uninitialized in this function [-Wmaybe-uninitialized] 2399 | log_token(tt, "examine req lver %llu our lver %llu", | ^ resource.c:2379:24: note: 'req.lver' was declared here 2379 | struct request_record req; | ^ resource.c:2273:3: warning: 'spi.killing_pids' may be used uninitialized in this function [-Wmaybe-uninitialized] 2273 | log_token(token, "release async info %d %d", rv, spi.killing_pids); | ^ resource.c:2255:20: note: 'spi.killing_pids' was declared here 2255 | struct space_info spi; | ^ paxos_lease.c: In function 'paxos_lease_acquire': paxos_lease.c:1564:3: warning: 'our_dblock.lver' may be used uninitialized in this function [-Wmaybe-uninitialized] 1564 | log_token(token, "%s leader %llu owner %llu %llu %llu max mbal[%d] %llu " | ^ paxos_lease.c:1564:3: warning: 'our_dblock.inp3' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1564:3: warning: 'our_dblock.inp2' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1564:3: warning: 'our_dblock.inp' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1564:3: warning: 'our_dblock.bal' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1564:3: warning: 'our_dblock.mbal' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1564:3: warning: 'tmp_q' may be used uninitialized in this function [-Wmaybe-uninitialized] paxos_lease.c:1487:17: warning: 'mbal_one' may be used uninitialized in this function [-Wmaybe-uninitialized] 1487 | if (!tmp_mbal || mbal_one > tmp_mbal) { | ^ paxos_lease.c:1666:11: warning: 'max_mbal' may be used uninitialized in this function [-Wmaybe-uninitialized] 1666 | uint64_t max_mbal; | ^ paxos_lease.c:1814:11: warning: 'ls_sector_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 1814 | error = delta_lease_leader_read(task, ls_sector_size, token->io_timeout, | ^ paxos_lease.c:1673:6: note: 'ls_sector_size' was declared here 1673 | int ls_sector_size; | ^ sed -e "s/@VERSION@/3.8.1/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.1/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/python' python3 setup.py build running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-s390x-3.9 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -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 -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I../src -I/usr/include/python3.9 -c sanlock.c -o build/temp.linux-s390x-3.9/sanlock.o -std=c99 In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from sanlock.c:9: In function ‘strncpy’, inlined from ‘py_inq_lockspace’ at sanlock.c:877:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_add_lockspace’ at sanlock.c:823:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_lockspace’ at sanlock.c:449:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_rem_lockspace’ at sanlock.c:934:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1189:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1190:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:502:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:503:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_lockspace’ at sanlock.c:553:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1122:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1123:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1245:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1246:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1317:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1318:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:756:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:757:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-s390x-3.9 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-s390x-3.9/sanlock.o -L../src -L/usr/lib64 -lsanlock -o build/lib.linux-s390x-3.9/sanlock.cpython-39-s390x-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/python' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C reset make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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.1\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie sanlk_reset.c -lsanlock -lwdmd -o sanlk-reset -L. -L../src -L../wdmd make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/reset' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ikRtad + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x + cd sanlock-3.8.1 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//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.1-7.eln103.s390x//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9/site-packages copying build/lib.linux-s390x-3.9/sanlock.cpython-39-s390x-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9/site-packages/sanlock_python-3.8.1_-py3.9.egg-info make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/python' + make -C reset install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/reset' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib/systemd/system/wdmd.service + install -D -m 0644 init.d/sanlk-resetd.service /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//usr/lib/systemd/system/sanlk-resetd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//var/run/sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x//var/run/sanlk-resetd + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 3.8.1-7.eln103 --unique-debug-suffix -3.8.1-7.eln103.s390x --unique-debug-src-base sanlock-3.8.1-7.eln103.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.8.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libsanlock.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libsanlock_client.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/libsanlock.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9/site-packages/sanlock.cpython-39-s390x-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9/site-packages/sanlock.cpython-39-s390x-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlk-reset extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlk-reset explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlk-resetd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlk-resetd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/sanlock explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/wdmd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/sbin/wdmd original debug info size: 3024kB, size after compression: 2820kB /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 1660 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash Processing files: sanlock-3.8.1-7.eln103.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3hxIgc + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x/usr/share/doc/sanlock + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sanlock) = 3.8.1-7.eln103 sanlock = 3.8.1-7.eln103 sanlock(s390-64) = 3.8.1-7.eln103 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.17)(64bit) libc.so.6(GLIBC_2.2)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2)(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-3.8.1-7.eln103.s390x Provides: sanlock-debugsource = 3.8.1-7.eln103 sanlock-debugsource(s390-64) = 3.8.1-7.eln103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-lib-3.8.1-7.eln103.s390x Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.8.1-7.eln103 sanlock-lib(s390-64) = 3.8.1-7.eln103 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.17)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2)(64bit) rtld(GNU_HASH) Processing files: python3-sanlock-3.8.1-7.eln103.s390x Provides: python-sanlock = 3.8.1-7.eln103 python3-sanlock = 3.8.1-7.eln103 python3-sanlock(s390-64) = 3.8.1-7.eln103 python3.9-sanlock = 3.8.1-7.eln103 python3.9dist(sanlock-python) = 3.8.1 python3dist(sanlock-python) = 3.8.1 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)(64bit) libc.so.6(GLIBC_2.4)(64bit) libsanlock.so.1()(64bit) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.8.1-7.eln103 Processing files: sanlock-devel-3.8.1-7.eln103.s390x Provides: pkgconfig(libsanlock) = 3.8.1 pkgconfig(libsanlock_client) = 3.8.1 sanlock-devel = 3.8.1-7.eln103 sanlock-devel(s390-64) = 3.8.1-7.eln103 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: sanlk-reset-3.8.1-7.eln103.s390x Provides: sanlk-reset = 3.8.1-7.eln103 sanlk-reset(s390-64) = 3.8.1-7.eln103 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.17)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libsanlock.so.1()(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debuginfo-3.8.1-7.eln103.s390x Provides: debuginfo(build-id) = 98abfc83fae15bd54e1b9da60f8ff8cc247f6b0f debuginfo(build-id) = d088683bcb3ec4c2ae799f7fe50ee688a9dc1adb sanlock-debuginfo = 3.8.1-7.eln103 sanlock-debuginfo(s390-64) = 3.8.1-7.eln103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(s390-64) = 3.8.1-7.eln103 Processing files: sanlock-lib-debuginfo-3.8.1-7.eln103.s390x Provides: debuginfo(build-id) = 4db567c462170f65430654aeb810432776210049 debuginfo(build-id) = 98e40fdba683dfb2b7e1162143b91f2f3f12b6d1 debuginfo(build-id) = bd13698dad5b97e86ac62c142b7a499effa84fee sanlock-lib-debuginfo = 3.8.1-7.eln103 sanlock-lib-debuginfo(s390-64) = 3.8.1-7.eln103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(s390-64) = 3.8.1-7.eln103 Processing files: python3-sanlock-debuginfo-3.8.1-7.eln103.s390x Provides: debuginfo(build-id) = 457e104e308c431c275d4cb46a149803a8a5fd05 python-sanlock-debuginfo = 3.8.1-7.eln103 python3-sanlock-debuginfo = 3.8.1-7.eln103 python3-sanlock-debuginfo(s390-64) = 3.8.1-7.eln103 python3.9-sanlock-debuginfo = 3.8.1-7.eln103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(s390-64) = 3.8.1-7.eln103 Processing files: sanlk-reset-debuginfo-3.8.1-7.eln103.s390x Provides: debuginfo(build-id) = 3aaadfd639a63999bf23be4cf0465f0d2fb5da4f debuginfo(build-id) = b162c48f874068d0826715a4b1449430e922d00c sanlk-reset-debuginfo = 3.8.1-7.eln103 sanlk-reset-debuginfo(s390-64) = 3.8.1-7.eln103 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(s390-64) = 3.8.1-7.eln103 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlock-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlk-reset-debuginfo-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlk-reset-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.1-7.eln103.s390x.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.1-7.eln103.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MEzk4a + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-7.eln103.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0