Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f41-build-844417-162499/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=604800uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6aad3748312d4a5baf7474ee2843c4c5', '-D', '/var/lib/mock/f41-build-844417-162499/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 warning: bogus date in %changelog: Wed Aug 09 2024 David Teigland - 3.9.4-1 setting SOURCE_DATE_EPOCH=1723161600 Wrote: /builddir/build/SRPMS/sanlock-3.9.4-1.fc41.src.rpm RPM build warnings: bogus date in %changelog: Wed Aug 09 2024 David Teigland - 3.9.4-1 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/sanlock.spec'], chrootPath='/var/lib/mock/f41-build-844417-162499/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=604800uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd583891d09124beb901192bbd059ff1e', '-D', '/var/lib/mock/f41-build-844417-162499/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i8u6o4ib:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 warning: bogus date in %changelog: Wed Aug 09 2024 David Teigland - 3.9.4-1 setting SOURCE_DATE_EPOCH=1723161600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.6sIJtr + umask 022 + cd /builddir/build/BUILD/sanlock-3.9.4-build + test -d /builddir/build/BUILD/sanlock-3.9.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sanlock-3.9.4-build + /usr/bin/rm -rf /builddir/build/BUILD/sanlock-3.9.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/sanlock-3.9.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/sanlock-3.9.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hdaEw3 + umask 022 + cd /builddir/build/BUILD/sanlock-3.9.4-build + cd /builddir/build/BUILD/sanlock-3.9.4-build + rm -rf sanlock-3.9.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sanlock-3.9.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sanlock-3.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KCLsba + umask 022 + cd /builddir/build/BUILD/sanlock-3.9.4-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sanlock-3.9.4 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + make -C wdmd make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/wdmd' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.4\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/wdmd' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + make -C src make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function ‘find_callback_slot’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:580:40: note: in expansion of macro ‘container_of’ 580 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function ‘do_linux_aio’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:705:40: note: in expansion of macro ‘container_of’ 705 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function ‘read_iobuf_reap’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1021:40: note: in expansion of macro ‘container_of’ 1021 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition paxos_lease.c: In function ‘run_ballot’: paxos_lease.c:583:34: warning: cast increases required alignment of target type [-Wcast-align] 583 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:798:34: warning: cast increases required alignment of target type [-Wcast-align] 798 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function ‘_lease_read_one’: paxos_lease.c:1417:26: warning: cast increases required alignment of target type [-Wcast-align] 1417 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition rindex.c: In function ‘search_entries’: rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function ‘read_rindex_header’: rindex.c:319:18: warning: cast increases required alignment of target type [-Wcast-align] 319 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function ‘rindex_lookup’: rindex.c:828:26: warning: cast increases required alignment of target type [-Wcast-align] 828 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:858:26: warning: cast increases required alignment of target type [-Wcast-align] 858 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition direct.c: In function ‘direct_read_leader_sizes’: direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function ‘direct_dump’: direct.c:716:34: warning: cast increases required alignment of target type [-Wcast-align] 716 | lr_end = (struct leader_record *)data; | ^ direct.c:721:42: warning: cast increases required alignment of target type [-Wcast-align] 721 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:753:34: warning: cast increases required alignment of target type [-Wcast-align] 753 | lr_end = (struct leader_record *)data; | ^ direct.c:769:65: warning: cast increases required alignment of target type [-Wcast-align] 769 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:778:61: warning: cast increases required alignment of target type [-Wcast-align] 778 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:781:57: warning: cast increases required alignment of target type [-Wcast-align] 781 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:805:34: warning: cast increases required alignment of target type [-Wcast-align] 805 | rh_end = (struct rindex_header *)data; | ^ direct.c:827:50: warning: cast increases required alignment of target type [-Wcast-align] 827 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function ‘direct_next_free’: direct.c:913:26: warning: cast increases required alignment of target type [-Wcast-align] 913 | lr_end = (struct leader_record *)data; | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from task.c:25: task.c: In function ‘close_task_aio’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro ‘container_of’ 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.4\" -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.9.4\" -fPIE -DPIE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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. : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition direct.c: In function ‘direct_read_leader_sizes’: direct.c:64:18: warning: cast increases required alignment of target type [-Wcast-align] 64 | lr_end = (struct leader_record *)data; | ^ direct.c: In function ‘direct_dump’: direct.c:716:34: warning: cast increases required alignment of target type [-Wcast-align] 716 | lr_end = (struct leader_record *)data; | ^ direct.c:721:42: warning: cast increases required alignment of target type [-Wcast-align] 721 | lr_end = (struct leader_record *)(data + (i * sector_size)); | ^ direct.c:753:34: warning: cast increases required alignment of target type [-Wcast-align] 753 | lr_end = (struct leader_record *)data; | ^ direct.c:769:65: warning: cast increases required alignment of target type [-Wcast-align] 769 | struct request_record *rr_end = (struct request_record *)(data + sector_size); | ^ direct.c:778:61: warning: cast increases required alignment of target type [-Wcast-align] 778 | struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET); | ^ direct.c:781:57: warning: cast increases required alignment of target type [-Wcast-align] 781 | paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock); | ^ direct.c:805:34: warning: cast increases required alignment of target type [-Wcast-align] 805 | rh_end = (struct rindex_header *)data; | ^ direct.c:827:50: warning: cast increases required alignment of target type [-Wcast-align] 827 | re_end = (struct rindex_entry *)(data + (i * sector_size) + (j * entry_size)); | ^ direct.c: In function ‘direct_next_free’: direct.c:913:26: warning: cast increases required alignment of target type [-Wcast-align] 913 | lr_end = (struct leader_record *)data; | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from diskio.c:30: diskio.c: In function ‘find_callback_slot’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:580:40: note: in expansion of macro ‘container_of’ 580 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function ‘do_linux_aio’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:705:40: note: in expansion of macro ‘container_of’ 705 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ diskio.c: In function ‘read_iobuf_reap’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ diskio.c:1021:40: note: in expansion of macro ‘container_of’ 1021 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from lockspace.c:29: lockspace.c: In function ‘_search_space’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:138:17: note: in expansion of macro ‘list_for_each_entry’ 138 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:138:17: note: in expansion of macro ‘list_for_each_entry’ 138 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘find_lockspace_id’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:165:9: note: in expansion of macro ‘list_for_each_entry’ 165 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:165:9: note: in expansion of macro ‘list_for_each_entry’ 165 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘_lockspace_info’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:188:9: note: in expansion of macro ‘list_for_each_entry’ 188 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:188:9: note: in expansion of macro ‘list_for_each_entry’ 188 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘lockspace_disk’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:215:9: note: in expansion of macro ‘list_for_each_entry’ 215 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:215:9: note: in expansion of macro ‘list_for_each_entry’ 215 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘host_status_set_bit’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:275:9: note: in expansion of macro ‘list_for_each_entry’ 275 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:275:9: note: in expansion of macro ‘list_for_each_entry’ 275 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘host_info’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:305:9: note: in expansion of macro ‘list_for_each_entry’ 305 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:305:9: note: in expansion of macro ‘list_for_each_entry’ 305 | list_for_each_entry(sp, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘check_other_leases’: lockspace.c:403:30: warning: cast increases required alignment of target type [-Wcast-align] 403 | leader_end = (struct leader_record *)(buf + (i * sp->sector_size)); | ^ lockspace.c: In function ‘get_lockspaces’: lockspace.c:1486:14: warning: cast increases required alignment of target type [-Wcast-align] 1486 | ls = (struct sanlk_lockspace *)buf; | ^ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:1490:17: note: in expansion of macro ‘list_for_each_entry’ 1490 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ lockspace.c:1490:17: note: in expansion of macro ‘list_for_each_entry’ 1490 | list_for_each_entry(sp, heads[i], list) { | ^~~~~~~~~~~~~~~~~~~ lockspace.c: In function ‘get_hosts’: lockspace.c:1646:16: warning: cast increases required alignment of target type [-Wcast-align] 1646 | host = (struct sanlk_host *)buf; | ^ lockspace.c: In function ‘free_lockspaces’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro ‘list_entry’ 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ lockspace.c:2152:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2152 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro ‘list_entry’ 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ lockspace.c:2152:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2152 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro ‘list_entry’ 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ lockspace.c:2152:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2152 | list_for_each_entry_safe(sp, safe, &spaces_rem, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from main.c:42: main.c: In function ‘main_loop’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro ‘list_entry’ 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro ‘list_for_each_entry_safe’ 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro ‘list_entry’ 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro ‘list_for_each_entry_safe’ 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro ‘list_entry’ 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ main.c:850:17: note: in expansion of macro ‘list_for_each_entry_safe’ 850 | list_for_each_entry_safe(sp, safe, &spaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘thread_pool_worker’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro ‘list_entry’ 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ main.c:963:30: note: in expansion of macro ‘list_first_entry’ 963 | ca = list_first_entry(&pool.work_data, struct cmd_args, list); | ^~~~~~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition paxos_lease.c: In function ‘run_ballot’: paxos_lease.c:583:34: warning: cast increases required alignment of target type [-Wcast-align] 583 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c:798:34: warning: cast increases required alignment of target type [-Wcast-align] 798 | bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size)); | ^ paxos_lease.c: In function ‘_lease_read_one’: paxos_lease.c:1417:26: warning: cast increases required alignment of target type [-Wcast-align] 1417 | bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size)); | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from task.c:25: task.c: In function ‘close_task_aio’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ task.c:123:48: note: in expansion of macro ‘container_of’ 123 | struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb); | ^~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from resource.c:26: resource.c: In function ‘free_resource’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:443:20: note: in expansion of macro ‘list_entry’ 443 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:87:9: note: in expansion of macro ‘list_for_each_entry_reverse’ 87 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:445:20: note: in expansion of macro ‘list_entry’ 445 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:87:9: note: in expansion of macro ‘list_for_each_entry_reverse’ 87 | list_for_each_entry_reverse(rtmp, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function ‘get_free_resource’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:111:9: note: in expansion of macro ‘list_for_each_entry’ 111 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:111:9: note: in expansion of macro ‘list_for_each_entry’ 111 | list_for_each_entry(r, &resources_free, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘send_state_resources’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:141:9: note: in expansion of macro ‘list_for_each_entry’ 141 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:141:9: note: in expansion of macro ‘list_for_each_entry’ 141 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:142:17: note: in expansion of macro ‘list_for_each_entry’ 142 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:142:17: note: in expansion of macro ‘list_for_each_entry’ 142 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:146:9: note: in expansion of macro ‘list_for_each_entry’ 146 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:146:9: note: in expansion of macro ‘list_for_each_entry’ 146 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:147:17: note: in expansion of macro ‘list_for_each_entry’ 147 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:147:17: note: in expansion of macro ‘list_for_each_entry’ 147 | list_for_each_entry(token, &r->tokens, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:151:9: note: in expansion of macro ‘list_for_each_entry’ 151 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:151:9: note: in expansion of macro ‘list_for_each_entry’ 151 | list_for_each_entry(r, &resources_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:154:9: note: in expansion of macro ‘list_for_each_entry’ 154 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:154:9: note: in expansion of macro ‘list_for_each_entry’ 154 | list_for_each_entry(r, &resources_orphan, list) | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘read_resource_owners’: resource.c:255:26: warning: cast increases required alignment of target type [-Wcast-align] 255 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c:289:16: warning: cast increases required alignment of target type [-Wcast-align] 289 | host = (struct sanlk_host *)hosts_buf; | ^ resource.c:307:26: warning: cast increases required alignment of target type [-Wcast-align] 307 | mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET); | ^ resource.c: In function ‘check_mode_block’: resource.c:521:18: warning: cast increases required alignment of target type [-Wcast-align] 521 | mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET); | ^ resource.c: In function ‘read_mode_block’: resource.c:722:26: warning: cast increases required alignment of target type [-Wcast-align] 722 | mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET); | ^ resource.c: In function ‘res_set_lvb’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:867:9: note: in expansion of macro ‘list_for_each_entry’ 867 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:867:9: note: in expansion of macro ‘list_for_each_entry’ 867 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘res_get_lvb’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:901:9: note: in expansion of macro ‘list_for_each_entry’ 901 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:901:9: note: in expansion of macro ‘list_for_each_entry’ 901 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘find_resource’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1362:9: note: in expansion of macro ‘list_for_each_entry’ 1362 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1362:9: note: in expansion of macro ‘list_for_each_entry’ 1362 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘lockspace_is_used’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1382:9: note: in expansion of macro ‘list_for_each_entry’ 1382 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1382:9: note: in expansion of macro ‘list_for_each_entry’ 1382 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1386:9: note: in expansion of macro ‘list_for_each_entry’ 1386 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1386:9: note: in expansion of macro ‘list_for_each_entry’ 1386 | list_for_each_entry(r, &resources_add, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1390:9: note: in expansion of macro ‘list_for_each_entry’ 1390 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1390:9: note: in expansion of macro ‘list_for_each_entry’ 1390 | list_for_each_entry(r, &resources_rem, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1394:9: note: in expansion of macro ‘list_for_each_entry’ 1394 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1394:9: note: in expansion of macro ‘list_for_each_entry’ 1394 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘resource_orphan_count’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1411:9: note: in expansion of macro ‘list_for_each_entry’ 1411 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1411:9: note: in expansion of macro ‘list_for_each_entry’ 1411 | list_for_each_entry(r, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘convert_token’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:1737:9: note: in expansion of macro ‘list_for_each_entry’ 1737 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:1737:9: note: in expansion of macro ‘list_for_each_entry’ 1737 | list_for_each_entry(tk, &r->tokens, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘set_resource_examine’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2369:9: note: in expansion of macro ‘list_for_each_entry’ 2369 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2369:9: note: in expansion of macro ‘list_for_each_entry’ 2369 | list_for_each_entry(r, &resources_held, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘find_resource_thread’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2398:9: note: in expansion of macro ‘list_for_each_entry’ 2398 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ resource.c:2398:9: note: in expansion of macro ‘list_for_each_entry’ 2398 | list_for_each_entry(r, head, list) { | ^~~~~~~~~~~~~~~~~~~ resource.c: In function ‘find_host_event’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:362:9: note: in expansion of macro ‘list_entry’ 362 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ resource.c:2624:16: note: in expansion of macro ‘list_first_entry’ 2624 | return list_first_entry(&host_events, struct recv_he, list); | ^~~~~~~~~~~~~~~~ resource.c: In function ‘release_orphan’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro ‘list_entry’ 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2753:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2753 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro ‘list_entry’ 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2753:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2753 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro ‘list_entry’ 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2753:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2753 | list_for_each_entry_safe(r, safe, &resources_orphan, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ resource.c: In function ‘purge_resource_list’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:506:20: note: in expansion of macro ‘list_entry’ 506 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ resource.c:2779:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2779 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:507:21: note: in expansion of macro ‘list_entry’ 507 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ resource.c:2779:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2779 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:509:27: note: in expansion of macro ‘list_entry’ 509 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ resource.c:2779:9: note: in expansion of macro ‘list_for_each_entry_safe’ 2779 | list_for_each_entry_safe(r, safe, head, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition rindex.c: In function ‘search_entries’: rindex.c:159:26: warning: cast increases required alignment of target type [-Wcast-align] 159 | re_end = (struct rindex_entry *)(rindex_iobuf + entry_offset_in_rindex); | ^ rindex.c: In function ‘read_rindex_header’: rindex.c:319:18: warning: cast increases required alignment of target type [-Wcast-align] 319 | rh_end = (struct rindex_header *)iobuf; | ^ rindex.c: In function ‘rindex_lookup’: rindex.c:828:26: warning: cast increases required alignment of target type [-Wcast-align] 828 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ rindex.c:858:26: warning: cast increases required alignment of target type [-Wcast-align] 858 | re_end = (struct rindex_entry *)(rindex_iobuf + ent_offset); | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:32, from cmd.c:37: cmd.c: In function ‘cmd_status’: list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2693:9: note: in expansion of macro ‘list_for_each_entry’ 2693 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2693:9: note: in expansion of macro ‘list_for_each_entry’ 2693 | list_for_each_entry(sp, &spaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2695:9: note: in expansion of macro ‘list_for_each_entry’ 2695 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2695:9: note: in expansion of macro ‘list_for_each_entry’ 2695 | list_for_each_entry(sp, &spaces_add, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:432:20: note: in expansion of macro ‘list_entry’ 432 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cmd.c:2697:9: note: in expansion of macro ‘list_for_each_entry’ 2697 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ list.h:26:9: warning: cast increases required alignment of target type [-Wcast-align] 26 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:351:9: note: in expansion of macro ‘container_of’ 351 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:434:20: note: in expansion of macro ‘list_entry’ 434 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cmd.c:2697:9: note: in expansion of macro ‘list_for_each_entry’ 2697 | list_for_each_entry(sp, &spaces_rem, list) | ^~~~~~~~~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client_cmd.c: In function ‘status_lockspace’: client_cmd.c:117:38: warning: cast increases required alignment of target type [-Wcast-align] 117 | struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin; | ^ client_cmd.c: In function ‘status_resource’: client_cmd.c:142:38: warning: cast increases required alignment of target type [-Wcast-align] 142 | struct sanlk_resource *res = (struct sanlk_resource *)bin; | ^ client_cmd.c:151:24: warning: cast increases required alignment of target type [-Wcast-align] 151 | disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk)); | ^ client_cmd.c: In function ‘print_type’: client_cmd.c:216:22: warning: cast increases required alignment of target type [-Wcast-align] 216 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘print_p’: client_cmd.c:239:22: warning: cast increases required alignment of target type [-Wcast-align] 239 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘find_type’: client_cmd.c:265:22: warning: cast increases required alignment of target type [-Wcast-align] 265 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘print_r’: client_cmd.c:286:22: warning: cast increases required alignment of target type [-Wcast-align] 286 | st = (struct sanlk_state *)buf; | ^ client_cmd.c:293:23: warning: cast increases required alignment of target type [-Wcast-align] 293 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function ‘print_r_by_p’: client_cmd.c:317:22: warning: cast increases required alignment of target type [-Wcast-align] 317 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘print_r_by_s’: client_cmd.c:343:22: warning: cast increases required alignment of target type [-Wcast-align] 343 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘recv_bin’: client_cmd.c:367:23: warning: cast increases required alignment of target type [-Wcast-align] 367 | res = (struct sanlk_resource *)bin; | ^ client_cmd.c: In function ‘sanlock_status’: client_cmd.c:416:30: warning: cast increases required alignment of target type [-Wcast-align] 416 | st = (struct sanlk_state *)buf; | ^ client_cmd.c: In function ‘sanlock_host_status’: client_cmd.c:592:22: warning: cast increases required alignment of target type [-Wcast-align] 592 | ls = (struct sanlk_lockspace *)bin; | ^ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition sed -e "s/@VERSION@/3.9.4/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.9.4/" libsanlock_client.pc.in > libsanlock_client.pc make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/src' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + make -C python PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/python' python3 setup.py build /usr/lib/python3.13/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '3.9.4 ' to '3.9.4' self.metadata.version = self._normalize_version(self.metadata.version) running build running build_ext building 'sanlock' extension creating build creating build/temp.linux-riscv64-cpython-313 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../src -I/usr/include/python3.13 -c sanlock.c -o build/temp.linux-riscv64-cpython-313/sanlock.o -std=c99 creating build/lib.linux-riscv64-cpython-313 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer build/temp.linux-riscv64-cpython-313/sanlock.o -L../src -L/usr/lib64 -lsanlock -o build/lib.linux-riscv64-cpython-313/sanlock.cpython-313-riscv64-linux-gnu.so make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/python' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mgHkXy + umask 022 + cd /builddir/build/BUILD/sanlock-3.9.4-build + '[' /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/sanlock-3.9.4-build + mkdir /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sanlock-3.9.4 + rm -rf /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT + make -C src install LIBDIR=/usr/lib64 BINDIR=/usr/sbin DESTDIR=/builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/src' install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/sbin install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/include install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/share/man/man8 install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64/pkgconfig install -c -m 755 sanlock /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/sbin install -c -m 755 libsanlock.so.1.0 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -c -m 755 libsanlock_client.so.1.0 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -c -m 644 libsanlock.pc /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64/pkgconfig install -c -m 644 libsanlock_client.pc /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64/pkgconfig cp -a libsanlock.so /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 cp -a libsanlock_client.so /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 cp -a libsanlock.so.1 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 cp -a libsanlock_client.so.1 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/include install -m 644 sanlock.8 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/src' + make -C wdmd install LIBDIR=/usr/lib64 BINDIR=/usr/sbin DESTDIR=/builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/wdmd' install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/sbin install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/include install -d /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/share/man/man8 install -c -m 755 wdmd /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/sbin install -c -m 755 libwdmd.so.1.0 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 cp -a libwdmd.so /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 cp -a libwdmd.so.1 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib64 install -c -m 644 wdmd.h /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/include install -m 644 wdmd.8 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/share/man/man8 make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/wdmd' + make -C python install LIBDIR=/usr/lib64 BINDIR=/usr/sbin DESTDIR=/builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT PY_VERSION=3 make: Entering directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/python' python3 setup.py install --root=/builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT /usr/lib/python3.13/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '3.9.4 ' to '3.9.4' self.metadata.version = self._normalize_version(self.metadata.version) running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running build running build_ext running install_lib creating /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib64/python3.13 creating /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages copying build/lib.linux-riscv64-cpython-313/sanlock.cpython-313-riscv64-linux-gnu.so -> /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages running install_egg_info running egg_info creating sanlock_python.egg-info writing sanlock_python.egg-info/PKG-INFO writing dependency_links to sanlock_python.egg-info/dependency_links.txt writing top-level names to sanlock_python.egg-info/top_level.txt writing manifest file 'sanlock_python.egg-info/SOURCES.txt' reading manifest file 'sanlock_python.egg-info/SOURCES.txt' writing manifest file 'sanlock_python.egg-info/SOURCES.txt' Copying sanlock_python.egg-info to /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages/sanlock_python-3.9.4-py3.13.egg-info running install_scripts make: Leaving directory '/builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4/python' + install -D -m 0644 init.d/sanlock.service.native /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib/systemd/system/sanlock.service + install -D -m 0755 init.d/systemd-wdmd /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib/systemd/systemd-wdmd + install -D -m 0644 init.d/wdmd.service /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib/systemd/system/wdmd.service + install -p -D -m 0644 src/sanlock.sysusers /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//usr/lib/sysusers.d/sanlock.conf + install -D -m 0644 src/logrotate.sanlock /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/etc/logrotate.d/sanlock + install -D -m 0644 src/sanlock.conf /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/etc/sanlock/sanlock.conf + install -D -m 0644 init.d/wdmd.sysconfig /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/etc/sysconfig/wdmd + install -Dd -m 0755 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/etc/wdmd.d + install -Dd -m 0775 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT//var/run/sanlock + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.9.4-1.fc41 --unique-debug-suffix -3.9.4-1.fc41.riscv64 --unique-debug-src-base sanlock-3.9.4-1.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sanlock-3.9.4-build/sanlock-3.9.4 find-debuginfo: starting Extracting debug info from 6 files DWARF-compressing 6 files sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sanlock-3.9.4-1.fc41.riscv64 1712 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/systemd-wdmd from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT Scanned 37 directories and 100 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/sanlock-3.9.4-build/SPECPARTS/rpm-debuginfo.specpart Processing files: sanlock-3.9.4-1.fc41.riscv64 Provides: config(sanlock) = 3.9.4-1.fc41 group(sanlock) groupmember(sanlock/disk) = bSBzYW5sb2NrIGRpc2sA sanlock = 3.9.4-1.fc41 sanlock(riscv-64) = 3.9.4-1.fc41 user(sanlock) = dSBzYW5sb2NrIDE3OSBzYW5sb2NrIC92YXIvcnVuL3NhbmxvY2sA 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 Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libsanlock.so.1()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libwdmd.so.1()(64bit) rtld(GNU_HASH) Recommends: group(disk) group(sanlock) user(sanlock) user(sanlock) Processing files: sanlock-lib-3.9.4-1.fc41.riscv64 Provides: libsanlock.so.1()(64bit) libsanlock_client.so.1()(64bit) libwdmd.so.1()(64bit) sanlock-lib = 3.9.4-1.fc41 sanlock-lib(riscv-64) = 3.9.4-1.fc41 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) 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: python3-sanlock-3.9.4-1.fc41.riscv64 Provides: python-sanlock = 3.9.4-1.fc41 python3-sanlock = 3.9.4-1.fc41 python3-sanlock(riscv-64) = 3.9.4-1.fc41 python3.13-sanlock = 3.9.4-1.fc41 python3.13dist(sanlock-python) = 3.9.4 python3dist(sanlock-python) = 3.9.4 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) python(abi) = 3.13 rtld(GNU_HASH) Obsoletes: python-sanlock < 3.9.4-1.fc41 Processing files: sanlock-devel-3.9.4-1.fc41.riscv64 Provides: pkgconfig(libsanlock) = 3.9.4 pkgconfig(libsanlock_client) = 3.9.4 sanlock-devel = 3.9.4-1.fc41 sanlock-devel(riscv-64) = 3.9.4-1.fc41 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: sanlock-debugsource-3.9.4-1.fc41.riscv64 Provides: sanlock-debugsource = 3.9.4-1.fc41 sanlock-debugsource(riscv-64) = 3.9.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sanlock-debuginfo-3.9.4-1.fc41.riscv64 Provides: debuginfo(build-id) = 71661afb03d1ba1f9a4b69041ce64c7d09aa0387 debuginfo(build-id) = ad98f5f7f2f3182a5559d4237e601ac225297555 sanlock-debuginfo = 3.9.4-1.fc41 sanlock-debuginfo(riscv-64) = 3.9.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.9.4-1.fc41 Processing files: sanlock-lib-debuginfo-3.9.4-1.fc41.riscv64 Provides: debuginfo(build-id) = 7d859c5b3b753a4d025090a82e799a3feae74133 debuginfo(build-id) = af713a258d066dde2f15bc0d99ea825e4f744d2c debuginfo(build-id) = df989af62d268b1a3e2528a3657203b02314c628 libsanlock.so.1.0-3.9.4-1.fc41.riscv64.debug()(64bit) libsanlock_client.so.1.0-3.9.4-1.fc41.riscv64.debug()(64bit) libwdmd.so.1.0-3.9.4-1.fc41.riscv64.debug()(64bit) sanlock-lib-debuginfo = 3.9.4-1.fc41 sanlock-lib-debuginfo(riscv-64) = 3.9.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.9.4-1.fc41 Processing files: python3-sanlock-debuginfo-3.9.4-1.fc41.riscv64 Provides: debuginfo(build-id) = 7b35d46c5a91efe16ef2dac5d803c3283a2db5a1 python-sanlock-debuginfo = 3.9.4-1.fc41 python3-sanlock-debuginfo = 3.9.4-1.fc41 python3-sanlock-debuginfo(riscv-64) = 3.9.4-1.fc41 python3.13-sanlock-debuginfo = 3.9.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sanlock-debugsource(riscv-64) = 3.9.4-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/sanlock-3.9.4-build/BUILDROOT Wrote: /builddir/build/RPMS/sanlock-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-debuginfo-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-lib-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-debuginfo-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python3-sanlock-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debuginfo-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-devel-3.9.4-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sanlock-debugsource-3.9.4-1.fc41.riscv64.rpm RPM build warnings: bogus date in %changelog: Wed Aug 09 2024 David Teigland - 3.9.4-1 Child return code was: 0