[Bug 1942255] Re: FTBFS with Go 1.17
Launchpad Bug Tracker
1942255 at bugs.launchpad.net
Tue Sep 7 01:23:33 UTC 2021
This bug was fixed in the package golang-github-urfave-cli -
1.22.4-2ubuntu1
---------------
golang-github-urfave-cli (1.22.4-2ubuntu1) impish; urgency=medium
* Change "incorrect usage" test case to use an undefined flag rather
than a syntactically invalid flag. This prevents panics in test cases,
as Go 1.17 panics with invalid flag syntax (LP: #1942255)
-- William 'jawn-smith' Wilson <william.wilson at canonical.com> Wed, 01
Sep 2021 09:47:18 -0500
** Changed in: golang-github-urfave-cli (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1942255
Title:
FTBFS with Go 1.17
Status in golang-github-urfave-cli package in Ubuntu:
Fix Released
Status in golang-github-urfave-cli-v2 package in Ubuntu:
Fix Released
Status in golang-github-urfave-cli package in Debian:
Unknown
Status in golang-github-urfave-cli-v2 package in Debian:
Unknown
Bug description:
As of Go 1.17 the flag package will panic if given a syntactically
invalid flag. See https://golang.org/doc/go1.17#flag for more detail.
There is a test in this package that tries to test an invalid usage
scenario by passing a syntactically invalid flag. This causes the
build time test to panic, and the build fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-urfave-cli/+bug/1942255/+subscriptions
More information about the Ubuntu-sponsors
mailing list