With these changes, I've fixed the packaging that I broke a while back.
In particular Perl bits get packaged properly and QA -g sanity passes in
all the places I can check which means ...
x86_64 Ubuntu 11.04
ia32 Ubuntu 11.04
ia32 openSUSE 11.4
x86_64 Fedora 15
ia32 Centos 5.6
ia32 Gentoo 11.0
x86_64 Debian 6.0.1
ia32 OpenSolaris 2009.06
ia32 Debian 6.0.1 or linux 3.0.0
ia32 Fedora 14
x86_64 Centos 6.0
x86_64 Mac OS X 10.8
IA64 SuSE SLES 10 (build and check packages, no install, no QA)
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
CHANGELOG | 9 +++
Makepkgs | 106 +++++++++++++++++++++---------------
VERSION.pcp | 2
build/rpm/pcp.spec.in | 3 +
build/tar/GNUmakefile | 2
build/tar/README | 19 ++++++
build/tar/postinstall | 55 ++++++++++++++++++
build/tar/preinstall | 41 ++++++++++++++
build/tar/remove | 122 ++++++++++++++++++++++++++++++++++++++++++
configure.in | 2
debian/changelog | 6 ++
src/cpan/GNUmakefile | 7 ++
src/include/builddefs.in | 53 ++++++++++++++----
src/pmcd/rc-proc.sh | 24 ++++++++
src/pmdas/GNUmakefile | 4 +
src/pmdas/hotproc/GNUmakefile | 11 ---
src/pmdas/linux/proc_pid.c | 9 ++-
src/pmdas/summary/GNUmakefile | 11 ---
18 files changed, 410 insertions(+), 76 deletions(-)
commit 5c5d828bdbc7e178e9754899c85789d9adb006c3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Aug 4 20:00:40 2011 +1000
Makepkgs - toolchain problem for ia32
Previously this was seen on Ubuntu (across lots of releases). Now
I have access to the precursor Debian releases in my VM QA farm, I
see the problem is also present in Debian (not really a surprise).
If you build on/for ia32 with the default -O2, the resultant binaries
are bad ... the signature is that PCP QA for -g sanity fails for the
tests 087, 178, 184 and 338 ... turn off the compiler optimization, and
all these tests pass. [there is a bigger class of failing tests
if you run the whole QA suite].
The problem is most accute for AMD CPUs, but I believe I've also seen
it on Intel CPUs ... this has been observed across 3 different machines.
This commit turns off gcc optimization for ia32 builds on Debian as
well as Ubuntu.
commit 2fdfb491d6f2b34a1c9bb5817f9fde001fe2b038
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Aug 4 07:04:25 2011 +1000
cpan/GNUmakefile - need explicit installation for Solaris
Debian and RPM packaging do this elsewhere, solaris joins Mac
OS X (both the cocoa and macosx variants) and gentoo for those
$(PACKAGE_DISTRIBUTION)s where explicit "installs" have to
be done here to ensure the installable files are included in
the final package.
commit 7952f3b44a2fa12ba048342d5a823c1fff42f58e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Aug 4 07:01:32 2011 +1000
configure.in - some packaging changes
Ensure $target_distro is always set to something useful (and not
"unknown"), and then expose this value to the build makefiles as
$(PACKAGE_DISTRIBUTION).
commit f0e46ec7dc6b404ab6031a8e3d0931ae882f5de0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Aug 4 07:00:17 2011 +1000
Makepkgs - very small change in diags sent to Logs/pcp
commit d42628042baab2018bc9ef88a37c2df49f943fca
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Aug 2 10:58:15 2011 +1000
Perl packaging ... more changes
Get the RPM packaging working again ... sigh.
commit cfc7ba1d49c438fbda3433ba3f42cd6104442b48
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 16:38:50 2011 +1000
tarball packaging changes
Add README to explain how to install, upgrade and remove PCP from
a tarball package.
Add the README and helper scripts to the source packages.
commit b10ff240b8a0f9b88a7d755c18d00496c70eebc8
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 15:57:52 2011 +1000
builddefs.in - put perl packaing changes back
Accidently lost in last commit for this file, thanks to fat fingers
and brain failure.
commit db6113e9630dca062b57ce8f8babdb3d2fff29a7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 14:10:48 2011 +1000
proc.io.* - tweak cache logic
Document which Linux kernel config parameters need to be set before
proc/<pid>/io entries appear. And as a result of running a kernel
without this, improve the cache flag logic so bogus values are not
reported for all instances except the first ... sigh.
commit 4cb58c5c20a6b356146f363a03be49bbecbb1036
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 14:09:35 2011 +1000
rc-proc.sh - changes for Gentoo and rc-update(1)
commit 0f615269e29df75c129235ec632a5f29689dbd6b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 13:51:16 2011 +1000
builddefs.in - formatted man pages may have .bz2 suffix
Just for $(DIRT) to be used with make clean, etc.
commit 2d1d2cefdb6cd742fbf31d262d753f22da693158
Merge: b2408a3 a82e0ab
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 13:39:01 2011 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit a82e0abd7d8a4bc8c36e97b69396614ffd0a08d8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Jul 31 20:55:59 2011 +1000
Bump version in dev branch for release, probably this week sometime.
commit d9a073ffefabcb70cc827fade910f0699a061718
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Jul 31 20:53:50 2011 +1000
Add an access control section to default pmcd.conf
This now blocks all remote store operations by default,
only localhost may store. All can fetch.
commit b2408a3382f13d4a05ab1d028b044b84cd7b2bed
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jul 30 16:50:05 2011 +1000
making tarball installations work better
Add helper scripts for tarball-based packaging.
Package upgrades should proceed as:
# here=`pwd`
# ./preinstall
# ( cd /; tar xpf $here/pcp-*.tar.gz )
# ./postinstall
Package removal can be done from the same directory using
# ./remove
The helper scripts understand about the various init/rc frameworks
as well as the PCP configuration files that may have been changed and
need to be reinstated across an upgrade.
The remove is driven of the manifest of files in the tarball.
commit 525a9e4adcbed3a33e8709b6e0316358aefdc8c7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jul 30 16:48:35 2011 +1000
hotproc and summary PMDAs - makefile changes
Use the newer $(DOMAIN_MAKERULE) from PCP builddefs to make domain.h
with error checking.
|