Source: bash
Version: 4.4-5
Severity: normal
Tags: patch

Hi,

When attempting to build bash on mips64r6*, I noticed that bash uses an
old version of config.guess and config.sub which causes the build to
fail on these architectures.

Please update the support/config.* files when building. There is some
old commented out code in the rules file which does this as part of
unpacking, so I guess that this bug regressed after the package was
switched to source format 3.0. I think the easiest way to fix this is to
call "dh_update_autotools_config" before configuring so that debhelper
will take care of it. The attached patch works.

Thanks,
James
diff -Nru bash-4.4/debian/control bash-4.4/debian/control
--- bash-4.4/debian/control     2017-01-20 10:52:59.000000000 +0000
+++ bash-4.4/debian/control     2017-11-23 10:16:57.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Matthias Klose <[email protected]>
 Standards-Version: 3.9.8
 Build-Depends: autoconf, autotools-dev, bison, libncurses5-dev,
- texinfo, texi2html, debhelper (>= 9), gettext, sharutils,
+ texinfo, texi2html, debhelper (>= 9.20160115~), gettext, sharutils,
  locales <!nocheck>, time <!nocheck>,
  xz-utils, dpkg-dev (>= 1.16.1)
 Build-Depends-Indep: texlive-latex-base, ghostscript, texlive-fonts-recommended
diff -Nru bash-4.4/debian/rules bash-4.4/debian/rules
--- bash-4.4/debian/rules       2017-01-20 10:52:59.000000000 +0000
+++ bash-4.4/debian/rules       2017-11-23 10:16:57.000000000 +0000
@@ -93,6 +93,8 @@
 build-indep: build
 
 before-build:
+       dh_testdir
+       dh_update_autotools_config
        mkdir -p stamps
        : # see #327477, needed to have HAVE_DEV_STDIN defined
        (test -d /dev/fd && test -r /dev/stdin < /dev/null) \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to