On Sat, Sep 19, 2020 at 9:12 AM Bruno Haible <br...@clisp.org> wrote: > > Jeffrey Walton wrote in > <https://lists.gnu.org/archive/html/grep-devel/2020-09/msg00020.html>: > > > > grep-3.4-almost.19-ff30 fails self test on Alpine Linux 3.10 with > > BusyBox, triplet x86_64-pc-linux-gnu. > > > > ... > > FAIL: test-hard-locale > > FAIL: test-setlocale_null-mt-all > > > > Attached are config.log and test-suite.log. > > The cause of these two failures is the wrong triplet: $host_os is > - on Alpine Linux 3.10: linux-gnu, > - on Alpine Linux 3.9 and 3.12: linux-musl. > The triplet comes from config.guess. The test there uses ldd ('ldd --version' > in particular). But on Alpine Linux 3.10 /usr/bin/ldd has been replaced with > a shell script that does not understand the --version option. > > This patch fixes it. Part of it can be removed once config.guess will have > been > corrected.
I may have contributed to the problem. I update a package's config.guess and config.sub according to https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html. Each config.guess and config.sub that is found is updated. Jeff