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:177: go-check] Error 1 * ERROR: www-apps/gitea-1.12.1::gentoo failed (compile phase): * emake failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-libressl-20200814-212555 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * /usr/lib/llvm/10 10.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.45.2 * The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Aug 19 07:05:37 PM UTC 2020 /var/db/repos/libressl Mon Aug 10 09:13:35 AM UTC 2020 emerge -qpvO www-apps/gitea [ebuild N ] www-apps/gitea-1.12.1 USE="acct filecaps pam -build-client -sqlite"
Created attachment 655534 [details] emerge-info.txt
Created attachment 655536 [details] emerge-history.txt
Created attachment 655538 [details] environment
Created attachment 655540 [details] etc.portage.tbz2
Created attachment 655542 [details] logs.tbz2
Created attachment 655544 [details] www-apps:gitea-1.12.1:20200819-195624.log
This also hits gitea-1.12.3 with go-1.15 I suggest removing go-check from the Makefile and having the ebuild itself depend on go >= 1.12.
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.