[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#935488: /usr/bin/apt-get: fails to parse build depends from d/control



On Fri, 23 Aug 2019 11:50:06 +0530 Ritesh Raj Sarraf <rrs@debian.org> wrote:
> Do we have a policy defined for how Build Dependency packages are to be
> defined in file debian/control ?

Yes.

https://www.debian.org/doc/debian-policy/ch-controlfields.html#source-package-control-files-debian-control
https://www.debian.org/doc/debian-policy/ch-relationships.html

> The way some of the packages, docker.io included, define the build
> dependencies; leads to apt-get failing to parse it. This has reflected
> in our automation.
> 
> This is taken from docker.io's d/control file.
> 
> Build-Depends: debhelper (>= 11~) ,dh-exec ,dh-golang (>= 1.14~)
>     ,bash-completion,
>     ,ca-certificates
>     ,git
>     ,golang-any (>= 2:1.10~)
>     ,go-md2man (>= 1.0.3~)
>     ,gogoprotobuf, libprotobuf-dev
>     ,golang-dbus-dev (>= 4.1.0~)
>     ,golang-etcd-server-dev

There is a syntax error. Between bash-completion and ca-certificates there are
two commas.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: