Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f33-build-233319-50413/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Wrote: /builddir/build/SRPMS/sanlock-3.8.1-2.fc33.src.rpm 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/f33-build-233319-50413/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NzlFaT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PUp83S + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + CFLAGS='-O2 -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 -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 -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 -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -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.1/wdmd' gcc -O2 -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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -O2 -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.1\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + CFLAGS='-O2 -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.1/src' gcc -O2 -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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c sizeflags.c delta_lease.c paxos_lease.c rindex.c direct.c task.c timeouts.c direct_lib.c monotime.c env.c -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd In file included from /usr/include/string.h:504, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:26: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:26: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:26: 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:13: 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:13: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ In file included from /usr/include/string.h:504, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one.constprop' at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:580:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:793:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rindex.c: In function 'search_entries': rindex.c:159:12: 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:11: 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:819:12: warning: cast increases required alignment of target type [-Wcast-align] 819 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:849:12: warning: cast increases required alignment of target type [-Wcast-align] 849 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ direct.c: In function 'direct_read_leader_sizes': direct.c:64:11: 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:13: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:14: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:13: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:37: 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:33: 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:22: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:13: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:15: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ In file included from /usr/include/string.h:504, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:27: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -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.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c In file included from /usr/include/string.h:504, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 gcc -O2 -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.1\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c sizeflags.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c rindex.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c env.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. direct.c: In function 'direct_read_leader_sizes': direct.c:64:11: 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:13: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:14: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:13: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:37: 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:33: 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:22: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:13: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:15: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ In file included from /usr/include/string.h:504, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:26: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:26: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:26: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:61:3: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:61:3: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:88:2: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:88:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:111:2: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:111:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:138:2: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:138:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:198:2: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:198:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:228:2: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:228:2: 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:16: 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:7: warning: cast increases required alignment of target type [-Wcast-align] 1278 | ls = (struct sanlk_lockspace *)buf; | ^ In file included from sanlock_internal.h:32, from lockspace.c:28: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1282:3: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:1282:3: 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:9: warning: cast increases required alignment of target type [-Wcast-align] 1436 | host = (struct sanlk_host *)buf; | ^ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function 'free_lockspaces': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' 1940 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' 1940 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' 1940 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:504, from lockspace.c:16: In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:375:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:395:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from main.c:42: main.c: In function 'main_loop': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' 836 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' 836 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' 836 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'thread_pool_worker': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:2: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ main.c:941:9: note: in expansion of macro 'list_first_entry' 941 | ca = list_first_entry(&pool.work_data, struct cmd_args, list); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:504, from main.c:16: In function 'strncpy', inlined from 'read_file_leader' at main.c:3476:4, inlined from 'do_direct_write_leader' at main.c:3589:7, inlined from 'do_direct' at main.c:3700:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_file_leader' at main.c:3473:4, inlined from 'do_direct_write_leader' at main.c:3589:7, inlined from 'do_direct' at main.c:3700:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_file' at main.c:2810:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parse_arg_rindex' at main.c:1890:3, inlined from 'read_command_line' at main.c:2478:4, inlined from 'main' at main.c:3899:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] In function 'strncpy', inlined from 'parse_arg_rentry' at main.c:1849:3, inlined from 'read_command_line' at main.c:2431:5, inlined from 'main' at main.c:3899:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:13: 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:13: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ In file included from /usr/include/string.h:504, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one.constprop' at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:580:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'run_ballot' at paxos_lease.c:793:5, inlined from 'paxos_lease_acquire' at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:27: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:443:13: note: in expansion of macro 'list_entry' 443 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:85:2: note: in expansion of macro 'list_for_each_entry_reverse' 85 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:445:13: note: in expansion of macro 'list_entry' 445 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:85:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:109:2: note: in expansion of macro 'list_for_each_entry' 109 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:109:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:139:2: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:139:2: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:140:3: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:140:3: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:144:2: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:144:2: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:145:3: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:145:3: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:149:2: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:149:2: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:152:2: note: in expansion of macro 'list_for_each_entry' 152 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:152:2: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 253 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c:287:9: warning: cast increases required alignment of target type [-Wcast-align] 287 | host = (struct sanlk_host *)hosts_buf; | ^ resource.c:305:12: 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:11: 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:12: warning: cast increases required alignment of target type [-Wcast-align] 571 | mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); | ^ In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function 'res_set_lvb': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:708:2: note: in expansion of macro 'list_for_each_entry' 708 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:708:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:742:2: note: in expansion of macro 'list_for_each_entry' 742 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:742:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1188:2: note: in expansion of macro 'list_for_each_entry' 1188 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1188:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1208:2: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1208:2: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1212:2: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1212:2: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1216:2: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1216:2: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1220:2: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1220:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1237:2: note: in expansion of macro 'list_for_each_entry' 1237 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1237:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1563:2: note: in expansion of macro 'list_for_each_entry' 1563 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1563:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2192:2: note: in expansion of macro 'list_for_each_entry' 2192 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2192:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2221:2: note: in expansion of macro 'list_for_each_entry' 2221 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2221:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:2: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ resource.c:2447:9: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2576:2: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2576:2: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2576:2: 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2602:2: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2602:2: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2602:2: 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:12: 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:11: 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:819:12: warning: cast increases required alignment of target type [-Wcast-align] 819 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:849:12: warning: cast increases required alignment of target type [-Wcast-align] 849 | 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:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2644:2: note: in expansion of macro 'list_for_each_entry' 2644 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2644:2: note: in expansion of macro 'list_for_each_entry' 2644 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2646:2: note: in expansion of macro 'list_for_each_entry' 2646 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2646:2: note: in expansion of macro 'list_for_each_entry' 2646 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2648:2: note: in expansion of macro 'list_for_each_entry' 2648 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:2: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2648:2: note: in expansion of macro 'list_for_each_entry' 2648 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:504, from cmd.c:16: In function 'strncpy', inlined from 'send_state_client' at cmd.c:2493:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'send_state_daemon' at cmd.c:2470:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client_cmd.c: In function 'status_lockspace': client_cmd.c:97:31: warning: cast increases required alignment of target type [-Wcast-align] 97 | struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin; | ^ client_cmd.c: In function 'status_resource': client_cmd.c:122:31: warning: cast increases required alignment of target type [-Wcast-align] 122 | struct sanlk_resource *res = (struct sanlk_resource *)bin; | ^ client_cmd.c:131:10: warning: cast increases required alignment of target type [-Wcast-align] 131 | disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk)); | ^ client_cmd.c: In function 'print_type': client_cmd.c:196:8: warning: cast increases required alignment of target type [-Wcast-align] 196 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_p': client_cmd.c:219:8: warning: cast increases required alignment of target type [-Wcast-align] 219 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'find_type': client_cmd.c:245:8: warning: cast increases required alignment of target type [-Wcast-align] 245 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r': client_cmd.c:266:8: warning: cast increases required alignment of target type [-Wcast-align] 266 | st = (struct sanlk_state *)buf; | ^ client_cmd.c:273:9: warning: cast increases required alignment of target type [-Wcast-align] 273 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'print_r_by_p': client_cmd.c:297:8: warning: cast increases required alignment of target type [-Wcast-align] 297 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r_by_s': client_cmd.c:323:8: warning: cast increases required alignment of target type [-Wcast-align] 323 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'recv_bin': client_cmd.c:347:9: warning: cast increases required alignment of target type [-Wcast-align] 347 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'sanlock_status': client_cmd.c:396:9: warning: cast increases required alignment of target type [-Wcast-align] 396 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'sanlock_host_status': client_cmd.c:572:8: warning: cast increases required alignment of target type [-Wcast-align] 572 | ls = (struct sanlk_lockspace *)bin; | ^ sed -e "s/@VERSION@/3.8.1/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.1/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + CFLAGS='-O2 -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.1/python' python3 setup.py build running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-3.9 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -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 -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.9 -c sanlock.c -o build/temp.linux-riscv64-3.9/sanlock.o -std=c99 In file included from /usr/include/string.h:504, from /usr/include/python3.9/Python.h:30, from sanlock.c:9: In function ‘strncpy’, inlined from ‘py_add_lockspace’ at sanlock.c:823:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_rem_lockspace’ at sanlock.c:934:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_lockspace’ at sanlock.c:449:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_inq_lockspace’ at sanlock.c:877:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1189:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1190:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:502:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:503:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_lockspace’ at sanlock.c:553:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1245:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1246:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1122:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1123:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1317:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1318:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:756:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:757:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-riscv64-3.9 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -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.9/sanlock.o -L../src -L/usr/lib64 -lsanlock -o build/lib.linux-riscv64-3.9/sanlock.cpython-39-riscv64-linux-gnu.so -fPIE -Wl,-z,relro,-z,now make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/python' + CFLAGS='-O2 -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 reset make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' gcc -O2 -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.1\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd gcc -O2 -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.1\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie sanlk_reset.c -lsanlock -lwdmd -o sanlk-reset -L. -L../src -L../wdmd make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/reset' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gwNDtW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 + cd sanlock-3.8.1 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.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.1-2.fc33.riscv64//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/sanlock.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9/site-packages/sanlock_python-3.8.1_-py3.9.egg-info make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/python' + make -C reset install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/reset' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib/systemd/system/wdmd.service + install -D -m 0644 init.d/sanlk-resetd.service /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//usr/lib/systemd/system/sanlk-resetd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//var/run/sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64//var/run/sanlk-resetd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.8.1-2.fc33 --unique-debug-suffix -3.8.1-2.fc33.riscv64 --unique-debug-src-base sanlock-3.8.1-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.8.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libsanlock_client.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libsanlock_client.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9/site-packages/sanlock.cpython-39-riscv64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9/site-packages/sanlock.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/libwdmd.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlk-reset explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlk-resetd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlk-reset extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlk-resetd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/sanlock explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/wdmd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/sbin/wdmd original debug info size: 2068kB, size after compression: 1924kB /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 1660 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash Processing files: sanlock-3.8.1-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pSR8JV + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64/usr/share/doc/sanlock + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sanlock) = 3.8.1-2.fc33 sanlock = 3.8.1-2.fc33 sanlock(riscv-64) = 3.8.1-2.fc33 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) libsanlock.so.1()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debugsource-3.8.1-2.fc33.riscv64 Provides: sanlock-debugsource = 3.8.1-2.fc33 sanlock-debugsource(riscv-64) = 3.8.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-lib-3.8.1-2.fc33.riscv64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.8.1-2.fc33 sanlock-lib(riscv-64) = 3.8.1-2.fc33 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: python3-sanlock-3.8.1-2.fc33.riscv64 Provides: python-sanlock = 3.8.1-2.fc33 python3-sanlock = 3.8.1-2.fc33 python3-sanlock(riscv-64) = 3.8.1-2.fc33 python3.9-sanlock = 3.8.1-2.fc33 python3.9dist(sanlock-python) = 3.8.1 python3dist(sanlock-python) = 3.8.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.9 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.8.1-2.fc33 Processing files: sanlock-devel-3.8.1-2.fc33.riscv64 Provides: pkgconfig(libsanlock) = 3.8.1 pkgconfig(libsanlock_client) = 3.8.1 sanlock-devel = 3.8.1-2.fc33 sanlock-devel(riscv-64) = 3.8.1-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) Processing files: sanlk-reset-3.8.1-2.fc33.riscv64 Provides: sanlk-reset = 3.8.1-2.fc33 sanlk-reset(riscv-64) = 3.8.1-2.fc33 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) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debuginfo-3.8.1-2.fc33.riscv64 Provides: debuginfo(build-id) = 1fa0f0b92d92a7d4fc708548e30d4b2a2767860c debuginfo(build-id) = 79377399d3e69ee207aed3a272c20181680b86a1 sanlock-debuginfo = 3.8.1-2.fc33 sanlock-debuginfo(riscv-64) = 3.8.1-2.fc33 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.1-2.fc33 Processing files: sanlock-lib-debuginfo-3.8.1-2.fc33.riscv64 Provides: debuginfo(build-id) = 5355ba717ba115b65e91764a9211712ee6de2405 debuginfo(build-id) = 5acc097afe9c39d18ff8857917e765e070feb914 debuginfo(build-id) = c70bc70d2a9127717f8e22eb59b14a8b69cc8fd5 sanlock-lib-debuginfo = 3.8.1-2.fc33 sanlock-lib-debuginfo(riscv-64) = 3.8.1-2.fc33 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.1-2.fc33 Processing files: python3-sanlock-debuginfo-3.8.1-2.fc33.riscv64 Provides: debuginfo(build-id) = d19bd36a50db662538d318370fe1c70f0f61566a python-sanlock-debuginfo = 3.8.1-2.fc33 python3-sanlock-debuginfo = 3.8.1-2.fc33 python3-sanlock-debuginfo(riscv-64) = 3.8.1-2.fc33 python3.9-sanlock-debuginfo = 3.8.1-2.fc33 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.1-2.fc33 Processing files: sanlk-reset-debuginfo-3.8.1-2.fc33.riscv64 Provides: debuginfo(build-id) = 51e13ea9d7017b0873d1f4cd9755aef66ccca915 debuginfo(build-id) = 597985d11001d88f116428358d31352b77f139da sanlk-reset-debuginfo = 3.8.1-2.fc33 sanlk-reset-debuginfo(riscv-64) = 3.8.1-2.fc33 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.1-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 Wrote: /builddir/build/RPMS/sanlock-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlk-reset-debuginfo-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlk-reset-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.1-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.1-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qbdf3U + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0