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

Axel Beckert abe at debian.org
Tue Sep 14 23:22:52 BST 2021


Control: retitle -1 zsh: FTBFS iff transitional package libncursesw5-dev is not installed but a package providing it (dpkg-gencontrol: error: parsing package 'zsh-static')
Control: tag -1 + confirmed pending

Hi Vincent,

Vincent Lefevre wrote:
> > 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.

Indeed, can confirm that this happens if and only if the transitional
package libncursesw5-dev (as listed in the build-dependencies) is not
installed but only a package providing it.

Your patch looks sane and minimal. Thanks! Will apply that and do an
upload.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list