https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-cluster/lmod-8.6.14 fails to compile (DASH-SYSTEM). Discovered on: amd64 (internal ref: dash_tinderbox) NOTE: (DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Created attachment 848567 [details] build.log build log and emerge --info
Created attachment 848569 [details] 1-config.log 1-config.log
dash_tinderbox has reproduced this issue with version 8.7.23 - Updating summary.
The same issue was also encountered in https://github.com/gentoo/gentoo/pull/39798. It looks like it's because of the following substring expansions used in Lmod's configure script, which are not supported by dash: ${PATH_TO_LUA:0:1} ${PATH_TO_LUAC:0:1}
This only seems to happen on systems without bash and with /bin/sh -> dash. I've opened an issue in the Lmod Github repo: https://github.com/TACC/Lmod/issues/741.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63a497166dfbfb890acb620709b7256757c6f7d commit f63a497166dfbfb890acb620709b7256757c6f7d Author: Bob Dröge <b.e.droge@rug.nl> AuthorDate: 2024-12-20 15:42:22 +0000 Commit: Nowa Ammerlaan <nowa@gentoo.org> CommitDate: 2025-01-10 16:02:33 +0000 sys-cluster/lmod: version bump to 8.7.55 Closes: https://github.com/gentoo/gentoo/pull/39798 Closes: https://bugs.gentoo.org/890939 Signed-off-by: Bob Dröge <b.e.droge@rug.nl> Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> sys-cluster/lmod/Manifest | 1 + ...od-8.7.55-fix-bashism-in-configure-script.patch | 256 +++++++++++++++++++++ sys-cluster/lmod/lmod-8.7.55.ebuild | 137 +++++++++++ sys-cluster/lmod/lmod-9999.ebuild | 13 +- 4 files changed, 402 insertions(+), 5 deletions(-)