Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.spec'], chrootPath='/var/lib/mock/f42-build-56120372-6540837/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n_8v9n63:/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.n_8v9n63:/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', '3fe7be21a3934a61934db02487ac4451', '-D', '/var/lib/mock/f42-build-56120372-6540837/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n_8v9n63:/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 aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1724284800 Wrote: /builddir/build/SRPMS/ghc-copilot-core-3.19.1-2.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.spec'], chrootPath='/var/lib/mock/f42-build-56120372-6540837/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n_8v9n63:/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.n_8v9n63:/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', '93811e3c1a524e5d9e1a8590f2e336bb', '-D', '/var/lib/mock/f42-build-56120372-6540837/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n_8v9n63:/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 aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1724284800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.BtUwBr + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + test -d /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RjDEIH + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + rm -rf copilot-core-3.19.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/copilot-core-3.19.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd copilot-core-3.19.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.5AHv6O + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wl,-z,pack-relative-relocs -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 copilot-core-3.19.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' ==== Build copilot-core-3.19.1 ==== + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG -a -x CHANGELOG ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + echo -e '\n==== Build copilot-core-3.19.1 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,-z,pack-relative-relocs -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-copilot-core '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.6/lib --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-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,-z,pack-relative-relocs -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1' --enable-library-profiling --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/copilot-core-3.19.1 --global Configuring copilot-core-3.19.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j12 Preprocessing library for copilot-core-3.19.1.. Building library for copilot-core-3.19.1.. [1 of 6] Compiling Copilot.Core.Type.Array [2 of 6] Compiling Copilot.Core.Type src/Copilot/Core/Type.hs:95:14: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. | 95 | data Type :: * -> * where | ^ src/Copilot/Core/Type.hs:95:19: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. | 95 | data Type :: * -> * where | ^ src/Copilot/Core/Type.hs:118:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘typeSize’: Patterns of type ‘Type (Array n t)’ not matched: Struct _ | 118 | typeSize ty@(Array ty'@(Array _)) = typeLength ty * typeSize ty' | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Copilot/Core/Type.hs:241:3: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘simpleType’: Patterns of type ‘Type (Array n t)’ not matched: Struct _ | 241 | simpleType (Array t) = SArray t | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 6] Compiling Copilot.Core.Operators [4 of 6] Compiling Copilot.Core.Expr [5 of 6] Compiling Copilot.Core.Spec [6 of 6] Compiling Copilot.Core [1 of 6] Compiling Copilot.Core.Type.Array [2 of 6] Compiling Copilot.Core.Type src/Copilot/Core/Type.hs:95:14: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. | 95 | data Type :: * -> * where | ^ src/Copilot/Core/Type.hs:95:19: warning: [GHC-39567] [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. | 95 | data Type :: * -> * where | ^ src/Copilot/Core/Type.hs:118:1: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘typeSize’: Patterns of type ‘Type (Array n t)’ not matched: Struct _ | 118 | typeSize ty@(Array ty'@(Array _)) = typeLength ty * typeSize ty' | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Copilot/Core/Type.hs:241:3: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘simpleType’: Patterns of type ‘Type (Array n t)’ not matched: Struct _ | 241 | simpleType (Array t) = SArray t | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 6] Compiling Copilot.Core.Operators [4 of 6] Compiling Copilot.Core.Expr [5 of 6] Compiling Copilot.Core.Spec [6 of 6] Compiling Copilot.Core + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kCL7Rl + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + '[' /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + mkdir /builddir/build/BUILD/ghc-copilot-core-3.19.1-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wl,-z,pack-relative-relocs -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 copilot-core-3.19.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d copilot-core-3.19.1.conf ']' + install -D --mode=0644 copilot-core-3.19.1.conf /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/copilot-core-3.19.1.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/copilot-core-3.19.1.conf ']' + rm -f ghc-copilot-core.files ghc-copilot-core-doc.files + touch ghc-copilot-core.files ghc-copilot-core-doc.files + for i in /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHScopilot-core-3.19.1-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1 + '[' -d /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1 ']' + find /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1 -type d -fprintf ghc-copilot-core-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-copilot-core-prof.files -o -fprint ghc-copilot-core-devel.files + ls /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/copilot-core-3.19.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/copilot-core-3.19.1 + '[' -d /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/doc/ghc/html/libraries/copilot-core-3.19.1 ']' + for i in ghc-copilot-core.files ghc-copilot-core-devel.files ghc-copilot-core-doc.files ghc-copilot-core-prof.files + '[' -f ghc-copilot-core.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT!!g' ghc-copilot-core.files + for i in ghc-copilot-core.files ghc-copilot-core-devel.files ghc-copilot-core-doc.files ghc-copilot-core-prof.files + '[' -f ghc-copilot-core-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT!!g' ghc-copilot-core-devel.files + for i in ghc-copilot-core.files ghc-copilot-core-devel.files ghc-copilot-core-doc.files ghc-copilot-core-prof.files + '[' -f ghc-copilot-core-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT!!g' ghc-copilot-core-doc.files + for i in ghc-copilot-core.files ghc-copilot-core-devel.files ghc-copilot-core-doc.files ghc-copilot-core-prof.files + '[' -f ghc-copilot-core-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT!!g' ghc-copilot-core-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn-ghc9.6.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.6.6/lib/aarch64-linux-ghc-9.6.6 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn.a: replacing with normalized version /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/copilot-core-3.19.1/libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn_p.a: replacing with normalized version Scanned 13 directories and 23 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-copilot-core-3.19.1-2.fc42.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.boJfID + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + cd copilot-core-3.19.1 + LICENSEDIR=/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/licenses/ghc-copilot-core + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/licenses/ghc-copilot-core + cp -pr /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/copilot-core-3.19.1/LICENSE /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/licenses/ghc-copilot-core + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-copilot-core = 3.19.1-2.fc42 ghc-copilot-core(aarch-64) = 3.19.1-2.fc42 libHScopilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn-ghc9.6.6.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.18.2.1-ghc9.6.6.so()(64bit) libHSghc-bignum-1.3-ghc9.6.6.so()(64bit) libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-copilot-core-devel-3.19.1-2.fc42.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9hqTsg + umask 022 + cd /builddir/build/BUILD/ghc-copilot-core-3.19.1-build + cd copilot-core-3.19.1 + DOCDIR=/builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/doc/ghc-copilot-core-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/doc/ghc-copilot-core-devel + cp -pr /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/copilot-core-3.19.1/CHANGELOG /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/doc/ghc-copilot-core-devel + cp -pr /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/copilot-core-3.19.1/README.md /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/BUILDROOT/usr/share/doc/ghc-copilot-core-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-copilot-core-devel = 3.19.1-2.fc42 ghc-copilot-core-devel(aarch-64) = 3.19.1-2.fc42 ghc-copilot-core-static = 3.19.1-2.fc42 ghc-copilot-core-static(aarch-64) = 3.19.1-2.fc42 ghc-devel(copilot-core-3.19.1-AoQQLKf9axCFpdbpRVfXEn) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.18.2.1) Processing files: ghc-copilot-core-doc-3.19.1-2.fc42.noarch RPM build errors: error: Empty %files file /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/copilot-core-3.19.1/ghc-copilot-core-doc.files Empty %files file /builddir/build/BUILD/ghc-copilot-core-3.19.1-build/copilot-core-3.19.1/ghc-copilot-core-doc.files Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 93811e3c1a524e5d9e1a8590f2e336bb -D /var/lib/mock/f42-build-56120372-6540837/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n_8v9n63:/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 aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/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 93811e3c1a524e5d9e1a8590f2e336bb -D /var/lib/mock/f42-build-56120372-6540837/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n_8v9n63:/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 aarch64 --nodeps /builddir/build/SPECS/ghc-copilot-core.spec'