Red Hat Bugzilla – Bug 1298993
in search of minimal dependencies for building pmapi applications
Last modified: 2016-11-04 00:23:03 EDT
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:
(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.
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
Verified for build pcp-3.11.3-3.el7.
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.