[pkg-go] dependency chain of hell

Potter, Tim (HPE Linux Support) timothy.potter at hpe.com
Mon Oct 17 22:46:30 UTC 2016


On 18 Oct 2016, at 8:53 AM, Martín Ferrari <tincho at tincho.org> wrote:
> 
> Hey all,
> 
> I was just trying to debug a build failure of prometheus in armel, and
> realised that the build-deps are not installable any more, due to autorm.
> 
> At the end of the neverending string of dependencies, I see that
> golang-x-tools now depends of nodejs, which has an unresolved circular
> dependency in that arch..
> 
> Can we do something about this package to remove all this shite? For
> starters, we should probably separate the libraries from the binaries,
> that would solve many of our current issues.
> 
> The arch support for most of our packages is spotty at best, we need to
> do something if we want to ship something reasonable with stretch.
> 
> I am really starting to lose hope.. This is really exhausting :(

Is this a bug in the install dependencies for golang-golang-x-tools?  I
notice that golang-golang-x-tools depends on golang-golang-x-tools-dev
which pulls in all the JS and node packages.

It could be a simple fix like this:

diff --git a/debian/control b/debian/control
index dd1a075..9ef3a75 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ XS-Go-Import-Path: golang.org/x/tools

 Package: golang-golang-x-tools
 Architecture: any
-Depends: golang-golang-x-tools-dev, ${misc:Depends}, ${shlibs:Depends}, node-typescript, libjs-webcomponentsjs-custom-element-v0, libjs-es-module-loader-0.17
+Depends: ${misc:Depends}, ${shlibs:Depends}, node-typescript, libjs-webcomponentsjs-custom-element-v0, libjs-es-module-loader-0.17
 Built-Using: ${misc:Built-Using}
 Breaks: golang-go (<< 2:1.2), golang-go.tools (<< 1:0.0~git20150716.0.87156cb~)
 Replaces: golang-go (<< 2:1.2),

I do notice that the jquery links are in the dev package though.  Perhaps
they should be in the binary package.

lrwxrwxrwx root/root         0 2016-10-16 12:17 ./usr/share/gocode/src/golang.org/x/tools/cmd/present/static/jquery-ui.js -> ../../../../../../../../javascript/jquery-ui/jquery-ui.min.js
lrwxrwxrwx root/root         0 2016-10-16 12:17 ./usr/share/gocode/src/golang.org/x/tools/godoc/static/jquery.js -> ../../../../../../../javascript/jquery/jquery.min.js


Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161017/9ebf0e4f/attachment.sig>


More information about the Pkg-go-maintainers mailing list