[pkg-go] Bug#869989: golang-etcd-server-dev: circular dependency hell

Shengjing Zhu i at zhsj.me
Fri Jul 28 14:43:19 UTC 2017


Hi Bill,

IMHO, golang-github-spf13-cobra-dev can be avoid depending
golang-github-spf13-viper-dev

In package github.com/spf13/cobra, it only has github.com/spf13/pflag imported.
github.com/spf13/cobra/cobra can be removed from golang-github-spf13-cobra-dev,
it's only used for building `cobra` binary. I don't think other
packages will import it.

Regards,
Shengjing Zhu


On Fri, Jul 28, 2017 at 9:34 PM, Bill Allombert <ballombe at debian.org> wrote:
> Package: golang-etcd-server-dev
> Version: 3.1.8+dfsg-2
> Severity: important
>
> Hello Debian Go maintainers,
>
> There is a circular dependency between
> golang-etcd-server-dev, golang-github-spf13-cobra-dev,
> golang-github-spf13-viper-dev and
> golang-github-xordataexchange-crypt-dev:
>
> golang-etcd-server-dev:          Depends: golang-github-spf13-cobra-dev
> golang-github-spf13-cobra-dev:   Depends: golang-github-spf13-viper-dev (>= 0.0~git20160605.0.c1ccc37)
> golang-github-spf13-viper-dev:   Depends: golang-github-xordataexchange-crypt-dev
> golang-github-xordataexchange-crypt-dev :Depends: golang-etcd-server-dev
>
> Complex circular dependencies are known to cause problems during upgrade, so we
> should try to avoid them.
>
> Also there is little point in having four separated -dev packages, if
> you have to install them all anyway.
>
> See threads
> http://lists.debian.org/debian-devel/2005/06/msg02111.html
> http://lists.debian.org/debian-devel/2005/11/msg01101.html
>
> Cheers,
> --
> Bill. <ballombe at debian.org>
>
> Imagine a large red swirl here.
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers



More information about the Pkg-go-maintainers mailing list