Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-generics-sop.spec'], chrootPath='/var/lib/mock/f40-build-759728-120573/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-generics-sop.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690070400 Wrote: /builddir/build/SRPMS/ghc-generics-sop-0.5.1.3-13.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-generics-sop.spec'], chrootPath='/var/lib/mock/f40-build-759728-120573/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-generics-sop.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690070400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FOZi4s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf generics-sop-0.5.1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/generics-sop-0.5.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd generics-sop-0.5.1.3 + rm -rf /builddir/build/BUILD/generics-sop-0.5.1.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/generics-sop-0.5.1.3-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sop-core-0.5.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd sop-core-0.5.0.2 + cabal-tweak-dep-ver base '< 4.17' '< 4.18' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.78SOTC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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 generics-sop-0.5.1.3 + HOME=/builddir/build/BUILD/generics-sop-0.5.1.3 + for i in sop-core-0.5.0.2 ++ echo sop-core-0.5.0.2 ++ sed -e 's/\(.*\)-.*/\1/' + name=sop-core ++ echo sop-core-0.5.0.2 ++ sed -e 's/.*-\(.*\)/\1/' + ver=0.5.0.2 + cd sop-core-0.5.0.2 + case $name in ++ 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\)') + '[' -f CHANGELOG.md -a -x CHANGELOG.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -d /usr/lib64/ghc-9.4.5/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 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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-generics-sop '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --enable-tests --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -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-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --docdir=/usr/share/licenses/ghc-sop-core --htmldir=/usr/share/doc/ghc/html/libraries/sop-core-0.5.0.2 --user Configuring sop-core-0.5.0.2... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for sop-core-0.5.0.2.. Building library for sop-core-0.5.0.2.. [1 of 8] Compiling Data.SOP.BasicFunctors [2 of 8] Compiling Data.SOP.Constraint [3 of 8] Compiling Data.SOP.Classes [4 of 8] Compiling Data.SOP.Sing [5 of 8] Compiling Data.SOP.NP [6 of 8] Compiling Data.SOP.NS [7 of 8] Compiling Data.SOP.Dict [8 of 8] Compiling Data.SOP [1 of 8] Compiling Data.SOP.BasicFunctors [2 of 8] Compiling Data.SOP.Constraint [3 of 8] Compiling Data.SOP.Classes [4 of 8] Compiling Data.SOP.Sing [5 of 8] Compiling Data.SOP.NP [6 of 8] Compiling Data.SOP.NS [7 of 8] Compiling Data.SOP.Dict [8 of 8] Compiling Data.SOP + '[' -n dist/build/libHSsop-core-0.5.0.2-C2iIEVjE1N8Lg8Q4QDHkLe-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for sop-core-0.5.0.2.. Running Haddock on library for sop-core-0.5.0.2.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-prim-0.9.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: 'NP' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'NS' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'POP' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'SOP' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 21 / 21) in 'Data.SOP.BasicFunctors' Warning: 'f' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'bar' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Couldn't find .haddock for export Constraint 95% ( 20 / 21) in 'Data.SOP.Constraint' Missing documentation for: Constraint Warning: 'traverse_' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'h' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 50 / 50) in 'Data.SOP.Classes' 100% ( 11 / 11) in 'Data.SOP.Sing' Warning: 'x' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'AllDictC' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'allDict_NP' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 98% ( 84 / 85) in 'Data.SOP.NP' Missing documentation for: shiftProjection (src/Data/SOP/NP.hs:364) 100% ( 83 / 83) in 'Data.SOP.NS' Warning: 'c' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'd' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'xs' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'xss' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 16 / 16) in 'Data.SOP.Dict' Warning: Couldn't find .haddock for export Proxy 98% (126 /128) in 'Data.SOP' Missing documentation for: shiftProjection (src/Data/SOP/NP.hs:364) Proxy Warning: Data.SOP.BasicFunctors: could not find link destinations for: - GHC.Types.Type - Data.Functor.Classes.Eq2 - Data.Functor.Classes.liftEq2 - GHC.Types.Bool - Data.Functor.Classes.Ord2 - Data.Functor.Classes.liftCompare2 - GHC.Types.Ordering - Data.Functor.Classes.Read2 - Data.Functor.Classes.liftReadsPrec2 - GHC.Types.Int - Text.ParserCombinators.ReadP.ReadS - Data.Functor.Classes.liftReadList2 - Data.Functor.Classes.liftReadPrec2 - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Functor.Classes.liftReadListPrec2 - Data.Functor.Classes.Show2 - Data.Functor.Classes.liftShowsPrec2 - GHC.Show.ShowS - Data.Functor.Classes.liftShowList2 - Control.DeepSeq.NFData2 - Control.DeepSeq.liftRnf2 - Data.Foldable.Foldable - Data.Foldable.fold - GHC.Base.Monoid - Data.Foldable.foldMap - Data.Foldable.foldMap' - Data.Foldable.foldr - Data.Foldable.foldr' - Data.Foldable.foldl - Data.Foldable.foldl' - Data.Foldable.foldr1 - Data.Foldable.foldl1 - Data.Foldable.toList - Data.Foldable.null - Data.Foldable.length - Data.Foldable.elem - GHC.Classes.Eq - Data.Foldable.maximum - GHC.Classes.Ord - Data.Foldable.minimum - Data.Foldable.sum - GHC.Num.Num - Data.Foldable.product - Data.Functor.Classes.Eq1 - Data.Functor.Classes.liftEq - Data.Functor.Classes.Ord1 - Data.Functor.Classes.liftCompare - Data.Functor.Classes.Read1 - GHC.Read.Read - Data.Functor.Classes.liftReadsPrec - Data.Functor.Classes.liftReadList - Data.Functor.Classes.liftReadPrec - Data.Functor.Classes.liftReadListPrec - Data.Functor.Classes.Show1 - GHC.Show.Show - Data.Functor.Classes.liftShowsPrec - Data.Functor.Classes.liftShowList - Data.Traversable.Traversable - Data.Traversable.traverse - GHC.Base.Applicative - Data.Traversable.sequenceA - Data.Traversable.mapM - GHC.Base.Monad - Data.Traversable.sequence - GHC.Base.pure - GHC.Base.<*> - GHC.Base.liftA2 - GHC.Base.*> - GHC.Base.<* - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - Control.DeepSeq.NFData1 - Control.DeepSeq.NFData - Control.DeepSeq.liftRnf - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.Semigroup - GHC.Base.<> - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Read.readsPrec - GHC.Read.readList - GHC.Read.readPrec - GHC.Read.readListPrec - GHC.Show.showsPrec - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Control.DeepSeq.rnf - GHC.Classes.== - GHC.Classes./= - GHC.Classes.compare - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.True - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.False - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Nothing - GHC.Maybe.Maybe - GHC.Types.Symbol - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Base.>>= - GHC.Base.>> - GHC.Base.return - GHC.Base.const - GHC.Base.id - GHC.Base.. Warning: Data.SOP.Constraint: could not find link destinations for: - GHC.Classes.Eq - GHC.Types.Type - GHC.Show.Show - GHC.Types.Coercible Warning: Data.SOP.Classes: could not find link destinations for: - GHC.Types.Type - GHC.Base.map - GHC.List.zipWith - GHC.List.zipWith3 - GHC.Base.Applicative - GHC.Base.Monoid - GHC.Types.Int Warning: Data.SOP.Sing: could not find link destinations for: - GHC.Types.Type - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min Warning: Data.SOP.NP: could not find link destinations for: - GHC.Types.Type - GHC.Base.Applicative - GHC.Base.Monoid - GHC.Base.Semigroup - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<> - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Control.DeepSeq.NFData - Control.DeepSeq.rnf - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Maybe.Maybe - GHC.Maybe.Nothing - Data.Foldable.foldr - Data.Either.Either Warning: Data.SOP.NS: could not find link destinations for: - GHC.Types.Type - Data.Either.Either - GHC.Types.Int - GHC.Base.Applicative - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Control.DeepSeq.NFData - Control.DeepSeq.rnf - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Base.. - GHC.Maybe.Maybe - GHC.Base.Monoid - GHC.Base.Functor Warning: Data.SOP.Dict: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList Warning: Data.SOP: could not find link destinations for: - GHC.Types.Type - GHC.Base.Applicative - GHC.Base.Monoid - GHC.Base.Semigroup - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Base.<> - GHC.Base.sconcat - GHC.Base.NonEmpty - GHC.Base.stimes - GHC.Real.Integral - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Control.DeepSeq.NFData - Control.DeepSeq.rnf - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.Either.Either - GHC.Base.map - GHC.List.zipWith - GHC.List.zipWith3 - GHC.Maybe.Maybe - GHC.Maybe.Nothing - Data.Functor.Classes.Eq2 - Data.Functor.Classes.liftEq2 - Data.Functor.Classes.Ord2 - Data.Functor.Classes.liftCompare2 - Data.Functor.Classes.Read2 - Data.Functor.Classes.liftReadsPrec2 - Text.ParserCombinators.ReadP.ReadS - Data.Functor.Classes.liftReadList2 - Data.Functor.Classes.liftReadPrec2 - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Functor.Classes.liftReadListPrec2 - Data.Functor.Classes.Show2 - Data.Functor.Classes.liftShowsPrec2 - Data.Functor.Classes.liftShowList2 - Control.DeepSeq.NFData2 - Control.DeepSeq.liftRnf2 - Data.Foldable.Foldable - Data.Foldable.fold - Data.Foldable.foldMap - Data.Foldable.foldMap' - Data.Foldable.foldr - Data.Foldable.foldr' - Data.Foldable.foldl - Data.Foldable.foldl' - Data.Foldable.foldr1 - Data.Foldable.foldl1 - Data.Foldable.toList - Data.Foldable.null - Data.Foldable.length - Data.Foldable.elem - Data.Foldable.maximum - Data.Foldable.minimum - Data.Foldable.sum - GHC.Num.Num - Data.Foldable.product - Data.Functor.Classes.Eq1 - Data.Functor.Classes.liftEq - Data.Functor.Classes.Ord1 - Data.Functor.Classes.liftCompare - Data.Functor.Classes.Read1 - GHC.Read.Read - Data.Functor.Classes.liftReadsPrec - Data.Functor.Classes.liftReadList - Data.Functor.Classes.liftReadPrec - Data.Functor.Classes.liftReadListPrec - Data.Functor.Classes.Show1 - Data.Functor.Classes.liftShowsPrec - Data.Functor.Classes.liftShowList - Data.Traversable.Traversable - Data.Traversable.traverse - Data.Traversable.sequenceA - Data.Traversable.mapM - GHC.Base.Monad - Data.Traversable.sequence - GHC.Base.pure - GHC.Base.<*> - GHC.Base.liftA2 - GHC.Base.*> - GHC.Base.<* - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - Control.DeepSeq.NFData1 - Control.DeepSeq.liftRnf - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Read.readsPrec - GHC.Read.readList - GHC.Read.readPrec - GHC.Read.readListPrec - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.True - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Types.False - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Types.Symbol - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Base.>>= - GHC.Base.>> - GHC.Base.return - GHC.Types.Coercible - GHC.Generics.Generic1 - GHC.Generics.from1 - GHC.Generics.Rep1 - GHC.Generics.to1 - GHC.Base.Alternative - GHC.Base.empty - GHC.Base.<|> - GHC.Base.some - GHC.Base.many - GHC.Base.MonadPlus - GHC.Base.mzero - GHC.Base.mplus - GHC.Enum.Bounded - GHC.Enum.minBound - GHC.Enum.maxBound - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Ix.Ix - GHC.Ix.range - GHC.Ix.index - GHC.Ix.unsafeIndex - GHC.Ix.inRange - GHC.Ix.rangeSize - GHC.Ix.unsafeRangeSize - GHC.Generics.U1 Documentation created: dist/doc/html/sop-core/index.html, dist/doc/html/sop-core/sop-core.txt + ./Setup register --inplace Registering library for sop-core-0.5.0.2.. + cd .. ++ 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\)') + '[' -f CHANGELOG.md -a -x CHANGELOG.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -d /usr/lib64/ghc-9.4.5/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 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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-generics-sop '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --enable-tests --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -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-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/generics-sop-0.5.1.3 --user Configuring generics-sop-0.5.1.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for generics-sop-0.5.1.3.. Building library for generics-sop-0.5.1.3.. [ 1 of 14] Compiling Generics.SOP.BasicFunctors [ 2 of 14] Compiling Generics.SOP.Classes [ 3 of 14] Compiling Generics.SOP.Constraint [ 4 of 14] Compiling Generics.SOP.Dict [ 5 of 14] Compiling Generics.SOP.NP [ 6 of 14] Compiling Generics.SOP.Metadata [ 7 of 14] Compiling Generics.SOP.NS [ 8 of 14] Compiling Generics.SOP.Sing [ 9 of 14] Compiling Generics.SOP.Type.Metadata [10 of 14] Compiling Generics.SOP.GGP [11 of 14] Compiling Generics.SOP.Universe [12 of 14] Compiling Generics.SOP.TH [13 of 14] Compiling Generics.SOP.Instances : error: Couldn't find a target code interpreter. Try with -fexternal-interpreter error: Bad exit status from /var/tmp/rpm-tmp.78SOTC (%build) Bad exit status from /var/tmp/rpm-tmp.78SOTC (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-generics-sop.spec