Summary: | dev-util/github-cli-2.42.0: link-time dev-lang/go error when -ggdb3 is present in CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tacokoneko |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | UNCONFIRMED --- | ||
Severity: | trivial | CC: | ionen, lg3dx6fd, sam, tacokoneko |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=924436 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/dev-util/github-cli-2.42.0/temp/build.log
emerge -pqv '=dev-util/github-cli-2.42.0::gentoo' |
Description
tacokoneko
2024-02-14 08:25:38 UTC
Created attachment 884929 [details]
/var/tmp/portage/dev-util/github-cli-2.42.0/temp/build.log
Created attachment 884930 [details]
emerge -pqv '=dev-util/github-cli-2.42.0::gentoo'
wrt bug #924436's lazy temporary workaround https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548e7366 >If this is a widespread issue, it may need visiting in go-env's >go-env_set_compile_environment instead though. As a user-side workaround, could explicitly set CGO_C(XX)FLAGS to not have -g3/-ggdb3 though. Likely only surfacing now because it used to not respect *FLAGS before go-env.eclass I think? (not sure what Go does without it), assuming it's not just a new issue with a new Go version. I've got the same bug with github-cli , docker-compose , app-shells/fzf . setting CGO_CFLAGS="${COMMON_FLAGS}" CGO_CXXFLAGS="${COMMON_FLAGS}" CGO_FFLAGS="${COMMON_FLAGS}" where COMMON_FLAGS doesn't contain -ggdb3 solve the compile issue. Thanks for proposed used-side solution. |