>>> sanlock: Building testing/sanlock 3.8.4-r0 (using abuild 3.9.0-r0) started Sun, 13 Feb 2022 23:05:01 +0000 >>> sanlock: Checking sanity of /home/buildozer/aports/testing/sanlock/APKBUILD... >>> sanlock: Analyzing dependencies... >>> sanlock: Installing for build: build-base linux-headers libaio-dev util-linux-dev python3 python3-dev (1/19) Installing linux-headers (5.16.7-r0) (2/19) Installing libaio (0.3.112-r1) (3/19) Installing libaio-dev (0.3.112-r1) (4/19) Installing libblkid (2.37.3-r1) (5/19) Installing libuuid (2.37.3-r1) (6/19) Installing libfdisk (2.37.3-r1) (7/19) Installing libmount (2.37.3-r1) (8/19) Installing libsmartcols (2.37.3-r1) (9/19) Installing util-linux-dev (2.37.3-r1) (10/19) Installing libbz2 (1.0.8-r1) (11/19) Installing libffi (3.4.2-r1) (12/19) Installing gdbm (1.23-r0) (13/19) Installing xz-libs (5.2.5-r0) (14/19) Installing mpdecimal (2.5.1-r1) (15/19) Installing readline (8.1.1-r0) (16/19) Installing sqlite-libs (3.37.2-r0) (17/19) Installing python3 (3.10.2-r0) (18/19) Installing python3-dev (3.10.2-r0) (19/19) Installing .makedepends-sanlock (20220213.230505) Executing busybox-1.35.0-r2.trigger OK: 372 MiB in 96 packages >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sanlock-3.8.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> sanlock: Fetching https://releases.pagure.org/sanlock/sanlock-3.8.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 263k 100 263k 0 0 325k 0 --:--:-- --:--:-- --:--:-- 337k >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sanlock-3.8.4.tar.gz >>> sanlock: Checking sha512sums... sanlock-3.8.4.tar.gz: OK >>> sanlock: Unpacking /var/cache/distfiles/sanlock-3.8.4.tar.gz... /usr/bin/make -C wdmd make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/wdmd' gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -fPIC -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c wdmd_sock.c: In function 'wdmd_socket_address': wdmd_sock.c:23:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ wdmd_sock.c:20:1: note: include '' or provide a declaration of 'memset' 19 | #include "wdmd_sock.h" +++ |+#include 20 | wdmd_sock.c:23:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ wdmd_sock.c:23:9: note: include '' or provide a declaration of 'memset' ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -fPIE -DPIE -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. wdmd_sock.c: In function 'wdmd_socket_address': wdmd_sock.c:23:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ wdmd_sock.c:20:1: note: include '' or provide a declaration of 'memset' 19 | #include "wdmd_sock.h" +++ |+#include 20 | wdmd_sock.c:23:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ wdmd_sock.c:23:9: note: include '' or provide a declaration of 'memset' make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/wdmd' /usr/bin/make -C src make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/src' gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -fPIC -Wl,--as-needed,-O1,--sort-common -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 gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -fPIC -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c sed -e "s/@VERSION@/3.8.4/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.4/" libsanlock_client.pc.in > libsanlock_client.pc sanlock_sock.c: In function 'sanlock_socket_address': sanlock_sock.c:23:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:20:1: note: include '' or provide a declaration of 'memset' 19 | #include "sanlock_sock.h" +++ |+#include 20 | sanlock_sock.c:23:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:23:9: note: include '' or provide a declaration of 'memset' sanlock_sock.c: In function 'sanlock_socket_address': sanlock_sock.c:23:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:20:1: note: include '' or provide a declaration of 'memset' 19 | #include "sanlock_sock.h" +++ |+#include 20 | sanlock_sock.c:23:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:23:9: note: include '' or provide a declaration of 'memset' ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 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)); | ^ rindex.c: In function 'search_entries': rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function 'read_rindex_header': rindex.c:316:18: warning: cast increases required alignment of target type [-Wcast-align] 316 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:825:26: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:855:26: warning: cast increases required alignment of target type [-Wcast-align] 855 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ direct.c: In function 'direct_read_leader_sizes': direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ In file included from sanlock_internal.h:32, from task.c:25: task.c: In function 'close_task_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro 'container_of' 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:33, from direct_lib.c:18: monotime.h:13:21: warning: 'struct timespec' declared inside parameter list will not be visible outside of this definition or declaration 13 | void ts_diff(struct timespec *begin, struct timespec *end, struct timespec *diff); | ^~~~~~~~ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -fPIE -DPIE -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c sizeflags.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c rindex.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c env.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. direct.c: In function 'direct_read_leader_sizes': direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function 'direct_dump': direct.c:714:34: warning: cast increases required alignment of target type [-Wcast-align] 714 | lr_end = (struct leader_record *)data; | ^ direct.c:719:42: warning: cast increases required alignment of target type [-Wcast-align] 719 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:751:34: warning: cast increases required alignment of target type [-Wcast-align] 751 | lr_end = (struct leader_record *)data; | ^ direct.c:767:65: warning: cast increases required alignment of target type [-Wcast-align] 767 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:776:61: warning: cast increases required alignment of target type [-Wcast-align] 776 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:779:57: warning: cast increases required alignment of target type [-Wcast-align] 779 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:803:34: warning: cast increases required alignment of target type [-Wcast-align] 803 | rh_end = (struct rindex_header *)data; | ^ direct.c:825:50: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:911:26: warning: cast increases required alignment of target type [-Wcast-align] 911 | lr_end = (struct leader_record *)data; | ^ direct.c:887:29: warning: 'align_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~ direct.c:863:49: note: 'align_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~ direct.c:887:13: warning: 'sector_size' may be used uninitialized [-Wmaybe-uninitialized] 887 | if (!sector_size || !align_size) { | ^~~~~~~~~~~~ direct.c:863:13: note: 'sector_size' declared here 863 | int sector_size, sector_count, datalen, align_size; | ^~~~~~~~~~~ In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:561:40: note: in expansion of macro 'container_of' 561 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:686:40: note: in expansion of macro 'container_of' 686 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1002:40: note: in expansion of macro 'container_of' 1002 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function '_search_space': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:61:17: note: in expansion of macro 'list_for_each_entry' 61 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'find_lockspace_id': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:88:9: note: in expansion of macro 'list_for_each_entry' 88 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function '_lockspace_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:111:9: note: in expansion of macro 'list_for_each_entry' 111 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'lockspace_disk': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:138:9: note: in expansion of macro 'list_for_each_entry' 138 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_status_set_bit': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:198:9: note: in expansion of macro 'list_for_each_entry' 198 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_info': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:228:9: note: in expansion of macro 'list_for_each_entry' 228 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:322:30: warning: cast increases required alignment of target type [-Wcast-align] 322 | leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); | ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1278:14: warning: cast increases required alignment of target type [-Wcast-align] 1278 | ls = (struct sanlk_lockspace *)buf; | ^ 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:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ lockspace.c:1942:9: note: in expansion of macro 'list_for_each_entry_safe' 1942 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:32, from main.c:42: main.c: In function 'main_loop': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro 'list_entry' 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro 'list_entry' 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro 'list_for_each_entry_safe' 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'thread_pool_worker': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro 'list_entry' 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ main.c:958:30: note: in expansion of macro 'list_first_entry' 958 | ca = list_first_entry(&pool.work_data, struct cmd_args, list); | ^~~~~~~~~~~~~~~~ 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 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:825:26: warning: cast increases required alignment of target type [-Wcast-align] 825 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:855:26: warning: cast increases required alignment of target type [-Wcast-align] 855 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ In file included from sanlock_internal.h:32, from cmd.c:37: cmd.c: In function 'cmd_status': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2680:9: note: in expansion of macro 'list_for_each_entry' 2680 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2680:9: note: in expansion of macro 'list_for_each_entry' 2680 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2682:9: note: in expansion of macro 'list_for_each_entry' 2682 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2682:9: note: in expansion of macro 'list_for_each_entry' 2682 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2684:9: note: in expansion of macro 'list_for_each_entry' 2684 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro 'list_entry' 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2684:9: note: in expansion of macro 'list_for_each_entry' 2684 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ client_cmd.c: In function 'status_lockspace': client_cmd.c:117:38: warning: cast increases required alignment of target type [-Wcast-align] 117 | struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin; | ^ client_cmd.c: In function 'status_resource': client_cmd.c:142:38: warning: cast increases required alignment of target type [-Wcast-align] 142 | struct sanlk_resource *res = (struct sanlk_resource *)bin; | ^ client_cmd.c:151:24: warning: cast increases required alignment of target type [-Wcast-align] 151 | disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk)); | ^ client_cmd.c: In function 'print_type': client_cmd.c:216:22: warning: cast increases required alignment of target type [-Wcast-align] 216 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_p': client_cmd.c:239:22: warning: cast increases required alignment of target type [-Wcast-align] 239 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'find_type': client_cmd.c:265:22: warning: cast increases required alignment of target type [-Wcast-align] 265 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r': client_cmd.c:286:22: warning: cast increases required alignment of target type [-Wcast-align] 286 | st = (struct sanlk_state *)buf; | ^ client_cmd.c:293:23: warning: cast increases required alignment of target type [-Wcast-align] 293 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'print_r_by_p': client_cmd.c:317:22: warning: cast increases required alignment of target type [-Wcast-align] 317 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'print_r_by_s': client_cmd.c:343:22: warning: cast increases required alignment of target type [-Wcast-align] 343 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'recv_bin': client_cmd.c:367:23: warning: cast increases required alignment of target type [-Wcast-align] 367 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function 'sanlock_status': client_cmd.c:416:30: warning: cast increases required alignment of target type [-Wcast-align] 416 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function 'sanlock_host_status': client_cmd.c:592:22: warning: cast increases required alignment of target type [-Wcast-align] 592 | ls = (struct sanlk_lockspace *)bin; | ^ sanlock_sock.c: In function 'sanlock_socket_address': sanlock_sock.c:23:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:20:1: note: include '' or provide a declaration of 'memset' 19 | #include "sanlock_sock.h" +++ |+#include 20 | sanlock_sock.c:23:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 23 | memset(addr, 0, sizeof(struct sockaddr_un)); | ^~~~~~ sanlock_sock.c:23:9: note: include '' or provide a declaration of 'memset' make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/src' /usr/bin/make -C python /usr/bin/make -C reset make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python' python3 setup.py build make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/reset' gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -I../src -I../wdmd -fPIE -DPIE -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd gcc -Os -fomit-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.4\" -I../src -I../wdmd -fPIE -DPIE -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie sanlk_reset.c -lsanlock -lwdmd -o sanlk-reset -L. -L../src -L../wdmd /home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python/setup.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-3.10 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fomit-frame-pointer -g -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I../src -I/usr/include/python3.10 -c sanlock.c -o build/temp.linux-riscv64-3.10/sanlock.o -std=c99 make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/reset' creating build/lib.linux-riscv64-3.10 gcc -shared -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-riscv64-3.10/sanlock.o -L../src -L/usr/lib -lsanlock -o build/lib.linux-riscv64-3.10/sanlock.cpython-310-riscv64-linux-gnu.so make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python' >>> sanlock: Entering fakeroot... for dir in wdmd src python reset; do \ /usr/bin/make -C $dir install; \ done make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/wdmd' /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/include /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib cp -a libwdmd.so /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib cp -a libwdmd.so.1 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 644 wdmd.h /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/include /usr/bin/install -m 644 wdmd.8 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8 make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/wdmd' make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/src' /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/include /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8 /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib/pkgconfig /usr/bin/install -c -m 755 sanlock /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 644 libsanlock.pc /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib/pkgconfig cp -a libsanlock.so /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib cp -a libsanlock_client.so /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib cp -a libsanlock.so.1 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib cp -a libsanlock_client.so.1 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/include /usr/bin/install -m 644 sanlock.8 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8/ make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/src' make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python' python3 setup.py install --root=/home/buildozer/aports/testing/sanlock/pkg/sanlock /home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python/setup.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running build running build_ext running install_lib creating /home/buildozer/aports/testing/sanlock/pkg/sanlock/usr/lib/python3.10 creating /home/buildozer/aports/testing/sanlock/pkg/sanlock/usr/lib/python3.10/site-packages copying build/lib.linux-riscv64-3.10/sanlock.cpython-310-riscv64-linux-gnu.so -> /home/buildozer/aports/testing/sanlock/pkg/sanlock/usr/lib/python3.10/site-packages running install_egg_info Writing /home/buildozer/aports/testing/sanlock/pkg/sanlock/usr/lib/python3.10/site-packages/sanlock_python-3.8.4_-py3.10.egg-info make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/python' make[1]: Entering directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/reset' /usr/bin/install -d /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /home/buildozer/aports/testing/sanlock/pkg/sanlock//usr/share/man/man8/ make[1]: Leaving directory '/home/buildozer/aports/testing/sanlock/src/sanlock-3.8.4/reset' >>> sanlock-dev*: Running split function dev... >>> sanlock-dev*: Preparing subpackage sanlock-dev... >>> sanlock-dev*: Stripping binaries >>> sanlock-dev*: Running postcheck for sanlock-dev >>> sanlock-doc*: Running split function doc... >>> sanlock-doc*: Preparing subpackage sanlock-doc... >>> sanlock-doc*: Running postcheck for sanlock-doc >>> py3-sanlock*: Running split function py3... '/home/buildozer/aports/testing/sanlock/pkg/sanlock/usr/lib/python3.10' -> '/home/buildozer/aports/testing/sanlock/pkg/py3-sanlock/usr/lib/python3.10' >>> py3-sanlock*: Preparing subpackage py3-sanlock... >>> py3-sanlock*: Stripping binaries >>> py3-sanlock*: Running postcheck for py3-sanlock >>> sanlock*: Running postcheck for sanlock >>> sanlock*: Preparing package sanlock... >>> sanlock*: Stripping binaries >>> py3-sanlock*: Scanning shared objects >>> sanlock-dev*: Scanning shared objects >>> sanlock-doc*: Scanning shared objects >>> sanlock*: Scanning shared objects >>> py3-sanlock*: Tracing dependencies... so:libc.musl-riscv64.so.1 so:libsanlock.so.1 >>> py3-sanlock*: Package size: 60.0 KB >>> py3-sanlock*: Compressing data... >>> py3-sanlock*: Create checksum... >>> py3-sanlock*: Create py3-sanlock-3.8.4-r0.apk >>> sanlock-dev*: Tracing dependencies... pkgconfig sanlock=3.8.4-r0 >>> sanlock-dev*: Package size: 80.0 KB >>> sanlock-dev*: Compressing data... >>> sanlock-dev*: Create checksum... >>> sanlock-dev*: Create sanlock-dev-3.8.4-r0.apk >>> sanlock-doc*: Tracing dependencies... >>> sanlock-doc*: Package size: 48.0 KB >>> sanlock-doc*: Compressing data... >>> sanlock-doc*: Create checksum... >>> sanlock-doc*: Create sanlock-doc-3.8.4-r0.apk >>> sanlock*: Tracing dependencies... so:libaio.so.1 so:libblkid.so.1 so:libc.musl-riscv64.so.1 so:libuuid.so.1 >>> sanlock*: Package size: 432.0 KB >>> sanlock*: Compressing data... >>> sanlock*: Create checksum... >>> sanlock*: Create sanlock-3.8.4-r0.apk >>> sanlock: Build complete at Sun, 13 Feb 2022 23:07:44 +0000 elapsed time 0h 2m 43s >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Uninstalling dependencies... (1/19) Purging .makedepends-sanlock (20220213.230505) (2/19) Purging linux-headers (5.16.7-r0) (3/19) Purging libaio-dev (0.3.112-r1) (4/19) Purging libaio (0.3.112-r1) (5/19) Purging util-linux-dev (2.37.3-r1) (6/19) Purging libfdisk (2.37.3-r1) (7/19) Purging libmount (2.37.3-r1) (8/19) Purging libsmartcols (2.37.3-r1) (9/19) Purging libuuid (2.37.3-r1) (10/19) Purging python3-dev (3.10.2-r0) (11/19) Purging python3 (3.10.2-r0) (12/19) Purging libblkid (2.37.3-r1) (13/19) Purging libbz2 (1.0.8-r1) (14/19) Purging libffi (3.4.2-r1) (15/19) Purging gdbm (1.23-r0) (16/19) Purging xz-libs (5.2.5-r0) (17/19) Purging mpdecimal (2.5.1-r1) (18/19) Purging readline (8.1.1-r0) (19/19) Purging sqlite-libs (3.37.2-r0) Executing busybox-1.35.0-r2.trigger OK: 212 MiB in 77 packages >>> sanlock: Updating the testing/riscv64 repository index... >>> sanlock: Signing the index...