Control: clone -1 -2 Control: reassign -2 src:guile-2.0 Control: retitle -2 guile-2.0 FTBFS with make-dfsg/4.3-1: ERROR: alternatives priority expects min version < 1000 Control: tags -2 bullseye sid
On Fri, May 22, 2020 at 02:41:05PM +0200, Helmut Grohne wrote: > Control: clone -1 -2 > Control: reassign -2 src:guile-3.0 > > On Thu, May 21, 2020 at 07:13:27PM +0200, Helmut Grohne wrote: > > While bootstrap testing unstable, I noticed that guile-2.2 fails to > > build from source (natively). A build now ends quicky: > > > > | dpkg-buildpackage: info: source package guile-2.2 > > | dpkg-buildpackage: info: source version 2.2.7+1-5 > > | dpkg-buildpackage: info: source distribution unstable > > | dpkg-buildpackage: info: source changed by Rob Browning > > <r...@defaultvalue.org> > > | dpkg-source --before-build . > > | dpkg-buildpackage: info: host architecture amd64 > > | fakeroot debian/rules clean > > | /bin/bash: ${\#x}: bad substitution > > | debian/rules:70: *** ERROR: alternatives priority expects min version < > > 1000. Stop. > > | dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned > > exit status 2 > > > > This only happens since make-dfsg/4.3-1, but I think the bug here > > ultimately is with guile-2.2. The relevant code from debian/rules is: > > > > | ifneq (ok,$(shell x='$(deb_src_min_ver)'; [ "$${\#x}" -lt 4 ] && echo > > ok;)) > > | $(error ERROR: alternatives priority expects min version < 1000) > > | endif > > > > It is surprising that this didn't fail with earlier versions of make. > > The shell substitution is clearly wrong. It is unclear what it is > > supposed to achieve. In any case, deleting these lines makes the build > > proceed. > > guile-3.0 also has this exact same bug. So does guile-2.0: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/guile-2.0.html > Helmut cu Adrian