Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742470 - www-apps/gitea-1.12.1 fails to compile
Summary: www-apps/gitea-1.12.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-14 09:43 UTC by Agostino Sarubbo
Modified: 2020-12-08 08:44 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,6.00 KB, text/plain)
2020-09-14 09:43 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-14 09:43:19 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-14 09:43:21 UTC
Created attachment 660114 [details]
build.log

build log and emerge --info
Comment 2 Patrick Lauer gentoo-dev 2020-10-09 05:25:51 UTC
>>> 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
Comment 3 Patrick Lauer gentoo-dev 2020-10-09 05:27:39 UTC
From Makefile  -

        GOFLAGS := -v

and that does fail:

 # go version -v
go version: flags can only be used with arguments
Comment 4 Pierre-Olivier Mercier 2020-12-08 08:44:27 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.