sysstat no longer builds (was: [PATCH 0/1] sysstat: use service file from source codes)
[ I cannot find the actual patch in my mailbox, which is why I am
replying to the cover letter. ]
Quoted 19 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Chen Qi
Sent: den 9 juli 2019 07:53
To: [email protected]
Subject: [OE-core] [PATCH 0/1] sysstat: use service file from source codes*** BLURB HERE ***
The following changes since commit4a68a44f56c725914cfa721993a2ea8a3dc6ebd5:cve-update-db: Catch request.urlopen errors. (2019-07-05 12:00:20 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contribChenQi/sysstat-systemd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sysstat-systemdChen Qi (1):
sysstat: use service file from source codes
Quoted 7 lines
meta/recipes-extended/sysstat/sysstat.inc | 8 ++------ meta/recipes-extended/sysstat/sysstat/sysstat.service | 12 ------------ 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 meta/recipes-extended/sysstat/sysstat/sysstat.service--
1.9.1
I do not know how this was tested, but it is no longer possible to build sysstat after this change was integrated. I now get the following when I build it:
ERROR: sysstat-12.1.3-r0 do_package: SYSTEMD_SERVICE_sysstat value sysstat.service does not exist
ERROR: sysstat-12.1.3-r0 do_package:
ERROR: sysstat-12.1.3-r0 do_package: Function failed: systemd_populate_packages
This is due to that the upstream package only installs the sysstat.service file if cron support is enabled, which it isn't by default.
There was another patch by Haiqing Bai sent on July 2 that seemed to handle this properly.
//Peter
Quoted 9 lines · Peter Kjellerstedt
ERROR: sysstat-12.1.3-r0
do_package:SYSTEMD_SERVICE_sysstatvalue sysstat.service does not exist
ERROR: sysstat-12.1.3-r0do_package:
ERROR: sysstat-12.1.3-r0do_package: Function failed:systemd_populate_packagesThis is due to that the upstream package only installs the sysstat.service file if cron support is enabled, which it isn't by default.
There was another patch by Haiqing Bai sent on July 2 that seemed to handle this properly.
So the basic problem is that we don't do enough testing with systemd enabled on the AB.
Thanks, I'll queue up a revert and pick of the other patch.
Ross
Quoted 10 lines · Ross
Quoted 7 lines · Peter Kjellerstedt
ERROR: sysstat-12.1.3-r0
do_package:SYSTEMD_SERVICE_sysstatvalue sysstat.service does not exist
ERROR: sysstat-12.1.3-r0do_package:
ERROR: sysstat-12.1.3-r0do_package: Function failed:systemd_populate_packagesThis is due to that the upstream package only installs the sysstat.service file if cron support is enabled, which it isn't by default.
Quoted 9 lines
Quoted 2 lines
There was another patch by Haiqing Bai sent on July 2 that seemed to handle this properly.
So the basic problem is that we don't do enough testing with systemd enabled on the AB.
Thanks, I'll queue up a revert and pick of the other patch.
Ross
I thought I did the test but I actually did not due to PACKAGECONFIG setting in local.conf. Sorry about this. Thanks to Ross for quickly resolving this regression.
Best Regards,
Chen Qi