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-mtlparse.spec'], chrootPath='/var/lib/mock/f42-build-55849081-6539262/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.zwl1qxdc:/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.zwl1qxdc:/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', '309b2d1227994a2592face575933ae40', '-D', '/var/lib/mock/f42-build-55849081-6539262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zwl1qxdc:/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-mtlparse.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=1722816000 Wrote: /builddir/build/SRPMS/ghc-mtlparse-0.1.4.0-41.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-mtlparse.spec'], chrootPath='/var/lib/mock/f42-build-55849081-6539262/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.zwl1qxdc:/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.zwl1qxdc:/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', 'd128a33790d44c9b8432157b9174a26e', '-D', '/var/lib/mock/f42-build-55849081-6539262/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zwl1qxdc:/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-mtlparse.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=1722816000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5YdWbs + umask 022 + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + test -d /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JdPHJS + umask 022 + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + rm -rf mtlparse-0.1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mtlparse-0.1.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mtlparse-0.1.4.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.hgDu5y + umask 022 + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.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 -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 mtlparse-0.1.4.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + echo -e '\n==== Build mtlparse-0.1.4.0 ====' ==== Build mtlparse-0.1.4.0 ==== + '[' -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-mtlparse '--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/mtlparse-0.1.4.0 --global Warning: mtlparse.cabal:18:27: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Warning: mtlparse.cabal:11:1: Tabs used as indentation at 11:1, 12:1, 13:1, 14:1, 15:1, 16:1 Configuring mtlparse-0.1.4.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j12 Preprocessing library for mtlparse-0.1.4.0.. Building library for mtlparse-0.1.4.0.. [1 of 2] Compiling Text.ParserCombinators.MTLParse.MTLParseCore Text/ParserCombinators/MTLParse/MTLParseCore.hs:68:31: warning: [-Wunused-imports] The import of ‘Applicative’ from module ‘Control.Applicative’ is redundant | 68 | import Control.Applicative ( Applicative(..), Alternative(..) ) | ^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:82:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 82 | import Data.Monoid ( Monoid( mempty ) ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:128:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Parse p)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 128 | pure = return; (<*>) = ap | ^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:135:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Parse a)’. ‘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 | 135 | return = Parse . \val inp -> [ (val, inp) ] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:138:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 14 further locations. Suggested fix: Please use spaces instead. | 138 | [ runParse ( f a ) rest | ( a, rest ) <- pr st ] ) | ^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:198:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (ParseT a m)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 198 | pure = return; (<*>) = ap | ^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:205:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (ParseT a m)’. ‘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 | 205 | return b = ParseT $ \a -> return [ (b, a) ] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Text.ParserCombinators.MTLParse Text/ParserCombinators/MTLParse.hs:77:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 77 | replicateM mn p | ^^^^^^^^ [1 of 2] Compiling Text.ParserCombinators.MTLParse.MTLParseCore Text/ParserCombinators/MTLParse/MTLParseCore.hs:68:31: warning: [-Wunused-imports] The import of ‘Applicative’ from module ‘Control.Applicative’ is redundant | 68 | import Control.Applicative ( Applicative(..), Alternative(..) ) | ^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:82:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 82 | import Data.Monoid ( Monoid( mempty ) ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:128:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (Parse p)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 128 | pure = return; (<*>) = ap | ^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:135:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (Parse a)’. ‘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 | 135 | return = Parse . \val inp -> [ (val, inp) ] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:138:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 14 further locations. Suggested fix: Please use spaces instead. | 138 | [ runParse ( f a ) rest | ( a, rest ) <- pr st ] ) | ^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:198:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative (ParseT a m)’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 198 | pure = return; (<*>) = ap | ^^^^^^^^^^^^^ Text/ParserCombinators/MTLParse/MTLParseCore.hs:205:3: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad (ParseT a m)’. ‘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 | 205 | return b = ParseT $ \a -> return [ (b, a) ] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Text.ParserCombinators.MTLParse Text/ParserCombinators/MTLParse.hs:77:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 77 | replicateM mn p | ^^^^^^^^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZocaE6 + umask 022 + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + '[' /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + mkdir /builddir/build/BUILD/ghc-mtlparse-0.1.4.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 -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 mtlparse-0.1.4.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d mtlparse-0.1.4.0.conf ']' + install -D --mode=0644 mtlparse-0.1.4.0.conf /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/mtlparse-0.1.4.0.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/mtlparse-0.1.4.0.conf ']' + rm -f ghc-mtlparse.files ghc-mtlparse-doc.files + touch ghc-mtlparse.files ghc-mtlparse-doc.files + for i in /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHSmtlparse-0.1.4.0-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0 + '[' -d /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0 ']' + find /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0 -type d -fprintf ghc-mtlparse-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-mtlparse-prof.files -o -fprint ghc-mtlparse-devel.files + ls /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/mtlparse-0.1.4.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/mtlparse-0.1.4.0 + '[' -d /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/share/doc/ghc/html/libraries/mtlparse-0.1.4.0 ']' + for i in ghc-mtlparse.files ghc-mtlparse-devel.files ghc-mtlparse-doc.files ghc-mtlparse-prof.files + '[' -f ghc-mtlparse.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT!!g' ghc-mtlparse.files + for i in ghc-mtlparse.files ghc-mtlparse-devel.files ghc-mtlparse-doc.files ghc-mtlparse-prof.files + '[' -f ghc-mtlparse-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT!!g' ghc-mtlparse-devel.files + for i in ghc-mtlparse.files ghc-mtlparse-devel.files ghc-mtlparse-doc.files ghc-mtlparse-prof.files + '[' -f ghc-mtlparse-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT!!g' ghc-mtlparse-doc.files + for i in ghc-mtlparse.files ghc-mtlparse-devel.files ghc-mtlparse-doc.files ghc-mtlparse-prof.files + '[' -f ghc-mtlparse-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT!!g' ghc-mtlparse-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT-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-mtlparse-0.1.4.0-build/BUILDROOT /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT.a: replacing with normalized version /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/mtlparse-0.1.4.0/libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT_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-mtlparse-0.1.4.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-mtlparse-0.1.4.0-41.fc42.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uk5Njw + umask 022 + cd /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build + cd mtlparse-0.1.4.0 + LICENSEDIR=/builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/share/licenses/ghc-mtlparse + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/share/licenses/ghc-mtlparse + cp -pr /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/mtlparse-0.1.4.0/LICENSE /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/BUILDROOT/usr/share/licenses/ghc-mtlparse + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-mtlparse = 0.1.4.0-41.fc42 ghc-mtlparse(aarch-64) = 0.1.4.0-41.fc42 libHSmtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT-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) libHSmtl-2.3.1-ghc9.6.6.so()(64bit) libHStransformers-0.6.1.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-mtlparse-devel-0.1.4.0-41.fc42.aarch64 Provides: ghc-devel(mtlparse-0.1.4.0-IIvx6ArU2BeDjQrn1dTATT) ghc-mtlparse-devel = 0.1.4.0-41.fc42 ghc-mtlparse-devel(aarch-64) = 0.1.4.0-41.fc42 ghc-mtlparse-static = 0.1.4.0-41.fc42 ghc-mtlparse-static(aarch-64) = 0.1.4.0-41.fc42 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) ghc-devel(mtl-2.3.1) Processing files: ghc-mtlparse-doc-0.1.4.0-41.fc42.noarch RPM build errors: error: Empty %files file /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/mtlparse-0.1.4.0/ghc-mtlparse-doc.files Empty %files file /builddir/build/BUILD/ghc-mtlparse-0.1.4.0-build/mtlparse-0.1.4.0/ghc-mtlparse-doc.files Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d128a33790d44c9b8432157b9174a26e -D /var/lib/mock/f42-build-55849081-6539262/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zwl1qxdc:/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-mtlparse.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 d128a33790d44c9b8432157b9174a26e -D /var/lib/mock/f42-build-55849081-6539262/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zwl1qxdc:/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-mtlparse.spec'