pcp
[Top] [All Lists]

pcp updates: merge kenj (spec and packaging fixes, qa, perl tweaks, more

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates: merge kenj (spec and packaging fixes, qa, perl tweaks, more PM_ERR_BADSTORE) + Lukas (VERSION tweak, webjs, more spec fixes)
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Mon, 11 May 2015 21:27:43 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
RPM spec and pcp-compat upgrade issues should all be fixed now.

Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (11):
      pmda.h: refine PMDA_PMID macro
      PM_ERR_BADSTORE: second round of cosmetic changes
      src/perl/PMDA/cvalue.c: another PM_ERR_* place
      src/perl/PMDA/Makefile.PL: Perl voodoo so that test.pl runs OK
      qa/771: (new) exercise test.pl/cvalue.c from the perl PMDA bindings
      src/perl/PMDA/.gitignore: cvalue executable is not interesting
      qa/admin/check-vm: add rpm
      pcp.spec.in: make Requires: platform specific
      qa/admin/check-vm: add platform specific sections
      build/rpm/pcp.spec.in: more conditional Requires: changes
      build/rpm/filter-requires: jeez louise!

Lukas Berk (3):
      spin-rawhide: Extract version info from VERSION.pcp
      Fix location of pcp-webjs gitweb in the pcp guide
      Wrap pcp-pmda-rpm and pcp-gui with proper %if checks

Mark Goodwin (1):
      Add pmiostat to the list of tools known to pmafm.

 build/rpm/filter-requires   |    9 ++++++-
 build/rpm/pcp.spec.in       |   51 +++++++++++++++++++++++++++++++++-----------
 man/html/guide.html         |    2 -
 qa/771                      |   36 +++++++++++++++++++++++++++++++
 qa/GNUmakefile              |    2 -
 qa/admin/check-vm           |   26 +++++++++++++++++++---
 qa/group                    |    1
 qa/perl/GNUmakefile         |   26 ++++++++++++++++++++++
 qa/perl/GNUmakefile.install |    1
 qa/perl/Makefile            |    2 +
 scripts/spin-rawhide        |   12 ++++++----
 src/include/pcp/pmda.h      |    8 +++++-
 src/libpcp/src/err.c        |   15 ++++++++++++
 src/perl/PMDA/.gitignore    |    1
 src/perl/PMDA/Makefile.PL   |   17 ++++++++++++++
 src/perl/PMDA/PMDA.pm       |   26 +++++++++++++---------
 src/perl/PMDA/cvalue.c      |   44 ++++++++++++++++++++++++++-----------
 src/pmafm/pmafm.pcp         |    2 -
 src/python/pmapi.c          |   18 +++++++++------
 19 files changed, 243 insertions(+), 56 deletions(-)

Details ...

commit cc66d213c9ccc68557b3fbc2e101a9fac9ac7329
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat May 9 19:19:38 2015 +1000

    build/rpm/filter-requires: jeez louise!

    Some versions of rpm-build (and at least this one
    rpm-build-4.10.3.1-3.fc18.x86_64), are pathologically broken in that
    their version of /usr/lib/rpm/find-requires emits lines with a leading #
    (more specitically a # on a line alone) and blank lines ... these kill the
    rpm packaging with the dreaded "Failed to find Requires:" error message

    The WAR is in out wrapper to cull this crap before the build fails.

commit b231216e6e3dced71d73b9831868b1c4dc13e458
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 8 21:58:51 2015 +1000

    build/rpm/pcp.spec.in: more conditional Requires: changes

    Remove a bunch of duplicated Requires: clauses.
    Move all the python ones so they are condtional on python
    being available in the build.
    Ditto for webapi.
    Fix the rm .Needrebuild error (add -f).

commit 5a6515a2077589ec2d5798bcba9b3fe82590607c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 8 20:33:02 2015 +1000

    qa/admin/check-vm: add platform specific sections

    Tracking the conditional Requires: in the rpm spec file, especially
    for the postfix pmda rpm.

commit 2bf145af818f151e61d9f47c8e9d8b32f89ffe65
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 8 20:30:19 2015 +1000

    pcp.spec.in: make Requires: platform specific

    Looking for qshape ... in different rpms on different distros.
    This does not fix the postfix pmda, that will require some other
    work, but it does resolve the build and install problem on SuSE.

commit 9ccfdd8a677de5b27d010d7bfbfeff58d7509154
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 8 19:49:34 2015 +1000

    qa/admin/check-vm: add rpm

commit 7461af6e5f51d9c77a1a8c8ddaa127c32cb7a0fa
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu May 7 18:49:33 2015 -0400

    Wrap pcp-pmda-rpm and pcp-gui with proper %if checks

    pcp-pmda-rpm and pcp-gui aren't built on some platforms,
    wrapping them with proper checks so it doesn't fail on other platforms

commit 0e4a8dc89363271e03cb3fa73ac7357a6a902a67
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu May 7 13:35:19 2015 -0400

    Fix location of pcp-webjs gitweb in the pcp guide

commit 011c53f5a5b575f689ea7eb50d4f4f61f669dc17
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date:   Thu May 7 11:19:56 2015 -0400

    spin-rawhide: Extract version info from VERSION.pcp

    At times (specifically after a release), the spec file can become out
    of sync with the VERSION.pcp.  This tweak of spin-rawhide gets the
    specific version info from the definitive source (VERSION.pcp).

commit af7310944455af885a42a6545f56d3d63eae7b9e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 17:34:11 2015 +1000

    src/perl/PMDA/.gitignore: cvalue executable is not interesting

commit 3884040a45e6a55e6fd8a4895847602fa391785c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 17:13:13 2015 +1000

    qa/771: (new) exercise test.pl/cvalue.c from the perl PMDA bindings

    Need to reach across to the src directory to get the test.pl and
    cvalue.c bits (in the build), then execute the test in the (new)
    perl subdirectory.

commit b1aaca27ffba17b49069e233c3d86fcc0ff618c8
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 09:58:59 2015 +1000

    src/perl/PMDA/Makefile.PL: Perl voodoo so that test.pl runs OK

    Really obscure MakeMaker hack needed to allow
        make -f Makefile test
    to actually work, rather than dying as in ...
    kenj@bozo-vm:~/src/pcp/src/perl/PMDA$ make -f Makefile test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
    1..4
Can't load 'blib/arch/auto/PCP/PMDA/PMDA.so' for module PCP::PMDA: blib/arch/auto/PCP/PMDA/PMDA.so: undefined symbol: clearHV at /usr/lib/perl/5.14/DynaLoader.pm line 184.
     at test.pl line 21
    Compilation failed in require at test.pl line 21.

commit 453459a12cb76d19bcb8d3f94a8e20d3cbcf86a8
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 09:56:19 2015 +1000

    src/perl/PMDA/cvalue.c: another PM_ERR_* place

    1. fix ordering of error code tests here to match pmerr -l order
    2. make ids() more data driven
    3. extend ids() to check PMDA_PMID() and pmid_build() return the
       same value ... really a pmda.h test rather than a perl test
       but fits conveniently here

commit 40b1c6f3b979b2a747545bfaebef3a7c8dd04cbd
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 09:26:24 2015 +1000

    PM_ERR_BADSTORE: second round of cosmetic changes

    In the places where we enumerate PM_ERR_* values and need to keep
    them in sync (Perl and Python bindings in particular), make the
    order the same as pmerr -l to ease maintenance.  And document this
    goal in all 3 places.

    Note the order in pmapi.h is different, but that serves a different
    purpose and is OK to be different.

commit 056c9d30fe109e858755f856a374e9ef7fad258e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu May 7 09:22:36 2015 +1000

    pmda.h: refine PMDA_PMID macro

    In some unrelated testing I discovered that PMDA_PMID(x,y) and
    build_pmid(0,x,y) don't return the same values for some choices
    of x and y!

    In particular if the arguments to PMDA_PMID() are negative (!) or
    larger than the corresponding field widths the PMDA_PMID() value
    is clearly wrong.

    Add some masking to limit x (cluster) to 12 bits and y (item) to
    10 bits.

commit e9ddad58996fd964f7a62b608fae905d76571a94
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Fri Mar 13 15:22:00 2015 +1100

    Add pmiostat to the list of tools known to pmafm.



<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: merge kenj (spec and packaging fixes, qa, perl tweaks, more PM_ERR_BADSTORE) + Lukas (VERSION tweak, webjs, more spec fixes), Mark Goodwin <=