Created attachment 873839 [details] tog-pegasus.ppc64le.patch Description of problem: tog-pegasus do not build on new ppc64le architecture tog-pegasus-2.13.0-9.fc21 Steps to Reproduce: 1. fedpkg clone -a tog-pegasus 2. fedpkg prep 3. fedpkg mockbuild Actual results: + make -j2 -f /builddir/build/BUILD/pegasus/Makefile.Release create_ProductVersionFile /builddir/build/BUILD/pegasus/mak/config.mak:333: *** PEGASUS_PLATFORM environment variable must be set to one of the following: SOLARIS_X86_64_CC WIN32_IX86_MSVC WIN64_IA64_MSVC LINUX_ZSERIES_GNU SOLARIS_SPARC_64_CC VMS_IA64_DECCXX HPUX_PARISC_ACC SOLARIS_IX86_CC PASE_ISERIES_IBMCXX VMS_ALPHA_DECCXX LINUX_X86_64_CLANG LINUX_IX86_GNU SOLARIS_CC DARWIN_PPC_GNU TRU64_ALPHA_DECCXX LINUX_XSCALE_GNU ZOS_ZSERIES64_IBM WIN64_X86_64_MSVC AIX_RS_IBMCXX HPUX_PARISC_GNU HPUX_IA64_ACC LINUX_SH4_GNU LINUX_IX86_CLANG LINUX_PPC64_GNU SOLARIS_SPARC_CC HPUX_ACC LINUX_AARCH64_GNU DARWIN_GNU HPUX_IA64_GNU LINUX_SPARCV9_GNU LINUX_PPC_E500_GNU HPUX_GNU DARWIN_IX86_GNU LINUX_IA64_GNU LINUX_PPC_GNU LINUX_ZSERIES64_GNU ZOS_ZSERIES_IBM LINUX_X86_64_GNU LINUX_SPARC64_GNU SOLARIS_SPARC_GNU . Stop. RPM build errors: I am attaching a tog-pegasus-ppc64le.patch RFC
Looks fine. However I don't have access to ppc64le architecture, are you able to test at least basic functionality? Starting the server and connecting to it with osinfo would be sufficient in my opinion. Some test are also done during the build in %check section.
I built the package with koji ppc64le server, the build log extract appended below reports a set of test that are probably sufficient to validate the patch. === ... Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5Qu9w2 + umask 022 + cd /builddir/build/BUILD + cd pegasus + export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/tog-pegasus-2.13.0-9.fc21.ppc64le/usr/lib64 + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/tog-pegasus-2.13.0-9.fc21.ppc64le/usr/lib64 + cd /builddir/build/BUILDROOT/tog-pegasus-2.13.0-9.fc21.ppc64le/usr/share/Pegasus/test + make prestarttests ./bin/TestAbstract +++++ passed all tests ./bin/TestArray +++++ passed all tests ./bin/TestAsyncQueue +++++ passed all tests ./bin/TestBase64 +++++ passed all tests ./bin/TestClassDecl +++++ passed all tests ./bin/TestDateTime +++++ passed all tests ./bin/TestFlavor +++++ passed all tests ./bin/TestFormatter +++++ passed all tests ./bin/TestHashTable +++++ passed all tests ./bin/TestInstanceDecl +++++ passed all tests ./bin/TestList +++++ passed all tests ./bin/TestLogger +++++ passed all tests ./bin/TestMethod +++++ passed all tests ./bin/TestObject +++++ passed all tests ./bin/TestOperationContext +++++ passed all tests ./bin/TestParamValue +++++ passed all tests ./bin/TestParameter +++++ passed all tests ./bin/TestProperty +++++ passed all tests ./bin/TestQualifier +++++ passed all tests ./bin/TestQualifierDecl +++++ passed all tests ./bin/TestQualifierList +++++ passed all tests ./bin/TestReference +++++ passed all tests ./bin/TestResolve +++++ passed all tests ./bin/TestResponseHandler +++++ passed all tests ./bin/TestScope +++++ passed all tests ./bin/TestStack +++++ passed all tests ./bin/TestStopwatch +++++ passed all tests ./bin/TestStrToInstName +++++ passed all tests ./bin/TestString +++++ passed all tests ./bin/TestTimeValue +++++ passed all tests ./bin/TestToMof +++++ passed all tests ./bin/TestTracer +++++ passed all tests ./bin/TestValidateClass +++++ passed all tests ./bin/TestValue +++++ passed all tests + exit 0 ===
I think it's sufficient too... Fixed in tog-pegasus-2.13.0-10.fc21, thanks!