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-HaXml.spec'], chrootPath='/var/lib/mock/f38-build-725977-99844/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=604800uid=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-HaXml.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=1687478400 Wrote: /builddir/build/SRPMS/ghc-HaXml-1.25.12-3.rvre0.fc38.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-HaXml.spec'], chrootPath='/var/lib/mock/f38-build-725977-99844/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=604800uid=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-HaXml.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=1687478400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I0nZTl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf HaXml-1.25.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/HaXml-1.25.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd HaXml-1.25.12 + /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.avrRXt + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 HaXml-1.25.12 ++ 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 ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README -a -x README ']' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 ']' + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x 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 -fasynchronous-unwind-tables -fstack-clash-protection -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-HaXml '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--ghc-options= -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-fasynchronous-unwind-tables -optc-fstack-clash-protection -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/HaXml-1.25.12 --global Configuring HaXml-1.25.12... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for HaXml-1.25.12.. Building library for HaXml-1.25.12.. [ 1 of 43] Compiling Text.XML.HaXml.DtdToHaskell.TypeDef [ 2 of 43] Compiling Text.XML.HaXml.DtdToHaskell.Instance [ 3 of 43] Compiling Text.XML.HaXml.Posn [ 4 of 43] Compiling Text.XML.HaXml.Lex [ 5 of 43] Compiling Text.XML.HaXml.Types [ 6 of 43] Compiling Text.XML.HaXml.Schema.XSDTypeModel src/Text/XML/HaXml/Schema/XSDTypeModel.hs:309:19: warning: [-Wmissing-fields] • Fields of ‘Schema’ not initialised: schema_elementFormDefault :: QForm schema_attributeFormDefault :: QForm schema_finalDefault :: Maybe Final schema_blockDefault :: Maybe Block schema_targetNamespace :: Maybe TargetNamespace schema_version :: Maybe String schema_namespaces :: [Namespace] • In the expression: Schema {schema_items = []} In an equation for ‘mempty’: mempty = Schema {schema_items = []} In the instance declaration for ‘Monoid Schema’ | 309 | mempty = Schema{ schema_items=[] } | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 43] Compiling Text.XML.HaXml.Schema.PrimitiveTypes src/Text/XML/HaXml/Schema/PrimitiveTypes.hs:54:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/Parse.hi mismatched interface file profile tag (wanted "", got "u") [ 8 of 43] Compiling Text.XML.HaXml.Namespaces [ 9 of 43] Compiling Text.XML.HaXml.Schema.NameConversion [10 of 43] Compiling Text.XML.HaXml.Pretty [11 of 43] Compiling Text.XML.HaXml.TypeMapping [12 of 43] Compiling Text.XML.HaXml.ParseLazy | 54 | import Text.Parse | ^^^^^^^^^^^^^^^^^ src/Text/XML/HaXml/ParseLazy.hs:44:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/ParserCombinators/Poly/StateLazy.hi mismatched interface file profile tag (wanted "", got "u") | 44 | import Text.ParserCombinators.Poly.StateLazy | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Text/XML/HaXml/Parse.hs:44:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/ParserCombinators/Poly/State.hi mismatched interface file profile tag (wanted "", got "u") | 44 | import Text.ParserCombinators.Poly.State | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [13 of 43] Compiling Text.XML.HaXml.Parse [15 of 43] Compiling Text.XML.HaXml.Html.Pretty [16 of 43] Compiling Text.XML.HaXml.Html.ParseLazy [17 of 43] Compiling Text.XML.HaXml.Html.Parse [18 of 43] Compiling Text.XML.HaXml.Escape [19 of 43] Compiling Text.XML.HaXml.DtdToHaskell.Convert [20 of 43] Compiling Text.XML.HaXml.Combinators [21 of 43] Compiling Text.XML.HaXml.Html.Generate [22 of 43] Compiling Text.XML.HaXml.ByteStringPP [23 of 43] Compiling Text.XML.HaXml.Verbatim [24 of 43] Compiling Text.XML.HaXml.Util [25 of 43] Compiling Text.XML.HaXml.Version [27 of 43] Compiling Text.XML.HaXml.XmlContent.Parser src/Text/XML/HaXml/Html/ParseLazy.hs:24:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/ParserCombinators/Poly/Lazy.hi mismatched interface file profile tag (wanted "", got "u") | 24 | import Text.ParserCombinators.Poly.Lazy | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Text/XML/HaXml/Html/Parse.hs:26:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/ParserCombinators/Poly/Plain.hi mismatched interface file profile tag (wanted "", got "u") | 26 | import Text.ParserCombinators.Poly.Plain | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Text/XML/HaXml/XmlContent/Parser.hs:126:20: error: Not in scope: type constructor or class ‘Parser’ | 126 | type XMLParser a = Parser (Content Posn) a | ^^^^^^ src/Text/XML/HaXml/XmlContent/Parser.hs:238:14: error: Not in scope:[41 of 43] Compiling Text.XML.HaXml.Xtract.Combinators [42 of 43] Compiling Text.XML.HaXml.Xtract.Lex [43 of 43] Compiling Text.XML.HaXml.Xtract.Parse data constructor ‘P’ | 238 | choice cons (P other) = | ^ src/Text/XML/HaXml/Xtract/Parse.hs:10:1: error: Bad interface file: /usr/lib64/ghc-9.2.6/lib/polyparse-1.13/Text/ParserCombinators/Poly.hi mismatched interface file profile tag (wanted "", got "u") | 10 | import Text.ParserCombinators.Poly hiding (bracket) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: Bad exit status from /var/tmp/rpm-tmp.avrRXt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.avrRXt (%build) 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-HaXml.spec