a{ 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