Source: golang-github-alecthomas-kong-hcl
Version: 0.2.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --builddirectory=_build --buildsystem=golang --with=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 4 github.com/alecthomas/kong-hcl
> internal/unsafeheader
> internal/goexperiment
> internal/cpu
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> internal/race
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> internal/bytealg
> encoding
> math/bits
> internal/itoa
> math
> unicode/utf16
> runtime
> internal/reflectlite
> sync
> internal/testlog
> runtime/cgo
> errors
> sort
> io
> strconv
> internal/oserror
> syscall
> bytes
> reflect
> path
> strings
> internal/syscall/unix
> time
> internal/syscall/execenv
> regexp/syntax
> internal/poll
> io/fs
> regexp
> github.com/hashicorp/hcl/hcl/strconv
> os
> internal/fmtsort
> encoding/binary
> encoding/base64
> internal/lazyregexp
> io/ioutil
> path/filepath
> fmt
> github.com/pkg/errors
> net/url
> go/token
> encoding/json
> text/template/parse
> go/scanner
> os/user
> go/ast
> github.com/hashicorp/hcl/hcl/token
> github.com/hashicorp/hcl/hcl/ast
> text/template
> github.com/hashicorp/hcl/hcl/scanner
> github.com/hashicorp/hcl/json/token
> github.com/hashicorp/hcl/json/scanner
> github.com/hashicorp/hcl/hcl/parser
> github.com/hashicorp/hcl/json/parser
> github.com/hashicorp/hcl
> go/doc
> github.com/alecthomas/kong
> github.com/alecthomas/kong-hcl
> # github.com/alecthomas/kong-hcl
> src/github.com/alecthomas/kong-hcl/loader.go:90:18: invalid operation: 
> node.Group != "" (mismatched types *kong.Group and untyped string)
> src/github.com/alecthomas/kong-hcl/loader.go:91:22: cannot use node.Group 
> (type *kong.Group) as type string in append
> src/github.com/alecthomas/kong-hcl/loader.go:131:16: invalid operation: 
> flag.Group != "" (mismatched types *kong.Group and untyped string)
> src/github.com/alecthomas/kong-hcl/loader.go:132:30: cannot use flag.Group 
> (type *kong.Group) as type string in slice literal
> dh_auto_build: error: cd _build && go install -trimpath -v -p 4 
> github.com/alecthomas/kong-hcl returned exit code 2
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/11/04/golang-github-alecthomas-kong-hcl_0.2.0-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