pcp
[Top] [All Lists]

pcp updates: Mac OS X changes

To: pcp@xxxxxxxxxxx
Subject: pcp updates: Mac OS X changes
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2016 17:09:11 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (10):
      qa/archives/GNUmakefile.install: use QA version of SUBDIRS rule
      qa/024: tweaks to fix Mac OS X failures
      Mac OS X build: fix a number of problems
      qa/admin/myconfigure: fix for Mac OS X
      Makepkgs: fix a comment that was no longer correct
      qa/src/torture_indom.c: guard against bad malloc() call
      src/libpcp/src/logutil.c: pander to gcc on Mac OS X
      src/libpcp/src/lock.c: fix initialization error in roll-your-own TPD
      qa/079: you'd think od -c was pretty standard
      qa/232: skip some metrics that are not available on Mac OS X

 Makepkgs                                  |    2 
 build/mac/cmdline-install                 |    2 
 build/mac/install-pcp                     |   56 +++++++++++++++++++--------
 build/mac/installer-resources/postupgrade |   36 ++++++++---------
 build/mac/uninstall-pcp.in                |    2 
 qa/024                                    |   19 ++++++---
 qa/024.out                                |    3 -
 qa/079                                    |    6 ++
 qa/079.out                                |   10 ++--
 qa/232                                    |    2 
 qa/admin/myconfigure                      |   61 ++++++++++++++++++++++--------
 qa/archives/GNUmakefile.install           |    2 
 qa/src/torture_indom.c                    |   13 ++++--
 src/libpcp/src/lock.c                     |    1 
 src/libpcp/src/logutil.c                  |   12 ++---
 15 files changed, 147 insertions(+), 80 deletions(-)

Details ...

commit 6f604c52c59f62c87884309e8f5f941cb1b71239
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 17:06:00 2016 +1100

    qa/232: skip some metrics that are not available on Mac OS X

commit c84abeced8781758b2a878807892c21810716876
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 17:04:35 2016 +1100

    qa/079: you'd think od -c was pretty standard
    
    But not for the "we're smarter than everyone else" pixies at Apple,
    so of course on Mac OS X it has gratuitous white space differences
    in the output.

commit b1582f26d9b7e0a770f6dcc9f9c9a2fc409a4dd5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 17:01:58 2016 +1100

    src/libpcp/src/lock.c: fix initialization error in roll-your-own TPD
    
    If the compiler does not support thread-private-data, then we do
    our own implementation.  This is not used on most platforms.
    But the code contained a lurking intialization error and on Mac OS X
    it blew up.  Fix is simple, and memset() is your friend.

commit 7d425b7dc01479c8e9bc07ae9e8ea0d649079a6f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 17:01:19 2016 +1100

    src/libpcp/src/logutil.c: pander to gcc on Mac OS X
    
    To make bogus compiler warnings go away.

commit 3f9a8e1dc59bc9fb669702fdca6fbff5b294c151
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 16:54:38 2016 +1100

    qa/src/torture_indom.c: guard against bad malloc() call
    
    Found with malloc failure on Mac OS X.

commit 35abdf4e1a54d5226a69f0d2aab0f56a7ee5af64
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 16:53:47 2016 +1100

    Makepkgs: fix a comment that was no longer correct

commit 3e378e982f376f3385f912a6a4e88c916b4ac814
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 16:51:29 2016 +1100

    qa/admin/myconfigure: fix for Mac OS X
    
    Makepkgs myconfigure were using an entirely different set of configopts
    (the Makepkgs ones are correct, so fix myconfigure).

commit 84c15236afb3a3de88b922c07bef1119c3d716d8
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 16:47:46 2016 +1100

    Mac OS X build: fix a number of problems
    
    This is for the old 10.8.0 version of Mac OS X.
    
    The installation scripts were not cleaning up the previous install
    ... in particular binaries in /usr/bin were left behind, meaning the
    newer ones in /usr/local/bin were never found for most common $PATH
    setups.
    
    Also there was a lot of useless verbage in the installer logs.

commit d7bb226d82ab979e9046b5977eb5d939e8cb36ee
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 09:04:56 2016 +1100

    qa/024: tweaks to fix Mac OS X failures

commit 1b88a442f073f5012036d4afec70970926b446de
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 1 09:04:03 2016 +1100

    qa/archives/GNUmakefile.install: use QA version of SUBDIRS rule
    
    Avoids === multi === output line from check.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: Mac OS X changes, Ken McDonell <=