Bug 1266235 - Sample CMPI providers won't build on ppc64le
Summary: Sample CMPI providers won't build on ppc64le
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tog-pegasus
Version: 7.2
Hardware: ppc64le
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Vitezslav Crhonek
QA Contact: Alois Mahdal
Depends On:
Blocks: 1380364 1393870 1400961
TreeView+ depends on / blocked
Reported: 2015-09-24 20:32 UTC by Alois Mahdal
Modified: 2017-08-01 16:45 UTC (History)
1 user (show)

Fixed In Version: tog-pegasus-2.14.1-4.el7
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2017-08-01 16:45:38 UTC
Target Upstream Version:

Attachments (Terms of Use)
proposed fix (1.06 KB, patch)
2015-10-06 12:26 UTC, Vitezslav Crhonek
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1969 0 normal SHIPPED_LIVE tog-pegasus bug fix update 2017-08-01 17:57:01 UTC

Description Alois Mahdal 2015-09-24 20:32:16 UTC
Description of problem

Sample CMPI providers shipped with tog-pegasus won't build
on ppc64le.  (Rest of architectures seems OK.)  The error is:

    mak/config.mak:84: *** PEGASUS_PLATFORM environment variable undefined. Please set to one of the following:  LINUX_PPC_E500_GNU   LINUX_ZSERIES_GNU   LINUX_GNU   LINUX_SH4_GNU   LINUX_IX86_GNU   LINUX_X86_64_CLANG   LINUX_IX86_CLANG   LINUX_PPC64_GNU   LINUX_AARCH64_GNU   LINUX_IA64_GNU   LINUX_PPC_GNU   LINUX_ZSERIES64_GNU   LINUX_X86_64_GNU  .  Stop.

Version-Release number of selected component


How reproducible


Steps to Reproduce

 1. Install pegasus and tog-pegasus-devel
 2. `systemctl start tog-pegasus`
 3. `cd /usr/share/Pegasus/samples`
 4. `make setupSDK`

Actual results

Failure with above error

Expected results

Success; no errors.

Additional info

Somehow related is bug 1127399 which is about inability to build these
providers on other architectures.  That has been fixed, but the newly
added ppc64le has not been enabled in the scripts.

Comment 2 Vitezslav Crhonek 2015-10-06 12:26:03 UTC
Created attachment 1080224 [details]
proposed fix

Comment 5 Alois Mahdal 2017-05-03 00:31:12 UTC
Verified manually with tog-pegasus-devel-2.14.1-4.

Build succeeds without error.

Comment 6 errata-xmlrpc 2017-08-01 16:45:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.