>>> Unpacking act-1.6.0.tar.gz to /var/tmp/portage/dev-go/act-1.6.0/work go mod verify go: go.mod file not found in current directory or any parent directory; see 'go help modules' * ERROR: dev-go/act-1.6.0::gentoo failed (unpack phase): * go mod verify failed * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20221020-230005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.3 Python 3.10.8 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.5_p5 [openjdk-17] 2) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-17 [2] openjdk-bin-8 system-vm [3] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 7b88affe530082548b44ee752e65c456b0d3ee25 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Oct 22 00:02:02 2022 +0000 2022-10-22 00:02:02 UTC emerge -qpvO dev-go/act [ebuild N ] dev-go/act-1.6.0
Created attachment 824983 [details] emerge-info.txt
Created attachment 824985 [details] dev-go:act-1.6.0:20221022-021237.log
Created attachment 824987 [details] emerge-history.txt
Created attachment 824989 [details] environment
Created attachment 824991 [details] etc.portage.tar.bz2
Created attachment 824993 [details] temp.tar.bz2
Upstream for this project doesn't use go modules (go.mod/go.sum). Also, the upstream build scripts only support amd64, so I'm not sure we should expand to other arches. I will attach a patch. Thanks, William
Created attachment 825153 [details, diff] act-1.6.0-fix.patch This is an updated patch which adds RESTRICT="strip".
Thanks for your cleanup of the go related code, William. Yes, upstream doesn't use go modules. This has been an issue from the beginning. The arm64 and x86 keywords were added, as a response to media-gfx/openscad having these. OpenSCAD supported x86 for a long time and support for arm64 was requested in bug #734822 and granted. This trickles down to media-libs/lib3mf and from there to dev-go/act. So far there were no issues reported for these arches. I therefore like to *not* drop the KEYWORDS for these two arches.
The package now gives a QA warning about not respecting CFLAGS when built with the patch applied.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d84841ee2d310d991242fdabe01274d08347f3 commit 58d84841ee2d310d991242fdabe01274d08347f3 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-11-01 09:47:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-07 05:01:14 +0000 dev-go/act: no longer use go-module The package doesn't use the usual Go structure and fails to build with changes to go-module. Thanks to William Hubbs for the suggestion to go related changes. Suggested-by: William Hubbs <williamh@gentoo.org> Closes: https://bugs.gentoo.org/877881 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/28072 Signed-off-by: Sam James <sam@gentoo.org> dev-go/act/act-1.6.0.ebuild | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-)