#1067400 bash should build with standard shell

Package:
src:bash
Source:
src:bash
Submitter:
Gioele Barabucci
Date:
2024-08-20 08:24:04 UTC
Severity:
normal
Tags:
#1067400#5
Date:
2024-03-21 02:19:52 UTC
From:
To:
Dear bash maintainer,

currently d/rules sets "SHELL = /bin/bash". This may create problems
during bootstrapping.

Please find a at

https://salsa.debian.org/gioele/bash/-/compare/rrr-no...shell-sh

a couple of small commits that remove this limitation and get rid of the
few bashisms present in d/rules. With these changes bash builds just
fine with dash.

Please note that these commits build on the rrr-no series related to
<bugs.debian.org/1067394>.

Diffoscope shows no changes in the generated binaries.

Regards,

#1067400#10
Date:
2024-08-20 08:00:13 UTC
From:
To:
there is no UI that allows fetching the patch.  Please could you attach
patches to the bug reports?

#1067400#15
Date:
2024-08-20 08:19:31 UTC
From:
To:
here are the direct links to the downloadable patches.

Subject: [PATCH] d/rules: Move list of docs to bash.docs
https://salsa.debian.org/gioele/bash/-/commit/5cf82a5d.patch

Subject: [PATCH] d/rules: Avoid bashisms
https://salsa.debian.org/gioele/bash/-/commit/8d843569.patch

Subject: [PATCH] d/rules: Use default shell instead of /bin/bash
https://salsa.debian.org/gioele/bash/-/commit/fc131d43.patch

However these patches will probably not apply cleanly because they rely
on changes carried out in the no-doc [1] and in the rrr-no [2] branches.
These (more extensive) changes should be applied first.

[1] https://bugs.debian.org/1067150

[2] https://bugs.debian.org/1067394

Regards,