Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/gap-pkg-datastructures.spec'], chrootPath='/var/lib/mock/f42-build-3273874-41312/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=864000uid=996gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_809al3:/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.q_809al3:/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', '122effbb4fbd4394a07981a7b3dabd73', '-D', '/var/lib/mock/f42-build-3273874-41312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_809al3:/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/gap-pkg-datastructures.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 setting SOURCE_DATE_EPOCH=1736985600 Wrote: /builddir/build/SRPMS/gap-pkg-datastructures-0.3.1-2.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gap-pkg-datastructures.spec'], chrootPath='/var/lib/mock/f42-build-3273874-41312/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=864000uid=996gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_809al3:/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.q_809al3:/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', '72f43a4dbdf2423fa29aa067cb32da08', '-D', '/var/lib/mock/f42-build-3273874-41312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_809al3:/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/gap-pkg-datastructures.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 setting SOURCE_DATE_EPOCH=1736985600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.O4ODyM + umask 022 + cd /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + test -d /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + /usr/bin/rm -rf /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S80qPj + umask 022 + cd /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + cd /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + rm -rf datastructures-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/datastructures-0.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd datastructures-0.3.1 + /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.1qiNjQ + umask 022 + cd /builddir/build/BUILD/gap-pkg-datastructures-0.3.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 datastructures-0.3.1 + ./configure /usr/lib64/gap Using settings from /usr/lib64/gap/sysinfo.gap + /usr/bin/make -O -j32 V=1 VERBOSE=1 "/usr/bin/gac" -d -p "-MQ "gen/src/hashfunctions.o" -MMD -MP -MF gen/src/hashfunctions.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/hashfunctions.c -o gen/src/hashfunctions.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/hashfunctions.o -MMD -MP -MF gen/src/hashfunctions.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/hashfunctions.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/hashfunctions.c src/hashfunctions.c: In function ‘InitKernel’: src/hashfunctions.c:305:22: error: passing argument 1 of ‘InitHandlerFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 305 | InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE1, __FILE__ ":DATA_HASH_FUNC_RECURSIVE1" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *) In file included from /usr/include/gap/gap_all.h:24, from /usr/include/gap/compiled.h:21, from src/datastructures.h:14, from src/hashfunctions.h:17, from src/hashfunctions.c:14: /usr/include/gap/calls.h:416:30: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *)’ 416 | void InitHandlerFunc(ObjFunc hdlr, const Char * cookie); | ~~~~~~~~^~~~ src/hashfunctions.c:245:12: note: ‘DATA_HASH_FUNC_RECURSIVE1’ declared here 245 | static Obj DATA_HASH_FUNC_RECURSIVE1(Obj self, Obj obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gap/gasman.h:39, from /usr/include/gap/objects.h:20, from /usr/include/gap/ariths.h:16, from /usr/include/gap/gap_all.h:21: /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:306:22: error: passing argument 1 of ‘InitHandlerFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 306 | InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE2, __FILE__ ":DATA_HASH_FUNC_RECURSIVE2" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:416:30: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 416 | void InitHandlerFunc(ObjFunc hdlr, const Char * cookie); | ~~~~~~~~^~~~ src/hashfunctions.c:251:12: note: ‘DATA_HASH_FUNC_RECURSIVE2’ declared here 251 | static Obj DATA_HASH_FUNC_RECURSIVE2(Obj self, Obj obj1, Obj obj2) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:307:22: error: passing argument 1 of ‘InitHandlerFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 307 | InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE3, __FILE__ ":DATA_HASH_FUNC_RECURSIVE3" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:416:30: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 416 | void InitHandlerFunc(ObjFunc hdlr, const Char * cookie); | ~~~~~~~~^~~~ src/hashfunctions.c:262:12: note: ‘DATA_HASH_FUNC_RECURSIVE3’ declared here 262 | static Obj DATA_HASH_FUNC_RECURSIVE3(Obj self, Obj obj1, Obj obj2, Obj obj3) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:308:22: error: passing argument 1 of ‘InitHandlerFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 308 | InitHandlerFunc( DATA_HASH_FUNC_RECURSIVE4, __FILE__ ":DATA_HASH_FUNC_RECURSIVE4" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:416:30: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 416 | void InitHandlerFunc(ObjFunc hdlr, const Char * cookie); | ~~~~~~~~^~~~ src/hashfunctions.c:275:12: note: ‘DATA_HASH_FUNC_RECURSIVE4’ declared here 275 | static Obj DATA_HASH_FUNC_RECURSIVE4(Obj self, Obj obj1, Obj obj2, Obj obj3, Obj obj4) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c: In function ‘InitLibrary’: src/hashfunctions.c:320:29: error: passing argument 4 of ‘NewFunctionC’ from incompatible pointer type [-Wincompatible-pointer-types] 320 | DATA_HASH_FUNC_RECURSIVE1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:454:31: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *)’ 454 | ObjFunc hdlr); | ~~~~~~~~~~~~~^~~~ src/hashfunctions.c:245:12: note: ‘DATA_HASH_FUNC_RECURSIVE1’ declared here 245 | static Obj DATA_HASH_FUNC_RECURSIVE1(Obj self, Obj obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:321:28: error: passing argument 3 of ‘SET_HDLR_FUNC’ from incompatible pointer type [-Wincompatible-pointer-types] 321 | SET_HDLR_FUNC(gvar, 1, DATA_HASH_FUNC_RECURSIVE1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:173:59: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *)’ 173 | EXPORT_INLINE void SET_HDLR_FUNC(Obj func, Int i, ObjFunc hdlr) | ~~~~~~~~^~~~ src/hashfunctions.c:245:12: note: ‘DATA_HASH_FUNC_RECURSIVE1’ declared here 245 | static Obj DATA_HASH_FUNC_RECURSIVE1(Obj self, Obj obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:322:28: error: passing argument 3 of ‘SET_HDLR_FUNC’ from incompatible pointer type [-Wincompatible-pointer-types] 322 | SET_HDLR_FUNC(gvar, 2, DATA_HASH_FUNC_RECURSIVE2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:173:59: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 173 | EXPORT_INLINE void SET_HDLR_FUNC(Obj func, Int i, ObjFunc hdlr) | ~~~~~~~~^~~~ src/hashfunctions.c:251:12: note: ‘DATA_HASH_FUNC_RECURSIVE2’ declared here 251 | static Obj DATA_HASH_FUNC_RECURSIVE2(Obj self, Obj obj1, Obj obj2) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:323:28: error: passing argument 3 of ‘SET_HDLR_FUNC’ from incompatible pointer type [-Wincompatible-pointer-types] 323 | SET_HDLR_FUNC(gvar, 3, DATA_HASH_FUNC_RECURSIVE3); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:173:59: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 173 | EXPORT_INLINE void SET_HDLR_FUNC(Obj func, Int i, ObjFunc hdlr) | ~~~~~~~~^~~~ src/hashfunctions.c:262:12: note: ‘DATA_HASH_FUNC_RECURSIVE3’ declared here 262 | static Obj DATA_HASH_FUNC_RECURSIVE3(Obj self, Obj obj1, Obj obj2, Obj obj3) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ src/hashfunctions.c:324:28: error: passing argument 3 of ‘SET_HDLR_FUNC’ from incompatible pointer type [-Wincompatible-pointer-types] 324 | SET_HDLR_FUNC(gvar, 4, DATA_HASH_FUNC_RECURSIVE4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *) /usr/include/gap/calls.h:173:59: note: expected ‘ObjFunc’ {aka ‘struct OpaqueBag * (*)(void)’} but argument is of type ‘struct OpaqueBag * (*)(struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *, struct OpaqueBag *)’ 173 | EXPORT_INLINE void SET_HDLR_FUNC(Obj func, Int i, ObjFunc hdlr) | ~~~~~~~~^~~~ src/hashfunctions.c:275:12: note: ‘DATA_HASH_FUNC_RECURSIVE4’ declared here 275 | static Obj DATA_HASH_FUNC_RECURSIVE4(Obj self, Obj obj1, Obj obj2, Obj obj3, Obj obj4) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gap/common.h:168:16: note: ‘ObjFunc’ declared here 168 | typedef Obj (* ObjFunc) (/*arguments*/); | ^~~~~~~ make: *** [Makefile.gappkg:119: gen/src/hashfunctions.o] Error 1 make: *** Waiting for unfinished jobs.... "/usr/bin/gac" -d -p "-MQ "gen/src/skiplist.o" -MMD -MP -MF gen/src/skiplist.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/skiplist.c -o gen/src/skiplist.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/skiplist.o -MMD -MP -MF gen/src/skiplist.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/skiplist.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/skiplist.c "/usr/bin/gac" -d -p "-MQ "gen/src/uf.o" -MMD -MP -MF gen/src/uf.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/uf.c -o gen/src/uf.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/uf.o -MMD -MP -MF gen/src/uf.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/uf.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/uf.c "/usr/bin/gac" -d -p "-MQ "gen/src/datastructures.o" -MMD -MP -MF gen/src/datastructures.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/datastructures.c -o gen/src/datastructures.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/datastructures.o -MMD -MP -MF gen/src/datastructures.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/datastructures.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/datastructures.c "/usr/bin/gac" -d -p "-MQ "gen/src/pairingheap.o" -MMD -MP -MF gen/src/pairingheap.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/pairingheap.c -o gen/src/pairingheap.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/pairingheap.o -MMD -MP -MF gen/src/pairingheap.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/pairingheap.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/pairingheap.c "/usr/bin/gac" -d -p "-MQ "gen/src/binaryheap.o" -MMD -MP -MF gen/src/binaryheap.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/binaryheap.c -o gen/src/binaryheap.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/binaryheap.o -MMD -MP -MF gen/src/binaryheap.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/binaryheap.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/binaryheap.c "/usr/bin/gac" -d -p "-MQ "gen/src/avl.o" -MMD -MP -MF gen/src/avl.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/avl.c -o gen/src/avl.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/avl.o -MMD -MP -MF gen/src/avl.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/avl.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/avl.c src/avl.c: In function ‘FuncDS_AVL_REMSET_INNER’: src/avl.c:197:70: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 197 | SET_ELM_PLIST(node, AVL_FLAGS, INTOBJ_INT((flags & ~0x3) | 3 - i)); | ~~^~~ "/usr/bin/gac" -d -p "-MQ "gen/src/hashmap.o" -MMD -MP -MF gen/src/hashmap.d" -p " -O2 -flto=auto -ffat-lto-objects -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 " -c src/hashmap.c -o gen/src/hashmap.o gcc -pthread -O2 -flto=auto -ffat-lto-objects -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 -fPIC -MQ gen/src/hashmap.o -MMD -MP -MF gen/src/hashmap.d -O2 -flto=auto -ffat-lto-objects -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 -o gen/src/hashmap.o -I/usr/include/gap -I/usr/include -DUSE_GASMAN=1 -c src/hashmap.c RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1qiNjQ (%build) Bad exit status from /var/tmp/rpm-tmp.1qiNjQ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 72f43a4dbdf2423fa29aa067cb32da08 -D /var/lib/mock/f42-build-3273874-41312/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q_809al3:/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/gap-pkg-datastructures.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 72f43a4dbdf2423fa29aa067cb32da08 -D /var/lib/mock/f42-build-3273874-41312/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q_809al3:/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/gap-pkg-datastructures.spec'