[Bug 1913852] Re: zLib link failures on Xenial

2021-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package golang-1.13 - 1.13.8-1ubuntu1~16.04.3 --- golang-1.13 (1.13.8-1ubuntu1~16.04.3) xenial; urgency=medium * Workaround a debhelper/binutils combo bug on Xenial where compress/zlib.a gets stripped, which mangles it. (LP: #1913852) -- Michael

[Bug 1913852] Re: zLib link failures on Xenial

2021-04-13 Thread rojer
verified that 1.13.8-1ubuntu1~16.04.3 works ** Tags removed: verification-needed verification-needed-xenial ** Tags added: verification-done-xenial ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-16 Thread Brian Murray
Hello rojer, or anyone else affected, Accepted golang-1.13 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/golang-1.13/1.13.8-1ubuntu1~16.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-11 Thread rojer
yep, confirmed that 1.13.8-1ubuntu1~16.04.3~ppa1 fixes the issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1913852 Title: zLib link failures on Xenial To manage notifications about this bug go

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-10 Thread Michael Hudson-Doyle
I've uploaded a fix to unapproved. You can also try the version from https://launchpad.net/~mwhudson/+archive/ubuntu/devirt/+packages to see if it helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-10 Thread Michael Hudson-Doyle
** Also affects: golang-1.13 (Ubuntu Xenial) Importance: Undecided Status: New ** Description changed: + [impact] + Applications that use the "compress/zlib" package fail to build. + + [test case] + $ cat > go.mod + module github.com/foo/baz + + go 1.13 + $ cat > main.go + package

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-10 Thread Michael Hudson-Doyle
Oh I have dealt with this before: the problem is that debhelper (in xenial) thinks that "zlib.a" is a static library (it's trying to find files with names of the form "libXXX.a" but uses a bad regex) and feeds it to strip as part of the package build, which mangles the file. -- You received

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-10 Thread Michael Hudson-Doyle
Well here's a funny thing: root@xenial:~/# go tool pack tv /usr/lib/go-1.13/pkg/linux_amd64/compress/zlib.a -rw-r--r-- 0/0 5145 Jan 1 00:00 1970 __.PKGDEF/ -rw-r--r-- 0/0 46655 Jan 1 00:00 1970 _go_.o/ why are there / on the end of the archive names? No

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-10 Thread rojer
yes, zlib.a is bad: root@26d441ac192e:/usr/lib/go-1.13/src/cmd/link# go tool nm /usr/lib/go-1.13/pkg/linux_amd64/compress/zlib.a | head open /usr/lib/go-1.13/pkg/linux_amd64/compress/zlib.a: unrecognized object file on the surface it does look like go archive but obviously something is not

[Bug 1913852] Re: zLib link failures on Xenial

2021-02-09 Thread Michael Hudson-Doyle
Huh this is very strange. I notice that go build -a succeeds so I wonder if one of the .a files that's part of golang-1.13-go is broken somehow? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1913852