Bug 1298993

Summary: in search of minimal dependencies for building pmapi applications
Product: Red Hat Enterprise Linux 7 Reporter: Frank Ch. Eigler <fche>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: brolley, fche, lberk, mbenitez, mcermak, mgoodwin, mprchlik, nathans, stefw
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 04:23:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frank Ch. Eigler 2016-01-15 16:02:59 UTC
Building a pcp client application out-of-tree naturally requires
the pcp-libs-devel package to provide headers/libraries.  However,
as of git pcp, this subrpm requires:

pcp
pcp-libs

(rhel 7.2 pcp is even worse dependency-wise, with the pcp-compat stuff,
but that is going away.)

The former of these dependencies is excessive, and brings in many
binaries, services, etc., that are irrelevant to the task of building
a pmapi program.  If there -is- something in the pcp subrpm that
is required, it should be moved into -libs or -libs-devel.

Comment 2 Lukas Berk 2016-06-09 13:40:51 UTC
Fixed upstream in commit: dc89e74e859f8b4c0a0ea0323614b716a569e3a6
RPM Packaging - new pcp-devel package with tools/docs

Leave pcp-libs-devel for just the libs and header files,
push devel pmdas and tools into pcp-devel and adjust the deps
accordingly

Comment 4 Miloš Prchlík 2016-08-20 16:26:17 UTC
Verified for build pcp-3.11.3-3.el7.

Comment 6 errata-xmlrpc 2016-11-04 04:23:03 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.

https://rhn.redhat.com/errata/RHBA-2016-2344.html