Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (4):
packaging for OpenMandriva
Makepkgs: fix TAR setting
qa/src/GNUlocaldefs: fix build rules for some recent binaries
qa/1112 & qa/1113: qa scripts need to be executable
Makepkgs | 31 ++++-
build/rpm/pcp.spec.in | 4
qa/admin/check-vm | 267 ++++++++++++++++++++++++++++++++++++++++----------
qa/src/GNUlocaldefs | 6 -
4 files changed, 246 insertions(+), 62 deletions(-)
Details ...
commit 0a454dbd0d9ddf37e871ac52a78456e211002fb2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jun 8 12:35:00 2016 +1000
qa/1112 & qa/1113: qa scripts need to be executable
chmod for these ones.
commit 464b92560e49ceb6287b068b47c017c77f10aabb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jun 8 11:38:15 2016 +1000
qa/src/GNUlocaldefs: fix build rules for some recent binaries
make in the qa/src directory was failing with ...
/usr/bin/ld -shared -o qa_sem_msg_ctl.so -nostdlib qa_sem_msg_ctl.o
qa_sem_msg_ctl.o: In function `semctl':
qa_sem_msg_ctl.c:(.text+0x71): undefined reference to
`__stack_chk_fail_local'
/usr/bin/ld: qa_sem_msg_ctl.so: hidden symbol `__stack_chk_fail_local'
isn't defined
Tweak the makefile rules to be closer to the recipes for the other
PCP qa executables.
commit 94ffc0e8a796b6b4bc20ec845c5cc4fc03121a50
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jun 8 10:03:51 2016 +1000
Makepkgs: fix TAR setting
There had been some regression here, I suspect because depending on
the optional pieces being built, a valid setting for $TAR may or may
not be optional, because I was seeing:
./Makepkgs: 533: ./Makepkgs: -zxf: not found
'cause $TAR was undefined.
First round of changes here are to do a better job in gnu_tools()
of finding a gnu-style command (this is used to set $TAR).
May be some subsequent changes to actually fix the broken logic in
Makepkgs in the event that $TAR remains undefined and we try to use
this is the name of an executable gnu-style tar.
commit e2e06bdbb36d0c049da249c7cc4504eee49d7e89
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jun 8 09:56:12 2016 +1000
packaging for OpenMandriva
This used to work a long time ago, but had not been tested for ages.
These changes get part of the way there, especially dealing with RPM
spec file differences and the package checks in check-vm, but more
needs to be done, especially since rpmlint is run by default here and
there are a boatload of rpmlint errors reported (many of which appear
to be rpmlint problems, but some are probably generic issues with the
PCP rpms on all platforms) ... I've deferred this investigation
for another day.
Also refactoring of check-vm to greatly improve the performance in the
inner loop by not repeatedly checking for (and failing as expected)
the packaging tools that are not installed on the current platform.
|