>>> sanlock: Building main/sanlock 3.9.2-r0 (using abuild 3.12.0-r5) started Tue, 16 Apr 2024 23:40:55 +0000 >>> sanlock: Checking sanity of /home/buildozer/aports/main/sanlock/APKBUILD... >>> sanlock: Analyzing dependencies... >>> sanlock: Installing for build: build-base linux-headers libaio-dev util-linux-dev python3 python3-dev py3-setuptools (1/60) Installing linux-headers (6.6-r0) (2/60) Installing libaio (0.3.113-r2) (3/60) Installing libaio-dev (0.3.113-r2) (4/60) Installing libeconf (0.6.2-r0) (5/60) Installing libblkid (2.40-r1) (6/60) Installing libuuid (2.40-r1) (7/60) Installing libfdisk (2.40-r1) (8/60) Installing libmount (2.40-r1) (9/60) Installing libsmartcols (2.40-r1) (10/60) Installing readline (8.2.10-r0) (11/60) Installing sqlite (3.45.3-r0) (12/60) Installing sqlite-libs (3.45.3-r0) (13/60) Installing sqlite-dev (3.45.3-r0) (14/60) Installing util-linux (2.40-r1) (15/60) Installing setarch (2.40-r1) (16/60) Installing util-linux-misc (2.40-r1) (17/60) Installing skalibs (2.14.1.1-r0) (18/60) Installing utmps-libs (0.1.2.2-r1) (19/60) Installing linux-pam (1.6.0-r0) (20/60) Installing runuser (2.40-r1) (21/60) Installing mount (2.40-r1) (22/60) Installing losetup (2.40-r1) (23/60) Installing hexdump (2.40-r1) (24/60) Installing uuidgen (2.40-r1) (25/60) Installing blkid (2.40-r1) (26/60) Installing sfdisk (2.40-r1) (27/60) Installing mcookie (2.40-r1) (28/60) Installing agetty (2.40-r1) (29/60) Installing wipefs (2.40-r1) (30/60) Installing cfdisk (2.40-r1) (31/60) Installing umount (2.40-r1) (32/60) Installing flock (2.40-r1) (33/60) Installing lsblk (2.40-r1) (34/60) Installing libcap-ng (0.8.4-r0) (35/60) Installing setpriv (2.40-r1) (36/60) Installing logger (2.40-r1) (37/60) Installing partx (2.40-r1) (38/60) Installing fstrim (2.40-r1) (39/60) Installing findmnt (2.40-r1) (40/60) Installing util-linux-dev (2.40-r1) (41/60) Installing libbz2 (1.0.8-r6) (42/60) Installing libffi (3.4.6-r0) (43/60) Installing gdbm (1.23-r1) (44/60) Installing xz-libs (5.6.1-r3) (45/60) Installing mpdecimal (4.0.0-r0) (46/60) Installing libpanelw (6.4_p20240330-r0) (47/60) Installing python3 (3.12.3-r0) (48/60) Installing python3-pycache-pyc0 (3.12.3-r0) (49/60) Installing pyc (3.12.3-r0) (50/60) Installing python3-pyc (3.12.3-r0) (51/60) Installing python3-dev (3.12.3-r0) (52/60) Installing py3-parsing (3.1.2-r1) (53/60) Installing py3-parsing-pyc (3.1.2-r1) (54/60) Installing py3-packaging (24.0-r1) (55/60) Installing py3-packaging-pyc (24.0-r1) (56/60) Installing py3-setuptools (69.5.1-r0) (57/60) Installing py3-setuptools-pyc (69.5.1-r0) (58/60) Installing .makedepends-sanlock (20240416.234056) (59/60) Installing util-linux-openrc (2.40-r1) (60/60) Installing agetty-openrc (0.54-r1) Executing busybox-1.36.1-r25.trigger OK: 412 MiB in 163 packages >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Cleaning up tmpdir >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-3.9.2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> sanlock: Fetching https://releases.pagure.org/sanlock/sanlock-3.9.2.tar.gz Connecting to releases.pagure.org ([2620:52:3:1:dead:beef:cafe:fed8]:443) saving to '/var/cache/distfiles/sanlock-3.9.2.tar.gz.part' sanlock-3.9.2.tar.gz 100% |********************************| 272k 0:00:00 ETA '/var/cache/distfiles/sanlock-3.9.2.tar.gz.part' saved >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-3.9.2.tar.gz >>> sanlock: Checking sha512sums... sanlock-3.9.2.tar.gz: OK c23.patch: OK basename-include.patch: OK sanlock.initd: OK sanlock.confd: OK wdmd.initd: OK wdmd.confd: OK >>> sanlock: Unpacking /var/cache/distfiles/sanlock-3.9.2.tar.gz... >>> sanlock: c23.patch patching file src/sanlock_sock.c patching file src/sanlock_sock.h patching file wdmd/wdmd.h Hunk #1 succeeded at 12 with fuzz 2. >>> sanlock: basename-include.patch patching file wdmd/main.c Hunk #1 succeeded at 37 (offset 1 line). make -C wdmd make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/wdmd' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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.9.2\" -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 ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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.9.2\" -fPIE -DPIE -Wl,--as-needed,-O1,--sort-common -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/wdmd' make -C src make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/src' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -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.9.2\" -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 -fstack-clash-protection -Wformat -Werror=format-security -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.9.2\" -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.9.2/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.9.2/" libsanlock_client.pc.in > libsanlock_client.pc 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:580:40: note: in expansion of macro 'container_of' 580 | 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:705:40: note: in expansion of macro 'container_of' 705 | 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:1021:40: note: in expansion of macro 'container_of' 1021 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:583:34: warning: cast increases required alignment of target type [-Wcast-align] 583 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:797:34: warning: cast increases required alignment of target type [-Wcast-align] 797 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1415:26: warning: cast increases required alignment of target type [-Wcast-align] 1415 | 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:319:18: warning: cast increases required alignment of target type [-Wcast-align] 319 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:828:26: warning: cast increases required alignment of target type [-Wcast-align] 828 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:858:26: warning: cast increases required alignment of target type [-Wcast-align] 858 | 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:716:34: warning: cast increases required alignment of target type [-Wcast-align] 716 | lr_end = (struct leader_record *)data; | ^ direct.c:721:42: warning: cast increases required alignment of target type [-Wcast-align] 721 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:753:34: warning: cast increases required alignment of target type [-Wcast-align] 753 | lr_end = (struct leader_record *)data; | ^ direct.c:769:65: warning: cast increases required alignment of target type [-Wcast-align] 769 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:778:61: warning: cast increases required alignment of target type [-Wcast-align] 778 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:781:57: warning: cast increases required alignment of target type [-Wcast-align] 781 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:805:34: warning: cast increases required alignment of target type [-Wcast-align] 805 | rh_end = (struct rindex_header *)data; | ^ direct.c:827:50: warning: cast increases required alignment of target type [-Wcast-align] 827 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:913:26: warning: cast increases required alignment of target type [-Wcast-align] 913 | lr_end = (struct leader_record *)data; | ^ 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 -fstack-clash-protection -Wformat -Werror=format-security -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.9.2\" -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:716:34: warning: cast increases required alignment of target type [-Wcast-align] 716 | lr_end = (struct leader_record *)data; | ^ direct.c:721:42: warning: cast increases required alignment of target type [-Wcast-align] 721 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:753:34: warning: cast increases required alignment of target type [-Wcast-align] 753 | lr_end = (struct leader_record *)data; | ^ direct.c:769:65: warning: cast increases required alignment of target type [-Wcast-align] 769 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:778:61: warning: cast increases required alignment of target type [-Wcast-align] 778 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:781:57: warning: cast increases required alignment of target type [-Wcast-align] 781 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:805:34: warning: cast increases required alignment of target type [-Wcast-align] 805 | rh_end = (struct rindex_header *)data; | ^ direct.c:827:50: warning: cast increases required alignment of target type [-Wcast-align] 827 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function 'direct_next_free': direct.c:913:26: warning: cast increases required alignment of target type [-Wcast-align] 913 | lr_end = (struct leader_record *)data; | ^ 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:580:40: note: in expansion of macro 'container_of' 580 | 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:705:40: note: in expansion of macro 'container_of' 705 | 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:1021:40: note: in expansion of macro 'container_of' 1021 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ helper.c: In function 'run_helper': helper.c:147:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 147 | fprintf(stderr, "helper %ld " fmt "\n", time(NULL), ##args); \ | ^~~~~~~~~~~~~ ~~~~~~~~~~ | | | time_t {aka long long int} helper.c:171:17: note: in expansion of macro 'log_debug' 171 | log_debug("error clearing helper groups errno %i", errno); | ^~~~~~~~~ helper.c:147:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 147 | fprintf(stderr, "helper %ld " fmt "\n", time(NULL), ##args); \ | ^~~~~~~~~~~~~ ~~~~~~~~~~ | | | time_t {aka long long int} helper.c:228:33: note: in expansion of macro 'log_debug' 228 | log_debug("write_sysfs %s %u rv %d", hm.path, sysfs_val, rv); | ^~~~~~~~~ helper.c:147:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 147 | fprintf(stderr, "helper %ld " fmt "\n", time(NULL), ##args); \ | ^~~~~~~~~~~~~ ~~~~~~~~~~ | | | time_t {aka long long int} helper.c:255:41: note: in expansion of macro 'log_debug' 255 | log_debug("helper no children count %d %d", | ^~~~~~~~~ In file included from sanlock_internal.h:32, from lockspace.c:29: 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:138:17: note: in expansion of macro 'list_for_each_entry' 138 | 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:138:17: note: in expansion of macro 'list_for_each_entry' 138 | 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:165:9: note: in expansion of macro 'list_for_each_entry' 165 | 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:165:9: note: in expansion of macro 'list_for_each_entry' 165 | 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:188:9: note: in expansion of macro 'list_for_each_entry' 188 | 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:188:9: note: in expansion of macro 'list_for_each_entry' 188 | 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:215:9: note: in expansion of macro 'list_for_each_entry' 215 | 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:215:9: note: in expansion of macro 'list_for_each_entry' 215 | 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:275:9: note: in expansion of macro 'list_for_each_entry' 275 | 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:275:9: note: in expansion of macro 'list_for_each_entry' 275 | 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:305:9: note: in expansion of macro 'list_for_each_entry' 305 | 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:305:9: note: in expansion of macro 'list_for_each_entry' 305 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:399:30: warning: cast increases required alignment of target type [-Wcast-align] 399 | leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); | ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1387:14: warning: cast increases required alignment of target type [-Wcast-align] 1387 | ls = (struct sanlk_lockspace *)buf; | ^ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1391:17: note: in expansion of macro 'list_for_each_entry' 1391 | 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:1391:17: note: in expansion of macro 'list_for_each_entry' 1391 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'get_hosts': lockspace.c:1545:16: warning: cast increases required alignment of target type [-Wcast-align] 1545 | host = (struct sanlk_host *)buf; | ^ lockspace.c: In function 'free_lockspaces': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro 'list_entry' 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ lockspace.c:2051:9: note: in expansion of macro 'list_for_each_entry_safe' 2051 | 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:2051:9: note: in expansion of macro 'list_for_each_entry_safe' 2051 | 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:2051:9: note: in expansion of macro 'list_for_each_entry_safe' 2051 | 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:955:30: note: in expansion of macro 'list_first_entry' 955 | ca = list_first_entry(&pool.work_data, struct cmd_args, list); | ^~~~~~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:583:34: warning: cast increases required alignment of target type [-Wcast-align] 583 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:797:34: warning: cast increases required alignment of target type [-Wcast-align] 797 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1415:26: warning: cast increases required alignment of target type [-Wcast-align] 1415 | 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:602:26: warning: cast increases required alignment of target type [-Wcast-align] 602 | mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); | ^ resource.c: In function 'res_set_lvb': list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro 'container_of' 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro 'list_entry' 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:739:9: note: in expansion of macro 'list_for_each_entry' 739 | 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:739:9: note: in expansion of macro 'list_for_each_entry' 739 | 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:773:9: note: in expansion of macro 'list_for_each_entry' 773 | 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:773:9: note: in expansion of macro 'list_for_each_entry' 773 | 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:1234:9: note: in expansion of macro 'list_for_each_entry' 1234 | 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:1234:9: note: in expansion of macro 'list_for_each_entry' 1234 | 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:1254:9: note: in expansion of macro 'list_for_each_entry' 1254 | 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:1254:9: note: in expansion of macro 'list_for_each_entry' 1254 | 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:1258:9: note: in expansion of macro 'list_for_each_entry' 1258 | 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:1258:9: note: in expansion of macro 'list_for_each_entry' 1258 | 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:1262:9: note: in expansion of macro 'list_for_each_entry' 1262 | 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:1262:9: note: in expansion of macro 'list_for_each_entry' 1262 | 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:1266:9: note: in expansion of macro 'list_for_each_entry' 1266 | 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:1266:9: note: in expansion of macro 'list_for_each_entry' 1266 | 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:1283:9: note: in expansion of macro 'list_for_each_entry' 1283 | 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:1283:9: note: in expansion of macro 'list_for_each_entry' 1283 | 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:1609:9: note: in expansion of macro 'list_for_each_entry' 1609 | 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:1609:9: note: in expansion of macro 'list_for_each_entry' 1609 | 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:2240:9: note: in expansion of macro 'list_for_each_entry' 2240 | 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:2240:9: note: in expansion of macro 'list_for_each_entry' 2240 | 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:2269:9: note: in expansion of macro 'list_for_each_entry' 2269 | 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:2269:9: note: in expansion of macro 'list_for_each_entry' 2269 | 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:2495:16: note: in expansion of macro 'list_first_entry' 2495 | 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:2624:9: note: in expansion of macro 'list_for_each_entry_safe' 2624 | 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:2624:9: note: in expansion of macro 'list_for_each_entry_safe' 2624 | 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:2624:9: note: in expansion of macro 'list_for_each_entry_safe' 2624 | 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:2650:9: note: in expansion of macro 'list_for_each_entry_safe' 2650 | 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:2650:9: note: in expansion of macro 'list_for_each_entry_safe' 2650 | 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:2650:9: note: in expansion of macro 'list_for_each_entry_safe' 2650 | 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:319:18: warning: cast increases required alignment of target type [-Wcast-align] 319 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function 'rindex_lookup': rindex.c:828:26: warning: cast increases required alignment of target type [-Wcast-align] 828 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:858:26: warning: cast increases required alignment of target type [-Wcast-align] 858 | 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:2691:9: note: in expansion of macro 'list_for_each_entry' 2691 | 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:2691:9: note: in expansion of macro 'list_for_each_entry' 2691 | 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:2693:9: note: in expansion of macro 'list_for_each_entry' 2693 | 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:2693:9: note: in expansion of macro 'list_for_each_entry' 2693 | 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:2695:9: note: in expansion of macro 'list_for_each_entry' 2695 | 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:2695:9: note: in expansion of macro 'list_for_each_entry' 2695 | 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; | ^ make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/src' make -C python make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/python' python3 setup.py build /usr/lib/python3.12/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '3.9.2 ' to '3.9.2' self.metadata.version = self._normalize_version(self.metadata.version) running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-armv8l-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -I../src -I/usr/include/python3.12 -c sanlock.c -o build/temp.linux-armv8l-cpython-312/sanlock.o -std=c99 creating build/lib.linux-armv8l-cpython-312 gcc -shared -Wl,--as-needed,-O1,--sort-common -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-armv8l-cpython-312/sanlock.o -L../src -L/usr/lib -lsanlock -o build/lib.linux-armv8l-cpython-312/sanlock.cpython-312-arm-linux-musleabihf.so make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/python' >>> sanlock: Entering fakeroot... for dir in wdmd src python; do \ make -C $dir install; \ done make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/wdmd' install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8 install -c -m 755 wdmd /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin install -c -m 755 libwdmd.so.1.0 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib cp -a libwdmd.so /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib cp -a libwdmd.so.1 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -c -m 644 wdmd.h /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include install -m 644 wdmd.8 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8 make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/wdmd' make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/src' install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8 install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib/pkgconfig install -c -m 755 sanlock /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin install -c -m 755 libsanlock.so.1.0 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -c -m 755 libsanlock_client.so.1.0 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -c -m 644 libsanlock.pc /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib/pkgconfig install -c -m 644 libsanlock_client.pc /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib/pkgconfig cp -a libsanlock.so /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib cp -a libsanlock_client.so /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib cp -a libsanlock.so.1 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib cp -a libsanlock_client.so.1 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include install -m 644 sanlock.8 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8/ make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/src' make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/python' python3 setup.py install --root=/home/buildozer/aports/main/sanlock/pkg/sanlock /usr/lib/python3.12/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '3.9.2 ' to '3.9.2' self.metadata.version = self._normalize_version(self.metadata.version) running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_ext running install_lib creating /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.12 creating /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.12/site-packages copying build/lib.linux-armv8l-cpython-312/sanlock.cpython-312-arm-linux-musleabihf.so -> /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.12/site-packages running install_egg_info running egg_info creating sanlock_python.egg-info writing sanlock_python.egg-info/PKG-INFO writing dependency_links to sanlock_python.egg-info/dependency_links.txt writing top-level names to sanlock_python.egg-info/top_level.txt writing manifest file 'sanlock_python.egg-info/SOURCES.txt' reading manifest file 'sanlock_python.egg-info/SOURCES.txt' writing manifest file 'sanlock_python.egg-info/SOURCES.txt' Copying sanlock_python.egg-info to /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.12/site-packages/sanlock_python-3.9.2-py3.12.egg-info running install_scripts make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.2/python' >>> 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 >>> sanlock-openrc*: Running split function openrc... >>> sanlock-openrc*: Preparing subpackage sanlock-openrc... >>> sanlock-openrc*: Running postcheck for sanlock-openrc >>> py3-sanlock*: Running split function py3... '/home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.12' -> '/home/buildozer/aports/main/sanlock/pkg/py3-sanlock/usr/lib/python3.12' >>> 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 >>> sanlock*: Script found. /bin/sh added as a dependency for sanlock-3.9.2-r0.apk >>> sanlock*: Adding .pre-install >>> py3-sanlock*: Scanning shared objects >>> sanlock-dev*: Scanning shared objects >>> sanlock-doc*: Scanning shared objects >>> sanlock-openrc*: Scanning shared objects >>> sanlock*: Scanning shared objects >>> py3-sanlock*: Tracing dependencies... python3~3.12 so:libc.musl-armv7.so.1 so:libsanlock.so.1 >>> py3-sanlock*: Package size: 72.0 KB >>> py3-sanlock*: Compressing data... >>> py3-sanlock*: Create checksum... >>> py3-sanlock*: Create py3-sanlock-3.9.2-r0.apk >>> sanlock-dev*: Tracing dependencies... pkgconfig sanlock=3.9.2-r0 >>> sanlock-dev*: Package size: 80.0 KB >>> sanlock-dev*: Compressing data... >>> sanlock-dev*: Create checksum... >>> sanlock-dev*: Create sanlock-dev-3.9.2-r0.apk >>> sanlock-doc*: Tracing dependencies... >>> sanlock-doc*: Package size: 40.0 KB >>> sanlock-doc*: Compressing data... >>> sanlock-doc*: Create checksum... >>> sanlock-doc*: Create sanlock-doc-3.9.2-r0.apk >>> sanlock-openrc*: Tracing dependencies... >>> sanlock-openrc*: Package size: 32.0 KB >>> sanlock-openrc*: Compressing data... >>> sanlock-openrc*: Create checksum... >>> sanlock-openrc*: Create sanlock-openrc-3.9.2-r0.apk >>> sanlock*: Tracing dependencies... /bin/sh so:libaio.so.1 so:libblkid.so.1 so:libc.musl-armv7.so.1 so:libgcc_s.so.1 so:libuuid.so.1 >>> sanlock*: Package size: 380.0 KB >>> sanlock*: Compressing data... >>> sanlock*: Create checksum... >>> sanlock*: Create sanlock-3.9.2-r0.apk >>> sanlock: Build complete at Tue, 16 Apr 2024 23:41:15 +0000 elapsed time 0h 0m 20s >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Uninstalling dependencies... (1/60) Purging .makedepends-sanlock (20240416.234056) (2/60) Purging linux-headers (6.6-r0) (3/60) Purging libaio-dev (0.3.113-r2) (4/60) Purging libaio (0.3.113-r2) (5/60) Purging util-linux-dev (2.40-r1) (6/60) Purging python3-dev (3.12.3-r0) (7/60) Purging py3-setuptools-pyc (69.5.1-r0) (8/60) Purging py3-setuptools (69.5.1-r0) (9/60) Purging py3-packaging-pyc (24.0-r1) (10/60) Purging py3-packaging (24.0-r1) (11/60) Purging py3-parsing-pyc (3.1.2-r1) (12/60) Purging py3-parsing (3.1.2-r1) (13/60) Purging agetty-openrc (0.54-r1) (14/60) Purging agetty (2.40-r1) (15/60) Purging blkid (2.40-r1) (16/60) Purging cfdisk (2.40-r1) (17/60) Purging findmnt (2.40-r1) (18/60) Purging flock (2.40-r1) (19/60) Purging fstrim (2.40-r1) (20/60) Purging hexdump (2.40-r1) (21/60) Purging logger (2.40-r1) (22/60) Purging losetup (2.40-r1) (23/60) Purging lsblk (2.40-r1) (24/60) Purging mcookie (2.40-r1) (25/60) Purging mount (2.40-r1) (26/60) Purging partx (2.40-r1) (27/60) Purging python3-pyc (3.12.3-r0) (28/60) Purging python3-pycache-pyc0 (3.12.3-r0) (29/60) Purging pyc (3.12.3-r0) (30/60) Purging runuser (2.40-r1) (31/60) Purging setpriv (2.40-r1) (32/60) Purging sfdisk (2.40-r1) (33/60) Purging sqlite-dev (3.45.3-r0) (34/60) Purging sqlite (3.45.3-r0) (35/60) Purging umount (2.40-r1) (36/60) Purging util-linux-misc (2.40-r1) (37/60) Purging setarch (2.40-r1) (38/60) Purging util-linux-openrc (2.40-r1) (39/60) Purging uuidgen (2.40-r1) (40/60) Purging wipefs (2.40-r1) (41/60) Purging python3 (3.12.3-r0) (42/60) Purging gdbm (1.23-r1) (43/60) Purging libfdisk (2.40-r1) (44/60) Purging libmount (2.40-r1) (45/60) Purging libblkid (2.40-r1) (46/60) Purging libbz2 (1.0.8-r6) (47/60) Purging libcap-ng (0.8.4-r0) (48/60) Purging libeconf (0.6.2-r0) (49/60) Purging libffi (3.4.6-r0) (50/60) Purging libpanelw (6.4_p20240330-r0) (51/60) Purging libsmartcols (2.40-r1) (52/60) Purging libuuid (2.40-r1) (53/60) Purging linux-pam (1.6.0-r0) (54/60) Purging mpdecimal (4.0.0-r0) (55/60) Purging readline (8.2.10-r0) (56/60) Purging utmps-libs (0.1.2.2-r1) (57/60) Purging skalibs (2.14.1.1-r0) (58/60) Purging util-linux (2.40-r1) (59/60) Purging sqlite-libs (3.45.3-r0) (60/60) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 270 MiB in 103 packages >>> sanlock: Updating the main/armv7 repository index... >>> sanlock: Signing the index...