Your message dated Wed, 24 Nov 2021 08:51:17 -0700
with message-id <yz5fdelex+l4t...@debian-e431.fok>
and subject line Bug#998545: fixed in golang-github-alecthomas-kong-hcl 1.0.1-1
has caused the Debian Bug report #998545,
regarding golang-github-alecthomas-kong-hcl: FTBFS:
src/github.com/alecthomas/kong-hcl/loader.go:90:18: invalid operation:
node.Group != "" (mismatched types *kong.Group and untyped string)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
998545: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998545
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source:golang-github-alecthomas-kong-hcl
Source-Version: 1.0.1-1
Done: Anthony Fok <f...@debian.org>
Forwarded: https://github.com/alecthomas/kong-hcl/pull/7
This FTBFS happened when golang-github-alecthomas-kong was upgraded
from 0.2.4-1 to 0.2.17-1.
Upstream changed how groups are implemented starting
github.com/alecthomas/kong@v0.2.13 in Pull Request #135
"Add support for groups in the default HelpPrinter"
at https://github.com/alecthomas/kong/pull/135
github.com/alecthomas/kong-hcl@v1.0.1 contains adaptation to work with
the latest kong, but was missing a fix in the TestHCL/FromResolver
which was dealt with in https://github.com/alecthomas/kong-hcl/pull/7
and is included in Debian's golang-github-alecthomas-kong-hcl 1.0.1-1
which fixes the FTBFS.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 998...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Cheers,
Anthony Fok
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 04 Nov 2021 05:18:32 -0600
Source: golang-github-alecthomas-kong-hcl
Architecture: source
Version: 1.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org>
Changed-By: Anthony Fok <f...@debian.org>
Changes:
golang-github-alecthomas-kong-hcl (1.0.1-1) unstable; urgency=medium
.
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
* Update standards version to 4.5.0, no changes needed.
.
[ Anthony Fok ]
* New upstream version 1.0.1
* Change Section from devel to golang
* Bump debhelper dependency to "Build-Depends: debhelper-compat (= 13)"
* Bump Standards-Version to 4.6.0 (no change)
* Mark library package with "Multi-Arch: foreign"
* Update versioned dependencies as per go.mod
* Refresh debian/watch
* debian/rules: Add "export DH_GOLANG_EXCLUDES := v2" as v2 requires
github.com/hashicorp/hcl/v2 which has yet to be packaged for Debian
* Add 0001-skip-group-test.patch
to sidestep TestHCL/FromResolver test error with groups.
See https://github.com/alecthomas/kong-hcl/pull/7
Checksums-Sha1:
9d5ab9a33625f1bd6e9fdcbb099451d8d139f4f3 2494
golang-github-alecthomas-kong-hcl_1.0.1-1.dsc
1bd7802f5d0ab8c553bbc524a51a3598d53b355c 10795
golang-github-alecthomas-kong-hcl_1.0.1.orig.tar.gz
31a90be7e60f235b0fcfe8ca7bea78ddc4c9dc78 2996
golang-github-alecthomas-kong-hcl_1.0.1-1.debian.tar.xz
708bc496973466372f64f89ffe9ed1c662d5094e 6659
golang-github-alecthomas-kong-hcl_1.0.1-1_amd64.buildinfo
Checksums-Sha256:
99a7c9d137e5232877e1d5bdf12dce0c62a94514c9a2a0e901502b7ab7fefebf 2494
golang-github-alecthomas-kong-hcl_1.0.1-1.dsc
5908bcd949e2c6b4d668ae4878371eecb86232ac05ea632c2c86ee2871afde4d 10795
golang-github-alecthomas-kong-hcl_1.0.1.orig.tar.gz
c300d31731043d3774e4a79a5923277180c97fc818aeb9ab109f7fe85047de23 2996
golang-github-alecthomas-kong-hcl_1.0.1-1.debian.tar.xz
8f606fd75fe1eaa7fbde156744a1239079a0c898377131b9111b484e78c71343 6659
golang-github-alecthomas-kong-hcl_1.0.1-1_amd64.buildinfo
Files:
675a10552c08b89a31b6453a2288bd72 2494 golang optional
golang-github-alecthomas-kong-hcl_1.0.1-1.dsc
87683900ac16fd74bdee08eeee403b03 10795 golang optional
golang-github-alecthomas-kong-hcl_1.0.1.orig.tar.gz
edc9613e22200a509e7ed43c8dcaf441 2996 golang optional
golang-github-alecthomas-kong-hcl_1.0.1-1.debian.tar.xz
47b42faeea8ec5f5d273200b28024a4b 6659 golang optional
golang-github-alecthomas-kong-hcl_1.0.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmGDwzYQHGZva2FAZGVi
aWFuLm9yZwAKCRDqJQC0EsWaz2HTD/4oYetB2mGrllQDJ32MY6htnUaxgTnnoiyo
Ged1oHj+sjMXF5MzEQ0mAEMLW3dAXkvHDV78V7djUWUpfOgZpf0xLeCnSxOU1hAH
oewA5UerTJxT9m0//3+X6NGxO3gafbjuqxYjmm7XsdfbrvOZzp1wvfdMu7GsrM02
58RoFsxSIlAkjf4x74SEZc8Exp6BVA6lAXVAmINFlg9AmRCY3YhEPd8iIiLjp9Bw
Ar5Sx00jZNuDkHjgTvAH95IGk+acBP3B5GmtLTOUzKEK247WmHRky+E19HO/mx2P
Qvht2QpxDQc0hKFA8RzcTASy2UOfcsvK0aRav92GVJGnOJnze/ebCJVyiSNxqSV2
kjzTJczZSfmZU0GlNjVyM17QEOuL2SqmzUCtKHyChD1mzxQ1H0+Bp1Uxe8n6wkwY
z/pcBVHf2NJ5+3tkMVak9woRN9g6lk1043wH9XpNdjxvQyEK/qNnKbO9K4TJbpMu
XsBA6XzGZ0+283N3GAjrh+0rqocBL2JTIc6BY2yjofigiWrElokXEcWwAWYVyWfl
DEQXH1mfLwOn+BRVR1AdmOma9WMuXKpZs4HDt2DPOOiKJ9d+oWtp8VXsXjNpGnYG
/73h1VfdoByCkpTQuTNJk60GqUa/Sg2gEl6LTIJINBCt7TA+r8q54t5YjkUzSJE6
rHXwfX8szg==
=kBiw
-----END PGP SIGNATURE-----
--- End Message ---