+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sanlock.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o8Zszx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sanlock-3.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/sanlock-3.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z9WW5L + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.5.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/wdmd' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -g -O2 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.5.0\" -Wl,-z,relro -pie -shared -fPIC -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -g -O2 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.5.0\" -Wl,-z,now -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -g -O2 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.5.0\" -lwdmd wdmd_client.c -lwdmd -lrt -o wdmd_client -L. make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/wdmd' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/src' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -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-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd -Wl,-z,relro -pie -shared -fPIC -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c delta_lease.c paxos_lease.c direct.c task.c timeouts.c direct_lib.c monotime.c In file included from sanlock_internal.h:31:0, from diskio.c:29: 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:348: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:439: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:833: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:524: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:678: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:1165:12: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); ^ direct.c: In function 'direct_dump': direct.c:476:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:483:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sd.sector_size)); ^ direct.c:527:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sd.sector_size); ^ direct.c:536: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:539:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); ^ direct.c: In function 'direct_next_free': direct.c:627:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ In file included from sanlock_internal.h:31:0, 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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -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-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -Wl,-z,relro -pie -shared -fPIC -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -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-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -fPIE -DPIE -Wl,-z,now -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. direct.c: In function 'direct_dump': direct.c:476:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ direct.c:483:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sd.sector_size)); ^ direct.c:527:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sd.sector_size); ^ direct.c:536: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:539:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); ^ direct.c: In function 'direct_next_free': direct.c:627:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data; ^ In file included from sanlock_internal.h:31:0, from diskio.c:29: 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:348: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:439: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:833: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:31:0, from lockspace.c:27: 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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:60: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:60: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:87: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:87: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:98: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:98: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:133: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:133: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:192: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:192: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:218: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:218: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:309:16: warning: cast increases required alignment of target type [-Wcast-align] leader_end = (struct leader_record *)(buf + (i * disk->sector_size)); ^ lockspace.c: In function 'get_lockspaces': lockspace.c:1155:7: warning: cast increases required alignment of target type [-Wcast-align] ls = (struct sanlk_lockspace *)buf; ^ In file included from sanlock_internal.h:31:0, from lockspace.c:27: 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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:1159: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ lockspace.c:1159: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:1313:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)buf; ^ In file included from sanlock_internal.h:31:0, from lockspace.c:27: 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:495:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ lockspace.c:1692: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:496:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ lockspace.c:1692: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:498:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ lockspace.c:1692: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:31:0, from main.c:41: 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:495:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ main.c:801: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:496:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:801: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:498:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ main.c:801: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:906:9: note: in expansion of macro 'list_first_entry' ca = list_first_entry(&pool.work_data, struct cmd_args, list); ^~~~~~~~~~~~~~~~ main.c: In function 'setup_host_name.part.2': main.c:1422:51: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 47 [-Wformat-truncation=] snprintf(our_host_name_global, NAME_ID_SIZE, "%s.%s", ^~ uuid, name.nodename); ~~~~ In file included from /usr/include/stdio.h:861:0, from main.c:11: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 66) into a destination of size 48 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ paxos_lease.c: In function 'run_ballot': paxos_lease.c:524: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:678: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:1165: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:31:0, 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:31:0, from resource.c:26: 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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:73: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:73: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:74: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:74: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:78: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:78: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:79: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:79: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:83: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:83: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:86: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:86: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:139:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); ^ resource.c:173:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)hosts_buf; ^ resource.c:191: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:287: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:389: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:31:0, 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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:503: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:503: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:537: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:537: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:978: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:978: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:998: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:998: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1002: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1002: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1006: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1006: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1010: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1010: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1027: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1027: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1321: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1321: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1899: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1899: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:1928: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ resource.c:1928: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:2155: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:495:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ resource.c:2278: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:496:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2278: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:498:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ resource.c:2278: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_orphans': 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:495:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ resource.c:2304: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:496:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ resource.c:2304: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:498:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ resource.c:2304:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(r, safe, &resources_orphan, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from sanlock_internal.h:31:0, 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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2449: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2449: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2451: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2451: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:421:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cmd.c:2453: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:423:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cmd.c:2453: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.5.0/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.5.0/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/src' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C python make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/python' python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -I../src -I/usr/include/python2.7 -c sanlock.c -o build/temp.linux-riscv64-2.7/sanlock.o creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 build/temp.linux-riscv64-2.7/sanlock.o -L../src -L/usr/lib64 -lsanlock -lpython2.7 -o build/lib.linux-riscv64-2.7/sanlock.so -fPIE -Wl,-z,relro,-z,now make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/python' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C fence_sanlock make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/fence_sanlock' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -g -Wall -Wformat -Wformat-security -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,now -Wl,-z,relro -pie fence_sanlockd.c -lrt -laio -lblkid -lsanlock -lwdmd -o fence_sanlockd -L. -L../src -L../wdmd fence_sanlockd.c: In function 'main': fence_sanlockd.c:697:6: warning: cast increases required alignment of target type [-Wcast-align] r = (struct sanlk_resource *)&rdbuf; ^ cat fence_sanlock.in | sed \ -e 's#@VERSION@#3.5.0#g' \ > fence_sanlock chmod 755 fence_sanlock make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/fence_sanlock' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C reset make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/reset' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -Wall -Wformat -Wformat-security -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,now -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -Wall -Wformat -Wformat-security -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.5.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,now -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.5.0/reset' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gxtWYO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 + cd sanlock-3.5.0 + rm -rf /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 + make -C src install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/src' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 755 sanlock /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 /usr/bin/install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 /usr/bin/install -c -m 644 libsanlock.pc /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libsanlock_client.pc /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//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.5.0-3.fc28.riscv64//usr/include /usr/bin/install -m 644 sanlock.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/src' + make -C wdmd install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/wdmd' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 wdmd /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 cp -a libwdmd.so /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib64 /usr/bin/install -c -m 644 wdmd.h /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/include /usr/bin/install -m 644 wdmd.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/wdmd' + make -C python install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/python' python setup.py install --root=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/sanlock.so -> /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib64/python2.7/site-packages/sanlock_python-3.5.0_-py2.7.egg-info make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/python' + make -C fence_sanlock install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/fence_sanlock' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 fence_sanlockd fence_sanlock /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -m 644 fence_sanlock.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8/ /usr/bin/install -m 644 fence_sanlockd.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/fence_sanlock' + make -C reset install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/sanlock-3.5.0/reset' /usr/bin/install -d /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -c -m 755 sanlk-resetd sanlk-reset /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/sbin /usr/bin/install -m 644 sanlk-reset.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8/ /usr/bin/install -m 644 sanlk-resetd.8 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.5.0/reset' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/wdmd /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service.native /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib/systemd/system/wdmd.service + install -D -m 0755 init.d/fence_sanlockd /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib/systemd/systemd-fence_sanlockd + install -D -m 0644 init.d/fence_sanlockd.service /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib/systemd/system/fence_sanlockd.service + install -D -m 0644 init.d/sanlk-resetd.service /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//usr/lib/systemd/system/sanlk-resetd.service + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//var/run/sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//var/run/fence_sanlock + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//var/run/fence_sanlockd + install -Dd -m 0775 /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64//var/run/sanlk-resetd + /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.5.0-3.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sanlock-3.5.0-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ihHPHz + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.5.0 + DOCDIR=/builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/share/doc/sanlock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/share/doc/sanlock + cp -pr init.d/sanlock.service /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/share/doc/sanlock + cp -pr init.d/wdmd.service /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64/usr/share/doc/sanlock + exit 0 Provides: config(sanlock) = 3.5.0-3.fc28 sanlock = 3.5.0-3.fc28 sanlock(riscv-64) = 3.5.0-3.fc28 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-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.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.27)(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-lib-3.5.0-3.fc28.riscv64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.5.0-3.fc28 sanlock-lib(riscv-64) = 3.5.0-3.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.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.27)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlock-python-3.5.0-3.fc28.riscv64 Provides: python2.7dist(sanlock-python) = 3.5.0 python2dist(sanlock-python) = 3.5.0 sanlock-python = 3.5.0-3.fc28 sanlock-python(riscv-64) = 3.5.0-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libsanlock.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: sanlock-devel-3.5.0-3.fc28.riscv64 Provides: pkgconfig(libsanlock) = 3.5.0 pkgconfig(libsanlock_client) = 3.5.0 sanlock-devel = 3.5.0-3.fc28 sanlock-devel(riscv-64) = 3.5.0-3.fc28 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: fence-sanlock-3.5.0-3.fc28.riscv64 Provides: fence-sanlock = 3.5.0-3.fc28 fence-sanlock(riscv-64) = 3.5.0-3.fc28 Requires(interp): /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(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libaio.so.1()(64bit) libblkid.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) librt.so.1()(64bit) libsanlock.so.1()(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Processing files: sanlk-reset-3.5.0-3.fc28.riscv64 Provides: sanlk-reset = 3.5.0-3.fc28 sanlk-reset(riscv-64) = 3.5.0-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/sanlock-3.5.0-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/sanlock-3.5.0-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/sanlock-lib-3.5.0-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/sanlock-python-3.5.0-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/sanlock-devel-3.5.0-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/fence-sanlock-3.5.0-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/sanlk-reset-3.5.0-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WnY970 + umask 022 + cd /builddir/build/BUILD + cd sanlock-3.5.0 + rm -rf /builddir/build/BUILDROOT/sanlock-3.5.0-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff