Package: src:golang-github-rogpeppe-go-internal
Version: 1.14.1-1
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/202602/

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.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
        cd _build && go install -trimpath -v -p 2 github.com/rogpep 
[too-long-redacted] .com/rogpeppe/go-internal/txtar
internal/unsafeheader
internal/goarch
internal/cpu

[... snipped ...]

        FAIL: $WORK/scripts/testscript.txt:9: unexpected command failure
        
        > cmpenv stdout expect-stdout-v.txt
        # continue (0.000s)
        > ! testscript -continue scripts
        [stdout]
        ** RUN testscript **
        # comment 1 (0.000s)
        # comment 2 (0.000s)
        # comment 3 (0.000s)
        > printargs section3
        [stdout]
        ["printargs" "section3"]
        > status 1
        [exit status 1]
        FAIL: $WORK/scripts/testscript.txt:9: unexpected command failure
        # comment 4 (0.000s)
        > printargs section3
        [stdout]
        ["printargs" "section3"]
        # comment 5 (0.000s)
        > printargs section5
        [stdout]
        ["printargs" "section5"]
        > status 1
        [exit status 1]
        FAIL: $WORK/scripts/testscript.txt:16: unexpected command failure
        
        > cmpenv stdout expect-stdout-c.txt
        # verbose, continue (0.000s)
        > ! testscript -v -continue scripts
        [stdout]
        ** RUN testscript **
        # comment 1 (0.000s)
        > printargs section1
        [stdout]
        ["printargs" "section1"]
        # comment 2 (0.000s)
        > printargs section2
        [stdout]
        ["printargs" "section2"]
        # comment 3 (0.000s)
        > printargs section3
        [stdout]
        ["printargs" "section3"]
        > status 1
        [exit status 1]
        FAIL: $WORK/scripts/testscript.txt:9: unexpected command failure
        # comment 4 (0.000s)
        > printargs section3
        [stdout]
        ["printargs" "section3"]
        # comment 5 (0.000s)
        > printargs section5
        [stdout]
        ["printargs" "section5"]
        > status 1
        [exit status 1]
        FAIL: $WORK/scripts/testscript.txt:16: unexpected command failure
        
        > cmpenv stdout expect-stdout-vc.txt
        PASS
        
=== CONT  TestScripts/testscript_explicit_files
    testscript.go:584: # Check that we can pass an explicit set of files to be 
tested. (0.000s)
        > ! testscript -files foo.txtar x/bar.txtar y/bar.txtar 'y/bar#1.txtar'
        [stdout]
        ** RUN foo **
        PASS
        ** RUN bar **
        PASS
        ** RUN bar#1 **
        > echoandexit 1 '' 'bar#1 failure'
        [stderr]
        bar#1 failure
        FAIL: $WORK/y/bar.txtar:1: told to exit with code 1
        ** RUN bar#1#1 **
        > echoandexit 1 '' 'bar#1#1 failure'
        [stderr]
        bar#1#1 failure
        FAIL: $WORK/y/bar#1.txtar:1: told to exit with code 1
        
        > cmpenv stdout expect-stdout
        PASS
        
=== CONT  TestScripts/testscript_explicit_exec
    testscript.go:584: # Check that RequireExplicitExec works;
        # it should reject `fprintargs` in favor of `exec fprintargs`,
        # but it shouldn't complain about `some-param-cmd`,
        # as that Params.Cmds entry won't work via `exec some-param-cmd`. 
(0.000s)
        > unquote scripts-implicit/testscript.txt
        > unquote scripts-explicit/testscript.txt
        > testscript scripts-implicit
        [stdout]
        ** RUN testscript **
        PASS
        
        > testscript scripts-explicit
        [stdout]
        ** RUN testscript **
        PASS
        
        > ! testscript -explicit-exec scripts-implicit
        [stdout]
        ** RUN testscript **
        > fprintargs stdout right
        FAIL: $WORK/scripts-implicit/testscript.txt:1: use 'exec fprintargs' 
rather than 'fprintargs' (because RequireExplicitExec is enabled)
        
        > testscript -explicit-exec scripts-explicit
        [stdout]
        ** RUN testscript **
        PASS
        
        PASS
        
=== CONT  TestScripts/testscript_duplicate_name
    testscript.go:584: # Check that RequireUniqueNames works;
        # it should reject txtar archives with duplicate names as defined by 
the host system. (0.000s)
        > unquote scripts-normalized/testscript.txt
        > testscript scripts-normalized
        [stdout]
        ** RUN testscript **
        PASS
        
        > ! testscript -unique-names scripts-normalized
        [stdout]
        ** RUN testscript **
        FAIL: $WORK/scripts-normalized/testscript.txt:0: dir/../file would 
overwrite $WORK/file (because RequireUniqueNames is enabled)
        
        > stdout '.* would overwrite .* \(because RequireUniqueNames is 
enabled\)'
        PASS
        
=== CONT  TestScripts/setenv
    testscript.go:584: > setSpecialVal
        > exists $SPECIALVAL.txt
        > ensureSpecialVal
        PASS
        
=== CONT  TestScripts/setupfiles
    testscript.go:584: # check that the Setup function saw the unarchived files,
        # including the temp directory that's always created. (0.000s)
        > setup-filenames .tmp a b
        PASS
        
=== CONT  TestScripts/regexpquote
    testscript.go:584: > env XXX='hello)'
        > grep ^${XXX@R}$ file.txt
        PASS
        
=== CONT  TestScripts/readfile
    testscript.go:584: > fprintargs stdout stdout
        [stdout]
        stdout
        > testreadfile stdout
        > fprintargs stderr stderr
        [stderr]
        stderr
        > testreadfile stderr
        > testreadfile x/somefile
        PASS
        
=== NAME  TestScripts/exec_path_change
    testscript.go:584: # If the PATH environment variable is set in the 
testscript.Params.Setup phase
        # or set directly within a script, exec should honour that PATH (0.000s)
        > [!exec:go] skip
        > env HOME=$WORK${/}home
        > [windows] env USERPROFILE=$WORK\home
        > [windows] env LOCALAPPDATA=$WORK\appdata
        > cd go
        $WORK/go
        > exec go$exe version
        [stdout]
        go version go1.26.0 linux/amd64
        > stdout 'go version'
        > exec go$exe build
        > env PATH=$WORK${/}go${:}$PATH
        > exec go$exe version
        [stdout]
        This is not go
        > stdout 'This is not go'
        PASS
        
--- PASS: TestScripts (0.00s)
    --- PASS: TestScripts/pty (0.01s)
    --- PASS: TestScripts/nothing (0.00s)
    --- PASS: TestScripts/long_diff (0.00s)
    --- PASS: TestScripts/big_diff (0.01s)
    --- PASS: TestScripts/kill_unnamed (0.00s)
    --- PASS: TestScripts/kill (0.00s)
    --- PASS: TestScripts/interrupt_implicit (0.01s)
    --- PASS: TestScripts/hello (0.00s)
    --- PASS: TestScripts/exists (0.00s)
    --- PASS: TestScripts/interrupt (0.01s)
    --- PASS: TestScripts/execguard (0.00s)
    --- PASS: TestScripts/evalsymlink (0.00s)
    --- PASS: TestScripts/defer (0.00s)
    --- PASS: TestScripts/custom_cd (0.00s)
    --- PASS: TestScripts/cond (0.00s)
    --- PASS: TestScripts/cpstdout (0.00s)
    --- PASS: TestScripts/commandstatus (0.01s)
    --- PASS: TestScripts/command (0.00s)
    --- PASS: TestScripts/cmpenv (0.00s)
    --- PASS: TestScripts/cmd_stdout_stderr (0.02s)
    --- PASS: TestScripts/testscript_notfound (0.00s)
    --- PASS: TestScripts/wait (0.01s)
    --- PASS: TestScripts/values (0.00s)
    --- PASS: TestScripts/testscript_update_script_stderr (0.00s)
    --- PASS: TestScripts/testscript_update_script_quote (0.01s)
    --- PASS: TestScripts/testscript_update_script_expected_not_in_archive 
(0.00s)
    --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s)
    --- PASS: TestScripts/testscript_update_script (0.02s)
    --- PASS: TestScripts/testscript_stdout_stderr_error (0.00s)
    --- PASS: TestScripts/stdin (0.00s)
    --- PASS: TestScripts/testscript_logging (0.05s)
    --- PASS: TestScripts/testscript_explicit_files (0.00s)
    --- PASS: TestScripts/testscript_explicit_exec (0.01s)
    --- PASS: TestScripts/testscript_duplicate_name (0.00s)
    --- PASS: TestScripts/setenv (0.00s)
    --- PASS: TestScripts/setupfiles (0.00s)
    --- PASS: TestScripts/regexpquote (0.00s)
    --- PASS: TestScripts/readfile (0.01s)
    --- PASS: TestScripts/exec_path_change (4.27s)
=== RUN   TestTestwork
    testscript_test.go:350: exit status 1
--- FAIL: TestTestwork (1.04s)
=== RUN   TestWorkdirRoot
=== RUN   TestWorkdirRoot/run_tests
=== RUN   TestWorkdirRoot/run_tests/nothing
=== PAUSE TestWorkdirRoot/run_tests/nothing
=== CONT  TestWorkdirRoot/run_tests/nothing
    testscript.go:584: WORK=/tmp/TestWorkdirRoot262390958/001/script-nothing
        # Intentionally empty test script; used to test Params.WorkdirRoot 
(0.000s)
        PASS
        
--- PASS: TestWorkdirRoot (0.00s)
    --- PASS: TestWorkdirRoot/run_tests (0.00s)
        --- PASS: TestWorkdirRoot/run_tests/nothing (0.00s)
=== RUN   TestBadDir
--- PASS: TestBadDir (0.00s)
=== RUN   TestUNIX2DOS
--- PASS: TestUNIX2DOS (0.00s)
FAIL
FAIL    github.com/rogpeppe/go-internal/testscript      5.341s
?       github.com/rogpeppe/go-internal/testscript/internal/pty [no test files]
=== RUN   Test
=== RUN   Test/basic
=== RUN   Test/basicCRLF
--- PASS: Test (0.00s)
    --- PASS: Test/basic (0.00s)
    --- PASS: Test/basicCRLF (0.00s)
=== RUN   TestWrite
--- PASS: TestWrite (0.00s)
=== RUN   TestUnquote
=== RUN   TestUnquote/no_final_newline
=== RUN   TestUnquote/no_initial_>
--- PASS: TestUnquote (0.00s)
    --- PASS: TestUnquote/no_final_newline (0.00s)
    --- PASS: TestUnquote/no_initial_> (0.00s)
=== RUN   TestQuote
=== RUN   TestQuote/empty
=== RUN   TestQuote/one_line
=== RUN   TestQuote/several_lines
=== RUN   TestQuote/bad_data
=== RUN   TestQuote/no_final_newline
--- PASS: TestQuote (0.00s)
    --- PASS: TestQuote/empty (0.00s)
    --- PASS: TestQuote/one_line (0.00s)
    --- PASS: TestQuote/several_lines (0.00s)
    --- PASS: TestQuote/bad_data (0.00s)
    --- PASS: TestQuote/no_final_newline (0.00s)
PASS
ok      github.com/rogpeppe/go-internal/txtar   0.003s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 g 
[too-long-redacted] rnal/txtar returned exit code 1
make[1]: *** [debian/rules:10: 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