me = "parameter" , nameNamespace = Just "http://www.gtk.org/introspection/core/1.0" , namePrefix = Nothing } , elementAttributes = fromList [ ( Name { nameLocalName = "name" , nameNamespace = Nothing , namePrefix = Nothing } , "error_type_init" ) , ( Name { nameLocalName = "scope" , nameNamespace = Nothing , namePrefix = Nothing } , "forever" ) , ( Name { nameLocalName = "transfer-ownership" , nameNamespace = Nothing , namePrefix = Nothing } , "none" ) ] , elementNodes = [ NodeContent "\n " , NodeElement Element { elementName = Name { nameLocalName = "doc" , nameNamespace = Just "http://www.gtk.org/introspection/core/1.0" , namePrefix = Nothing } , elementAttributes = fromList [ ( Name { nameLocalName = "filename" , nameNamespace = Nothing , namePrefix = Nothing } , "glib/gerror.c" ) , ( Name { nameLocalName = "line" , nameNamespace = Nothing , namePrefix = Nothing } , "162" ) , ( Name { nameLocalName = "space" , nameNamespace = Just "http://www.w3.org/XML/1998/namespace" , namePrefix = Just "xml" } , "preserve" ) ] , elementNodes = [ NodeContent "function initializing fields of the private error data" ] } , NodeContent "\n " , NodeElement Element { elementName = Name { nameLocalName = "type" , nameNamespace = Just "http://www.gtk.org/introspection/core/1.0" , namePrefix = Nothing } , elementAttributes = fromList [ ( Name { nameLocalName = "name" , nameNamespace = Nothing , namePrefix = Nothing } , "ErrorInitFunc" ) , ( Name { nameLocalName = "type" , nameNamespace = Just "http://www.gtk.org/introspection/c/1.0" , namePrefix = Just "c" } , "GErrorInitFunc" ) ] , elementNodes = [] } , NodeContent "\n " ] } CallStack (from HasCallStack): error, called at lib/Data/GI/CodeGen/API.hs:182:19 in haskell-gi-0.26.7-IAZW4phQejh2L4lp3s5i3X:Data.GI.CodeGen.API error: Bad exit status from /var/tmp/rpm-tmp.UeGXHq (%build) Bad exit status from /var/tmp/rpm-tmp.UeGXHq (%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-gi-glib.spec