After installation app-emulation/cloud-init-22.2 did not install init.d scripts. While app-emulation/cloud-init-21.2 did install all scripts. Reproducible: Always Actual Results: Package is successfully installed, but no scripts are present in /etc/init.d Expected Results: Expected init scripts like app-emulation/cloud-init-21.2: /etc/init.d/cloud-config /etc/init.d/cloud-final /etc/init.d/cloud-init /etc/init.d/cloud-init-local On an OpenRC system this rendenrs cloud-init non functional. It also breaks diskimage-builder with the element "cloud-init" which fails with the error `rc-update: service `cloud-config' does not exist`.
Created attachment 783635 [details] app-emulation/cloud-init-22.2 emerge log
Oh, this is interesting. I think it's a regression with PEP517 support. I don't think the option handling method used (https://github.com/canonical/cloud-init/blob/main/setup.py#L222) is compatible with it. I'm going to drop back to legacy (non-PEP517) for now.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44cfdb3c49f7ebce1e66324ad5ac68285d8d08bb commit 44cfdb3c49f7ebce1e66324ad5ac68285d8d08bb Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-10 02:44:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-10 02:44:59 +0000 app-emulation/cloud-init: restore OpenRC files broken w/ PEP517 for now Bug: https://bugs.gentoo.org/850628 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/cloud-init/cloud-init-22.2-r1.ebuild | 93 ++++++++++++++++++++++ app-emulation/cloud-init/cloud-init-9999.ebuild | 23 ++++-- 2 files changed, 109 insertions(+), 7 deletions(-)
Ended up just pushing as stable.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adda29b617e2c0c8b0283860bce3302e20e19918 commit adda29b617e2c0c8b0283860bce3302e20e19918 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-11 05:18:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-11 05:18:54 +0000 app-emulation/cloud-init: add link to upstream bug re PEP517 Bug: https://bugs.gentoo.org/850628 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/cloud-init/cloud-init-22.2-r1.ebuild | 1 + app-emulation/cloud-init/cloud-init-9999.ebuild | 1 + 2 files changed, 2 insertions(+)