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/ghc-with-location.spec'], chrootPath='/var/lib/mock/f45-build-47468-867/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._v541cog:/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._v541cog:/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', 'b31c80dd9b6c4ef69c5b02c4e89ebbe5', '-D', '/var/lib/mock/f45-build-47468-867/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._v541cog:/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/ghc-with-location.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=1753228800 Wrote: /builddir/build/SRPMS/ghc-with-location-0.1.0-35.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/ghc-with-location.spec'], chrootPath='/var/lib/mock/f45-build-47468-867/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._v541cog:/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._v541cog:/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', '8a3dfecf97564fe59f89849bc0c2e2a3', '-D', '/var/lib/mock/f45-build-47468-867/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._v541cog:/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/ghc-with-location.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=1753228800 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.pvbnZA Creating(rpmbuild.env): /builddir/build/BUILD/ghc-with-location-0.1.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/ghc-with-location-0.1.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/ghc-with-location-0.1.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="ghc-with-location" RPM_PACKAGE_VERSION="0.1.0" RPM_PACKAGE_RELEASE="35.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/ghc-with-location-0.1.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.rXLvU7 + umask 022 + cd /builddir/build/BUILD/ghc-with-location-0.1.0-build + cd /builddir/build/BUILD/ghc-with-location-0.1.0-build + rm -rf with-location-0.1.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/with-location-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd with-location-0.1.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.vyU8rH + umask 022 + cd /builddir/build/BUILD/ghc-with-location-0.1.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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd with-location-0.1.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + echo + echo '==== Build with-location-0.1.0 ====' ==== Build with-location-0.1.0 ==== + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 ++ echo ' -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 ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-with-location '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.10.3/lib --enable-tests --global '--ghc-options=-fhide-source-paths -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-march=rva23u64 -optc-mabi=lp64d -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/with-location-0.1.0 --global Configuring with-location-0.1.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for with-location-0.1.0... Building library for with-location-0.1.0... [1 of 1] Compiling Data.WithLocation Preprocessing test suite 'spec' for with-location-0.1.0... Building test suite 'spec' for with-location-0.1.0... [1 of 2] Compiling Data.WithLocationSpec [2 of 2] Compiling Main [3 of 3] Linking dist/build/spec/spec + '[' -n dist/build/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi-ghc9.10.3.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for with-location-0.1.0... Running Haddock on library for with-location-0.1.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.20.2.0, ghc-bignum-1.3, ghc-internal-9.1003.0, ghc-prim-0.12.0 [1 of 1] Compiling Data.WithLocation ( src/Data/WithLocation.hs, nothing ) Haddock coverage: 0% ( 0 / 4) in 'Data.WithLocation' Missing documentation for: Module header WithLocation (src/Data/WithLocation.hs:19) Location (src/Data/WithLocation.hs:24) location (src/Data/WithLocation.hs:34) Warning: Data.WithLocation: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Internal.Show.Show - GHC.Types.Bool - GHC.Internal.Base.String - GHC.Types.Int - GHC.Internal.Maybe.Maybe - GHC.Types.Ordering - GHC.Internal.Stack.Types.CallStack - GHC.Internal.IO.FilePath - GHC.Internal.Show.show - GHC.Internal.Show.showList - GHC.Internal.Show.showsPrec - GHC.Internal.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min Documentation created: dist/doc/html/with-location/, dist/doc/html/with-location/with-location.txt Preprocessing test suite 'spec' for with-location-0.1.0... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yOhiMH + umask 022 + cd /builddir/build/BUILD/ghc-with-location-0.1.0-build + '[' /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-with-location-0.1.0-build + mkdir /builddir/build/BUILD/ghc-with-location-0.1.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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd with-location-0.1.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' -d with-location-0.1.0.conf ']' + install -D --mode=0644 with-location-0.1.0.conf /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/with-location-0.1.0.conf + '[' -d /usr/lib64/ghc-9.10.3/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/with-location-0.1.0.conf ']' + rm -f ghc-with-location.files ghc-with-location-doc.files + touch ghc-with-location.files ghc-with-location-doc.files + pkgdir=/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0 + '[' '!' -d /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0 ']' + '[' -d /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0 ']' + find /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0 -type d -fprintf ghc-with-location-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name '*.p_dyn_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-with-location-prof.files -o -fprint ghc-with-location-devel.files + ls /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/package.conf.d/with-location-0.1.0.conf + for i in /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3${subsubdir}/libHSwith-location-0.1.0-*ghc9.10.3.so + '[' -x /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi-ghc9.10.3.so ']' + case "$i" in + echo /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi-ghc9.10.3.so + haddock_dir=/usr/share/doc/ghc/html/libraries/with-location-0.1.0 + '[' -d /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/share/doc/ghc/html/libraries/with-location-0.1.0 ']' + echo /usr/share/doc/ghc/html/libraries/with-location-0.1.0 + for i in ghc-with-location.files ghc-with-location-devel.files ghc-with-location-doc.files ghc-with-location-prof.files + '[' -f ghc-with-location.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT!!g' ghc-with-location.files + for i in ghc-with-location.files ghc-with-location-devel.files ghc-with-location-doc.files ghc-with-location-prof.files + '[' -f ghc-with-location-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT!!g' ghc-with-location-devel.files + for i in ghc-with-location.files ghc-with-location-devel.files ghc-with-location-doc.files ghc-with-location-prof.files + '[' -f ghc-with-location-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT!!g' ghc-with-location-doc.files + for i in ghc-with-location.files ghc-with-location-devel.files ghc-with-location-doc.files ghc-with-location-prof.files + '[' -f ghc-with-location-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT!!g' ghc-with-location-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi-ghc9.10.3.so ++ sed -e 's@^/builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi-ghc9.10.3.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.10.3/lib:/usr/lib64/ghc-9.10.3/lib/riscv64-linux-ghc-9.10.3-inplace + case "$rpath" in + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/ghc-with-location-0.1.0-build/BUILDROOT /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr/lib64/ghc-9.10.3/lib/with-location-0.1.0/libHSwith-location-0.1.0-1sqseoLVONs6GiyHIoEWFi.a: replacing with normalized version Scanned 17 directories and 19 files, processed 5 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/ghc-with-location-0.1.0-build/BUILDROOT/usr Scanned 16 directories and 19 files, considered 19 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/ghc-with-location-0.1.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kPH8Tb + umask 022 + cd /builddir/build/BUILD/ghc-with-location-0.1.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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd with-location-0.1.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite spec: RUNNING... Data.WithLocation location returns a source location [✘] Failures: test/Data/WithLocationSpec.hs:13:16: 1) Data.WithLocation.location returns a source location expected: Just Location { locationPackage = "main", locationModule = "Data.WithLocationSpec", locationFile = "test/Data/WithLocationSpec.hs", locationLine = 13, locationColumn = 7 } but got: Just Location { locationPackage = "with-location-0.1.0-8GVAcpU5ZevInA5QHYTGyk-spec", locationModule = "Data.WithLocationSpec", locationFile = "test/Data/WithLocationSpec.hs", locationLine = 13, locationColumn = 7 } To rerun use: --match "/Data.WithLocation/location/returns a source location/" --seed 1784351608 Randomized with seed 1784351608 Finished in 0.0031 seconds 1 example, 1 failure Test suite spec: FAIL Test suite logged to: dist/test/with-location-0.1.0-spec.log 0 of 1 test suites (0 of 1 test cases) passed. error: Bad exit status from /var/tmp/rpm-tmp.kPH8Tb (%check) Bad exit status from /var/tmp/rpm-tmp.kPH8Tb (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8a3dfecf97564fe59f89849bc0c2e2a3 -D /var/lib/mock/f45-build-47468-867/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._v541cog:/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/ghc-with-location.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 8a3dfecf97564fe59f89849bc0c2e2a3 -D /var/lib/mock/f45-build-47468-867/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._v541cog:/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/ghc-with-location.spec'