>>> sanlock: Building main/sanlock 3.9.5-r0 (using abuild 3.14.0_rc2-r3) started Tue, 15 Oct 2024 07:00:58 +0000
>>> sanlock: Validating /home/buildozer/aports/main/sanlock/APKBUILD...
>>> WARNING: sanlock: Setting the maintainer with a comment is deprecated. Use maintainer="Guy Godfroy <guy.godfroy@gugod.fr>" instead
>>> sanlock: Analyzing dependencies...
>>> sanlock: Installing for build: build-base linux-headers libaio-dev util-linux-dev python3 python3-dev py3-setuptools
(1/61) Installing linux-headers (6.6-r1)
(2/61) Installing libaio (0.3.113-r2)
(3/61) Installing libaio-dev (0.3.113-r2)
(4/61) Installing libeconf (0.6.3-r0)
(5/61) Installing libblkid (2.40.2-r3)
(6/61) Installing libuuid (2.40.2-r3)
(7/61) Installing libfdisk (2.40.2-r3)
(8/61) Installing libmount (2.40.2-r3)
(9/61) Installing libsmartcols (2.40.2-r3)
(10/61) Installing sqlite (3.46.1-r0)
(11/61) Installing sqlite-libs (3.46.1-r0)
(12/61) Installing sqlite-dev (3.46.1-r0)
(13/61) Installing util-linux (2.40.2-r3)
(14/61) Installing dmesg (2.40.2-r3)
(15/61) Installing setarch (2.40.2-r3)
(16/61) Installing skalibs-libs (2.14.3.0-r0)
(17/61) Installing utmps-libs (0.1.2.3-r1)
(18/61) Installing util-linux-misc (2.40.2-r3)
(19/61) Installing linux-pam (1.6.1-r1)
(20/61) Installing runuser (2.40.2-r3)
(21/61) Installing mount (2.40.2-r3)
(22/61) Installing losetup (2.40.2-r3)
(23/61) Installing hexdump (2.40.2-r3)
(24/61) Installing uuidgen (2.40.2-r3)
(25/61) Installing blkid (2.40.2-r3)
(26/61) Installing sfdisk (2.40.2-r3)
(27/61) Installing mcookie (2.40.2-r3)
(28/61) Installing agetty (2.40.2-r3)
(29/61) Installing wipefs (2.40.2-r3)
(30/61) Installing cfdisk (2.40.2-r3)
(31/61) Installing umount (2.40.2-r3)
(32/61) Installing flock (2.40.2-r3)
(33/61) Installing lsblk (2.40.2-r3)
(34/61) Installing libcap-ng (0.8.5-r0)
(35/61) Installing setpriv (2.40.2-r3)
(36/61) Installing lscpu (2.40.2-r3)
(37/61) Installing logger (2.40.2-r3)
(38/61) Installing partx (2.40.2-r3)
(39/61) Installing fstrim (2.40.2-r3)
(40/61) Installing findmnt (2.40.2-r3)
(41/61) Installing util-linux-dev (2.40.2-r3)
(42/61) Installing libbz2 (1.0.8-r6)
(43/61) Installing libffi (3.4.6-r0)
(44/61) Installing gdbm (1.24-r0)
(45/61) Installing xz-libs (5.6.3-r0)
(46/61) Installing mpdecimal (4.0.0-r0)
(47/61) Installing libpanelw (6.5_p20241006-r0)
(48/61) Installing python3 (3.12.7-r0)
(49/61) Installing python3-pycache-pyc0 (3.12.7-r0)
(50/61) Installing pyc (3.12.7-r0)
(51/61) Installing python3-pyc (3.12.7-r0)
(52/61) Installing python3-dev (3.12.7-r0)
(53/61) Installing py3-parsing (3.1.4-r0)
(54/61) Installing py3-parsing-pyc (3.1.4-r0)
(55/61) Installing py3-packaging (24.1-r0)
(56/61) Installing py3-packaging-pyc (24.1-r0)
(57/61) Installing py3-setuptools (70.3.0-r0)
(58/61) Installing py3-setuptools-pyc (70.3.0-r0)
(59/61) Installing .makedepends-sanlock (20241015.070058)
(60/61) Installing util-linux-openrc (2.40.2-r3)
(61/61) Installing agetty-openrc (0.55.1-r2)
Executing busybox-1.36.1-r32.trigger
OK: 474 MiB in 162 packages
>>> sanlock: Cleaning up srcdir
>>> sanlock: Cleaning up pkgdir
>>> sanlock: Cleaning up tmpdir
>>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-sanlock-3.9.5.tar.gz
>>> sanlock: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sanlock-sanlock-3.9.5.tar.gz
>>> sanlock: Checking sha512sums...
sanlock-sanlock-3.9.5.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/edge/sanlock-sanlock-3.9.5.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-sanlock-3.9.5/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.5\" -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.5\" -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-sanlock-3.9.5/wdmd'
make -C src
make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/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.5\" -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.5\" -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.5/" libsanlock.pc.in > libsanlock.pc
sed -e "s/@VERSION@/3.9.5/" 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:644:34: warning: cast increases required alignment of target type [-Wcast-align]
  644 |                         bk_end = (struct paxos_dblock *)(iobuf + ((2 + q)*sector_size));
      |                                  ^
paxos_lease.c:869:34: warning: cast increases required alignment of target type [-Wcast-align]
  869 |                         bk_end = (struct paxos_dblock *)(iobuf + ((2 + q)*sector_size));
      |                                  ^
paxos_lease.c: In function '_lease_read_one':
paxos_lease.c:1541:26: warning: cast increases required alignment of target type [-Wcast-align]
 1541 |                 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.5\" -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:232:33: note: in expansion of macro 'log_debug'
  232 |                                 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:259:41: note: in expansion of macro 'log_debug'
  259 |                                         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:403:30: warning: cast increases required alignment of target type [-Wcast-align]
  403 |                 leader_end = (struct leader_record *)(buf + (i * sp->sector_size));
      |                              ^
lockspace.c: In function 'get_lockspaces':
lockspace.c:1501:14: warning: cast increases required alignment of target type [-Wcast-align]
 1501 |         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:1505:17: note: in expansion of macro 'list_for_each_entry'
 1505 |                 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:1505:17: note: in expansion of macro 'list_for_each_entry'
 1505 |                 list_for_each_entry(sp, heads[i], list) {
      |                 ^~~~~~~~~~~~~~~~~~~
lockspace.c: In function 'get_hosts':
lockspace.c:1661:16: warning: cast increases required alignment of target type [-Wcast-align]
 1661 |         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:2167:9: note: in expansion of macro 'list_for_each_entry_safe'
 2167 |         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:2167:9: note: in expansion of macro 'list_for_each_entry_safe'
 2167 |         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:2167:9: note: in expansion of macro 'list_for_each_entry_safe'
 2167 |         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:851:17: note: in expansion of macro 'list_for_each_entry_safe'
  851 |                 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:851:17: note: in expansion of macro 'list_for_each_entry_safe'
  851 |                 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:851:17: note: in expansion of macro 'list_for_each_entry_safe'
  851 |                 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:993:30: note: in expansion of macro 'list_first_entry'
  993 |                         ca = list_first_entry(&pool.work_data, struct cmd_args, list);
      |                              ^~~~~~~~~~~~~~~~
In file included from main.c:47:
main.c: In function 'setup_host_name':
main.c:1642:34: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
 1642 |                         log_warn("our_host_name shortened from config %s len %ld to: %s",
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1643 |                                   com.our_host_name_opt, strlen(com.our_host_name_opt), our_host_name_global);
      |                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          size_t {aka unsigned int}
log.h:43:82: note: in definition of macro 'log_warn'
   43 | #define log_warn(fmt, args...)                log_level(0, 0, NULL, LOG_WARNING, fmt, ##args)
      |                                                                                  ^~~
main.c:1642:80: note: format string is defined here
 1642 |                         log_warn("our_host_name shortened from config %s len %ld to: %s",
      |                                                                              ~~^
      |                                                                                |
      |                                                                                long int
      |                                                                              %d
paxos_lease.c: In function 'run_ballot':
paxos_lease.c:644:34: warning: cast increases required alignment of target type [-Wcast-align]
  644 |                         bk_end = (struct paxos_dblock *)(iobuf + ((2 + q)*sector_size));
      |                                  ^
paxos_lease.c:869:34: warning: cast increases required alignment of target type [-Wcast-align]
  869 |                         bk_end = (struct paxos_dblock *)(iobuf + ((2 + q)*sector_size));
      |                                  ^
paxos_lease.c: In function '_lease_read_one':
paxos_lease.c:1541:26: warning: cast increases required alignment of target type [-Wcast-align]
 1541 |                 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:87:9: note: in expansion of macro 'list_for_each_entry_reverse'
   87 |         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:87:9: note: in expansion of macro 'list_for_each_entry_reverse'
   87 |         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:111:9: note: in expansion of macro 'list_for_each_entry'
  111 |         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:111:9: note: in expansion of macro 'list_for_each_entry'
  111 |         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:141:9: note: in expansion of macro 'list_for_each_entry'
  141 |         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:141:9: note: in expansion of macro 'list_for_each_entry'
  141 |         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:142:17: note: in expansion of macro 'list_for_each_entry'
  142 |                 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:142:17: note: in expansion of macro 'list_for_each_entry'
  142 |                 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:146:9: note: in expansion of macro 'list_for_each_entry'
  146 |         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:146:9: note: in expansion of macro 'list_for_each_entry'
  146 |         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:147:17: note: in expansion of macro 'list_for_each_entry'
  147 |                 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:147:17: note: in expansion of macro 'list_for_each_entry'
  147 |                 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:151:9: note: in expansion of macro 'list_for_each_entry'
  151 |         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:151:9: note: in expansion of macro 'list_for_each_entry'
  151 |         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:154:9: note: in expansion of macro 'list_for_each_entry'
  154 |         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:154:9: note: in expansion of macro 'list_for_each_entry'
  154 |         list_for_each_entry(r, &resources_orphan, list)
      |         ^~~~~~~~~~~~~~~~~~~
resource.c: In function 'read_resource_owners':
resource.c:255:26: warning: cast increases required alignment of target type [-Wcast-align]
  255 |                 mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET);
      |                          ^
resource.c:289:16: warning: cast increases required alignment of target type [-Wcast-align]
  289 |         host = (struct sanlk_host *)hosts_buf;
      |                ^
resource.c:307:26: warning: cast increases required alignment of target type [-Wcast-align]
  307 |                 mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET);
      |                          ^
resource.c: In function 'check_mode_block':
resource.c:521:18: warning: cast increases required alignment of target type [-Wcast-align]
  521 |         mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET);
      |                  ^
resource.c: In function 'read_mode_block':
resource.c:722:26: warning: cast increases required alignment of target type [-Wcast-align]
  722 |                 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:867:9: note: in expansion of macro 'list_for_each_entry'
  867 |         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:867:9: note: in expansion of macro 'list_for_each_entry'
  867 |         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:901:9: note: in expansion of macro 'list_for_each_entry'
  901 |         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:901:9: note: in expansion of macro 'list_for_each_entry'
  901 |         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:1362:9: note: in expansion of macro 'list_for_each_entry'
 1362 |         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:1362:9: note: in expansion of macro 'list_for_each_entry'
 1362 |         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:1382:9: note: in expansion of macro 'list_for_each_entry'
 1382 |         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:1382:9: note: in expansion of macro 'list_for_each_entry'
 1382 |         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:1386:9: note: in expansion of macro 'list_for_each_entry'
 1386 |         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:1386:9: note: in expansion of macro 'list_for_each_entry'
 1386 |         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:1390:9: note: in expansion of macro 'list_for_each_entry'
 1390 |         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:1390:9: note: in expansion of macro 'list_for_each_entry'
 1390 |         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:1394:9: note: in expansion of macro 'list_for_each_entry'
 1394 |         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:1394:9: note: in expansion of macro 'list_for_each_entry'
 1394 |         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:1411:9: note: in expansion of macro 'list_for_each_entry'
 1411 |         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:1411:9: note: in expansion of macro 'list_for_each_entry'
 1411 |         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:1737:9: note: in expansion of macro 'list_for_each_entry'
 1737 |         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:1737:9: note: in expansion of macro 'list_for_each_entry'
 1737 |         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:2370:9: note: in expansion of macro 'list_for_each_entry'
 2370 |         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:2370:9: note: in expansion of macro 'list_for_each_entry'
 2370 |         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:2399:9: note: in expansion of macro 'list_for_each_entry'
 2399 |         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:2399:9: note: in expansion of macro 'list_for_each_entry'
 2399 |         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:2625:16: note: in expansion of macro 'list_first_entry'
 2625 |         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:2754:9: note: in expansion of macro 'list_for_each_entry_safe'
 2754 |         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:2754:9: note: in expansion of macro 'list_for_each_entry_safe'
 2754 |         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:2754:9: note: in expansion of macro 'list_for_each_entry_safe'
 2754 |         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:2780:9: note: in expansion of macro 'list_for_each_entry_safe'
 2780 |         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:2780:9: note: in expansion of macro 'list_for_each_entry_safe'
 2780 |         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:2780:9: note: in expansion of macro 'list_for_each_entry_safe'
 2780 |         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:2727:9: note: in expansion of macro 'list_for_each_entry'
 2727 |         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:2727:9: note: in expansion of macro 'list_for_each_entry'
 2727 |         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:2729:9: note: in expansion of macro 'list_for_each_entry'
 2729 |         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:2729:9: note: in expansion of macro 'list_for_each_entry'
 2729 |         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:2731:9: note: in expansion of macro 'list_for_each_entry'
 2731 |         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:2731:9: note: in expansion of macro 'list_for_each_entry'
 2731 |         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:230:22: warning: cast increases required alignment of target type [-Wcast-align]
  230 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c: In function 'print_p':
client_cmd.c:253:22: warning: cast increases required alignment of target type [-Wcast-align]
  253 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c: In function 'find_type':
client_cmd.c:279:22: warning: cast increases required alignment of target type [-Wcast-align]
  279 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c: In function 'print_r':
client_cmd.c:300:22: warning: cast increases required alignment of target type [-Wcast-align]
  300 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c:307:23: warning: cast increases required alignment of target type [-Wcast-align]
  307 |                 res = (struct sanlk_resource *)bin;
      |                       ^
client_cmd.c: In function 'print_r_by_p':
client_cmd.c:331:22: warning: cast increases required alignment of target type [-Wcast-align]
  331 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c: In function 'print_r_by_s':
client_cmd.c:357:22: warning: cast increases required alignment of target type [-Wcast-align]
  357 |                 st = (struct sanlk_state *)buf;
      |                      ^
client_cmd.c: In function 'recv_bin':
client_cmd.c:381:23: warning: cast increases required alignment of target type [-Wcast-align]
  381 |                 res = (struct sanlk_resource *)bin;
      |                       ^
client_cmd.c: In function 'sanlock_status':
client_cmd.c:430:30: warning: cast increases required alignment of target type [-Wcast-align]
  430 |                         st = (struct sanlk_state *)buf;
      |                              ^
client_cmd.c: In function 'sanlock_host_status':
client_cmd.c:606:22: warning: cast increases required alignment of target type [-Wcast-align]
  606 |                 ls = (struct sanlk_lockspace *)bin;
      |                      ^
make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/src'
make -C python
make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/python'
python3 setup.py build 
/usr/lib/python3.12/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '3.9.5
' to '3.9.5'
  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-sanlock-3.9.5/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-sanlock-3.9.5/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-sanlock-3.9.5/wdmd'
make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/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-sanlock-3.9.5/src'
make[1]: Entering directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/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.5
' to '3.9.5'
  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.5-py3.12.egg-info
running install_scripts
make[1]: Leaving directory '/home/buildozer/aports/main/sanlock/src/sanlock-sanlock-3.9.5/python'
>>> sanlock-dev*: Running split function dev...
'usr/include' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-dev/usr/include'
'usr/lib/pkgconfig' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-dev/usr/lib/pkgconfig'
'usr/lib/libsanlock.so' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-dev/usr/lib/libsanlock.so'
'usr/lib/libsanlock_client.so' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-dev/usr/lib/libsanlock_client.so'
'usr/lib/libwdmd.so' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-dev/usr/lib/libwdmd.so'
>>> sanlock-dev*: Preparing subpackage sanlock-dev...
>>> sanlock-dev*: Stripping binaries
>>> sanlock-dev*: Running postcheck for sanlock-dev
>>> sanlock-doc*: Running split function doc...
'usr/share/man' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-doc/usr/share/man'
>>> sanlock-doc*: Preparing subpackage sanlock-doc...
>>> sanlock-doc*: Running postcheck for sanlock-doc
>>> sanlock-openrc*: Running split function openrc...
'etc/conf.d' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-openrc/etc/conf.d'
'etc/init.d' -> '/home/buildozer/aports/main/sanlock/pkg/sanlock-openrc/etc/init.d'
>>> sanlock-openrc*: Preparing subpackage sanlock-openrc...
>>> sanlock-openrc*: Running postcheck for sanlock-openrc
>>> py3-sanlock*: Running split function py3...
'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.5-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-armhf.so.1
	so:libsanlock.so.1
>>> py3-sanlock*: Package size: 38.2 KB
>>> py3-sanlock*: Compressing data...
>>> py3-sanlock*: Create checksum...
>>> py3-sanlock*: Create py3-sanlock-3.9.5-r0.apk
>>> sanlock-dev*: Tracing dependencies...
	pkgconfig
	sanlock=3.9.5-r0
>>> sanlock-dev*: Package size: 36.5 KB
>>> sanlock-dev*: Compressing data...
>>> sanlock-dev*: Create checksum...
>>> sanlock-dev*: Create sanlock-dev-3.9.5-r0.apk
>>> sanlock-doc*: Tracing dependencies...
>>> sanlock-doc*: Package size: 15.9 KB
>>> sanlock-doc*: Compressing data...
>>> sanlock-doc*: Create checksum...
>>> sanlock-doc*: Create sanlock-doc-3.9.5-r0.apk
>>> sanlock-openrc*: Tracing dependencies...
>>> sanlock-openrc*: Package size: 393.0 B
>>> sanlock-openrc*: Compressing data...
>>> sanlock-openrc*: Create checksum...
>>> sanlock-openrc*: Create sanlock-openrc-3.9.5-r0.apk
>>> sanlock*: Tracing dependencies...
	/bin/sh
	so:libaio.so.1
	so:libblkid.so.1
	so:libc.musl-armhf.so.1
	so:libgcc_s.so.1
	so:libuuid.so.1
>>> sanlock*: Package size: 458.9 KB
>>> sanlock*: Compressing data...
>>> sanlock*: Create checksum...
>>> sanlock*: Create sanlock-3.9.5-r0.apk
>>> sanlock: Build complete at Tue, 15 Oct 2024 07:01:18 +0000 elapsed time 0h 0m 20s
>>> sanlock: Cleaning up srcdir
>>> sanlock: Cleaning up pkgdir
>>> sanlock: Uninstalling dependencies...
(1/61) Purging .makedepends-sanlock (20241015.070058)
(2/61) Purging linux-headers (6.6-r1)
(3/61) Purging libaio-dev (0.3.113-r2)
(4/61) Purging libaio (0.3.113-r2)
(5/61) Purging util-linux-dev (2.40.2-r3)
(6/61) Purging python3-dev (3.12.7-r0)
(7/61) Purging py3-setuptools-pyc (70.3.0-r0)
(8/61) Purging py3-setuptools (70.3.0-r0)
(9/61) Purging py3-packaging-pyc (24.1-r0)
(10/61) Purging py3-packaging (24.1-r0)
(11/61) Purging py3-parsing-pyc (3.1.4-r0)
(12/61) Purging py3-parsing (3.1.4-r0)
(13/61) Purging python3-pyc (3.12.7-r0)
(14/61) Purging python3-pycache-pyc0 (3.12.7-r0)
(15/61) Purging pyc (3.12.7-r0)
(16/61) Purging python3 (3.12.7-r0)
(17/61) Purging agetty-openrc (0.55.1-r2)
(18/61) Purging agetty (2.40.2-r3)
(19/61) Purging blkid (2.40.2-r3)
(20/61) Purging cfdisk (2.40.2-r3)
(21/61) Purging dmesg (2.40.2-r3)
(22/61) Purging findmnt (2.40.2-r3)
(23/61) Purging flock (2.40.2-r3)
(24/61) Purging fstrim (2.40.2-r3)
(25/61) Purging gdbm (1.24-r0)
(26/61) Purging hexdump (2.40.2-r3)
(27/61) Purging libbz2 (1.0.8-r6)
(28/61) Purging libffi (3.4.6-r0)
(29/61) Purging libpanelw (6.5_p20241006-r0)
(30/61) Purging logger (2.40.2-r3)
(31/61) Purging losetup (2.40.2-r3)
(32/61) Purging lsblk (2.40.2-r3)
(33/61) Purging lscpu (2.40.2-r3)
(34/61) Purging mcookie (2.40.2-r3)
(35/61) Purging mount (2.40.2-r3)
(36/61) Purging mpdecimal (4.0.0-r0)
(37/61) Purging partx (2.40.2-r3)
(38/61) Purging runuser (2.40.2-r3)
(39/61) Purging setpriv (2.40.2-r3)
(40/61) Purging sfdisk (2.40.2-r3)
(41/61) Purging sqlite-dev (3.46.1-r0)
(42/61) Purging sqlite (3.46.1-r0)
(43/61) Purging umount (2.40.2-r3)
(44/61) Purging util-linux-misc (2.40.2-r3)
(45/61) Purging setarch (2.40.2-r3)
(46/61) Purging util-linux-openrc (2.40.2-r3)
(47/61) Purging uuidgen (2.40.2-r3)
(48/61) Purging wipefs (2.40.2-r3)
(49/61) Purging xz-libs (5.6.3-r0)
(50/61) Purging libfdisk (2.40.2-r3)
(51/61) Purging libmount (2.40.2-r3)
(52/61) Purging libblkid (2.40.2-r3)
(53/61) Purging libcap-ng (0.8.5-r0)
(54/61) Purging libeconf (0.6.3-r0)
(55/61) Purging libsmartcols (2.40.2-r3)
(56/61) Purging libuuid (2.40.2-r3)
(57/61) Purging linux-pam (1.6.1-r1)
(58/61) Purging utmps-libs (0.1.2.3-r1)
(59/61) Purging skalibs-libs (2.14.3.0-r0)
(60/61) Purging util-linux (2.40.2-r3)
(61/61) Purging sqlite-libs (3.46.1-r0)
Executing busybox-1.36.1-r32.trigger
OK: 330 MiB in 101 packages
>>> sanlock: Updating the main/armhf repository index...
>>> sanlock: Signing the index...