https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: www-apps/gitea-1.12.1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 660114 [details] build.log build log and emerge --info
>>> Compiling source in /var/tmp/portage/www-apps/gitea-1.12.4/work ... make -j8 backend go version: flags can only be used with arguments Gitea requires Go 1.12 or greater to build. You can get it at https://golang.org/dl/ make: *** [Makefile:178: go-check] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: www-apps/gitea-1.12.4::gentoo failed (compile phase): # go version go version go1.15.2 linux/amd64 So, Makefile no worky with 1.15
From Makefile - GOFLAGS := -v and that does fail: # go version -v go version: flags can only be used with arguments
This was due to a breakage in the way that go handles options passed to the version command. It has been fixed in dev-lang/go-1.15.3, affected versions are >=dev-lang/go-1.15.0 && <dev-lang/go-1.15.3, that are no more in the tree.