Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/dist-an8_4-loongarch64-build-35428-16614/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/sanlock-3.8.3-3.0.1.an8_4.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/dist-an8_4-loongarch64-build-35428-16614/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/sanlock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PHtC33 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.8.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.8.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1001 (0001-sanlock-anolis-modify-vendor-url.patch):' Patch #1001 (0001-sanlock-anolis-modify-vendor-url.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file fence_sanlock/fence_sanlock.in + echo 'Patch #0 (sanlock-do-not-close-connection-in-error-handling.patch):' Patch #0 (sanlock-do-not-close-connection-in-error-handling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sanlock-do-not-close-connection-in-error-handling.patch --fuzz=0 patching file src/main.c patching file src/sanlock_resource.h patching file tests/Makefile patching file tests/sanlk_mixmsg.c Patch #1 (python-Add-inquire.patch): + echo 'Patch #1 (python-Add-inquire.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python-Add-inquire.patch --fuzz=0 patching file python/sanlock.c patching file tests/python_test.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GMRmLW + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.3 + CFLAGS='-O2 -g' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/wdmd' cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -fPIC -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 cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -fPIE -DPIE -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/wdmd' + CFLAGS='-O2 -g' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/src' cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -fPIC -Wl,-z,relro -pie -shared -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c sizeflags.c delta_lease.c paxos_lease.c rindex.c direct.c task.c timeouts.c direct_lib.c monotime.c env.c -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function 'find_callback_slot': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:561:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:686:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:1002:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); ^ paxos_lease.c:768:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:12: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); ^ rindex.c: In function 'search_entries': rindex.c:159:12: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); ^ rindex.c: In function 'read_rindex_header': rindex.c:316:11: warning: cast increases required alignment of target type [-Wcast-align] rh_end = (struct rindex_header *)iobuf; ^ rindex.c: In function 'rindex_lookup': rindex.c:825:12: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); ^ rindex.c:855:12: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); ^ direct.c: In function 'direct_read_leader_sizes': direct.c:64:11: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c: In function 'direct_dump': direct.c:714:13: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:719:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sector_size)); ^ direct.c:751:13: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:767:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sector_size); ^ direct.c:776:33: warning: cast increases required alignment of target type [-Wcast-align] struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); ^ direct.c:779:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); ^ direct.c:803:13: warning: cast increases required alignment of target type [-Wcast-align] rh_end = (struct rindex_header *)data; ^ direct.c:825:15: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); ^ direct.c: In function 'direct_next_free': direct.c:911:12: warning: cast increases required alignment of target type [-Wcast-align] 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ task.c:123:27: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -fPIC -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -fPIE -DPIE -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:11: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c: In function 'direct_dump': direct.c:714:13: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:719:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sector_size)); ^ direct.c:751:13: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:767:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sector_size); ^ direct.c:776:33: warning: cast increases required alignment of target type [-Wcast-align] struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); ^ direct.c:779:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); ^ direct.c:803:13: warning: cast increases required alignment of target type [-Wcast-align] rh_end = (struct rindex_header *)data; ^ direct.c:825:15: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); ^ direct.c: In function 'direct_next_free': direct.c:911:12: warning: cast increases required alignment of target type [-Wcast-align] 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:561:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ diskio.c: In function 'do_linux_aio': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:686:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ diskio.c: In function 'read_iobuf_reap': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ diskio.c:1002:26: note: in expansion of macro 'container_of' struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); ^~~~~~~~~~~~ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function '_search_space': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:61:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, heads[i], list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:61:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, heads[i], list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'find_lockspace_id': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:88:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:88:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function '_lockspace_info': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:111:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:111:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'lockspace_disk': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:138:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:138:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_status_set_bit': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:198:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:198:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'host_info': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:228:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:228:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'check_other_leases': lockspace.c:322:16: warning: cast increases required alignment of target type [-Wcast-align] leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1278:7: warning: cast increases required alignment of target type [-Wcast-align] ls = (struct sanlk_lockspace *)buf; ^ In file included from sanlock_internal.h:32, from lockspace.c:28: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:1282:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, heads[i], list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:1282:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, heads[i], list) { ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function 'get_hosts': lockspace.c:1436:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)buf; ^ In file included from sanlock_internal.h:32, from lockspace.c:28: lockspace.c: In function 'free_lockspaces': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sp, safe, &spaces_rem, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sp, safe, &spaces_rem, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ lockspace.c:1940:2: note: in expansion of macro 'list_for_each_entry_safe' 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sp, safe, &spaces, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sp, safe, &spaces, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ main.c:836:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sp, safe, &spaces, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'thread_pool_worker': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:362:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ main.c:944:9: note: in expansion of macro 'list_first_entry' ca = list_first_entry(&pool.work_data, struct cmd_args, list); ^~~~~~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:555:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); ^ paxos_lease.c:768:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); ^ paxos_lease.c: In function '_lease_read_one': paxos_lease.c:1385:12: warning: cast increases required alignment of target type [-Wcast-align] 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ task.c:123:27: note: in expansion of macro 'container_of' 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:443:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->prev, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:85:2: note: in expansion of macro 'list_for_each_entry_reverse' list_for_each_entry_reverse(rtmp, &resources_free, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:445:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.prev, typeof(*pos), member)) ^~~~~~~~~~ resource.c:85:2: note: in expansion of macro 'list_for_each_entry_reverse' list_for_each_entry_reverse(rtmp, &resources_free, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'get_free_resource': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:109:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_free, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:109:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_free, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'send_state_resources': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:139:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:139:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:140:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(token, &r->tokens, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:140:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(token, &r->tokens, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:144:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_add, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:144:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_add, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:145:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(token, &r->tokens, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:145:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(token, &r->tokens, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:149:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_rem, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:149:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_rem, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:152:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:152:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'read_resource_owners': resource.c:253:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); ^ resource.c:287:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)hosts_buf; ^ resource.c:305:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); ^ resource.c: In function 'check_mode_block': resource.c:401:11: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET); ^ resource.c: In function 'read_mode_block': resource.c:571:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); ^ In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function 'res_set_lvb': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:708:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:708:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'res_get_lvb': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:742:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:742:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1188:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, head, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1188:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, head, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'lockspace_is_used': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1208:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1208:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1212:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_add, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1212:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_add, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1216:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_rem, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1216:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_rem, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1220:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1220:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'resource_orphan_count': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1237:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1237:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'convert_token': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1563:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tk, &r->tokens, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1563:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(tk, &r->tokens, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'set_resource_examine': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2192:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:2192:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &resources_held, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_resource_thread': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2221:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, head, list) { ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:2221:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, head, list) { ^~~~~~~~~~~~~~~~~~~ resource.c: In function 'find_host_event': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:362:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ resource.c:2447:9: note: in expansion of macro 'list_first_entry' return list_first_entry(&host_events, struct recv_he, list); ^~~~~~~~~~~~~~~~ resource.c: In function 'release_orphan': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ resource.c:2576:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2576:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ resource.c:2576:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function 'purge_resource_list': list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:506:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ resource.c:2602:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, head, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:507:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2602:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, head, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:509:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ resource.c:2602:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, head, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ rindex.c: In function 'search_entries': rindex.c:159:12: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); ^ rindex.c: In function 'read_rindex_header': rindex.c:316:11: warning: cast increases required alignment of target type [-Wcast-align] rh_end = (struct rindex_header *)iobuf; ^ rindex.c: In function 'rindex_lookup': rindex.c:825:12: warning: cast increases required alignment of target type [-Wcast-align] re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); ^ rindex.c:855:12: warning: cast increases required alignment of target type [-Wcast-align] 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:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2648:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2648:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2650:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces_add, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2650:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces_add, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:432:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2652:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces_rem, list) ^~~~~~~~~~~~~~~~~~~ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:351:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:434:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2652:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(sp, &spaces_rem, list) ^~~~~~~~~~~~~~~~~~~ client_cmd.c: In function 'status_lockspace': client_cmd.c:97:31: warning: cast increases required alignment of target type [-Wcast-align] struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin; ^ client_cmd.c: In function 'status_resource': client_cmd.c:122:31: warning: cast increases required alignment of target type [-Wcast-align] struct sanlk_resource *res = (struct sanlk_resource *)bin; ^ client_cmd.c:131:10: warning: cast increases required alignment of target type [-Wcast-align] disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk)); ^ client_cmd.c: In function 'print_type': client_cmd.c:196:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'print_p': client_cmd.c:219:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'find_type': client_cmd.c:245:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'print_r': client_cmd.c:266:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c:273:9: warning: cast increases required alignment of target type [-Wcast-align] res = (struct sanlk_resource *)bin; ^ client_cmd.c: In function 'print_r_by_p': client_cmd.c:297:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'print_r_by_s': client_cmd.c:323:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'recv_bin': client_cmd.c:347:9: warning: cast increases required alignment of target type [-Wcast-align] res = (struct sanlk_resource *)bin; ^ client_cmd.c: In function 'sanlock_status': client_cmd.c:396:9: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf; ^ client_cmd.c: In function 'sanlock_host_status': client_cmd.c:572:8: warning: cast increases required alignment of target type [-Wcast-align] ls = (struct sanlk_lockspace *)bin; ^ sed -e "s/@VERSION@/3.8.3/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.3/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/src' + CFLAGS='-O2 -g' + make -C python PY_VERSION=3.6 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/python' python3 setup.py build running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-loongarch64-3.6 gcc -pthread -DNDEBUG -O2 -g -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -I../src -I/usr/include/python3.6m -c sanlock.c -o build/temp.linux-loongarch64-3.6/sanlock.o -std=c99 creating build/lib.linux-loongarch64-3.6 gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g -O2 -g build/temp.linux-loongarch64-3.6/sanlock.o -L../src -L/usr/lib64 -lsanlock -lpython3.6m -o build/lib.linux-loongarch64-3.6/sanlock.cpython-36m-loongarch64-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/python' + CFLAGS='-O2 -g' + make -C reset make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/reset' cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd cc -O2 -g -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.3\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,relro -pie sanlk_reset.c -lsanlock -lwdmd -o sanlk-reset -L. -L../src -L../wdmd make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/reset' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.t6ffhR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 + cd sanlock-3.8.3 + rm -rf /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 PY_VERSION=3.6 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/python' python3 setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6/site-packages copying build/lib.linux-loongarch64-3.6/sanlock.cpython-36m-loongarch64-linux-gnu.so -> /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6/site-packages/sanlock_python-3.8.3_-py3.6.egg-info make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/python' + make -C reset install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 make: Entering directory '/builddir/build/BUILD/sanlock-3.8.3/reset' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.8.3/reset' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib/systemd/system/wdmd.service + install -D -m 0644 init.d/sanlk-resetd.service /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//usr/lib/systemd/system/sanlk-resetd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//run/sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64//run/sanlk-resetd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.8.3-3.0.1.an8_4 --unique-debug-suffix -3.8.3-3.0.1.an8_4.loongarch64 --unique-debug-src-base sanlock-3.8.3-3.0.1.an8_4.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.8.3 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/libsanlock.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/libwdmd.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6/site-packages/sanlock.cpython-36m-loongarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/libsanlock_client.so.1.0 extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/sbin/sanlk-reset extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/sbin/sanlk-resetd extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/sbin/sanlock extracting debug info from /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/sbin/wdmd /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 1674 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/lib64/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sanlock-3.8.3-3.0.1.an8_4.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WuR6RL + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.3 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64/usr/share/doc/sanlock + exit 0 Provides: config(sanlock) = 3.8.3-3.0.1.an8_4 sanlock = 3.8.3-3.0.1.an8_4 sanlock(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh /usr/sbin/groupadd /usr/sbin/useradd Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /bin/bash ld.so.1()(64bit) ld.so.1(GLIBC_2.27)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.0)(64bit) libpthread.so.0(GLIBC_2.2)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) libsanlock.so.1()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debugsource-3.8.3-3.0.1.an8_4.loongarch64 Provides: sanlock-debugsource = 3.8.3-3.0.1.an8_4 sanlock-debugsource(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-lib-3.8.3-3.0.1.an8_4.loongarch64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.8.3-3.0.1.an8_4 sanlock-lib(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld.so.1()(64bit) ld.so.1(GLIBC_2.27)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.15)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.0)(64bit) librt.so.1()(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: python3-sanlock-3.8.3-3.0.1.an8_4.loongarch64 Provides: python3-sanlock = 3.8.3-3.0.1.an8_4 python3-sanlock(loongarch-64) = 3.8.3-3.0.1.an8_4 python3.6dist(sanlock-python) = 3.8.3 python3dist(sanlock-python) = 3.8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) libsanlock.so.1()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: sanlock-devel-3.8.3-3.0.1.an8_4.loongarch64 Provides: pkgconfig(libsanlock) = 3.8.3 pkgconfig(libsanlock_client) = 3.8.3 sanlock-devel = 3.8.3-3.0.1.an8_4 sanlock-devel(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) Processing files: sanlk-reset-3.8.3-3.0.1.an8_4.loongarch64 Provides: sanlk-reset = 3.8.3-3.0.1.an8_4 sanlk-reset(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld.so.1()(64bit) ld.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libsanlock.so.1()(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-debuginfo-3.8.3-3.0.1.an8_4.loongarch64 Provides: debuginfo(build-id) = 4535280984de6edf996ac3117abfb49869fff433 debuginfo(build-id) = 6f7ac43a08031c1d43aa24bd40c05a01b9385aa3 sanlock-debuginfo = 3.8.3-3.0.1.an8_4 sanlock-debuginfo(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(loongarch-64) = 3.8.3-3.0.1.an8_4 Processing files: sanlock-lib-debuginfo-3.8.3-3.0.1.an8_4.loongarch64 Provides: debuginfo(build-id) = 12cb2ca14a8546ce731dd7de331347885ddae967 debuginfo(build-id) = 4b68cb200425497450fa20c1904d92f9b78b7326 debuginfo(build-id) = ed7fa5031f68d2d0e82bc9bc0db8ea6fbec81bc2 sanlock-lib-debuginfo = 3.8.3-3.0.1.an8_4 sanlock-lib-debuginfo(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(loongarch-64) = 3.8.3-3.0.1.an8_4 Processing files: python3-sanlock-debuginfo-3.8.3-3.0.1.an8_4.loongarch64 Provides: debuginfo(build-id) = 98fecd3925e3082fd9e04e42aff7e5dc5bb73a63 python3-sanlock-debuginfo = 3.8.3-3.0.1.an8_4 python3-sanlock-debuginfo(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(loongarch-64) = 3.8.3-3.0.1.an8_4 Processing files: sanlk-reset-debuginfo-3.8.3-3.0.1.an8_4.loongarch64 Provides: debuginfo(build-id) = d7984ae649815d7673d128812dace5e6a8437983 debuginfo(build-id) = ee35ebd13c349b9ce3848adac424293c84418a55 sanlk-reset-debuginfo = 3.8.3-3.0.1.an8_4 sanlk-reset-debuginfo(loongarch-64) = 3.8.3-3.0.1.an8_4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(loongarch-64) = 3.8.3-3.0.1.an8_4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 Wrote: /builddir/build/RPMS/sanlock-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlk-reset-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.8.3-3.0.1.an8_4.loongarch64.rpm Wrote: /builddir/build/RPMS/sanlk-reset-debuginfo-3.8.3-3.0.1.an8_4.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Zu10zG + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.8.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sanlock-3.8.3-3.0.1.an8_4.loongarch64 + exit 0 Child return code was: 0