Source: golang-github-urfave-cli-v2
Version: 2.2.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package golang-github-urfave-cli-v2
> dpkg-buildpackage: info: source version 2.2.0-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Drew Parsons <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=golang --with=golang
>    dh_auto_clean -O--buildsystem=golang
>    dh_autoreconf_clean -O--buildsystem=golang
>    dh_clean -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-urfave-cli-v2 using existing 
> ./golang-github-urfave-cli-v2_2.2.0.orig.tar.gz
> dpkg-source: info: building golang-github-urfave-cli-v2 in 
> golang-github-urfave-cli-v2_2.2.0-3.debian.tar.xz
> dpkg-source: info: building golang-github-urfave-cli-v2 in 
> golang-github-urfave-cli-v2_2.2.0-3.dsc
>  debian/rules binary
> dh binary --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 
> github.com/urfave/cli/v2
> internal/unsafeheader
> internal/goexperiment
> internal/abi
> internal/cpu
> runtime/internal/atomic
> runtime/internal/sys
> internal/race
> runtime/internal/math
> sync/atomic
> internal/bytealg
> unicode
> unicode/utf8
> internal/itoa
> encoding
> math/bits
> unicode/utf16
> math
> runtime
> github.com/shurcooL/sanitized_anchor_name
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> io
> internal/oserror
> strconv
> path
> syscall
> bytes
> strings
> reflect
> text/tabwriter
> html
> regexp/syntax
> internal/syscall/unix
> time
> internal/syscall/execenv
> regexp
> context
> io/fs
> internal/poll
> internal/fmtsort
> encoding/binary
> os
> encoding/base64
> io/ioutil
> path/filepath
> fmt
> flag
> net/url
> github.com/russross/blackfriday/v2
> encoding/json
> text/template/parse
> github.com/cpuguy83/go-md2man/v2/md2man
> text/template
> github.com/urfave/cli/v2
>    dh_auto_test -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/urfave/cli/v2
> === RUN   TestApp_Run
> --- PASS: TestApp_Run (0.00s)
> === RUN   TestApp_Command
> --- PASS: TestApp_Command (0.00s)
> === RUN   TestApp_Setup_defaultsWriter
> --- PASS: TestApp_Setup_defaultsWriter (0.00s)
> === RUN   TestApp_RunAsSubcommandParseFlags
> --- PASS: TestApp_RunAsSubcommandParseFlags (0.00s)
> === RUN   TestApp_RunAsSubCommandIncorrectUsage
> flag "--foo" begins with -
> --- FAIL: TestApp_RunAsSubCommandIncorrectUsage (0.00s)
> panic: flag "--foo" begins with - [recovered]
>       panic: flag "--foo" begins with -
> 
> goroutine 10 [running]:
> testing.tRunner.func1.2({0x5e4180, 0xc00004f3f0})
>       /usr/lib/go-1.17/src/testing/testing.go:1209 +0x24e
> testing.tRunner.func1()
>       /usr/lib/go-1.17/src/testing/testing.go:1212 +0x218
> panic({0x5e4180, 0xc00004f3f0})
>       /usr/lib/go-1.17/src/runtime/panic.go:1038 +0x215
> flag.(*FlagSet).Var(0xc000058780, {0x6719a8, 0xc00004f3c0}, {0xc0000149c8, 
> 0x0}, {0x0, 0xc000068b10})
>       /usr/lib/go-1.17/src/flag/flag.go:864 +0x439
> flag.(*FlagSet).StringVar(...)
>       /usr/lib/go-1.17/src/flag/flag.go:762
> flag.(*FlagSet).String(0x61cd2f, {0xc0000149c8, 0x5}, {0x0, 0x0}, {0x0, 0x0})
>       /usr/lib/go-1.17/src/flag/flag.go:775 +0xac
> github.com/urfave/cli/v2.(*StringFlag).Apply(0xc00010e8c0, 0x0)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/v2/flag_string.go:70
>  +0x14f
> github.com/urfave/cli/v2.flagSet({0x61c509, 0x3}, {0xc000028a20, 0x2, 0x2})
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/v2/flag.go:125
>  +0x12e
> github.com/urfave/cli/v2.(*App).newFlagSet(...)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/v2/app.go:205
> github.com/urfave/cli/v2.(*App).RunAsSubcommand(0xc000162300, 0xc000070d40)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/v2/app.go:348 
> +0x26c
> github.com/urfave/cli/v2.TestApp_RunAsSubCommandIncorrectUsage(0x0)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/v2/app_test.go:483
>  +0x2a9
> testing.tRunner(0xc00015cd00, 0x634488)
>       /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> created by testing.(*T).Run
>       /usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
> FAIL  github.com/urfave/cli/v2        0.005s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/urfave/cli/v2 returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-urfave-cli-v2_2.2.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to