GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -Wno-unused -fno-strict-aliasing' + PEGASUS_EXTRA_C_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -Wno-unused -fno-strict-aliasing' + export 'PEGASUS_EXTRA_CXX_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -Wno-unused -fno-strict-aliasing' + PEGASUS_EXTRA_CXX_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -Wno-unused -fno-strict-aliasing' + export 'PEGASUS_EXTRA_LINK_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + PEGASUS_EXTRA_LINK_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'PEGASUS_EXTRA_PROGRAM_LINK_FLAGS=-g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack' + PEGASUS_EXTRA_PROGRAM_LINK_FLAGS='-g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack' + export SYS_INCLUDES=-I/usr/kerberos/include + SYS_INCLUDES=-I/usr/kerberos/include + make -j4 -f /builddir/build/BUILD/pegasus/Makefile.Release create_ProductVersionFile BUILDSTDERR: /builddir/build/BUILD/pegasus/mak/config.mak:336: *** PEGASUS_PLATFORM environment variable must be set to one of the following: LINUX_PPC_E500_GNU WIN64_IA64_MSVC SOLARIS_X86_64_CC SOLARIS_SPARC_64_CC VMS_IA64_DECCXX HPUX_PARISC_ACC HPUX_GNU LINUX_IX86_GNU SOLARIS_IX86_CC LINUX_SH4_GNU PASE_ISERIES_IBMCXX VMS_ALPHA_DECCXX SOLARIS_CC HPUX_PARISC_GNU TRU64_ALPHA_DECCXX WIN64_X86_64_MSVC LINUX_ZSERIES64_GNU LINUX_XSCALE_GNU ZOS_ZSERIES64_IBM HPUX_IA64_ACC DARWIN_GNU AIX_RS_IBMCXX LINUX_X86_64_CLANG WIN32_IX86_MSVC HPUX_ACC SOLARIS_SPARC_CC LINUX_ZSERIES_GNU LINUX_SPARCV9_GNU LINUX_AARCH64_GNU LINUX_IX86_CLANG HPUX_IA64_GNU DARWIN_IX86_GNU LINUX_IA64_GNU LINUX_PPC_GNU DARWIN_PPC_GNU LINUX_PPC64_GNU ZOS_ZSERIES_IBM LINUX_X86_64_GNU LINUX_SPARC64_GNU SOLARIS_SPARC_GNU . Stop. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.CLFP5U (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.CLFP5U (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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/tog-pegasus.spec