Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877881 - dev-go/act-1.6.0 - go mod verify failed
Summary: dev-go/act-1.6.0 - go mod verify failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-22 07:17 UTC by Toralf Förster
Modified: 2022-11-07 05:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.70 KB, text/plain)
2022-10-22 07:17 UTC, Toralf Förster
Details
dev-go:act-1.6.0:20221022-021237.log (dev-go:act-1.6.0:20221022-021237.log,1.47 KB, text/plain)
2022-10-22 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.72 KB, text/plain)
2022-10-22 07:18 UTC, Toralf Förster
Details
environment (environment,64.63 KB, text/plain)
2022-10-22 07:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.64 KB, application/x-bzip)
2022-10-22 07:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.37 KB, application/x-bzip)
2022-10-22 07:18 UTC, Toralf Förster
Details
act-1.6.0-fix.patch (act-1.6.0-fix.patch,1.45 KB, patch)
2022-10-23 18:44 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-22 07:17:56 UTC
>>> 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
Comment 1 Toralf Förster gentoo-dev 2022-10-22 07:17:57 UTC
Created attachment 824983 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-22 07:17:58 UTC
Created attachment 824985 [details]
dev-go:act-1.6.0:20221022-021237.log
Comment 3 Toralf Förster gentoo-dev 2022-10-22 07:18:00 UTC
Created attachment 824987 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-22 07:18:01 UTC
Created attachment 824989 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-22 07:18:03 UTC
Created attachment 824991 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-22 07:18:04 UTC
Created attachment 824993 [details]
temp.tar.bz2
Comment 7 William Hubbs gentoo-dev 2022-10-23 17:57:27 UTC
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
Comment 8 William Hubbs gentoo-dev 2022-10-23 18:44:46 UTC
Created attachment 825153 [details, diff]
act-1.6.0-fix.patch

This is an updated patch which adds RESTRICT="strip".
Comment 9 Bernd 2022-10-24 09:15:17 UTC
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.
Comment 10 Bernd 2022-11-01 09:32:08 UTC
The package now gives a QA warning about not respecting CFLAGS when built with the patch applied.
Comment 11 Larry the Git Cow gentoo-dev 2022-11-07 05:01:26 UTC
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(-)