Your message dated Sat, 21 Mar 2020 13:35:32 +0000
with message-id <[email protected]>
and subject line Bug#953276: fixed in golang-1.14 1.14.1-1
has caused the Debian Bug report #953276,
regarding golang: Fails to build from source on $HOME managed with git
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
953276: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953276
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: golang-1.13
Source-Version: 1.13.8-1
Severity: normal

Hi!

I was trying to rebuild the package and it failed to build due to a
test not expecting to find a .git on any of its parent hierarchy. As
I managed my home with git, this tripped the test:

,---
[…]
--- FAIL: TestScript (0.00s)
    --- FAIL: TestScript/mod_convert_git (0.10s)
        script_test.go:191: 
            # We should not create a go.mod file unless the user ran 'go mod 
init' explicitly.
            # However, we should suggest 'go mod init' if we can find an 
alternate config file. (0.014s)
            # The command we suggested should succeed. (0.042s)
            # We should not suggest creating a go.mod file in $GOROOT, even 
though there may be a .git/config there. (0.038s)
            > cd $GOROOT
            <<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8
            > ! go list .
            [stderr]
            goroutine 1 [running]:
            runtime/debug.Stack(0xc000020150, 0xc0001a85a8, 0xc0001ba978)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/runtime/debug/stack.go:24 +0x9d
            runtime/debug.PrintStack()
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/runtime/debug/stack.go:16 +0x22
            cmd/go/internal/modload.die()
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/init.go:274
 +0x2fe
            cmd/go/internal/modload.ModRoot(0xc000022190, 0x42)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/init.go:253
 +0x50
            cmd/go/internal/modload.ImportPathsQuiet.func1(0xc000184010, 0x1, 
0x1, 0x1)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/load.go:109
 +0x9e3
            cmd/go/internal/modload.ImportPathsQuiet.func2(0x9b13e0, 
0xc000020030, 0x0)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/load.go:205
 +0x62
            cmd/go/internal/modload.(*loader).load(0xc000198120, 0xc0001a8f28)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/load.go:601
 +0x115f
            cmd/go/internal/modload.ImportPathsQuiet(0xc0000a6170, 0x1, 0x1, 
0xc00015a270, 0x1, 0x8, 0x0)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/load.go:203
 +0x2f4
            cmd/go/internal/modload.ImportPaths(0xc0000a6170, 0x1, 0x1, 
0x340a4f3148b14e4a, 0x0, 0xa417d0)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/modload/load.go:57
 +0x5d
            cmd/go/internal/load.ImportPaths(0xc0000a6170, 0x1, 0x1, 0xd0, 
0x9e3580, 0x10)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/load/pkg.go:2019 
+0x5f
            cmd/go/internal/load.PackagesAndErrors(0xc0000a6170, 0x1, 0x1, 0x0, 
0x0, 0x0)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/load/pkg.go:1966 
+0xe1
            cmd/go/internal/load.Packages(0xc0000a6170, 0x1, 0x1, 0xc000182040, 
0x0, 0x0)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/load/pkg.go:1938 
+0x5a
            cmd/go/internal/list.runList(0xeac0a0, 0xc0000a6170, 0x1, 0x1)
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/internal/list/list.go:425 
+0x21bc
            main.main()
                
<<HOME>>/<<BUILD-ROOT>>/golang-1.13-1.13.8/src/cmd/go/main.go:189 +0x57f
            go: cannot find main module, but found .git/config in <<HOME>>/
                to create a module there, run:
                cd ../../../../.. && go mod init
            [exit status 1]
            > ! stderr 'go mod init'
            FAIL: testdata/script/mod_convert_git.txt:19: unexpected match for 
`(?m)go mod init` found in stderr: go mod init
            
FAIL
FAIL    cmd/go  52.650s
[…]
`---

I think this is just wrong, and it should at most check the hierarchy
up to the the sourece package root directory.

Thanks,
Guillem

--- End Message ---
--- Begin Message ---
Source: golang-1.14
Source-Version: 1.14.1-1
Done: [email protected] (Dr. Tobias Quathamer)

We believe that the bug you reported is fixed in the latest version of
golang-1.14, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <[email protected]> (supplier of updated golang-1.14 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 21 Mar 2020 14:01:31 +0100
Source: golang-1.14
Architecture: source
Version: 1.14.1-1
Distribution: unstable
Urgency: medium
Maintainer: Go Compiler Team <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Closes: 953276
Changes:
 golang-1.14 (1.14.1-1) unstable; urgency=medium
 .
   * New upstream version 1.14.1
     - Add new patch to fix FTBFS on $HOME managed with git.
       Thanks to Guillem Jover <[email protected]> (Closes: #953276)
Checksums-Sha1:
 6557c262d23d7bee8a4dc3e2e83015a9ec162200 2872 golang-1.14_1.14.1-1.dsc
 32bd3b164f4ceb0933368de673d3a3ebe954db00 22451159 
golang-1.14_1.14.1.orig.tar.gz
 2a2ca16b12f70974cf52ddfc149b25cd43ec4ea3 819 golang-1.14_1.14.1.orig.tar.gz.asc
 d343eab511492e72fa62550f5d1e89fe59f9fd65 37372 
golang-1.14_1.14.1-1.debian.tar.xz
 27319e8432cc24e583bc5fd82e8663226cda7e0d 6683 
golang-1.14_1.14.1-1_amd64.buildinfo
Checksums-Sha256:
 ee54d0ff40be020907be58294d6f45a34575a69f135ca432d134d0721a899ab9 2872 
golang-1.14_1.14.1-1.dsc
 2ad2572115b0d1b4cb4c138e6b3a31cee6294cb48af75ee86bec3dca04507676 22451159 
golang-1.14_1.14.1.orig.tar.gz
 c0066a8178a6c31efe5ed97f751fbbd4f3818606dfb6075483b4189fc264c890 819 
golang-1.14_1.14.1.orig.tar.gz.asc
 e116bf25566ed9c4ad8ff340c2993cec943bc9532008996d6572517a1d6286ab 37372 
golang-1.14_1.14.1-1.debian.tar.xz
 764b670975e03e7f6e8f0c1409bef1364c07c88f00bc0c7e664e9af0ef20c4d1 6683 
golang-1.14_1.14.1-1_amd64.buildinfo
Files:
 d063e73f3c6fe98831ca39201fc42e71 2872 devel optional golang-1.14_1.14.1-1.dsc
 d441819a800f8c90825355dfbede7266 22451159 devel optional 
golang-1.14_1.14.1.orig.tar.gz
 e4dc1ba19ae08d219a360cdc4f49e154 819 devel optional 
golang-1.14_1.14.1.orig.tar.gz.asc
 37b6806cb8ea9302f233b350df5b776f 37372 devel optional 
golang-1.14_1.14.1-1.debian.tar.xz
 e412b02999e3a31f57c164153760fe15 6683 devel optional 
golang-1.14_1.14.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAl52FAUACgkQEwLx8Dbr
6xnl/g//ak/0aWgOF6VEYRRJleMq1+e07oj3yvbjdj69DaYV6Mw7YDY6NyV42rut
WhCDWpU68Hy+aTfDU1NmJgibDceZzmimlbJMj8XJPVTgNqmJXWvw3aQ0r8Dy6OzR
KKmHbdBMtoX/ck+zw/gSh5EmFQDfKbCGjcOTcsjMkJ7f/JQBJWaVsWKRRkfMmm+C
VGodbLJfAjdU0+nv5TVdz+dauzG0pEAuyyH3NoYGwAeXQrSz1U60s8awII1sImjA
uHfZEP9eHdcaJ5cQ9DzkrQj2SaJPKDnmvI7MMK4HjIHJtPpmS/3aDCFAERoHGoFZ
RTi0VzKaQo94aybLLiO7ZaV9Es6ertbPTF29FKyCe8O3XBd9shoc3iAus18H7kyx
NuHEc+KdASTT1tu8jvFTKr/bbdw2VRpffkFo27Wd3D/XmphOqhAbzDUwgUGne8K3
WyY7EQ8R6LotewnIXetuowtrLtz5+zHILpD9jqwb+Fye+fL0uR0zNlUGLnlAoyjq
VNWYnQ9bPuCZsNT2U5JaOE+uqDJc+mBc7AE+cf537Fci+N8mfKd6umlmx0ZtMrux
AysL4cgRDO3FPpJVFo7iooPoCmdZFSbubGjMpdPpva/eII7RKXx038NPEOPg/Vq7
y7UkcuSvNYV6c2Tbd5HhooZw0DzTNzl7kMfL3NblwQVFHh9ebDs=
=Uukz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to