Source: golang-github-urfave-cli
Version: 1.22.4-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
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
> dpkg-buildpackage: info: source version 1.22.4-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Drew Parsons <dpars...@debian.org>
>  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 using existing 
> ./golang-github-urfave-cli_1.22.4.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building golang-github-urfave-cli in 
> golang-github-urfave-cli_1.22.4-2.debian.tar.xz
> dpkg-source: info: building golang-github-urfave-cli in 
> golang-github-urfave-cli_1.22.4-2.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
> internal/goexperiment
> internal/unsafeheader
> internal/cpu
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> internal/race
> sync/atomic
> runtime/internal/math
> unicode
> unicode/utf8
> internal/bytealg
> internal/itoa
> math/bits
> math
> runtime
> github.com/shurcooL/sanitized_anchor_name
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> io
> strconv
> internal/oserror
> syscall
> path
> bytes
> strings
> reflect
> html
> regexp/syntax
> text/tabwriter
> time
> internal/syscall/unix
> internal/syscall/execenv
> regexp
> io/fs
> internal/poll
> os
> internal/fmtsort
> io/ioutil
> path/filepath
> fmt
> flag
> net/url
> text/template/parse
> github.com/russross/blackfriday/v2
> github.com/cpuguy83/go-md2man/v2/md2man
> text/template
> github.com/urfave/cli
>    dh_auto_test -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/urfave/cli
> === RUN   TestVersionOneTwoOneRegression
> === RUN   TestVersionOneTwoOneRegression/with_dash_dash
> === RUN   TestVersionOneTwoOneRegression/with_dash_dash_and_skip_reorder
> === RUN   TestVersionOneTwoOneRegression/without_dash_dash
> === RUN   TestVersionOneTwoOneRegression/without_dash_dash_and_skip_reorder
> --- PASS: TestVersionOneTwoOneRegression (0.00s)
>     --- PASS: TestVersionOneTwoOneRegression/with_dash_dash (0.00s)
>     --- PASS: TestVersionOneTwoOneRegression/with_dash_dash_and_skip_reorder 
> (0.00s)
>     --- PASS: TestVersionOneTwoOneRegression/without_dash_dash (0.00s)
>     --- PASS: 
> TestVersionOneTwoOneRegression/without_dash_dash_and_skip_reorder (0.00s)
> === 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_CommandWithArgBeforeFlags
> --- PASS: TestApp_CommandWithArgBeforeFlags (0.00s)
> === RUN   TestApp_CommandWithArgBeforeBoolFlags
> --- PASS: TestApp_CommandWithArgBeforeBoolFlags (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 17 [running]:
> testing.tRunner.func1.2({0x5cf120, 0xc00004fde0})
>       /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({0x5cf120, 0xc00004fde0})
>       /usr/lib/go-1.17/src/runtime/panic.go:1038 +0x215
> flag.(*FlagSet).Var(0xc000058f00, {0x657468, 0xc00004fdb0}, {0x604aa4, 0x5}, 
> {0x0, 0x4d85ad})
>       /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(0x5, {0x604aa4, 0x5}, {0x0, 0x0}, {0x0, 0x0})
>       /usr/lib/go-1.17/src/flag/flag.go:775 +0xac
> github.com/urfave/cli.StringFlag.ApplyWithError.func1({0x604aa4, 0x5})
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/flag_string.go:67
>  +0x94
> github.com/urfave/cli.eachName({0x604aa4, 0x0}, 0xc000049688)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/flag.go:130 
> +0x93
> github.com/urfave/cli.StringFlag.ApplyWithError({{0x604aa4, 0x5}, {0x0, 0x0}, 
> {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x0, ...}, ...)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/flag_string.go:62
>  +0xe9
> github.com/urfave/cli.flagSet({0x0, 0x0}, {0xc00004fd50, 0x1, 0x0})
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/flag.go:115 
> +0x163
> github.com/urfave/cli.(*App).newFlagSet(...)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/app.go:185
> github.com/urfave/cli.(*App).RunAsSubcommand(0xc000162fc0, 0xc000165600)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/app.go:328 
> +0x353
> github.com/urfave/cli.TestApp_RunAsSubCommandIncorrectUsage(0xc00015ad00)
>       
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/urfave/cli/app_test.go:522
>  +0x2b2
> testing.tRunner(0xc00015b860, 0x61b080)
>       /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   0.006s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/urfave/cli returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-urfave-cli_1.22.4-2_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