t-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 RPM build errors: 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 HPUX_GNU SOLARIS_X86_64_CC SOLARIS_SPARC_64_CC VMS_IA64_DECCXX LINUX_PPC64_GNU WIN32_IX86_MSVC LINUX_X86_64_GNU LINUX_ZSERIES_GNU LINUX_IX86_GNU SOLARIS_IX86_CC LINUX_SH4_GNU PASE_ISERIES_IBMCXX VMS_ALPHA_DECCXX SOLARIS_CC DARWIN_PPC_GNU TRU64_ALPHA_DECCXX LINUX_XSCALE_GNU ZOS_ZSERIES64_IBM WIN64_X86_64_MSVC DARWIN_GNU AIX_RS_IBMCXX LINUX_X86_64_CLANG HPUX_IA64_ACC LINUX_IX86_CLANG SOLARIS_SPARC_CC HPUX_ACC HPUX_PARISC_ACC LINUX_SPARCV9_GNU LINUX_AARCH64_GNU HPUX_IA64_GNU DARWIN_IX86_GNU LINUX_IA64_GNU LINUX_PPC_GNU LINUX_ZSERIES64_GNU ZOS_ZSERIES_IBM HPUX_PARISC_GNU LINUX_SPARC64_GNU SOLARIS_SPARC_GNU . Stop. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.lNtBOU (%build) BUILDSTDERR: line 126: It's not recommended to have unversioned Obsoletes: Obsoletes: tog-pegasus-sdk BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lNtBOU (%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 700, 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