Source: bash
Version: 5.2-2
Tags: ftbfs patch upstream
User: helm...@debian.org
Usertags: rebootstrap

bash fails to build from source on musl-linux-any. The root cause of
this is a logic inversion bug in the detection of strtoimax where it
provides a replacement function iff strtoimax is available. This affects
any architecture, but due to linking order only produces a build failure
for the musl libc. I'm attaching a patch that corrects the logic
inversion for your convenience.

Helmut
--- a/m4/strtoimax.m4
+++ b/m4/strtoimax.m4
@@ -29,7 +29,7 @@
   fi
 ])
 AC_MSG_RESULT($bash_cv_func_strtoimax)
-if test $bash_cv_func_strtoimax = yes; then
+if test $bash_cv_func_strtoimax = no; then
 AC_LIBOBJ(strtoimax)
 fi
 ])

Reply via email to