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: WIN64_IA64_MSVC DARWIN_IX86_GNU SOLARIS_X86_64_CC SOLARIS_SPARC_64_CC VMS_IA64_DECCXX HPUX_PARISC_ACC HPUX_GNU DARWIN_PPC_GNU LINUX_IX86_GNU SOLARIS_IX86_CC WIN32_IX86_MSVC LINUX_SH4_GNU VMS_ALPHA_DECCXX LINUX_X86_64_CLANG LINUX_ZSERIES_GNU SOLARIS_CC TRU64_ALPHA_DECCXX WIN64_X86_64_MSVC LINUX_XSCALE_GNU ZOS_ZSERIES64_IBM PASE_ISERIES_IBMCXX HPUX_IA64_ACC DARWIN_GNU AIX_RS_IBMCXX HPUX_PARISC_GNU LINUX_IX86_CLANG SOLARIS_SPARC_CC LINUX_PPC64_GNU LINUX_SPARCV9_GNU HPUX_IA64_GNU LINUX_PPC_E500_GNU LINUX_AARCH64_GNU LINUX_IA64_GNU LINUX_PPC_GNU LINUX_ZSERIES64_GNU ZOS_ZSERIES_IBM HPUX_ACC LINUX_X86_64_GNU LINUX_SPARC64_GNU SOLARIS_SPARC_GNU . Stop. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GFGuuU (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GFGuuU (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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