Source: guile-2.2 Version: 2.2.7+1-5 Severity: serious Tags: ftbfs User: helm...@debian.org Usertags: rebootstrap
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. Helmut