Red Hat Bugzilla – Bug 252462
OpenPegasus SRPM fails to build Test RPM.
Last modified: 2008-05-21 12:46:32 EDT
Description of problem:
rpmbuild -bb --define 'PEGASUS_BUILD_TEST_RPM 1' tog-pegasus.spec fails.
Note: The OpenPegasus test RPM, tog-pegasus-test-2.6.0-4.ia64.rpm, is an
internal use only package. It contains a suite of regression tests that can
be used to verify that the OpenPegasus product built successfully. tog-pegasus-
test-2.6.0-4.ia64.rpm is NOT intended to be packaged as part of the RHEL
Version-Release number of selected component (if applicable):
This failure is consistently reproducible.
Steps to Reproduce:
1. rpmbuild -bb --define 'PEGASUS_BUILD_TEST_RPM 1' tog-pegasus.spec
g++ -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -O2 -
fvisibility=hidden -DPEGASUS_ENABLE_SSL_CRL_VERIFICATION -
DPEGASUS_DISABLE_PERFINST -DPEGASUS_ENABLE_CMPI_PROVIDER_MANAGER -
DPEGASUS_USE_RELEASE_CONFIG_OPTIONS -DPEGASUS_USE_RELEASE_DIRS -
DPEGASUS_OVERRIDE_DEFAULT_RELEASE_DIRS -fPIE -pie -Wl,-z,relro,-z,now,-
z,nodlopen,-z,noexecstack -L/usr/src/redhat/BUILD/pegasus/build/lib -
o /usr/src/redhat/BUILD/pegasus/build/bin/TestQualifierList /usr/src/redhat/BUI
lpegcommon -ldl -lpthread -lcrypt -lpam
make: Leaving directory
make -C /usr/src/redhat/BUILD/pegasus/src/Pegasus/Common/tests/Queue
make: *** /usr/src/redhat/BUILD/pegasus/src/Pegasus/Common/tests/Queue: No
such file or directory. Stop.
make: *** [/usr/src/redhat/BUILD/pegasus/build/bin/TestQueue] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56473 (%build)
rpmbuild -bb --define 'PEGASUS_BUILD_TEST_RPM 1' tog-pegasus.spec completes
successfully and tog-pegasus-test-2.6.0-4.ia64.rpm is created.
Created attachment 161432 [details]
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
new proposed patch (the old one didn't apply correctly). Denise, can you please
check it? I don't know exactly which tests are needed, so I kept it same as in
I've also opened new bug #391961 to tract same problem in Fedora devel, proposed
patch here will be soon.
Created attachment 264871 [details]
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.