hat/redhat-hardened-cc1 -fstack-protector-strong -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + PEGASUS_EXTRA_LINK_FLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 /builddir/build/BUILD/pegasus/mak/config.mak:336: *** PEGASUS_PLATFORM environment variable must be set to one of the following: AIX_RS_IBMCXX DARWIN_GNU DARWIN_IX86_GNU DARWIN_PPC_GNU HPUX_ACC HPUX_GNU HPUX_IA64_ACC HPUX_IA64_GNU HPUX_PARISC_ACC HPUX_PARISC_GNU LINUX_AARCH64_GNU LINUX_IA64_GNU LINUX_IX86_CLANG LINUX_IX86_GNU LINUX_PPC64_GNU LINUX_PPC_E500_GNU LINUX_PPC_GNU LINUX_SH4_GNU LINUX_SPARC64_GNU LINUX_SPARCV9_GNU LINUX_X86_64_CLANG LINUX_X86_64_GNU LINUX_XSCALE_GNU LINUX_ZSERIES64_GNU LINUX_ZSERIES_GNU PASE_ISERIES_IBMCXX SOLARIS_CC SOLARIS_IX86_CC SOLARIS_SPARC_64_CC SOLARIS_SPARC_CC SOLARIS_SPARC_GNU SOLARIS_X86_64_CC TRU64_ALPHA_DECCXX VMS_ALPHA_DECCXX VMS_IA64_DECCXX WIN32_IX86_MSVC WIN64_IA64_MSVC WIN64_X86_64_MSVC ZOS_ZSERIES64_IBM ZOS_ZSERIES_IBM . Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GlTgR7 (%build) line 126: It's not recommended to have unversioned Obsoletes: Obsoletes: tog-pegasus-sdk Bad exit status from /var/tmp/rpm-tmp.GlTgR7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/tog-pegasus.spec