Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738058 - www-apps/gitea-1.12.1 : make: *** [Makefile:<snip>: go-check] Error 1
Summary: www-apps/gitea-1.12.1 : make: *** [Makefile:<snip>: go-check] Error 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-19 20:20 UTC by Toralf Förster
Modified: 2020-12-08 08:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.82 KB, text/plain)
2020-08-19 20:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.69 KB, text/plain)
2020-08-19 20:20 UTC, Toralf Förster
Details
environment (environment,70.98 KB, text/plain)
2020-08-19 20:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.16 KB, application/x-bzip)
2020-08-19 20:20 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,113.01 KB, application/x-bzip)
2020-08-19 20:20 UTC, Toralf Förster
Details
www-apps:gitea-1.12.1:20200819-195624.log (www-apps:gitea-1.12.1:20200819-195624.log,1.75 KB, text/plain)
2020-08-19 20:20 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-19 20:20:23 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-08-19 20:20:24 UTC
Created attachment 655534 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-19 20:20:26 UTC
Created attachment 655536 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-19 20:20:28 UTC
Created attachment 655538 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-19 20:20:30 UTC
Created attachment 655540 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-19 20:20:32 UTC
Created attachment 655542 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-19 20:20:33 UTC
Created attachment 655544 [details]
www-apps:gitea-1.12.1:20200819-195624.log
Comment 7 Torsten Kurbad 2020-08-31 14:32:48 UTC
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.
Comment 8 Pierre-Olivier Mercier 2020-12-08 08:44:48 UTC
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.