Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f37-build-638927-70909/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/sanlock-3.8.4-6.fc37.src.rpm RPM build warnings: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f37-build-638927-70909/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2NmMAm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sanlock-3.8.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.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.7LNTm5 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh sanlock 3.8.4-6.fc37 riscv64 + cd sanlock-3.8.4 + 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 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.8.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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 -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.4\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.ld -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/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 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.8.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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 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:2289:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 2289 | strncpy(ls->name, str, SANLK_NAME_LEN); | ^ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:40: note: in expansion of macro 'container_of' 561 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:40: note: in expansion of macro 'container_of' 686 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:40: note: in expansion of macro 'container_of' 1002 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:34: warning: cast increases required alignment of target type [-Wcast-align] 555 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:768:34: warning: cast increases required alignment of target type [-Wcast-align] 768 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:26: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ 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); | ^ rindex.c: In function 'search_entries': rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function 'read_rindex_header': rindex.c:316:18: warning: cast increases required alignment of target type [-Wcast-align] 316 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:825:26: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:855:26: warning: cast increases required alignment of target type [-Wcast-align] 855 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ direct.c: In function 'direct_read_leader_sizes': direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ 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: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; | ^~~~~~~~~~ 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; | ^~~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ lockspace.h:24:5: warning: type of 'lockspace_disk' does not match original declaration [-Wlto-type-mismatch] 24 | int lockspace_disk(char *space_name, struct sync_disk *disk, int *sector_size); | ^ direct_lib.c:50:5: note: type mismatch in parameter 3 50 | int lockspace_disk(char *space_name GNUC_UNUSED, struct sync_disk *disk GNUC_UNUSED) | ^ direct_lib.c:50:5: note: 'lockspace_disk' was previously declared here resource.h:27:6: warning: type of 'check_mode_block' does not match original declaration [-Wlto-type-mismatch] 27 | void check_mode_block(struct token *token, uint64_t next_lver, int q, char *dblock); | ^ direct_lib.c:66:6: note: type mismatch in parameter 2 66 | void check_mode_block(struct token *token GNUC_UNUSED, int q GNUC_UNUSED, char *dblock GNUC_UNUSED) | ^ direct_lib.c:66:6: note: type 'int' should match type 'uint64_t' direct_lib.c:66:6: note: 'check_mode_block' was previously declared here direct_lib.c:66:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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 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:2289:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 2289 | 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.4\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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. direct.c: In function 'direct_read_leader_sizes': direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ 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: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; | ^~~~~~~~~~ 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; | ^~~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:40: note: in expansion of macro 'container_of' 561 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:40: note: in expansion of macro 'container_of' 686 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:40: note: in expansion of macro 'container_of' 1002 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function '_search_space': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'find_lockspace_id': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function '_lockspace_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'lockspace_disk': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_status_set_bit': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:322:30: warning: cast increases required alignment of target type [-Wcast-align] 322 | leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); | ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1278:14: warning: cast increases required alignment of target type [-Wcast-align] 1278 | ls = (struct sanlk_lockspace *)buf; | ^ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1282:17: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:1282:17: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'get_hosts': lockspace.c:1436:16: warning: cast increases required alignment of target type [-Wcast-align] 1436 | host = (struct sanlk_host *)buf; | ^ lockspace.c: In function 'free_lockspaces': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ lockspace.c:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ lockspace.c:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:375:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 375 | strncpy(hs->owner_name, leader->resource_name, NAME_ID_SIZE); | ^ lockspace.c:395:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 395 | strncpy(hs->owner_name, leader->resource_name, NAME_ID_SIZE); | ^ In file included from sanlock_internal.h:32, from main.c:42: main.c: In function 'main_loop': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'thread_pool_worker': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ main.c:958:30: note: in expansion of macro 'list_first_entry' 958 | ca = list_first_entry(&pool.work_data, struct cmd_args, list); | ^~~~~~~~~~~~~~~~ main.c: In function 'do_direct': main.c:3513:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 3513 | strncpy(lr.resource_name, val, NAME_ID_SIZE); | ^ main.c:3510:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 3510 | strncpy(lr.space_name, val, NAME_ID_SIZE); | ^ main.c: In function 'read_config_file': main.c:2835:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 2835 | strncpy(com.our_host_name, str, NAME_ID_SIZE); | ^ main.c: In function 'main': main.c:1915:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 1915 | strncpy(com.rindex.lockspace_name, ls_name, SANLK_NAME_LEN); | ^ main.c:1915:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] main.c:1915:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] main.c:1874:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 1874 | strncpy(com.rentry.name, name, SANLK_NAME_LEN); | ^ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:34: warning: cast increases required alignment of target type [-Wcast-align] 555 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:768:34: warning: cast increases required alignment of target type [-Wcast-align] 768 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:26: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ 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); | ^ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function 'free_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:443:20: note: in expansion of macro 'list_entry' 443 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:85:9: note: in expansion of macro 'list_for_each_entry_reverse' 85 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:445:20: note: in expansion of macro 'list_entry' 445 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:85:9: note: in expansion of macro 'list_for_each_entry_reverse' 85 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'get_free_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:109:9: note: in expansion of macro 'list_for_each_entry' 109 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:109:9: note: in expansion of macro 'list_for_each_entry' 109 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'send_state_resources': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:139:9: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:139:9: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:140:17: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:140:17: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:144:9: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:144:9: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:145:17: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:145:17: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:149:9: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:149:9: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:152:9: note: in expansion of macro 'list_for_each_entry' 152 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:152:9: note: in expansion of macro 'list_for_each_entry' 152 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'read_resource_owners': resource.c:253:26: warning: cast increases required alignment of target type [-Wcast-align] 253 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c:287:16: warning: cast increases required alignment of target type [-Wcast-align] 287 | host = (struct sanlk_host *)hosts_buf; | ^ resource.c:305:26: warning: cast increases required alignment of target type [-Wcast-align] 305 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c: In function 'check_mode_block': resource.c:401:18: warning: cast increases required alignment of target type [-Wcast-align] 401 | mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET); | ^ resource.c: In function 'read_mode_block': resource.c:571:26: warning: cast increases required alignment of target type [-Wcast-align] 571 | mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); | ^ resource.c: In function 'res_set_lvb': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:708:9: note: in expansion of macro 'list_for_each_entry' 708 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:708:9: note: in expansion of macro 'list_for_each_entry' 708 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'res_get_lvb': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:742:9: note: in expansion of macro 'list_for_each_entry' 742 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:742:9: note: in expansion of macro 'list_for_each_entry' 742 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1188:9: note: in expansion of macro 'list_for_each_entry' 1188 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1188:9: note: in expansion of macro 'list_for_each_entry' 1188 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'lockspace_is_used': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1208:9: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1208:9: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1212:9: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1212:9: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1216:9: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1216:9: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1220:9: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1220:9: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'resource_orphan_count': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1237:9: note: in expansion of macro 'list_for_each_entry' 1237 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1237:9: note: in expansion of macro 'list_for_each_entry' 1237 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'convert_token': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1563:9: note: in expansion of macro 'list_for_each_entry' 1563 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1563:9: note: in expansion of macro 'list_for_each_entry' 1563 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'set_resource_examine': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2192:9: note: in expansion of macro 'list_for_each_entry' 2192 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2192:9: note: in expansion of macro 'list_for_each_entry' 2192 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource_thread': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2221:9: note: in expansion of macro 'list_for_each_entry' 2221 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2221:9: note: in expansion of macro 'list_for_each_entry' 2221 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_host_event': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ resource.c:2447:16: note: in expansion of macro 'list_first_entry' 2447 | return list_first_entry(&host_events, struct recv_he, list); | ^~~~~~~~~~~~~~~~ resource.c: In function 'release_orphan': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'purge_resource_list': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ rindex.c: In function 'search_entries': rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function 'read_rindex_header': rindex.c:316:18: warning: cast increases required alignment of target type [-Wcast-align] 316 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:825:26: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:855:26: warning: cast increases required alignment of target type [-Wcast-align] 855 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ In file included from sanlock_internal.h:32, from cmd.c:37: cmd.c: In function 'cmd_status': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2680:9: note: in expansion of macro 'list_for_each_entry' 2680 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2680:9: note: in expansion of macro 'list_for_each_entry' 2680 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2682:9: note: in expansion of macro 'list_for_each_entry' 2682 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2682:9: note: in expansion of macro 'list_for_each_entry' 2682 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2684:9: note: in expansion of macro 'list_for_each_entry' 2684 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2684:9: note: in expansion of macro 'list_for_each_entry' 2684 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ cmd.c: In function 'send_state_daemon': cmd.c:2506:9: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 2506 | strncpy(st.name, our_host_name_global, NAME_ID_SIZE); | ^ cmd.c: In function 'send_state_client': cmd.c:2529:9: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 2529 | strncpy(st.name, cl->owner_name, NAME_ID_SIZE); | ^ client_cmd.c: In function 'status_lockspace': client_cmd.c:117:38: warning: cast increases required alignment of target type [-Wcast-align] 117 | struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin; | ^ client_cmd.c: In function 'status_resource': client_cmd.c:142:38: warning: cast increases required alignment of target type [-Wcast-align] 142 | struct sanlk_resource *res = (struct sanlk_resource *)bin; | ^ client_cmd.c:151:24: warning: cast increases required alignment of target type [-Wcast-align] 151 | disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk)); | ^ client_cmd.c: In function 'print_type': client_cmd.c:216:22: warning: cast increases required alignment of target type [-Wcast-align] 216 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_p': client_cmd.c:239:22: warning: cast increases required alignment of target type [-Wcast-align] 239 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'find_type': client_cmd.c:265:22: warning: cast increases required alignment of target type [-Wcast-align] 265 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r': client_cmd.c:286:22: warning: cast increases required alignment of target type [-Wcast-align] 286 | st = (struct sanlk_state *)buf; | ^ client_cmd.c:293:23: warning: cast increases required alignment of target type [-Wcast-align] 293 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'print_r_by_p': client_cmd.c:317:22: warning: cast increases required alignment of target type [-Wcast-align] 317 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r_by_s': client_cmd.c:343:22: warning: cast increases required alignment of target type [-Wcast-align] 343 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'recv_bin': client_cmd.c:367:23: warning: cast increases required alignment of target type [-Wcast-align] 367 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'sanlock_status': client_cmd.c:416:30: warning: cast increases required alignment of target type [-Wcast-align] 416 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'sanlock_host_status': client_cmd.c:592:22: warning: cast increases required alignment of target type [-Wcast-align] 592 | ls = (struct sanlk_lockspace *)bin; | ^ direct.c: In function 'direct_next_free': 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; | ^ 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; | ^ 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.4/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.4/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/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 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.4/python' python3 setup.py build /builddir/build/BUILD/sanlock-3.8.4/python/setup.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-3.11 gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I../src -I/usr/include/python3.11 -c sanlock.c -o build/temp.linux-riscv64-3.11/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-riscv64-3.11 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.11/sanlock.o -L../src -L/usr/lib64 -lsanlock -o build/lib.linux-riscv64-3.11/sanlock.cpython-311-riscv64-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/python' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5hsL53 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 + 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 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/sanlock-3.8.4/.package_note-sanlock-3.8.4-6.fc37.riscv64.ld' + 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.4 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.4/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//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.4-6.fc37.riscv64//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.4/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.4/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 /builddir/build/BUILD/sanlock-3.8.4/python/setup.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11/site-packages copying build/lib.linux-riscv64-3.11/sanlock.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11/site-packages/sanlock_python-3.8.4_-py3.11.egg-info make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.4/python' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//usr/lib/systemd/system/wdmd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64//var/run/sanlock + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.8.4-6.fc37 --unique-debug-suffix -3.8.4-6.fc37.riscv64 --unique-debug-src-base sanlock-3.8.4-6.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.8.4 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11/site-packages/sanlock.cpython-311-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/sbin/wdmd original debug info size: 4352kB, size after compression: 4180kB /usr/bin/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 1592 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sanlock-3.8.4-6.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.giUgAY + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.4 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64/usr/share/doc/sanlock + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sanlock) = 3.8.4-6.fc37 sanlock = 3.8.4-6.fc37 sanlock(riscv-64) = 3.8.4-6.fc37 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 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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.4-6.fc37.riscv64 Provides: sanlock-debugsource = 3.8.4-6.fc37 sanlock-debugsource(riscv-64) = 3.8.4-6.fc37 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.4-6.fc37.riscv64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.8.4-6.fc37 sanlock-lib(riscv-64) = 3.8.4-6.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) rtld(GNU_HASH) Processing files: python3-sanlock-3.8.4-6.fc37.riscv64 Provides: python-sanlock = 3.8.4-6.fc37 python3-sanlock = 3.8.4-6.fc37 python3-sanlock(riscv-64) = 3.8.4-6.fc37 python3.11-sanlock = 3.8.4-6.fc37 python3.11dist(sanlock-python) = 3.8.4 python3dist(sanlock-python) = 3.8.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libsanlock.so.1()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.8.4-6.fc37 Processing files: sanlock-devel-3.8.4-6.fc37.riscv64 Provides: pkgconfig(libsanlock) = 3.8.4 pkgconfig(libsanlock_client) = 3.8.4 sanlock-devel = 3.8.4-6.fc37 sanlock-devel(riscv-64) = 3.8.4-6.fc37 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-debuginfo-3.8.4-6.fc37.riscv64 Provides: debuginfo(build-id) = bf7bfc92b82a72dd7f0989797eaa80bb718e084e debuginfo(build-id) = ef4585c384bdb0539861fed2755a875b8936b260 sanlock-debuginfo = 3.8.4-6.fc37 sanlock-debuginfo(riscv-64) = 3.8.4-6.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.8.4-6.fc37 Processing files: sanlock-lib-debuginfo-3.8.4-6.fc37.riscv64 Provides: debuginfo(build-id) = 30340eac093f233dd0f8d4706b2cb3bed6607210 debuginfo(build-id) = 9dc93b373d91b94e3d82282770c1f2c27c2b3b1e debuginfo(build-id) = a348d73c14a36770c676600b68a77c19cd1ac0e0 libsanlock.so.1.0-3.8.4-6.fc37.riscv64.debug()(64bit) libsanlock_client.so.1.0-3.8.4-6.fc37.riscv64.debug()(64bit) libwdmd.so.1.0-3.8.4-6.fc37.riscv64.debug()(64bit) sanlock-lib-debuginfo = 3.8.4-6.fc37 sanlock-lib-debuginfo(riscv-64) = 3.8.4-6.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.8.4-6.fc37 Processing files: python3-sanlock-debuginfo-3.8.4-6.fc37.riscv64 Provides: debuginfo(build-id) = 85e54b054043c63723614dd0a642fb50f386fd65 python-sanlock-debuginfo = 3.8.4-6.fc37 python3-sanlock-debuginfo = 3.8.4-6.fc37 python3-sanlock-debuginfo(riscv-64) = 3.8.4-6.fc37 python3.11-sanlock-debuginfo = 3.8.4-6.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.8.4-6.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.4-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.4-6.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iT4OtJ + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sanlock-3.8.4-6.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.jeZnDA + umask 022 + cd /builddir/build/BUILD + rm -rf sanlock-3.8.4 sanlock-3.8.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Child return code was: 0