[Pkg-zsh-devel] Bug#993861: FTBFS: dpkg-gencontrol: error: parsing package 'zsh-static'

Vincent Lefevre vincent at vinc17.net
Tue Sep 7 13:15:08 BST 2021


On 2021-09-07 13:51:28 +0200, Vincent Lefevre wrote:
> I've tried to rebuild zsh, and I get the following error:
> 
> [...]
> make[1]: Entering directory '/home/vinc17/tmp/zsh-5.8'
> dh_gencontrol -a -- -VBuilt-Using="libcap2 (= 1:2.44-1), ncurses (= 6.2+20201114-4),  (= ), pcre3 (= 2:8.39-13), glibc (= 2.32-1), "
[...]

At https://buildd.debian.org/status/fetch.php?pkg=zsh&arch=amd64&ver=5.8-7&stamp=1630542289&raw=0
(successful build on 2021-09-02), I can see:

dh_gencontrol -a -- -VBuilt-Using="libcap2 (= 1:2.44-1), ncurses (= 6.2+20201114-4), ncurses (= 6.2+20201114-4), pcre3 (= 2:8.39-13), glibc (= 2.31-17), "

Notice the duplicate "ncurses (= 6.2+20201114-4)". On my machine, the
second one is replaced by " (= )", which yields the failure.

Moreover, debian/rules has

BUILT_USING=$(shell for pkg in libcap-dev libncurses-dev libncursesw5-dev libpcre3-dev libc-dev-bin; do dpkg-query -f '$${status}' -W $$pkg 2>&1 | grep -Fq installed && dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W $$pkg; done)

while on my machine, libncursesw5-dev is not installed and is provided
by libncurses-dev.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-zsh-devel mailing list