>>> sanlock: Building main/sanlock 3.9.0-r0 (using abuild 3.12.0-r0) started Mon, 18 Dec 2023 15:26:21 +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/29) Installing linux-headers (6.5-r0) (2/29) Installing libaio (0.3.113-r2) (3/29) Installing libaio-dev (0.3.113-r2) (4/29) Installing libblkid (2.39.3-r0) (5/29) Installing libuuid (2.39.3-r0) (6/29) Installing libfdisk (2.39.3-r0) (7/29) Installing libmount (2.39.3-r0) (8/29) Installing libsmartcols (2.39.3-r0) (9/29) Installing util-linux-dev (2.39.3-r0) (10/29) Installing libbz2 (1.0.8-r6) (11/29) Installing libffi (3.4.4-r3) (12/29) Installing gdbm (1.23-r1) (13/29) Installing xz-libs (5.4.5-r0) (14/29) Installing mpdecimal (2.5.1-r2) (15/29) Installing libpanelw (6.4_p20231125-r0) (16/29) Installing readline (8.2.7-r0) (17/29) Installing sqlite-libs (3.44.2-r0) (18/29) Installing python3 (3.11.6-r1) (19/29) Installing python3-pycache-pyc0 (3.11.6-r1) (20/29) Installing pyc (3.11.6-r1) (21/29) Installing python3-pyc (3.11.6-r1) (22/29) Installing python3-dev (3.11.6-r1) (23/29) Installing py3-parsing (3.1.1-r0) (24/29) Installing py3-parsing-pyc (3.1.1-r0) (25/29) Installing py3-packaging (23.2-r0) (26/29) Installing py3-packaging-pyc (23.2-r0) (27/29) Installing py3-setuptools (68.2.2-r0) (28/29) Installing py3-setuptools-pyc (68.2.2-r0) (29/29) Installing .makedepends-sanlock (20231218.152625) Executing busybox-1.36.1-r17.trigger OK: 449 MiB in 130 packages >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Cleaning up tmpdir >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-3.9.0.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 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.9.0.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 12 270k 12 33566 0 0 48209 0 0:00:05 --:--:-- 0:00:05 49653 100 270k 100 270k 0 0 294k 0 --:--:-- --:--:-- --:--:-- 301k >>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-3.9.0.tar.gz >>> sanlock: Checking sha512sums... sanlock-3.9.0.tar.gz: OK c23.patch: OK sanlock.initd: OK sanlock.confd: OK wdmd.initd: OK wdmd.confd: OK >>> sanlock: Unpacking /var/cache/distfiles/sanlock-3.9.0.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. fatal: not a git repository (or any of the parent directories): .git make -C wdmd make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/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.0\" -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.0\" -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.0/wdmd' make -C src make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/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.0\" -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.0\" -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.0/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.9.0/" 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:584:34: warning: cast increases required alignment of target type [-Wcast-align] 584 | 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:1414:26: warning: cast increases required alignment of target type [-Wcast-align] 1414 | 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; | ^ 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.0\" -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; | ^ 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); | ^~~~~~~~~~~~ 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:584:34: warning: cast increases required alignment of target type [-Wcast-align] 584 | 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:1414:26: warning: cast increases required alignment of target type [-Wcast-align] 1414 | 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); | ^ 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:2688:9: note: in expansion of macro 'list_for_each_entry' 2688 | 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:2688:9: note: in expansion of macro 'list_for_each_entry' 2688 | 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:2690:9: note: in expansion of macro 'list_for_each_entry' 2690 | 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:2690:9: note: in expansion of macro 'list_for_each_entry' 2690 | 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:2692:9: note: in expansion of macro 'list_for_each_entry' 2692 | 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:2692:9: note: in expansion of macro 'list_for_each_entry' 2692 | 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.0/src' make -C python make -C reset make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/python' python3 setup.py build make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/reset' 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.0\" -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 -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.0\" -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 /usr/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '3.9.0 ' to '3.9.0' self.metadata.version = self._normalize_version( running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-cpython-311 gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fstack-clash-protection -Wformat -Werror=format-security -fPIC -I../src -I/usr/include/python3.11 -c sanlock.c -o build/temp.linux-riscv64-cpython-311/sanlock.o -std=c99 make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/reset' creating build/lib.linux-riscv64-cpython-311 gcc -shared -Wl,--as-needed,-O1,--sort-common -Os -fstack-clash-protection -Wformat -Werror=format-security build/temp.linux-riscv64-cpython-311/sanlock.o -L../src -L/usr/lib -lsanlock -o build/lib.linux-riscv64-cpython-311/sanlock.cpython-311-riscv64-linux-musl.so make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/python' >>> sanlock: Entering fakeroot... fatal: not a git repository (or any of the parent directories): .git for dir in wdmd src python reset; do \ make -C $dir install; \ done make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/wdmd' /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/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 /usr/bin/install -c -m 644 wdmd.h /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include /usr/bin/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.0/wdmd' make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/src' /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/include /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8 /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib/pkgconfig /usr/bin/install -c -m 755 sanlock /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib /usr/bin/install -c -m 644 libsanlock.pc /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/lib/pkgconfig /usr/bin/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 /usr/bin/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 /usr/bin/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.0/src' make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/python' python3 setup.py install --root=/home/buildozer/aports/main/sanlock/pkg/sanlock /usr/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '3.9.0 ' to '3.9.0' self.metadata.version = self._normalize_version( running install /usr/lib/python3.11/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.11 creating /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.11/site-packages copying build/lib.linux-riscv64-cpython-311/sanlock.cpython-311-riscv64-linux-musl.so -> /home/buildozer/aports/main/sanlock/pkg/sanlock/usr/lib/python3.11/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.11/site-packages/sanlock_python-3.9.0-py3.11.egg-info running install_scripts make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/python' make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-3.9.0/reset' /usr/bin/install -d /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /home/buildozer/aports/main/sanlock/pkg/sanlock//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.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.0/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 >>> 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.11' -> '/home/buildozer/aports/main/sanlock/pkg/py3-sanlock/usr/lib/python3.11' >>> 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.0-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.11 so:libc.musl-riscv64.so.1 so:libsanlock.so.1 >>> py3-sanlock*: Package size: 80.0 KB >>> py3-sanlock*: Compressing data... >>> py3-sanlock*: Create checksum... >>> py3-sanlock*: Create py3-sanlock-3.9.0-r0.apk >>> sanlock-dev*: Tracing dependencies... pkgconfig sanlock=3.9.0-r0 >>> sanlock-dev*: Package size: 80.0 KB >>> sanlock-dev*: Compressing data... >>> sanlock-dev*: Create checksum... >>> sanlock-dev*: Create sanlock-dev-3.9.0-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.9.0-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.0-r0.apk >>> sanlock*: Tracing dependencies... /bin/sh so:libaio.so.1 so:libblkid.so.1 so:libc.musl-riscv64.so.1 so:libuuid.so.1 >>> sanlock*: Package size: 468.0 KB >>> sanlock*: Compressing data... >>> sanlock*: Create checksum... >>> sanlock*: Create sanlock-3.9.0-r0.apk >>> sanlock: Build complete at Mon, 18 Dec 2023 15:29:03 +0000 elapsed time 0h 2m 42s >>> sanlock: Cleaning up srcdir >>> sanlock: Cleaning up pkgdir >>> sanlock: Uninstalling dependencies... (1/29) Purging .makedepends-sanlock (20231218.152625) (2/29) Purging linux-headers (6.5-r0) (3/29) Purging libaio-dev (0.3.113-r2) (4/29) Purging libaio (0.3.113-r2) (5/29) Purging util-linux-dev (2.39.3-r0) (6/29) Purging libfdisk (2.39.3-r0) (7/29) Purging libmount (2.39.3-r0) (8/29) Purging libsmartcols (2.39.3-r0) (9/29) Purging libuuid (2.39.3-r0) (10/29) Purging python3-dev (3.11.6-r1) (11/29) Purging py3-setuptools-pyc (68.2.2-r0) (12/29) Purging py3-setuptools (68.2.2-r0) (13/29) Purging py3-packaging-pyc (23.2-r0) (14/29) Purging py3-packaging (23.2-r0) (15/29) Purging py3-parsing-pyc (3.1.1-r0) (16/29) Purging py3-parsing (3.1.1-r0) (17/29) Purging libblkid (2.39.3-r0) (18/29) Purging python3-pyc (3.11.6-r1) (19/29) Purging python3-pycache-pyc0 (3.11.6-r1) (20/29) Purging pyc (3.11.6-r1) (21/29) Purging python3 (3.11.6-r1) (22/29) Purging gdbm (1.23-r1) (23/29) Purging libbz2 (1.0.8-r6) (24/29) Purging libffi (3.4.4-r3) (25/29) Purging libpanelw (6.4_p20231125-r0) (26/29) Purging mpdecimal (2.5.1-r2) (27/29) Purging readline (8.2.7-r0) (28/29) Purging sqlite-libs (3.44.2-r0) (29/29) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r17.trigger OK: 227 MiB in 101 packages >>> sanlock: Updating the main/riscv64 repository index... >>> sanlock: Signing the index...