[pkg-go] Bug#918415: golang-golang-x-tools FTBFS with Go 1.11

Adrian Bunk bunk at debian.org
Sat Jan 5 21:49:11 GMT 2019


Source: golang-golang-x-tools
Version: 1:0.0~git20180501.d3e4ceb5+ds-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-golang-x-tools.html

...
=== RUN   TestGuru
testdata/src/softerrs/main.go:8:6: i declared but not used
--- FAIL: TestGuru (115.50s)
    guru_test.go:301: Guru tests for testdata/src/referrers/main.go failed: exit status 1.
        --- testdata/src/referrers/main.golden	2019-01-03 12:48:16.976984149 -1200
        +++ testdata/src/referrers/main.got	2019-01-03 12:50:41.761147882 -1200
        @@ -56,5 +56,5 @@
         
         -------- @referrers ref-type-U --------
         references to type U int
        -open nosuchfile.y: no such file or directory (+ 1 more refs in this file)
        +open testdata/src/referrers/nosuchfile.y: no such file or directory (+ 1 more refs in this file)
...
=== RUN   TestImportTestdata
--- FAIL: TestImportTestdata (1.15s)
    gcimporter_test.go:93: testPath(./testdata/exports): reading export data: testdata/exports.o: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x83")) - reinstall package
=== RUN   TestVersionHandling
--- PASS: TestVersionHandling (0.00s)
=== RUN   TestImportStdLib
--- FAIL: TestImportStdLib (0.02s)
    gcimporter_test.go:93: testPath(archive/tar): reading export data: /usr/lib/go-1.11/pkg/linux_amd64/archive/tar.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x8c\x16\xc1/!$GOROOT/src/archive/tar/common.go\x00\bTypeflag\x04Name\bLinkname\x04Size\x04Mode\x03Uid\x03Gid\x05Uname\x05Gname\aModTime\x04Time\x04time")) - reinstall package
    gcimporter_test.go:93: testPath(archive/zip): reading export data: /usr/lib/go-1.11/pkg/linux_amd64/archive/zip.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xe0$\xb9E!$GOROOT/src/archive/zip/reader.go\x00\x01r\bReaderAt\x02io\x04File\aComment\rdecompressors\fDecompressor\x04init\x01z\x06Reader\x04size\x14RegisterDecompressor\x06method\x05dcomp\fdecompressor\aesc:0x1\x01f\x02os\x05Close\x02rc")) - reinstall package
    gcimporter_test.go:110: testing time used up
    gcimporter_test.go:240: tested 0 imports
=== RUN   TestImportedTypes
--- FAIL: TestImportedTypes (0.09s)
    gcimporter_test.go:275: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/math.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xcf\x0e\x98\x1d\x17$GOROOT/src/math/abs.go\x01x\x00\x0fFloat64frombits\vFloat64bits\x19$GOROOT/src/math/acosh.go\x18$GOROOT/src/math/asin.go\x19$GOROOT/src/math/asinh.go\x18$GOROOT/src/math/atan.go\x19$GOROOT/src/math/atan2.go\x01y\x19$GOROOT/src/math/atanh.go\x18$GOROOT/src/math/bits.go\x04sign\x04v·3\x01f\x02is\x19$GOROOT/src/math/const.go\x18$GOROOT/src/math/cbrt.go\x1c$GOROOT/src/math/copysign.go\x17$GOROOT/src/math/dim.go\x04v·4\x17$GOROOT/src/math/erf.go\x1a$GOROOT/src/math/erfinv.go\x17$GOROOT/src/math/exp.go\x19$GOROOT/src/math/expm1.go\x19$GOROOT/src/math/floor.go\abits·3\x04e·4\x19$GOROOT/src/math/frexp.go\x04frac\x03exp\x19$GOROOT/src/math/gamma.go\x19$GOROOT/src/math/hypot.go\x01p\x01q\x16$GOROOT/src/math/j0.go\x16$GOROOT/src/math/j1.go\x16$GOROOT/src/math/jn.go\x01n\x19$GOROOT/src/math/ldexp.go\x1a$GOROOT/src/math/lgamma.go\x06lgamma\x17$GOROOT/src/math/log.go\x19$GOROOT/src/math/log10.go\x19$GOROOT/src/math/log1p.go\x18$GOROOT/src/math/logb.go\x17$GOROOT/src/math/mod.go\x18$GOROOT/src/math/modf.go\x03int\x1d$GOROOT/src/math/nextafter.go\x01r\x17$GOROOT/src/math/pow.go\x19$GOROOT/src/math/pow10.go\rpow10postab32\bpow10tab\rpow10negtab32\x03Inf\x1d$GOROOT/src/math/remainder.go\x1b$GOROOT/src/math/signbit.go\x17$GOROOT/src/math/sin.go\x1a$GOROOT/src/math/sincos.go\x03sin\x03cos\x18$GOROOT/src/math/sinh.go\x18$GOROOT/src/math/sqrt.go\x17$GOROOT/src/math/tan.go\x18$GOROOT/src/math/tanh.go\x1a$GOROOT/src/math/unsafe.go\x01b\x0f<autogenerated>\x04math\x03Abs\x04Acos\x05Acosh\x04Asin\x05Asinh\x04Atan\x05Atan2\x05Atanh\x04Cbrt\x04Ceil\bCopysign\x03Cos\x04Cosh\x03Dim\x01E\x03Erf\x04Erfc\aErfcinv\x06Erfinv\x03Exp\x04Exp2\x05Expm1\vFloat32bits\x0fFloat32frombits\x05Floor\x05Frexp\x05Gamma\x05Hypot\x05Ilogb\x05IsInf\x05IsNaN\x02J0\x02J1\x02Jn\x05Ldexp\x06Lgamma\x04Ln10\x03Ln2\x03Log\x05Log10\x06Log10E\x05Log1p\x04Log2\x05Log2E\x04Logb\x03Max")) - reinstall package
    gcimporter_test.go:275: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/io.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xb8\t\x9d\x12\x14$GOROOT/src/io/io.go\x00\x04Read\x01p\x01n\x03err\x05Write\x05Close\x04Seek\x06offset\x06whence\x06Reader\x06Writer\x06Closer\x06Seeker\bReadFrom\x01r\aWriteTo\x01w\x06ReadAt\x03off\aWriteAt\bReadByte")) - reinstall package
    gcimporter_test.go:275: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/math.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xcf\x0e\x98\x1d\x17$GOROOT/src/math/abs.go\x01x\x00\x0fFloat64frombits\vFloat64bits\x19$GOROOT/src/math/acosh.go\x18$GOROOT/src/math/asin.go\x19$GOROOT/src/math/asinh.go\x18$GOROOT/src/math/atan.go\x19$GOROOT/src/math/atan2.go\x01y\x19$GOROOT/src/math/atanh.go\x18$GOROOT/src/math/bits.go\x04sign\x04v·3\x01f\x02is\x19$GOROOT/src/math/const.go\x18$GOROOT/src/math/cbrt.go\x1c$GOROOT/src/math/copysign.go\x17$GOROOT/src/math/dim.go\x04v·4\x17$GOROOT/src/math/erf.go\x1a$GOROOT/src/math/erfinv.go\x17$GOROOT/src/math/exp.go\x19$GOROOT/src/math/expm1.go\x19$GOROOT/src/math/floor.go\abits·3\x04e·4\x19$GOROOT/src/math/frexp.go\x04frac\x03exp\x19$GOROOT/src/math/gamma.go\x19$GOROOT/src/math/hypot.go\x01p\x01q\x16$GOROOT/src/math/j0.go\x16$GOROOT/src/math/j1.go\x16$GOROOT/src/math/jn.go\x01n\x19$GOROOT/src/math/ldexp.go\x1a$GOROOT/src/math/lgamma.go\x06lgamma\x17$GOROOT/src/math/log.go\x19$GOROOT/src/math/log10.go\x19$GOROOT/src/math/log1p.go\x18$GOROOT/src/math/logb.go\x17$GOROOT/src/math/mod.go\x18$GOROOT/src/math/modf.go\x03int\x1d$GOROOT/src/math/nextafter.go\x01r\x17$GOROOT/src/math/pow.go\x19$GOROOT/src/math/pow10.go\rpow10postab32\bpow10tab\rpow10negtab32\x03Inf\x1d$GOROOT/src/math/remainder.go\x1b$GOROOT/src/math/signbit.go\x17$GOROOT/src/math/sin.go\x1a$GOROOT/src/math/sincos.go\x03sin\x03cos\x18$GOROOT/src/math/sinh.go\x18$GOROOT/src/math/sqrt.go\x17$GOROOT/src/math/tan.go\x18$GOROOT/src/math/tanh.go\x1a$GOROOT/src/math/unsafe.go\x01b\x0f<autogenerated>\x04math\x03Abs\x04Acos\x05Acosh\x04Asin\x05Asinh\x04Atan\x05Atan2\x05Atanh\x04Cbrt\x04Ceil\bCopysign\x03Cos\x04Cosh\x03Dim\x01E\x03Erf\x04Erfc\aErfcinv\x06Erfinv\x03Exp\x04Exp2\x05Expm1\vFloat32bits\x0fFloat32frombits\x05Floor\x05Frexp\x05Gamma\x05Hypot\x05Ilogb\x05IsInf\x05IsNaN\x02J0\x02J1\x02Jn\x05Ldexp\x06Lgamma\x04Ln10\x03Ln2\x03Log\x05Log10\x06Log10E\x05Log1p\x04Log2\x05Log2E\x04Logb\x03Max")) - reinstall package
=== RUN   TestIssue5815
--- FAIL: TestIssue5815 (0.00s)
    gcimporter_test.go:510: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/strings.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xc7\x0e\xec\x1d\x1e$GOROOT/src/strings/builder.go\x00\x04addr\aBuilder\x03buf\tcopyCheck\x01b\x06String\x03Len\x05Reset\x04grow\x01n\x04Grow\x05Write\x01p\tWriteByte\x01c\tWriteRune\x01r\vWriteString\x01s\aesc:0x1\bnoescape8strings: illegal use of non-zero Builder copied by value\besc:0x22\x06buf·3$strings.Builder.Grow: negative count\aesc:0x9\x1e$GOROOT/src/strings/compare.go\x01a\x1d$GOROOT/src/strings/reader.go\x01i\bprevRune\x06Reader\x04Size\x04Read\x03err\x06ReadAt\x03off\bReadByte")) - reinstall package
=== RUN   TestCorrectMethodPackage
--- FAIL: TestCorrectMethodPackage (0.09s)
    gcimporter_test.go:332: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/net/http.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x90\x98\x01\xbd\xf8\x01\x1e$GOROOT/src/net/http/client.go\x00\tTransport\fRoundTripper\rCheckRedirect\x03req\aRequest\x03via\x03Jar\tCookieJar\aTimeout\bDuration\x04time\x04send\x01c\x06Client\bdeadline\x04Time\x04resp\bResponse")) - reinstall package
=== RUN   TestIssue13566
--- FAIL: TestIssue13566 (1.79s)
    gcimporter_test.go:510: reading export data: testdata/b.o: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xad\x04u\x86\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/b.go\x83\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/a\x86\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/a.go\x01a\x01A\x00\x04json")) - reinstall package
=== RUN   TestIssue13898
--- FAIL: TestIssue13898 (0.00s)
    gcimporter_test.go:388: reading export data: /usr/lib/go-1.11/pkg/linux_amd64/go/internal/gcimporter.a: cannot import, possibly version skew (unknown export format version -1 ("i\x00\xfe\x0f\xbf\x18-$GOROOT/src/go/internal/gcimporter/bimport.go\x04fset\aFileSet\bgo/token\aimports\aPackage\bgo/types\x04data\x04path\x01_\x03pkg\x03err\x000$GOROOT/src/go/internal/gcimporter/exportdata.go\x01r\x06Reader\x05bufio\x03hdr0$GOROOT/src/go/internal/gcimporter/gcimporter.go\x06srcDir\bfilename\x02id\bpackages\x06lookup")) - reinstall package
=== RUN   TestIssue15517
--- FAIL: TestIssue15517 (0.82s)
    gcimporter_test.go:455: reading export data: testdata/p.o: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x91\x01\x18\x86\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/p.go\x00\x01p\x01C\x01F\x01VC\u007f\x12\x00\x15\x00V\u007f\x16\x00\x01\x88\x01\x97\x01F\u007f\x1a\x00\x00\x00\x88\x01\x01\x01\x88\x01\x89\x01\x00\x03\x8b\x01\x00\x8d\x01\x0f\x8f\x01\x06\x01\x88\x01\x01\x8d\x01\r")) - reinstall package
=== RUN   TestIssue15920
--- FAIL: TestIssue15920 (0.13s)
    gcimporter_test.go:510: reading export data: testdata/issue15920.o: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x9c\x01%\x8f\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/issue15920.go\x00\x05Error\x01p\x01FT\u007f\x12\x00\x13\x00\x92\x01\x91\x01~\u007f\x16\x00\x05\u007f\x00\x91\x01\x1a\x97\x01\x97\x01F\u007f\x16\x00\x00\x01\x00\x91\x01%\x91\x01\x03\x01\x91\x01\x98\x01\x00\x02\x92\x01\x00\x9a\x01\x18\x01\x91\x01\x01\x9a\x01")) - reinstall package
=== RUN   TestIssue20046
--- FAIL: TestIssue20046 (0.88s)
    gcimporter_test.go:510: reading export data: testdata/issue20046.o: cannot import, possibly version skew (unknown export format version -1 ("i\x00\x98\x01\x13\x8f\x01/build/1st/golang-golang-x-tools-0.0~git20180501.d3e4ceb5+ds/obj-x86_64-linux-gnu/src/golang.org/x/tools/go/gcimporter15/testdata/issue20046.go\x00\x01M\x01p\x01V\b\x91\x01\x00\x01\u007f\x10\x00\x92\x01\x00\x00V\u007f\x0e\x00 \x91\x01\x01\x91\x01\x94\x01\x00\x01\x96\x01\f\x00")) - reinstall package
...


More information about the Pkg-go-maintainers mailing list