/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b961/_pkg_.a -trimpath "$WORK/b961=>" -p net/http/pprof -std -complete -installsuffix shared -buildid TtGxyEd8K1YTOxdWhJw4/TtGxyEd8K1YTOxdWhJw4 -goversion go1.20 -shared -nolocalimports -importcfg $WORK/b961/importcfg -pack /usr/lib/go/src/net/http/pprof/pprof.go /usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b931/_pkg_.a # internal cp $WORK/b931/_pkg_.a /var/tmp/portage/net-p2p/kubo-0.15.0/temp/go-build/cb/cb27a3ffd2e833569f7b288cc4fdb045fd9b61d90e97f1e703648a0107b31449-d # internal /usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b961/_pkg_.a # internal cp $WORK/b961/_pkg_.a /var/tmp/portage/net-p2p/kubo-0.15.0/temp/go-build/7e/7e1fb6dc82251b403919ffcf3c54c7cb233a9ab15c2c0e37e267d602128d648b-d # internal * ERROR: net-p2p/kubo-0.15.0::gentoo failed (compile phase): * go build -tags release -o ipfs ./cmd/ipfs failed * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20230211-230027 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.7 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.7 Python 3.10.10 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.67.1 [2] rust-1.67.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 6ecfbe524743a309779826945ac2f34256c08cb9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Feb 12 18:17:02 2023 +0000 2023-02-12 18:17:01 UTC emerge -qpvO net-p2p/kubo [ebuild N ] net-p2p/kubo-0.15.0
Created attachment 850564 [details] emerge-info.txt
Created attachment 850566 [details] emerge-history.txt
Created attachment 850568 [details] environment
Created attachment 850570 [details] etc.clang.tar.bz2
Created attachment 850572 [details] etc.portage.tar.bz2
Created attachment 850574 [details] logs.tar.bz2
Created attachment 850576 [details] net-p2p:kubo-0.15.0:20230212-193601.log.bz2
Same with kubo 0.18.1 building on go 1.20.1. Retried with go 1.19.6 and it built correctly. Go compiler version should appear in emerge --info, I confirmed with OP's merge history he used 1.20.1.
emerge @golang-rebuild also fails due to this with go-1.20.1.
The real error: # github.com/lucas-clemente/quic-go/internal/qtls vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration And it does seem that this would be fixed in a newer kubo.
(In reply to John Helmert III from comment #10) > The real error: > ... > And it does seem that this would be fixed in a newer kubo. Right, net-p2p/kubo-0.19.1 is out and actually compiles with dev-lang/go-1.20.3.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd133d645581dcbd5d99e8216fa6c806dcfe625c commit cd133d645581dcbd5d99e8216fa6c806dcfe625c Author: David Roman <davidroman96@gmail.com> AuthorDate: 2023-07-06 09:52:34 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-07-24 11:04:30 +0000 net-p2p/kubo: drop 0.15.0, 0.18.1 Closes: https://bugs.gentoo.org/894126 Signed-off-by: David Roman <davidroman96@gmail.com> Signed-off-by: Florian Schmaus <flow@gentoo.org> net-p2p/kubo/Manifest | 2 -- net-p2p/kubo/kubo-0.15.0.ebuild | 69 ----------------------------------------- net-p2p/kubo/kubo-0.18.1.ebuild | 69 ----------------------------------------- 3 files changed, 140 deletions(-)