Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f34-build-25391397-2890743/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Building target platforms: armv7hl Building for target armv7hl setting SOURCE_DATE_EPOCH=1611705600 Wrote: /builddir/build/SRPMS/sanlock-3.8.1-8.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f34-build-25391397-2890743/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Tue Jul 08 2020 Jeff Law - 3.8.1-3 Building target platforms: armv7hl Building for target armv7hl setting SOURCE_DATE_EPOCH=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rJe64b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-python-Remove-extra-link-args.patch):' Patch #0 (0001-python-Remove-extra-link-args.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5T0sSs + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.1\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c sizeflags.c delta_lease.c paxos_lease.c rindex.c direct.c task.c timeouts.c direct_lib.c monotime.c env.c -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd In file included from /usr/include/string.h:519, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2, inlined from 'sanlock_str_to_lockspace' at client.c:2236:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:40: note: in expansion of macro 'container_of' 561 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:40: note: in expansion of macro 'container_of' 686 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:40: note: in expansion of macro 'container_of' 1002 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:34: warning: cast increases required alignment of target type [-Wcast-align] 555 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:768:34: warning: cast increases required alignment of target type [-Wcast-align] 768 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:26: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ In file included from /usr/include/string.h:519, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one.constprop.0' at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__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:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__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:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ rindex.c: In function 'search_entries': rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function 'read_rindex_header': rindex.c:316:18: warning: cast increases required alignment of target type [-Wcast-align] 316 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:819:26: warning: cast increases required alignment of target type [-Wcast-align] 819 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:849:26: 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:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ In file included from /usr/include/string.h:519, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ lockspace.h:24:5: warning: type of 'lockspace_disk' does not match original declaration [-Wlto-type-mismatch] 24 | int lockspace_disk(char *space_name, struct sync_disk *disk, int *sector_size); | ^ direct_lib.c:50:5: note: type mismatch in parameter 3 50 | int lockspace_disk(char *space_name GNUC_UNUSED, struct sync_disk *disk GNUC_UNUSED) | ^ direct_lib.c:50:5: note: 'lockspace_disk' was previously declared here resource.h:27:6: warning: type of 'check_mode_block' does not match original declaration [-Wlto-type-mismatch] 27 | void check_mode_block(struct token *token, uint64_t next_lver, int q, char *dblock); | ^ direct_lib.c:66:6: note: type mismatch in parameter 2 66 | void check_mode_block(struct token *token GNUC_UNUSED, int q GNUC_UNUSED, char *dblock GNUC_UNUSED) | ^ direct_lib.c:66:6: note: type 'int' should match type 'uint64_t' direct_lib.c:66:6: note: 'check_mode_block' was previously declared here direct_lib.c:66:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.1\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c In file included from /usr/include/string.h:519, from client.c:17: In function 'strncpy', inlined from 'sanlock_get_hosts' at client.c:284:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_config' at client.c:369:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_reg_event' at client.c:792:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_end_event' at client.c:870:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_set_event' at client.c:917:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sanlock_str_to_lockspace' at client.c:2275:2, inlined from 'sanlock_str_to_lockspace' at client.c:2236:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -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:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ In file included from /usr/include/string.h:519, from direct.c:16: In function 'strncpy', inlined from 'direct_dump' at direct.c:755:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:756:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:731:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 143 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_dump' at direct.c:732:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'direct_next_free' at direct.c:875:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:40: note: in expansion of macro 'container_of' 561 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:40: note: in expansion of macro 'container_of' 686 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:40: note: in expansion of macro 'container_of' 1002 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function '_search_space': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'find_lockspace_id': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function '_lockspace_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'lockspace_disk': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_status_set_bit': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:322:30: warning: cast increases required alignment of target type [-Wcast-align] 322 | leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); | ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1278:14: warning: cast increases required alignment of target type [-Wcast-align] 1278 | ls = (struct sanlk_lockspace *)buf; | ^ In file included from sanlock_internal.h:32, from lockspace.c:28: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1282:17: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:1282:17: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'get_hosts': lockspace.c:1436:16: warning: cast increases required alignment of target type [-Wcast-align] 1436 | host = (struct sanlk_host *)buf; | ^ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function 'free_lockspaces': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ lockspace.c:1940:9: note: in expansion of macro 'list_for_each_entry_safe' 1940 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1940:9: note: in expansion of macro 'list_for_each_entry_safe' 1940 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ lockspace.c:1940:9: 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:519, from lockspace.c:16: In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:375:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'check_other_leases' at lockspace.c:395:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 95 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from main.c:42: main.c: In function 'main_loop': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ main.c:836:17: note: in expansion of macro 'list_for_each_entry_safe' 836 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:836:17: note: in expansion of macro 'list_for_each_entry_safe' 836 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ main.c:836:17: 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:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ main.c:941:30: 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:519, from main.c:16: In function 'strncpy', inlined from 'read_file_leader' at main.c:3476:4, inlined from 'do_direct_write_leader' at main.c:3589:7, inlined from 'do_direct' at main.c:3700:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_file' at main.c:2810:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] In function 'strncpy', inlined from 'parse_arg_rentry' at main.c:1849:3, inlined from 'read_command_line' at main.c:2431:5, inlined from 'main' at main.c:3899:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:34: warning: cast increases required alignment of target type [-Wcast-align] 555 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:768:34: warning: cast increases required alignment of target type [-Wcast-align] 768 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:26: warning: cast increases required alignment of target type [-Wcast-align] 1385 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ In file included from /usr/include/string.h:519, from paxos_lease.c:16: In function 'strncat', inlined from '_lease_read_one.constprop.0' at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__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:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__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:135:10: warning: '__strncat_chk' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function 'free_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:443:20: note: in expansion of macro 'list_entry' 443 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:85:9: note: in expansion of macro 'list_for_each_entry_reverse' 85 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:445:20: note: in expansion of macro 'list_entry' 445 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:85:9: note: in expansion of macro 'list_for_each_entry_reverse' 85 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'get_free_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:109:9: note: in expansion of macro 'list_for_each_entry' 109 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:109:9: note: in expansion of macro 'list_for_each_entry' 109 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'send_state_resources': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:139:9: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:139:9: note: in expansion of macro 'list_for_each_entry' 139 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:140:17: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:140:17: note: in expansion of macro 'list_for_each_entry' 140 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:144:9: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:144:9: note: in expansion of macro 'list_for_each_entry' 144 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:145:17: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:145:17: note: in expansion of macro 'list_for_each_entry' 145 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:149:9: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:149:9: note: in expansion of macro 'list_for_each_entry' 149 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:152:9: note: in expansion of macro 'list_for_each_entry' 152 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:152:9: note: in expansion of macro 'list_for_each_entry' 152 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'read_resource_owners': resource.c:253:26: warning: cast increases required alignment of target type [-Wcast-align] 253 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c:287:16: warning: cast increases required alignment of target type [-Wcast-align] 287 | host = (struct sanlk_host *)hosts_buf; | ^ resource.c:305:26: warning: cast increases required alignment of target type [-Wcast-align] 305 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c: In function 'check_mode_block': resource.c:401:18: warning: cast increases required alignment of target type [-Wcast-align] 401 | mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET); | ^ resource.c: In function 'read_mode_block': resource.c:571:26: warning: cast increases required alignment of target type [-Wcast-align] 571 | mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); | ^ In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function 'res_set_lvb': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:708:9: note: in expansion of macro 'list_for_each_entry' 708 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:708:9: note: in expansion of macro 'list_for_each_entry' 708 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'res_get_lvb': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:742:9: note: in expansion of macro 'list_for_each_entry' 742 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:742:9: note: in expansion of macro 'list_for_each_entry' 742 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1188:9: note: in expansion of macro 'list_for_each_entry' 1188 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1188:9: note: in expansion of macro 'list_for_each_entry' 1188 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'lockspace_is_used': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1208:9: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1208:9: note: in expansion of macro 'list_for_each_entry' 1208 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1212:9: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1212:9: note: in expansion of macro 'list_for_each_entry' 1212 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1216:9: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1216:9: note: in expansion of macro 'list_for_each_entry' 1216 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1220:9: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1220:9: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'resource_orphan_count': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1237:9: note: in expansion of macro 'list_for_each_entry' 1237 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1237:9: note: in expansion of macro 'list_for_each_entry' 1237 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'convert_token': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1563:9: note: in expansion of macro 'list_for_each_entry' 1563 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1563:9: note: in expansion of macro 'list_for_each_entry' 1563 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'set_resource_examine': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2192:9: note: in expansion of macro 'list_for_each_entry' 2192 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2192:9: note: in expansion of macro 'list_for_each_entry' 2192 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource_thread': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2221:9: note: in expansion of macro 'list_for_each_entry' 2221 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2221:9: note: in expansion of macro 'list_for_each_entry' 2221 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_host_event': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ resource.c:2447:16: note: in expansion of macro 'list_first_entry' 2447 | return list_first_entry(&host_events, struct recv_he, list); | ^~~~~~~~~~~~~~~~ resource.c: In function 'release_orphan': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2576:9: note: in expansion of macro 'list_for_each_entry_safe' 2576 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'purge_resource_list': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2602:9: note: in expansion of macro 'list_for_each_entry_safe' 2602 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ rindex.c: In function 'search_entries': rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function 'read_rindex_header': rindex.c:316:18: warning: cast increases required alignment of target type [-Wcast-align] 316 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:819:26: warning: cast increases required alignment of target type [-Wcast-align] 819 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:849:26: 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:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2644:9: note: in expansion of macro 'list_for_each_entry' 2644 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2644:9: note: in expansion of macro 'list_for_each_entry' 2644 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2646:9: note: in expansion of macro 'list_for_each_entry' 2646 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2646:9: note: in expansion of macro 'list_for_each_entry' 2646 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2648:9: note: in expansion of macro 'list_for_each_entry' 2648 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2648:9: 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:519, from cmd.c:16: In function 'strncpy', inlined from 'send_state_client' at cmd.c:2493:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'send_state_daemon' at cmd.c:2470:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ client_cmd.c: In function 'status_lockspace': client_cmd.c:97:38: 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:38: warning: cast increases required alignment of target type [-Wcast-align] 122 | struct sanlk_resource *res = (struct sanlk_resource *)bin; | ^ client_cmd.c:131:24: 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:22: 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:22: 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:22: 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:22: warning: cast increases required alignment of target type [-Wcast-align] 266 | st = (struct sanlk_state *)buf; | ^ client_cmd.c:273:23: 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:22: 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:22: 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:23: 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:30: 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:22: warning: cast increases required alignment of target type [-Wcast-align] 572 | ls = (struct sanlk_lockspace *)bin; | ^ direct.c: In function 'direct_next_free': direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^ resource.c: In function 'resource_thread': resource.c:2171:17: warning: 'req.force_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] 2171 | log_error("do_request %d unknown force_mode %d", | ^ resource.c:2379:31: note: 'req.force_mode' was declared here 2379 | struct request_record req; | ^ resource.c:2399:17: warning: 'req.lver' may be used uninitialized in this function [-Wmaybe-uninitialized] 2399 | log_token(tt, "examine req lver %llu our lver %llu", | ^ resource.c:2379:31: note: 'req.lver' was declared here 2379 | struct request_record req; | ^ sed -e "s/@VERSION@/3.8.1/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.1/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + 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-armv7l-3.9 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC -I../src -I/usr/include/python3.9 -c sanlock.c -o build/temp.linux-armv7l-3.9/sanlock.o -std=c99 In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from sanlock.c:9: In function ‘strncpy’, inlined from ‘py_add_lockspace’ at sanlock.c:823:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_lockspace’ at sanlock.c:449:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_rem_lockspace’ at sanlock.c:934:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_inq_lockspace’ at sanlock.c:877:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1189:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_release’ at sanlock.c:1190:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:502:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_init_resource’ at sanlock.c:503:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1245:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_request’ at sanlock.c:1246:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_lockspace’ at sanlock.c:553:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1122:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_acquire’ at sanlock.c:1123:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1317:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_read_resource_owners’ at sanlock.c:1318:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:756:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘py_write_resource’ at sanlock.c:757:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-armv7l-3.9 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard build/temp.linux-armv7l-3.9/sanlock.o -L../src -L/usr/lib -lsanlock -o build/lib.linux-armv7l-3.9/sanlock.cpython-39-arm-linux-gnueabihf.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/python' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + make -C reset make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.1\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -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.N0fwPi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm + cd sanlock-3.8.1 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm + make -C src install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /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-8.fc34.arm//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/src' + make -C wdmd install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.1/wdmd' + make -C python install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm 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-8.fc34.arm running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9 creating /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9/site-packages copying build/lib.linux-armv7l-3.9/sanlock.cpython-39-arm-linux-gnueabihf.so -> /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/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/lib DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm make: Entering directory '/builddir/build/BUILD/sanlock-3.8.1/reset' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//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-8.fc34.arm//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib/systemd/system/wdmd.service + install -D -m 0644 init.d/sanlk-resetd.service /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//usr/lib/systemd/system/sanlk-resetd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//var/run/sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm//var/run/sanlk-resetd + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 3.8.1-8.fc34 --unique-debug-suffix -3.8.1-8.fc34.arm --unique-debug-src-base sanlock-3.8.1-8.fc34.arm --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-8.fc34.arm/usr/lib/libsanlock_client.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/libwdmd.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/libsanlock.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlk-reset explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9/site-packages/sanlock.cpython-39-arm-linux-gnueabihf.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlk-reset extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9/site-packages/sanlock.cpython-39-arm-linux-gnueabihf.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/libsanlock.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlk-resetd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlock explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/wdmd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/sanlk-resetd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/sbin/wdmd original debug info size: 1676kB, size after compression: 1524kB /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 1660 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/lib/debug/usr/lib/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-8.fc34.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ofiR8Y + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm/usr/share/doc/sanlock + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sanlock) = 3.8.1-8.fc34 sanlock = 3.8.1-8.fc34 sanlock(armv7hl-32) = 3.8.1-8.fc34 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-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libaio.so.1 libaio.so.1(LIBAIO_0.1) libaio.so.1(LIBAIO_0.4) libblkid.so.1 libblkid.so.1(BLKID_2.15) libblkid.so.1(BLKID_2.17) libc.so.6 libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.9) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) libsanlock.so.1 libuuid.so.1 libuuid.so.1(UUID_1.0) libwdmd.so.1 rtld(GNU_HASH) Processing files: sanlock-debugsource-3.8.1-8.fc34.armv7hl Provides: sanlock-debugsource = 3.8.1-8.fc34 sanlock-debugsource(armv7hl-32) = 3.8.1-8.fc34 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-8.fc34.armv7hl Provides: libsanlock.so.1 libsanlock_client.so.1 libwdmd.so.1 sanlock-lib = 3.8.1-8.fc34 sanlock-lib(armv7hl-32) = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libaio.so.1 libaio.so.1(LIBAIO_0.1) libaio.so.1(LIBAIO_0.4) libblkid.so.1 libblkid.so.1(BLKID_2.15) libblkid.so.1(BLKID_2.17) libc.so.6 libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) rtld(GNU_HASH) Processing files: python3-sanlock-3.8.1-8.fc34.armv7hl Provides: python-sanlock = 3.8.1-8.fc34 python3-sanlock = 3.8.1-8.fc34 python3-sanlock(armv7hl-32) = 3.8.1-8.fc34 python3.9-sanlock = 3.8.1-8.fc34 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-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libsanlock.so.1 python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.8.1-8.fc34 Processing files: sanlock-devel-3.8.1-8.fc34.armv7hl Provides: pkgconfig(libsanlock) = 3.8.1 pkgconfig(libsanlock_client) = 3.8.1 sanlock-devel = 3.8.1-8.fc34 sanlock-devel(armv7hl-32) = 3.8.1-8.fc34 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 libsanlock_client.so.1 libwdmd.so.1 Processing files: sanlk-reset-3.8.1-8.fc34.armv7hl Provides: sanlk-reset = 3.8.1-8.fc34 sanlk-reset(armv7hl-32) = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libsanlock.so.1 libwdmd.so.1 rtld(GNU_HASH) Processing files: sanlock-debuginfo-3.8.1-8.fc34.armv7hl Provides: debuginfo(build-id) = 2dc2c2e4f3fc55978189f3bb4e18201e64959d0c debuginfo(build-id) = b5ba290c5f4beaf5969fe67da0f805a76b58533c sanlock-debuginfo = 3.8.1-8.fc34 sanlock-debuginfo(armv7hl-32) = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(armv7hl-32) = 3.8.1-8.fc34 Processing files: sanlock-lib-debuginfo-3.8.1-8.fc34.armv7hl Provides: debuginfo(build-id) = 81035d5e3249be1e1e8200ea4d707c5c8f5293c0 debuginfo(build-id) = 85ee41d7dec2a3b4f20ee04e98c57abac310d5bf debuginfo(build-id) = d8e56c127ec46dd5fafdc0e4ad7766653c3ae73c sanlock-lib-debuginfo = 3.8.1-8.fc34 sanlock-lib-debuginfo(armv7hl-32) = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(armv7hl-32) = 3.8.1-8.fc34 Processing files: python3-sanlock-debuginfo-3.8.1-8.fc34.armv7hl Provides: debuginfo(build-id) = 61cbe25c24e0062d42f34f6839b45c22e4e8fb63 python-sanlock-debuginfo = 3.8.1-8.fc34 python3-sanlock-debuginfo = 3.8.1-8.fc34 python3-sanlock-debuginfo(armv7hl-32) = 3.8.1-8.fc34 python3.9-sanlock-debuginfo = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(armv7hl-32) = 3.8.1-8.fc34 Processing files: sanlk-reset-debuginfo-3.8.1-8.fc34.armv7hl Provides: debuginfo(build-id) = 73bc421dee879ef6795a2bd42de0a26449d2dd48 debuginfo(build-id) = f05380a2a37ff2cb32551a6b6c1da58903b4d747 sanlk-reset-debuginfo = 3.8.1-8.fc34 sanlk-reset-debuginfo(armv7hl-32) = 3.8.1-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(armv7hl-32) = 3.8.1-8.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm Wrote: /builddir/build/RPMS/sanlock-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlk-reset-debuginfo-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlk-reset-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.1-8.fc34.armv7hl.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.1-8.fc34.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4EGzKB + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sanlock-3.8.1-8.fc34.arm + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0