Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-cppo.spec'], chrootPath='/var/lib/mock/f45-build-20561-571/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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', '83effdbc616a4901a6a93b30f151934c', '-D', '/var/lib/mock/f45-build-20561-571/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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/ocaml-cppo.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=1768521600 Wrote: /builddir/build/SRPMS/ocaml-cppo-1.8.0-6.fc45.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/ocaml-cppo.spec'], chrootPath='/var/lib/mock/f45-build-20561-571/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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', '52f8df360eda46a3a0fc22b85f64a37b', '-D', '/var/lib/mock/f45-build-20561-571/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2xgd1fx0:/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/ocaml-cppo.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=1768521600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.LYglqM Creating(rpmbuild.env): /builddir/build/BUILD/ocaml-cppo-1.8.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/ocaml-cppo-1.8.0-build" RPM_OPT_FLAGS="-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/ocaml-cppo-1.8.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="ocaml-cppo" RPM_PACKAGE_VERSION="1.8.0" RPM_PACKAGE_RELEASE="6.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EevenQ + umask 022 + cd /builddir/build/BUILD/ocaml-cppo-1.8.0-build + cd /builddir/build/BUILD/ocaml-cppo-1.8.0-build + rm -rf cppo-1.8.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/cppo-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cppo-1.8.0 + /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.mic4eN + umask 022 + cd /builddir/build/BUILD/ocaml-cppo-1.8.0-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 cppo-1.8.0 + dune build --verbose --release -j8 Shared cache enabled cache_enabled: Enabled_except_user_rules Shared cache location root_dir: "/builddir/.cache/dune/db" Workspace root root: "/builddir/build/BUILD/ocaml-cppo-1.8.0-build/cppo-1.8.0" Dune context context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Running[1]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_main.ml) > _build/.actions/default/src/de639f621947ba2edd93670b36f6674f Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte -I /usr/lib64/ocaml/ocamlbuild -I /usr/lib64/ocaml/unix -no-alias-deps -o ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte/ocamlbuild_cppo.cmi -c -intf ocamlbuild_plugin/ocamlbuild_cppo.mli) Running[3]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_command.mli) > _build/.actions/default/src/4cdc4e56a73ccc0572c93ba2ab06ad66 Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_types.mli) > _build/.actions/default/src/f4e57b8cf6cf41ad5b5503c23757ece6 Running[5]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_version.mli) > _build/.actions/default/src/e679644e162385537ac322ac3c563d4a Running[6]: (cd _build/default && /usr/bin/ocaml src/compat.ml src/cppo_eval.mli) > _build/default/src/cppo_eval.pp.mli Running[7]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte -I ocamlbuild_plugin/.cppo_ocamlbuild.objs/native -I /usr/lib64/ocaml/ocamlbuild -I /usr/lib64/ocaml/unix -cmi-file ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte/ocamlbuild_cppo.cmi -no-alias-deps -o ocamlbuild_plugin/.cppo_ocamlbuild.objs/native/ocamlbuild_cppo.cmx -c -impl ocamlbuild_plugin/ocamlbuild_cppo.ml) Running[8]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte -I /usr/lib64/ocaml/ocamlbuild -I /usr/lib64/ocaml/unix -cmi-file ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte/ocamlbuild_cppo.cmi -no-alias-deps -o ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte/ocamlbuild_cppo.cmo -c -impl ocamlbuild_plugin/ocamlbuild_cppo.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -a -o ocamlbuild_plugin/cppo_ocamlbuild.cma ocamlbuild_plugin/.cppo_ocamlbuild.objs/byte/ocamlbuild_cppo.cmo) Running[10]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_eval.pp.mli) > _build/.actions/default/src/cb963fa144208a8d0911ddd82b7cb285 Running[11]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_command.ml) > _build/.actions/default/src/059738b26e68a89e64e1db87a71ed821 Running[12]: (cd _build/default && /usr/bin/ocaml src/compat.ml src/cppo_eval.ml) > _build/default/src/cppo_eval.pp.ml Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -a -o ocamlbuild_plugin/cppo_ocamlbuild.cmxa ocamlbuild_plugin/.cppo_ocamlbuild.objs/native/ocamlbuild_cppo.cmx) Running[14]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -shared -linkall -I ocamlbuild_plugin -o ocamlbuild_plugin/cppo_ocamlbuild.cmxs ocamlbuild_plugin/cppo_ocamlbuild.cmxa) Running[15]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_eval.pp.ml) > _build/.actions/default/src/61baa3530bb7bf80ec9139dac3d911ac Running[16]: (cd _build/.sandbox/60d0aeb0717334c0ec0d1a4cfd52e2af/default && /usr/bin/ocamllex -q -o src/cppo_lexer.ml src/cppo_lexer.mll) Running[17]: (cd _build/.sandbox/e63c785a5d79339d835af18174e8c55d/default && /usr/bin/ocamlyacc src/cppo_parser.mly) Running[18]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_parser.mli) > _build/.actions/default/src/1edfb1e9c6fee9abd9863895a4189460 Running[19]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_lexer.ml) > _build/.actions/default/src/15e90dc01e187823eda81288d30093e2 Running[20]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_parser.ml) > _build/.actions/default/src/702fa2496bcd1465a8bb9aec2c9744b4 Running[21]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_types.ml) > _build/.actions/default/src/a846987ff5663f550cdcd90492c6e26f Running[22]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_version.ml) > _build/.actions/default/src/176cc8afb7045c2ebf11d80ef6e61858 Running[23]: (cd _build/default && /usr/bin/ocamlc.opt -nopervasives -nostdlib -w -40 -w -53 -w -49 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -no-alias-deps -o src/.cppo_main.eobjs/byte/dune__exe.cmo -c -impl src/.cppo_main.eobjs/dune__exe.ml-gen) Running[24]: (cd _build/default && /usr/bin/ocamlopt.opt -nopervasives -nostdlib -w -40 -w -53 -w -49 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -cmi-file src/.cppo_main.eobjs/byte/dune__exe.cmi -no-alias-deps -o src/.cppo_main.eobjs/native/dune__exe.cmx -c -impl src/.cppo_main.eobjs/dune__exe.ml-gen) Running[25]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_command.cmi -c -intf src/cppo_command.mli) Running[26]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_types.cmi -c -intf src/cppo_types.mli) Running[27]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_version.cmi -c -intf src/cppo_version.mli) Running[28]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_eval.cmi -c -intf src/cppo_eval.pp.mli) Running[29]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_command.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_command.cmx -c -impl src/cppo_command.ml) Running[30]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_version.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_version.cmx -c -impl src/cppo_version.ml) Running[31]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_types.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_types.cmx -c -impl src/cppo_types.ml) Running[32]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_parser.cmi -c -intf src/cppo_parser.mli) Running[33]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_lexer.cmo -c -impl src/cppo_lexer.ml) Running[34]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/byte/dune__exe__Cppo_main.cmo -c -impl src/cppo_main.ml) Running[35]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_parser.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_parser.cmx -c -impl src/cppo_parser.ml) Running[36]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_lexer.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_lexer.cmx -c -impl src/cppo_lexer.ml) Running[37]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_eval.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_eval.cmx -c -impl src/cppo_eval.pp.ml) Running[38]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -cmi-file src/.cppo_main.eobjs/byte/dune__exe__Cppo_main.cmi -no-alias-deps -open Dune__exe -o src/.cppo_main.eobjs/native/dune__exe__Cppo_main.cmx -c -impl src/cppo_main.ml) Running[39]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o src/cppo_main.exe /usr/lib64/ocaml/unix/unix.cmxa /usr/lib64/ocaml/str/str.cmxa src/.cppo_main.eobjs/native/dune__exe.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_command.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_types.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_parser.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_lexer.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_eval.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_version.cmx src/.cppo_main.eobjs/native/dune__exe__Cppo_main.cmx) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZwU85i + umask 022 + cd /builddir/build/BUILD/ocaml-cppo-1.8.0-build + '[' /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ocaml-cppo-1.8.0-build + mkdir /builddir/build/BUILD/ocaml-cppo-1.8.0-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 cppo-1.8.0 + dune install --destdir=/builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT --verbose --release -j8 Shared cache enabled cache_enabled: Enabled_except_user_rules Shared cache location root_dir: "/builddir/.cache/dune/db" Workspace root root: "/builddir/build/BUILD/ocaml-cppo-1.8.0-build/cppo-1.8.0" Dune context context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo/META Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo/dune-package Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo/opam Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/bin/cppo Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/doc/cppo/LICENSE.md Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/doc/cppo/README.md Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/META Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.a Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cma Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cmxa Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/dune-package Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmi Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmt Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmti Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmx Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.ml Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.mli Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/opam Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cmxs Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/doc/cppo_ocamlbuild/LICENSE.md Installing /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/doc/cppo_ocamlbuild/README.md + '[' -d _build/default/_doc/_html ']' + rm -rf /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/doc ++ find /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml -name '*.mli' + mlis=/builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.mli + rm -f /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.ml + /usr/bin/python3 /usr/lib/rpm/redhat/ocaml_files.py /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT /usr/lib64/ocaml + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.8.0-6.fc45 --unique-debug-suffix -1.8.0-6.fc45.riscv64 --unique-debug-src-base ocaml-cppo-1.8.0-6.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/ocaml-cppo-1.8.0-build/cppo-1.8.0 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ocaml-cppo-1.8.0-6.fc45.riscv64 cpio: _build/default/atomic.ml: Cannot stat: No such file or directory cpio: _build/default/buffer.ml: Cannot stat: No such file or directory cpio: _build/default/bytes.ml: Cannot stat: No such file or directory cpio: _build/default/int64.ml: Cannot stat: No such file or directory cpio: _build/default/lexing.ml: Cannot stat: No such file or directory cpio: _build/default/list.ml: Cannot stat: No such file or directory cpio: _build/default/map.ml: Cannot stat: No such file or directory cpio: _build/default/parsing.ml: Cannot stat: No such file or directory cpio: _build/default/plugin-lib/ocamlbuild_plugin.ml: Cannot stat: No such file or directory cpio: _build/default/printf.ml: Cannot stat: No such file or directory cpio: _build/default/seq.ml: Cannot stat: No such file or directory cpio: _build/default/src/flags.ml: Cannot stat: No such file or directory cpio: _build/default/src/pathname.ml: Cannot stat: No such file or directory cpio: _build/default/src/tags.ml: Cannot stat: No such file or directory cpio: _build/default/stdlib.ml: Cannot stat: No such file or directory cpio: _build/default/str.ml: Cannot stat: No such file or directory cpio: _build/default/string.ml: Cannot stat: No such file or directory cpio: _build/default/unix.ml: Cannot stat: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.a: replacing with normalized version Scanned 22 directories and 28 files, processed 1 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/ocaml-cppo-1.8.0-build/BUILDROOT/usr Scanned 21 directories and 28 files, considered 28 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/ocaml-cppo-1.8.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bQeuNX + umask 022 + cd /builddir/build/BUILD/ocaml-cppo-1.8.0-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 cppo-1.8.0 + dune runtest --verbose --release -j8 Shared cache enabled cache_enabled: Enabled_except_user_rules Shared cache location root_dir: "/builddir/.cache/dune/db" Workspace root root: "/builddir/build/BUILD/ocaml-cppo-1.8.0-build/cppo-1.8.0" Dune context context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Running[1]: (cd _build/default/test && ../src/cppo_main.exe -x 'rot13:tr '\''[a-z]'\'' '\''[n-za-m]'\''' -x 'source:sh source.sh '\''%F'\'' %B %E' ./ext.cppo) > _build/default/test/ext.out Running[2]: (cd _build/default/test && ../src/cppo_main.exe ./comments.cppo) > _build/default/test/comments.out Running[3]: (cd _build/default/test && ../src/cppo_main.exe ./cond.cppo) > _build/default/test/cond.out Running[4]: (cd _build/default/test && ../src/cppo_main.exe ./tuple.cppo) > _build/default/test/tuple.out Running[5]: (cd _build/default/test && ../src/cppo_main.exe ./loc.cppo) > _build/default/test/loc.out Running[6]: (cd _build/default/test && ../src/cppo_main.exe ./paren_arg.cppo) > _build/default/test/paren_arg.out Running[7]: (cd _build/default/test && ../src/cppo_main.exe -V X:123.05.2-alpha.1+foo-2.1 -V COQ:8.13+beta1 -V OCAML:4.12.0~alpha1 ./version.cppo) > _build/default/test/version.out Running[8]: (cd _build/default/test && ../src/cppo_main.exe ./unmatched.cppo) > _build/default/test/unmatched.out Running[9]: (cd _build/default/test && ../src/cppo_main.exe ./test.cppo) > _build/default/test/test.out Running[10]: (cd _build/default/test && ../src/cppo_main.exe ./lexical.cppo) > _build/default/test/lexical.out Running[11]: (cd _build/default/test && ../src/cppo_main.exe ./scope.cppo) > _build/default/test/scope.out Running[12]: (cd _build/default/test && ../src/cppo_main.exe ./higher_order_macros.cppo) > _build/default/test/higher_order_macros.out Running[13]: (cd _build/default/test && ../src/cppo_main.exe ./include_define_on_last_line.cppo) > _build/default/test/include_define_on_last_line.out Running[14]: (cd _build/default/test && ../src/cppo_main.exe ./def.cppo) > _build/default/test/def.out Running[15]: (cd _build/default/test && ../src/cppo_main.exe ./arity_mismatch.cppo) 2> _build/default/test/arity_mismatch.err Running[16]: (cd _build/default/test && ../src/cppo_main.exe ./applied_to_none.cppo) 2> _build/default/test/applied_to_none.err Running[17]: (cd _build/default/test && ../src/cppo_main.exe ./expects_no_args.cppo) 2> _build/default/test/expects_no_args.err Running[18]: (cd _build/default/test && ../src/cppo_main.exe ./already_defined.cppo) 2> _build/default/test/already_defined.err Running[19]: (cd _build/default/test && ../src/cppo_main.exe ./at_least_one_arg.cppo) 2> _build/default/test/at_least_one_arg.err Running[20]: (cd _build/default/test && ../src/cppo_main.exe ./comment_in_formals.cppo) 2> _build/default/test/comment_in_formals.err Running[21]: (cd _build/default/test && ../src/cppo_main.exe ./arity_mismatch_indirect.cppo) 2> _build/default/test/arity_mismatch_indirect.err Running[22]: (cd _build/default/test && ../src/cppo_main.exe ./expect_ident.cppo) 2> _build/default/test/expect_ident.err Running[23]: (cd _build/default/test && ../src/cppo_main.exe ./expect_ident_empty.cppo) 2> _build/default/test/expect_ident_empty.err Running[24]: (cd _build/default/test && ../src/cppo_main.exe ./undefined.cppo) 2> _build/default/test/undefined.err Running[25]: (cd _build/default/test && ../src/cppo_main.exe ./shape_mismatch.cppo) 2> _build/default/test/shape_mismatch.err Running[26]: (cd _build/default/test && ../src/cppo_main.exe ./int_expansion_error.cppo) 2> _build/default/test/int_expansion_error.err Running[27]: (cd _build/default/test && ../src/cppo_main.exe ./extraneous_enddef.cppo) 2> _build/default/test/extraneous_enddef.err Running[28]: (cd _build/default/test && ../src/cppo_main.exe ./missing_enddef.cppo) 2> _build/default/test/missing_enddef.err Running[29]: (cd _build/default/test && ../src/cppo_main.exe ./missing_endscope.cppo) 2> _build/default/test/missing_endscope.err File "test/comments.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/comments.ref --label test/comments.out test/comments.ref test/comments.out) --- test/comments.ref +++ test/comments.out @@ -1,8 +1,8 @@ -# 1 "comments.cppo" +# 1 "./comments.cppo" (* '"' *) -# 5 "comments.cppo" +# 5 "./comments.cppo" (* "*)" #define DONT_TOUCH_THIS *) File "test/cond.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/cond.ref --label test/cond.out test/cond.ref test/cond.out) --- test/cond.ref +++ test/cond.out @@ -1,17 +1,17 @@ -# 7 "cond.cppo" +# 7 "./cond.cppo" banana -# 17 "cond.cppo" +# 17 "./cond.cppo" apricot -# 28 "cond.cppo" +# 28 "./cond.cppo" nest -# 45 "cond.cppo" +# 45 "./cond.cppo" sea urchin File "test/tuple.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/tuple.ref --label test/tuple.out test/tuple.ref test/tuple.out) --- test/tuple.ref +++ test/tuple.out @@ -1,20 +1,20 @@ -# 5 "tuple.cppo" +# 5 "./tuple.cppo" pistachios -# 9 "tuple.cppo" +# 9 "./tuple.cppo" trees -# 16 "tuple.cppo" +# 16 "./tuple.cppo" waves -# 28 "tuple.cppo" +# 28 "./tuple.cppo" bees -# 34 "tuple.cppo" +# 34 "./tuple.cppo" steamboat File "test/loc.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/loc.ref --label test/loc.out test/loc.ref test/loc.out) --- test/loc.ref +++ test/loc.out @@ -1,21 +1,21 @@ -# 2 "loc.cppo" - "loc.cppo" 2 -# 3 "loc.cppo" +# 2 "./loc.cppo" + "./loc.cppo" 2 +# 3 "./loc.cppo" X( -# 3 "loc.cppo" - "loc.cppo" 3 -# 3 "loc.cppo" +# 3 "./loc.cppo" + "./loc.cppo" 3 +# 3 "./loc.cppo" ) X( -# 4 "loc.cppo" - "loc.cppo" 4 -# 4 "loc.cppo" +# 4 "./loc.cppo" + "./loc.cppo" 4 +# 4 "./loc.cppo" ) X(Y( -# 5 "loc.cppo" - "loc.cppo" 5 -# 5 "loc.cppo" +# 5 "./loc.cppo" + "./loc.cppo" 5 +# 5 "./loc.cppo" )) -# 8 "loc.cppo" - "loc.cppo" 8 +# 8 "./loc.cppo" + "./loc.cppo" 8 File "test/paren_arg.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/paren_arg.ref --label test/paren_arg.out test/paren_arg.ref test/paren_arg.out) --- test/paren_arg.ref +++ test/paren_arg.out @@ -1,4 +1,4 @@ -# 2 "paren_arg.cppo" +# 2 "./paren_arg.cppo" <(1, (2))> < 34> -# 3 "paren_arg.cppo" +# 3 "./paren_arg.cppo" <(1 , (2 ))> < 34> File "test/version.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/version.ref --label test/version.out test/version.ref test/version.out) --- test/version.ref +++ test/version.out @@ -1,42 +1,42 @@ -# 5 "version.cppo" +# 5 "./version.cppo" Cape buffalos -# 10 "version.cppo" +# 10 "./version.cppo" onion rings -# 16 "version.cppo" +# 16 "./version.cppo" major: -# 16 "version.cppo" +# 16 "./version.cppo" 123 -# 17 "version.cppo" +# 17 "./version.cppo" minor: -# 17 "version.cppo" +# 17 "./version.cppo" 05 -# 18 "version.cppo" +# 18 "./version.cppo" patch: -# 18 "version.cppo" +# 18 "./version.cppo" 2 -# 21 "version.cppo" +# 21 "./version.cppo" prerelease: -# 21 "version.cppo" +# 21 "./version.cppo" alpha.1 -# 27 "version.cppo" +# 27 "./version.cppo" build: -# 27 "version.cppo" +# 27 "./version.cppo" foo-2.1 -# 32 "version.cppo" +# 32 "./version.cppo" Coq: -# 32 "version.cppo" +# 32 "./version.cppo" (8, 13, 0) -# 34 "version.cppo" +# 34 "./version.cppo" OCaml pre-release: -# 34 "version.cppo" +# 34 "./version.cppo" alpha1 File "test/unmatched.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/unmatched.ref --label test/unmatched.out test/unmatched.ref test/unmatched.out) --- test/unmatched.ref +++ test/unmatched.out @@ -1,15 +1,15 @@ -# 4 "unmatched.cppo" +# 4 "./unmatched.cppo" let a = 1 in let b = 2 in (a || -# 9 "unmatched.cppo" +# 9 "./unmatched.cppo" b) -# 12 "unmatched.cppo" +# 12 "./unmatched.cppo" (1 + (2+3)) -# 13 "unmatched.cppo" +# 13 "./unmatched.cppo" ) ( File "test/ext.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/ext.ref --label test/ext.out test/ext.ref test/ext.out) --- test/ext.ref +++ test/ext.out @@ -1,9 +1,9 @@ -# 1 "ext.cppo" +# 1 "./ext.cppo" hello nop #raqrkg qrs -# 7 "ext.cppo" +# 7 "./ext.cppo" goodbye # 9 @@ -21,7 +21,7 @@ *) (* Environment variables: - CPPO_FILE=ext.cppo + CPPO_FILE=./ext.cppo CPPO_FIRST_LINE=9 CPPO_LAST_LINE=11 *) File "test/test.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/test.ref --label test/test.out test/test.ref test/test.out) --- test/test.ref +++ test/test.out @@ -1,30 +1,30 @@ -# 1 "test.cppo" +# 1 "./test.cppo" (* comment *) -# 4 "test.cppo" +# 4 "./test.cppo" f(1) -# 6 "test.cppo" +# 6 "./test.cppo" 2+ 3.14 -# 8 "test.cppo" +# 8 "./test.cppo" 3+ 3.14 -# 13 "test.cppo" +# 13 "./test.cppo" "g" is not defined -# 18 "test.cppo" +# 18 "./test.cppo" b() -# 20 "test.cppo" +# 20 "./test.cppo" debug("a") debug("b") -# 33 "test.cppo" +# 33 "./test.cppo" success -# 45 "test.cppo" +# 45 "./test.cppo" "abc\ xyz @@ -33,53 +33,53 @@ 789 456 *) -# 48 "test.cppo" +# 48 "./test.cppo" "a" "b" -# 51 "test.cppo" +# 51 "./test.cppo" aa ,bb 123 -# 54 "test.cppo" +# 54 "./test.cppo" , ) ( -# 56 "test.cppo" +# 56 "./test.cppo" blah #define xyz -# 63 "test.cppo" +# 63 "./test.cppo" _ _ (* the 2 underscores should be space-separated *) -# 67 "test.cppo" +# 67 "./test.cppo" + + (* there should be some space between the pluses *) -# 69 "test.cppo" +# 69 "./test.cppo" (* (* nested comment with single single quote: ' *) "*)" *) -# 72 "test.cppo" +# 72 "./test.cppo" obj # define -# 73 "test.cppo" +# 73 "./test.cppo" -# 75 "test.cppo" +# 75 "./test.cppo" ' (* lone single quote *) -# 78 "test.cppo" +# 78 "./test.cppo" 1 -# 78 "test.cppo" +# 78 "./test.cppo" = 1 -# 82 "test.cppo" +# 82 "./test.cppo" # -# 82 "test.cppo" +# 82 "./test.cppo" is # -# 98 "test.cppo" +# 98 "./test.cppo" good maths -# 117 "test.cppo" +# 117 "./test.cppo" let g x = printf "call %s\n%!" "g"; @@ -89,34 +89,34 @@ ;; -# 124 "test.cppo" +# 124 "./test.cppo" class foo () = object -# 126 "test.cppo" +# 126 "./test.cppo" val mutable field_1 : int option method get_field_1 = field_1 method set_field_1 x = field_1 <- Some x -# 127 "test.cppo" +# 127 "./test.cppo" val mutable field_2 : string option method get_field_2 = field_2 method set_field_2 x = field_2 <- Some x -# 128 "test.cppo" +# 128 "./test.cppo" end -# 135 "test.cppo" +# 135 "./test.cppo" (if !debug then - eprintf "[debug] %s %i: " "test.cppo" 135 ; + eprintf "[debug] %s %i: " "./test.cppo" 135 ; eprintf "test1 %i %i" x y; eprintf "\n") -# 136 "test.cppo" +# 136 "./test.cppo" (if !debug then - eprintf "[debug] %s %i: " "test.cppo" 136 ; + eprintf "[debug] %s %i: " "./test.cppo" 136 ; eprintf "test2 %i" x; eprintf "\n") @@ -125,7 +125,7 @@ # 1 "incl2.cppo" ok -# 139 "test.cppo" +# 139 "./test.cppo" # 123456 File "test/lexical.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/lexical.ref --label test/lexical.out test/lexical.ref test/lexical.out) --- test/lexical.ref +++ test/lexical.out @@ -1,36 +1,36 @@ -# 1 "lexical.cppo" +# 1 "./lexical.cppo" (* This test shows that the definition of BAR captures the original definition of FOO, so even if FOO is redefined, the expansion of BAR does not change. *) -# 8 "lexical.cppo" +# 8 "./lexical.cppo" "new definition" -# 8 "lexical.cppo" +# 8 "./lexical.cppo" (* expands to "new definition" *) -# 9 "lexical.cppo" +# 9 "./lexical.cppo" "original definition" -# 9 "lexical.cppo" +# 9 "./lexical.cppo" (* expands to "original definition" *) (* This test shows that a formal parameter can shadow a previously defined macro. *) -# 14 "lexical.cppo" +# 14 "./lexical.cppo" 42 -# 14 "lexical.cppo" +# 14 "./lexical.cppo" (* expands to 42 *) (* This test shows that two formal parameters can have the same name. In that case, the second parameter shadows the first one. *) -# 19 "lexical.cppo" +# 19 "./lexical.cppo" 23+23 -# 19 "lexical.cppo" +# 19 "./lexical.cppo" (* expands to 23+23 *) (* This test shows that it is OK to pass an empty argument to a macro that expects one parameter. This is interpreted as passing one empty argument. *) -# 25 "lexical.cppo" +# 25 "./lexical.cppo" show(42) -# 26 "lexical.cppo" +# 26 "./lexical.cppo" show("23") -# 27 "lexical.cppo" +# 27 "./lexical.cppo" show() File "test/scope.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/scope.ref --label test/scope.out test/scope.ref test/scope.out) --- test/scope.ref +++ test/scope.out @@ -1,20 +1,20 @@ -# 1 "scope.cppo" +# 1 "./scope.cppo" (* This example shows that the definition of FOO that is nested inside the (multi-line) definition of BAR affects only the body of the definition of BAR. It does not affect the text that follows a call to BAR. So, a multi-line macro definition acts as a scope delimiter. *) -# 11 "scope.cppo" +# 11 "./scope.cppo" "definition of FOO at the top level" -# 11 "scope.cppo" +# 11 "./scope.cppo" (* expands to "definition of FOO at the top level" *) -# 12 "scope.cppo" +# 12 "./scope.cppo" "definition of FOO inside BAR" (* expands to "definition of FOO inside BAR" *) -# 13 "scope.cppo" +# 13 "./scope.cppo" "definition of FOO at the top level" -# 13 "scope.cppo" +# 13 "./scope.cppo" (* expands to "definition of FOO at the top level" *) (* If one wishes to delimit a scope, without actually defining a macro, @@ -22,15 +22,15 @@ -# 20 "scope.cppo" +# 20 "./scope.cppo" "first definition of HELLO" -# 20 "scope.cppo" +# 20 "./scope.cppo" (* expands to "first definition of HELLO" *) -# 24 "scope.cppo" +# 24 "./scope.cppo" "second definition of HELLO" -# 24 "scope.cppo" +# 24 "./scope.cppo" (* expands to "second definition of HELLO" *) HELLO (* this does not expand *) @@ -38,74 +38,74 @@ #def DUMMY ... #enddef DUMMY #undef DUMMY but this is a bit unnatural. *) -# 36 "scope.cppo" +# 36 "./scope.cppo" "definition of HELLO inside the scope" (* expands to "definition of HELLO inside the scope" *) -# 38 "scope.cppo" +# 38 "./scope.cppo" HELLO (* this does not expand *) (* Another simple example. *) -# 44 "scope.cppo" +# 44 "./scope.cppo" let x = -# 44 "scope.cppo" +# 44 "./scope.cppo" "I am defined" -# 44 "scope.cppo" +# 44 "./scope.cppo" (* expands to "I am defined" *) -# 47 "scope.cppo" +# 47 "./scope.cppo" let y = -# 47 "scope.cppo" +# 47 "./scope.cppo" 42 -# 47 "scope.cppo" +# 47 "./scope.cppo" (* expands to 42 *) (* Check that the effect of #undef is also local. This example relies on the above definition of HI. *) -# 54 "scope.cppo" +# 54 "./scope.cppo" let qwd = HI (* HI is not recognized as a macro and expands to itself *) let z = -# 56 "scope.cppo" +# 56 "./scope.cppo" 42 -# 56 "scope.cppo" +# 56 "./scope.cppo" (* expands to 42 *) (* Scopes can be nested. *) -# 61 "scope.cppo" +# 61 "./scope.cppo" let x = -# 61 "scope.cppo" +# 61 "./scope.cppo" 0 -# 61 "scope.cppo" +# 61 "./scope.cppo" (* expands to 0 *) -# 65 "scope.cppo" +# 65 "./scope.cppo" let y = -# 65 "scope.cppo" +# 65 "./scope.cppo" 1 -# 65 "scope.cppo" +# 65 "./scope.cppo" (* expands to 1 *) -# 69 "scope.cppo" +# 69 "./scope.cppo" let z = -# 69 "scope.cppo" +# 69 "./scope.cppo" 2 -# 69 "scope.cppo" +# 69 "./scope.cppo" (* expands to 2 *) let _ = -# 71 "scope.cppo" +# 71 "./scope.cppo" 1 -# 71 "scope.cppo" +# 71 "./scope.cppo" (* expands to 1 *) let _ = -# 73 "scope.cppo" +# 73 "./scope.cppo" 0 -# 73 "scope.cppo" +# 73 "./scope.cppo" (* expands to 0 *) (* Another example of nesting. *) @@ -113,19 +113,19 @@ -# 81 "scope.cppo" +# 81 "./scope.cppo" let message1 = -# 81 "scope.cppo" +# 81 "./scope.cppo" "Hello, " -# 81 "scope.cppo" +# 81 "./scope.cppo" ^ -# 81 "scope.cppo" +# 81 "./scope.cppo" "man" -# 83 "scope.cppo" +# 83 "./scope.cppo" (* Here, MAN is no longer defined, but HELLO still is. *) let message2 = -# 84 "scope.cppo" +# 84 "./scope.cppo" "Hello, " -# 84 "scope.cppo" +# 84 "./scope.cppo" ^ "world" File "test/higher_order_macros.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/higher_order_macros.ref --label test/higher_order_macros.out test/higher_order_macros.ref test/higher_order_macros.out) --- test/higher_order_macros.ref +++ test/higher_order_macros.out @@ -1,27 +1,27 @@ -# 1 "higher_order_macros.cppo" +# 1 "./higher_order_macros.cppo" (* This macro application combinator provides call-by-value semantics: the actual argument is evaluated up front and its value is bound to a variable, which is passed as an argument to the macro [F]. *) -# 7 "higher_order_macros.cppo" +# 7 "./higher_order_macros.cppo" (* Some trivial tests. *) -# 10 "higher_order_macros.cppo" +# 10 "./higher_order_macros.cppo" let forty_one = -# 10 "higher_order_macros.cppo" +# 10 "./higher_order_macros.cppo" (let __x = ( 41) in __x ) -# 11 "higher_order_macros.cppo" +# 11 "./higher_order_macros.cppo" let forty_two = -# 11 "higher_order_macros.cppo" +# 11 "./higher_order_macros.cppo" (let __x = ( 42 ) in __x ) -# 13 "higher_order_macros.cppo" +# 13 "./higher_order_macros.cppo" (* A [for]-loop macro. *) -# 20 "higher_order_macros.cppo" +# 20 "./higher_order_macros.cppo" (* A [for]-loop macro that performs unrolling. *) -# 35 "higher_order_macros.cppo" +# 35 "./higher_order_macros.cppo" (* In some of the examples that follow, #scope ... #endscope is used to avoid the need to #undefine local macros such as BODY and F. *) @@ -29,19 +29,19 @@ let iter f a = -# 42 "higher_order_macros.cppo" +# 42 "./higher_order_macros.cppo" ( for __index = 0 to Array.length a-1 do (f a.(__index)) done ) -# 45 "higher_order_macros.cppo" +# 45 "./higher_order_macros.cppo" (* Iteration over an array, with an unrolled loop. *) let unrolled_iter f a = -# 49 "higher_order_macros.cppo" +# 49 "./higher_order_macros.cppo" ( let __finish = ( Array.length a) in let __index = ref (0) in @@ -56,25 +56,25 @@ done ) -# 52 "higher_order_macros.cppo" +# 52 "./higher_order_macros.cppo" (* Printing an array, with a normal loop. *) let print_int_array a = -# 55 "higher_order_macros.cppo" +# 55 "./higher_order_macros.cppo" ( for __index = 0 to Array.length a-1 do Printf.printf "%d" a.(__index) done ) -# 57 "higher_order_macros.cppo" +# 57 "./higher_order_macros.cppo" (* A higher-order macro that produces a definition of [iter], and accepts an arbitrary definition of the macro [LOOP]. *) -# 65 "higher_order_macros.cppo" +# 65 "./higher_order_macros.cppo" (* Some noise, which does not affect the above definitions. *) -# 68 "higher_order_macros.cppo" +# 68 "./higher_order_macros.cppo" let iter f a = ( @@ -82,7 +82,7 @@ (f a.(__index)) done ) -# 69 "higher_order_macros.cppo" +# 69 "./higher_order_macros.cppo" let unrolled_iter f a = ( File "test/include_define_on_last_line.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/include_define_on_last_line.ref --label test/include_define_on_last_line.out test/include_define_on_last_line.ref test/include_define_on_last_line.out) --- test/include_define_on_last_line.ref +++ test/include_define_on_last_line.out @@ -1,7 +1,7 @@ # 1 "define_on_last_line.cppo" (* This #define is NOT ended by a new line, but is nevertheless accepted. *) -# 2 "include_define_on_last_line.cppo" +# 2 "./include_define_on_last_line.cppo" (* Check that the definition of TWICE has been accepted: *) let f x = -# 3 "include_define_on_last_line.cppo" +# 3 "./include_define_on_last_line.cppo" x + x File "test/def.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/def.ref --label test/def.out test/def.ref test/def.out) --- test/def.ref +++ test/def.out @@ -1,33 +1,33 @@ -# 1 "def.cppo" +# 1 "./def.cppo" (* This macro application combinator provides call-by-value semantics: the actual argument is evaluated up front and its value is bound to a variable, which is passed as an argument to the macro [F]. *) -# 10 "def.cppo" +# 10 "./def.cppo" (* Some trivial tests. *) -# 13 "def.cppo" +# 13 "./def.cppo" let forty_one = -# 13 "def.cppo" +# 13 "./def.cppo" (let __x = ( 41) in __x ) (* Multiple lines permitted; no backslash required. *) -# 14 "def.cppo" +# 14 "./def.cppo" let forty_two = -# 14 "def.cppo" +# 14 "./def.cppo" (let __x = ( 42 ) in __x ) (* Multiple lines permitted; no backslash required. *) -# 16 "def.cppo" +# 16 "./def.cppo" (* A [for]-loop macro. *) -# 25 "def.cppo" +# 25 "./def.cppo" (* A [for]-loop macro that performs unrolling. *) -# 47 "def.cppo" +# 47 "./def.cppo" (* In the examples that follow, #scope ... #endscope is used to avoid the need to #undefine local macros such as BODY and F. *) @@ -35,7 +35,7 @@ let iter f a = -# 54 "def.cppo" +# 54 "./def.cppo" ( for __index = 0 to Array.length a-1 do @@ -44,12 +44,12 @@ ) -# 57 "def.cppo" +# 57 "./def.cppo" (* Iteration over an array, with an unrolled loop. *) let unrolled_iter f a = -# 61 "def.cppo" +# 61 "./def.cppo" ( (* #define can be nested inside #def. *) (* #def can be nested inside #def. *) @@ -80,12 +80,12 @@ ) -# 64 "def.cppo" +# 64 "./def.cppo" (* Printing an array, with a normal loop. *) let print_int_array a = -# 68 "def.cppo" +# 68 "./def.cppo" ( for __index = 0 to Array.length a-1 do @@ -94,14 +94,14 @@ ) -# 71 "def.cppo" +# 71 "./def.cppo" (* A higher-order macro that produces a definition of [iter], and accepts an arbitrary definition of the macro [LOOP]. *) -# 81 "def.cppo" +# 81 "./def.cppo" (* Some noise, which does not affect the above definitions. *) -# 84 "def.cppo" +# 84 "./def.cppo" let iter f a = @@ -113,7 +113,7 @@ ) -# 85 "def.cppo" +# 85 "./def.cppo" let unrolled_iter f a = @@ -148,5 +148,5 @@ -# 87 "def.cppo" +# 87 "./def.cppo" (* Just because we can, undefine BODY. *) File "test/arity_mismatch.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/arity_mismatch.ref --label test/arity_mismatch.err test/arity_mismatch.ref test/arity_mismatch.err) --- test/arity_mismatch.ref +++ test/arity_mismatch.err @@ -1,2 +1,2 @@ -Error: File "arity_mismatch.cppo", line 3, characters 0-10 +Error: File "./arity_mismatch.cppo", line 3, characters 0-10 Error: "INCR" expects 1 argument but is applied to 2 arguments. File "test/applied_to_none.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/applied_to_none.ref --label test/applied_to_none.err test/applied_to_none.ref test/applied_to_none.err) --- test/applied_to_none.ref +++ test/applied_to_none.err @@ -1,2 +1,2 @@ -Error: File "applied_to_none.cppo", line 3, characters 0-3 +Error: File "./applied_to_none.cppo", line 3, characters 0-3 Error: "FOO" expects 1 argument but is applied to 0 argument. File "test/expects_no_args.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expects_no_args.ref --label test/expects_no_args.err test/expects_no_args.ref test/expects_no_args.err) --- test/expects_no_args.ref +++ test/expects_no_args.err @@ -1,2 +1,2 @@ -Error: File "expects_no_args.cppo", line 3, characters 4-11 +Error: File "./expects_no_args.cppo", line 3, characters 4-11 Error: "FOO" expects 0 argument but is applied to 1 argument. File "test/already_defined.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/already_defined.ref --label test/already_defined.err test/already_defined.ref test/already_defined.err) --- test/already_defined.ref +++ test/already_defined.err @@ -1,2 +1,2 @@ -Error: File "already_defined.cppo", line 3, characters 0-17 +Error: File "./already_defined.cppo", line 3, characters 0-17 Error: "FOO" is already defined File "test/at_least_one_arg.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/at_least_one_arg.ref --label test/at_least_one_arg.err test/at_least_one_arg.ref test/at_least_one_arg.err) --- test/at_least_one_arg.ref +++ test/at_least_one_arg.err @@ -1,2 +1,2 @@ -Error: File "at_least_one_arg.cppo", line 2, characters 12-13 +Error: File "./at_least_one_arg.cppo", line 2, characters 12-13 Error: A macro must have at least one formal parameter File "test/comment_in_formals.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/comment_in_formals.ref --label test/comment_in_formals.err test/comment_in_formals.ref test/comment_in_formals.err) --- test/comment_in_formals.ref +++ test/comment_in_formals.err @@ -1,2 +1,2 @@ -Error: File "comment_in_formals.cppo", line 1, characters 15-16 +Error: File "./comment_in_formals.cppo", line 1, characters 15-16 Error: Invalid formal parameter: expected an identifier File "test/arity_mismatch_indirect.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/arity_mismatch_indirect.ref --label test/arity_mismatch_indirect.err test/arity_mismatch_indirect.ref test/arity_mismatch_indirect.err) --- test/arity_mismatch_indirect.ref +++ test/arity_mismatch_indirect.err @@ -1,2 +1,2 @@ -Error: File "arity_mismatch_indirect.cppo", line 2, characters 26-27 +Error: File "./arity_mismatch_indirect.cppo", line 2, characters 26-27 Error: "F" expects 1 argument but is applied to 0 argument. File "test/expect_ident.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expect_ident.ref --label test/expect_ident.err test/expect_ident.ref test/expect_ident.err) --- test/expect_ident.ref +++ test/expect_ident.err @@ -1,2 +1,2 @@ -Error: File "expect_ident.cppo", line 4, characters 6-12 +Error: File "./expect_ident.cppo", line 4, characters 6-12 Error: The name of a macro is expected in this position File "test/expect_ident_empty.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/expect_ident_empty.ref --label test/expect_ident_empty.err test/expect_ident_empty.ref test/expect_ident_empty.err) --- test/expect_ident_empty.ref +++ test/expect_ident_empty.err @@ -1,2 +1,2 @@ -Error: File "expect_ident_empty.cppo", line 4, characters 6-6 +Error: File "./expect_ident_empty.cppo", line 4, characters 6-6 Error: The name of a macro is expected in this position File "test/undefined.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/undefined.ref --label test/undefined.err test/undefined.ref test/undefined.err) --- test/undefined.ref +++ test/undefined.err @@ -1,2 +1,2 @@ -Error: File "undefined.cppo", line 2, characters 6-9 +Error: File "./undefined.cppo", line 2, characters 6-9 Error: The macro 'FOO' is not defined File "test/shape_mismatch.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/shape_mismatch.ref --label test/shape_mismatch.err test/shape_mismatch.ref test/shape_mismatch.err) --- test/shape_mismatch.ref +++ test/shape_mismatch.err @@ -1,3 +1,3 @@ -Error: File "shape_mismatch.cppo", line 3, characters 6-9 +Error: File "./shape_mismatch.cppo", line 3, characters 6-9 Error: A macro of type [.] was expected, but a macro of type . was provided File "test/int_expansion_error.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/int_expansion_error.ref --label test/int_expansion_error.err test/int_expansion_error.ref test/int_expansion_error.err) --- test/int_expansion_error.ref +++ test/int_expansion_error.err @@ -1,4 +1,4 @@ -Error: File "int_expansion_error.cppo", line 2, characters 4-7 +Error: File "./int_expansion_error.cppo", line 2, characters 4-7 Error: Variable FOO found in cppo boolean expression must expand into an int literal, into a tuple of int literals, or into a variable with the same properties. File "test/extraneous_enddef.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/extraneous_enddef.ref --label test/extraneous_enddef.err test/extraneous_enddef.ref test/extraneous_enddef.err) --- test/extraneous_enddef.ref +++ test/extraneous_enddef.err @@ -1,2 +1,2 @@ -Error: File "extraneous_enddef.cppo", line 4, characters 0-8 +Error: File "./extraneous_enddef.cppo", line 4, characters 0-8 Error: syntax error RPM build errors: File "test/missing_enddef.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/missing_enddef.ref --label test/missing_enddef.err test/missing_enddef.ref test/missing_enddef.err) --- test/missing_enddef.ref +++ test/missing_enddef.err @@ -1,2 +1,2 @@ -Error: File "missing_enddef.cppo", line 3, characters 0-13 +Error: File "./missing_enddef.cppo", line 3, characters 0-13 Error: This #def is never closed: perhaps #enddef is missing File "test/missing_endscope.ref", line 1, characters 0-0: (cd _build/default && /usr/bin/diff -u --label test/missing_endscope.ref --label test/missing_endscope.err test/missing_endscope.ref test/missing_endscope.err) --- test/missing_endscope.ref +++ test/missing_endscope.err @@ -1,2 +1,2 @@ -Error: File "missing_endscope.cppo", line 3, characters 0-6 +Error: File "./missing_endscope.cppo", line 3, characters 0-6 Error: This #scope is never closed: perhaps #endscope is missing error: Bad exit status from /var/tmp/rpm-tmp.bQeuNX (%check) Bad exit status from /var/tmp/rpm-tmp.bQeuNX (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 52f8df360eda46a3a0fc22b85f64a37b -D /var/lib/mock/f45-build-20561-571/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2xgd1fx0:/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/ocaml-cppo.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, 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 52f8df360eda46a3a0fc22b85f64a37b -D /var/lib/mock/f45-build-20561-571/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2xgd1fx0:/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/ocaml-cppo.spec'