Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.spec'], chrootPath='/var/lib/mock/f42-build-56368922-6543655/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.fm5c9ok6:/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.fm5c9ok6:/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', '51a9d34a6e7b4821ba18b903bf222ff3', '-D', '/var/lib/mock/f42-build-56368922-6543655/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm5c9ok6:/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 x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722211200 Wrote: /builddir/build/SRPMS/ghc-spdx-1.0.0.3-17.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.spec'], chrootPath='/var/lib/mock/f42-build-56368922-6543655/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.fm5c9ok6:/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.fm5c9ok6:/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', '571ba0ea11bb4ced9541835b7a223b5f', '-D', '/var/lib/mock/f42-build-56368922-6543655/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm5c9ok6:/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 x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722211200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.yUSTUx + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + test -d /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OQDxEI + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + rm -rf spdx-1.0.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/spdx-1.0.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd spdx-1.0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cabal-tweak-dep-ver Cabal '^>=3.6.0.0' '^>=3.10.0.0' + cabal-tweak-dep-ver base '<4.17' '<4.19' + cabal-tweak-dep-ver base-compat '^>=0.12.1' '^>=0.13.1' + cabal-tweak-dep-ver transformers '<0.6' '<0.7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Zn440p + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 spdx-1.0.0.3 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') ==== Build spdx-1.0.0.3 ==== + '[' -f CHANGELOG.md -a -x CHANGELOG.md ']' + 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 spdx-1.0.0.3 ====' + '[' -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-spdx '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.6/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-m64 -optc-march=x86-64 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optc-mtls-dialect=gnu2 -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/spdx-1.0.0.3 --global Configuring spdx-1.0.0.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j6 Preprocessing library for spdx-1.0.0.3.. Building library for spdx-1.0.0.3.. [1 of 2] Compiling Distribution.SPDX.Extra.Internal src/Distribution/SPDX/Extra/Internal.hs:31:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative LatticeSyntax’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 31 | pure = return | ^^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:35:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad LatticeSyntax’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 35 | return = LVar | ^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:86:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Eval v)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 86 | pure = return | ^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:94:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Eval v)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 94 | return = Eval . return | ^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Distribution.SPDX.Extra [1 of 2] Compiling Distribution.SPDX.Extra.Internal src/Distribution/SPDX/Extra/Internal.hs:31:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative LatticeSyntax’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 31 | pure = return | ^^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:35:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad LatticeSyntax’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 35 | return = LVar | ^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:86:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Eval v)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 86 | pure = return | ^^^^^^^^^^^^^ src/Distribution/SPDX/Extra/Internal.hs:94:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Eval v)’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 94 | return = Eval . return | ^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Distribution.SPDX.Extra Preprocessing test suite 'test' for spdx-1.0.0.3.. Building test suite 'test' for spdx-1.0.0.3.. [1 of 2] Compiling Generators [2 of 2] Compiling Main [3 of 3] Linking dist/build/test/test + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RibYeA + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + '[' /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + mkdir /builddir/build/BUILD/ghc-spdx-1.0.0.3-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 spdx-1.0.0.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d spdx-1.0.0.3.conf ']' + install -D --mode=0644 spdx-1.0.0.3.conf /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/spdx-1.0.0.3.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/spdx-1.0.0.3.conf ']' + rm -f ghc-spdx.files ghc-spdx-doc.files + touch ghc-spdx.files ghc-spdx-doc.files + for i in /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHSspdx-1.0.0.3-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3 + '[' -d /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3 ']' + find /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3 -type d -fprintf ghc-spdx-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-spdx-prof.files -o -fprint ghc-spdx-devel.files + ls /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/spdx-1.0.0.3.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/spdx-1.0.0.3 + '[' -d /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/doc/ghc/html/libraries/spdx-1.0.0.3 ']' + for i in ghc-spdx.files ghc-spdx-devel.files ghc-spdx-doc.files ghc-spdx-prof.files + '[' -f ghc-spdx.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT!!g' ghc-spdx.files + for i in ghc-spdx.files ghc-spdx-devel.files ghc-spdx-doc.files ghc-spdx-prof.files + '[' -f ghc-spdx-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT!!g' ghc-spdx-devel.files + for i in ghc-spdx.files ghc-spdx-devel.files ghc-spdx-doc.files ghc-spdx-prof.files + '[' -f ghc-spdx-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT!!g' ghc-spdx-doc.files + for i in ghc-spdx.files ghc-spdx-devel.files ghc-spdx-doc.files ghc-spdx-prof.files + '[' -f ghc-spdx-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT!!g' ghc-spdx-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif-ghc9.6.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.6.6/lib:/usr/lib64/ghc-9.6.6/lib/x86_64-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 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif.a: replacing with normalized version /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/spdx-1.0.0.3/libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif_p.a: replacing with normalized version Scanned 13 directories and 11 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-spdx-1.0.0.3-17.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rd9OpJ + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + cd spdx-1.0.0.3 + LICENSEDIR=/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/licenses/ghc-spdx + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/licenses/ghc-spdx + cp -pr /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/spdx-1.0.0.3/LICENSE /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/licenses/ghc-spdx + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-spdx = 1.0.0.3-17.fc42 ghc-spdx(x86-64) = 1.0.0.3-17.fc42 libHSspdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif-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: libHSCabal-3.10.3.0-ghc9.6.6.so()(64bit) libHSCabal-syntax-3.10.3.0-ghc9.6.6.so()(64bit) libHSarray-0.5.6.0-ghc9.6.6.so()(64bit) libHSbase-4.18.2.1-ghc9.6.6.so()(64bit) libHSbinary-0.8.9.1-ghc9.6.6.so()(64bit) libHSbytestring-0.11.5.3-ghc9.6.6.so()(64bit) libHScontainers-0.6.7-ghc9.6.6.so()(64bit) libHSdeepseq-1.4.8.1-ghc9.6.6.so()(64bit) libHSdirectory-1.3.8.5-ghc9.6.6.so()(64bit) libHSexceptions-0.10.7-ghc9.6.6.so()(64bit) libHSfilepath-1.4.300.1-ghc9.6.6.so()(64bit) libHSghc-bignum-1.3-ghc9.6.6.so()(64bit) libHSghc-boot-th-9.6.6-ghc9.6.6.so()(64bit) libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit) libHSmtl-2.3.1-ghc9.6.6.so()(64bit) libHSparsec-3.1.16.1-ghc9.6.6.so()(64bit) libHSpretty-1.1.3.6-ghc9.6.6.so()(64bit) libHSprocess-1.6.19.0-ghc9.6.6.so()(64bit) libHSstm-2.5.1.0-ghc9.6.6.so()(64bit) libHStemplate-haskell-2.20.0.0-ghc9.6.6.so()(64bit) libHStext-2.0.2-ghc9.6.6.so()(64bit) libHStime-1.12.2-ghc9.6.6.so()(64bit) libHStransformers-0.6.1.0-ghc9.6.6.so()(64bit) libHSunix-2.8.4.0-ghc9.6.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-spdx-devel-1.0.0.3-17.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OyHYVJ + umask 022 + cd /builddir/build/BUILD/ghc-spdx-1.0.0.3-build + cd spdx-1.0.0.3 + DOCDIR=/builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/doc/ghc-spdx-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/doc/ghc-spdx-devel + cp -pr /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/spdx-1.0.0.3/CHANGELOG.md /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/doc/ghc-spdx-devel + cp -pr /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/spdx-1.0.0.3/README.md /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/BUILDROOT/usr/share/doc/ghc-spdx-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(spdx-1.0.0.3-Bsl3Qsc54bmB3xsf6gjdif) ghc-spdx-devel = 1.0.0.3-17.fc42 ghc-spdx-devel(x86-64) = 1.0.0.3-17.fc42 ghc-spdx-static = 1.0.0.3-17.fc42 ghc-spdx-static(x86-64) = 1.0.0.3-17.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(Cabal-3.10.3.0) ghc-devel(base-4.18.2.1) ghc-devel(containers-0.6.7) ghc-devel(transformers-0.6.1.0) Processing files: ghc-spdx-doc-1.0.0.3-17.fc42.noarch RPM build errors: error: Empty %files file /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/spdx-1.0.0.3/ghc-spdx-doc.files Empty %files file /builddir/build/BUILD/ghc-spdx-1.0.0.3-build/spdx-1.0.0.3/ghc-spdx-doc.files Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 571ba0ea11bb4ced9541835b7a223b5f -D /var/lib/mock/f42-build-56368922-6543655/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fm5c9ok6:/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 x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.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 571ba0ea11bb4ced9541835b7a223b5f -D /var/lib/mock/f42-build-56368922-6543655/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fm5c9ok6:/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 x86_64 --nodeps /builddir/build/SPECS/ghc-spdx.spec'