Package: src:golang-github-rogpeppe-go-internal
Version: 1.16.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-rogpeppe-go-internal, so that 
this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
        exe=
        GOPATH=$WORK/.gopath
        CCACHE_DISABLE=1
        GOARCH=amd64
        GOOS=linux
        GOROOT=/usr/lib/go-1.27
        GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
        GOPROXY=off
        goversion=1.27
        
GOINTERNAL_MODULE=/<<PKGBUILDDIR>>/_build/src/github.com/rogpeppe/go-internal
        
        > unquote scripts/exec.txt
        # The module uses testscript itself.
        # Use the checked out module, based on where the test binary ran. 
(0.154s)
        > go mod edit 
-replace=github.com/rogpeppe/go-internal=${GOINTERNAL_MODULE}
        > go mod tidy
        [stderr]
        go: found github.com/rogpeppe/go-internal/gotooltest in 
github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000
        go: found github.com/rogpeppe/go-internal/testscript in 
github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000
        go: github.com/rogpeppe/[email protected] 
requires
                golang.org/x/[email protected]: module lookup disabled by GOPROXY=off
        
        [exit status 1]
        FAIL: testdata/cover.txt:6: unexpected go command failure
        
--- FAIL: TestSimple (0.03s)
    --- FAIL: TestSimple/cover (0.15s)
FAIL
FAIL    github.com/rogpeppe/go-internal/gotooltest      0.190s
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/imports 0.003s [no tests to run]
?       github.com/rogpeppe/go-internal/internal/goenv  [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/internal/misspell       0.006s [no 
tests to run]
?       github.com/rogpeppe/go-internal/internal/os/execpath    [no test files]
?       github.com/rogpeppe/go-internal/internal/syscall/windows        [no 
test files]
?       github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll [no 
test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/lockedfile      0.009s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/lockedfile/internal/filelock    0.003s 
[no tests to run]
?       github.com/rogpeppe/go-internal/modfile [no test files]
?       github.com/rogpeppe/go-internal/module  [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/par     0.004s [no tests to run]
?       github.com/rogpeppe/go-internal/renameio        [no test files]
?       github.com/rogpeppe/go-internal/robustio        [no test files]
?       github.com/rogpeppe/go-internal/semver  [no test files]
?       github.com/rogpeppe/go-internal/testenv [no test files]
=== RUN   TestSetupFailure
--- PASS: TestSetupFailure (0.00s)
=== RUN   TestScripts
=== RUN   TestScripts/pty
=== PAUSE TestScripts/pty
=== CONT  TestScripts/pty
    testscript.go:609: > [!linux] [!darwin] skip
        > [darwin] skip # https://go.dev/issue/61779
        > ttyin secretwords.txt
        > terminalprompt
        > ttyout 'magic words'
        > ! stderr .
        > ! stdout .
        PASS
        
--- PASS: TestScripts (0.00s)
    --- PASS: TestScripts/pty (0.00s)
PASS
ok      github.com/rogpeppe/go-internal/testscript      0.006s
?       github.com/rogpeppe/go-internal/testscript/internal/pty [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/testscript/plugin       0.002s [no 
tests to run]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/txtar   0.002s [no tests to run]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 - 
[too-long-redacted] rnal/txtar returned exit code 1
make[1]: [debian/rules:13: override_dh_auto_test] Error 25 (ignored)
patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch
patching file 
_build/src/github.com/rogpeppe/go-internal/testscript/testscript.go
Hunk #1 succeeded at 1244 (offset 146 lines).
GOPROXY= dh_auto_test  -- -run="TestSimple/cover|TestScripts/env_var_with_go"
        cd _build && go test -vet=off -v -p 2 -run=TestSimple/cover 
[too-long-redacted] .com/rogpeppe/go-internal/txtar
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/cache   0.010s [no tests to run]
=== RUN   TestScripts
=== RUN   TestScripts/env_var_with_go
=== PAUSE TestScripts/env_var_with_go
=== CONT  TestScripts/env_var_with_go
    testscript.go:609: WORK=$WORK
        
PATH=/tmp/testscript-main3535491757/bin:/usr/lib/go-1.27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        GOTRACEBACK=system
        HOME=/no-home
        TMPDIR=$WORK/.tmp
        devnull=/dev/null
        /=/
        :=:
        $=$
        exe=
        GOPATH=$WORK/.gopath
        CCACHE_DISABLE=1
        GOARCH=amd64
        GOOS=linux
        GOROOT=/usr/lib/go-1.27
        GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
        GOPROXY=off
        goversion=1.27
        GOINTERNALMODPATH=.
        GONOSUMDB=*
        
        # Test passing environment variables to scripts with the go command on 
PATH
        #
        # Below where we check the output of testscript -v, we have to match 
against
        # the string literal $WORK because testscript rewrites the actual 
directory
        # to $WORK. Hence we don't want to expand this script's $WORK in such a 
comparison.
        #
        # This is the counterpart to env_var_no_go.txt (0.000s)
        > unquote noproxy.txt
        > unquote withproxy.txt
        # Baseline (0.036s)
        > testscript -v noproxy.txt
        [stdout]
        WORK=$WORK
        
PATH=/tmp/testscript-main3535491757/bin:/usr/lib/go-1.27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        GOTRACEBACK=system
        HOME=/no-home
        TMPDIR=$WORK/.tmp
        devnull=/dev/null
        /=/
        :=:
        $=$
        exe=
        GOPATH=$WORK/.gopath
        CCACHE_DISABLE=1
        GOARCH=amd64
        GOOS=linux
        GOROOT=/usr/lib/go-1.27
        GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
        GOPROXY=off
        goversion=1.27
        
        > env BANANA
        BANANA=
        > env GOPATH
        GOPATH=$WORK/.gopath
        > env GOPROXY
        GOPROXY=off
        PASS
        > stdout ^BANANA=$
        > stdout '^GOPATH=\$WORK[/\\]\.gopath'$
        > stdout ^GOPROXY=https://proxy.golang.org,direct$
        FAIL: testdata/env_var_with_go.txt:16: no match for 
`^GOPROXY=https://proxy.golang.org,direct$` found in stdout
        
--- FAIL: TestScripts (0.04s)
    --- FAIL: TestScripts/env_var_with_go (0.04s)
FAIL
FAIL    github.com/rogpeppe/go-internal/cmd/testscript  0.080s
=== RUN   TestScripts
--- PASS: TestScripts (0.03s)
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/cmd/txtar-addmod        0.036s [no 
tests to run]
=== RUN   TestScripts
--- PASS: TestScripts (0.00s)
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/cmd/txtar-c     0.003s [no tests to run]
?       github.com/rogpeppe/go-internal/cmd/txtar-goproxy       [no test files]
=== RUN   TestScripts
--- PASS: TestScripts (0.00s)
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/cmd/txtar-x     0.002s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/diff    0.002s [no tests to run]
?       github.com/rogpeppe/go-internal/dirhash [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/fmtsort 0.002s [no tests to run]
=== RUN   TestScripts
--- PASS: TestScripts (0.03s)
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/goproxytest     0.037s [no tests to run]
=== RUN   TestSimple
=== RUN   TestSimple/cover
=== PAUSE TestSimple/cover
=== CONT  TestSimple/cover
    testscript.go:1252: 
    testscript.go:609: WORK=$WORK
        
PATH=/usr/lib/go-1.27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        GOTRACEBACK=system
        HOME=/no-home
        TMPDIR=$WORK/.tmp
        devnull=/dev/null
        /=/
        :=:
        $=$
        exe=
        GOPATH=$WORK/.gopath
        CCACHE_DISABLE=1
        GOARCH=amd64
        GOOS=linux
        GOROOT=/usr/lib/go-1.27
        GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
        GOPROXY=off
        goversion=1.27
        
GOINTERNAL_MODULE=/<<PKGBUILDDIR>>/_build/src/github.com/rogpeppe/go-internal
        
        > unquote scripts/exec.txt
        # The module uses testscript itself.
        # Use the checked out module, based on where the test binary ran. 
(0.055s)
        > go mod edit 
-replace=github.com/rogpeppe/go-internal=${GOINTERNAL_MODULE}
        > go mod tidy
        [stderr]
        go: found github.com/rogpeppe/go-internal/gotooltest in 
github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000
        go: found github.com/rogpeppe/go-internal/testscript in 
github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000
        go: github.com/rogpeppe/[email protected] 
requires
                golang.org/x/[email protected]: module lookup disabled by GOPROXY=off
        
        [exit status 1]
        FAIL: testdata/cover.txt:6: unexpected go command failure
        SKIP: TestSimple/cover: Possible restricted network access
        
--- PASS: TestSimple (0.03s)
    --- SKIP: TestSimple/cover (0.06s)
PASS
ok      github.com/rogpeppe/go-internal/gotooltest      0.090s
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/imports 0.002s [no tests to run]
?       github.com/rogpeppe/go-internal/internal/goenv  [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/internal/misspell       0.002s [no 
tests to run]
?       github.com/rogpeppe/go-internal/internal/os/execpath    [no test files]
?       github.com/rogpeppe/go-internal/internal/syscall/windows        [no 
test files]
?       github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll [no 
test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/lockedfile      0.004s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/lockedfile/internal/filelock    0.006s 
[no tests to run]
?       github.com/rogpeppe/go-internal/modfile [no test files]
?       github.com/rogpeppe/go-internal/module  [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/par     0.002s [no tests to run]
?       github.com/rogpeppe/go-internal/renameio        [no test files]
?       github.com/rogpeppe/go-internal/robustio        [no test files]
?       github.com/rogpeppe/go-internal/semver  [no test files]
?       github.com/rogpeppe/go-internal/testenv [no test files]
=== RUN   TestScripts
--- PASS: TestScripts (0.00s)
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/testscript      0.003s [no tests to run]
?       github.com/rogpeppe/go-internal/testscript/internal/pty [no test files]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/testscript/plugin       0.003s [no 
tests to run]
testing: warning: no tests to run
PASS
ok      github.com/rogpeppe/go-internal/txtar   0.002s [no tests to run]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 - 
[too-long-redacted] rnal/txtar returned exit code 1
make[1]: *** [debian/rules:15: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to