Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912149 - net-p2p/kubo-0.22.0 - go build -tags release -o ipfs ./cmd/ipfs failed
Summary: net-p2p/kubo-0.22.0 - go build -tags release -o ipfs ./cmd/ipfs failed
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Roman
URL:
Whiteboard:
Keywords: PullRequest
: 914564 (view as bug list)
Depends on:
Blocks: go-1.21-bugs
  Show dependency tree
 
Reported: 2023-08-11 22:28 UTC by Toralf Förster
Modified: 2024-03-11 13:08 UTC (History)
7 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,49.18 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
environment (environment,75.43 KB, text/plain)
2023-08-11 22:28 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.63 KB, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,140.95 KB, application/x-xz)
2023-08-11 22:28 UTC, Toralf Förster
Details
net-p2p:kubo-0.22.0:20230811-164444.log.xz (net-p2p:kubo-0.22.0:20230811-164444.log.xz,140.61 KB, application/x-xz)
2023-08-11 22:28 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 2023-08-11 22:28:35 UTC
packagefile time=/var/tmp/portage/net-p2p/kubo-0.22.0/temp/go-build2397900113/b023/_pkg_.a
EOF
/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b993/_pkg_.a -trimpath "$WORK/b993=>" -p net/http/pprof -std -complete -installsuffix shared -buildid lVGhYEtQWiXN6CpGMl2U/lVGhYEtQWiXN6CpGMl2U -goversion go1.21.0 -shared -nolocalimports -importcfg $WORK/b993/importcfg -pack /usr/lib/go/src/net/http/pprof/pprof.go
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b993/_pkg_.a # internal
cp $WORK/b993/_pkg_.a /var/tmp/portage/net-p2p/kubo-0.22.0/temp/go-build/e4/e47fc4304ca1039d74f4f72990ecd6bba2a93210404a609f9412bf2f1a132d1c-d # internal
 * ERROR: net-p2p/kubo-0.22.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: 23.0_desktop_plasma_systemd-20230811-000505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 49b15dc652bfb4bffde5243a7857e753a6a02194
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 11 15:46:41 2023 +0000

    2023-08-11 15:46:41 UTC

emerge -qpvO net-p2p/kubo
[ebuild  N    ] net-p2p/kubo-0.22.0
Comment 1 Toralf Förster gentoo-dev 2023-08-11 22:28:36 UTC
Created attachment 867642 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-11 22:28:37 UTC
Created attachment 867643 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-11 22:28:38 UTC
Created attachment 867644 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-11 22:28:39 UTC
Created attachment 867645 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-11 22:28:40 UTC
Created attachment 867646 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-11 22:28:41 UTC
Created attachment 867647 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-11 22:28:43 UTC
Created attachment 867648 [details]
net-p2p:kubo-0.22.0:20230811-164444.log.xz
Comment 8 Wolfram Schlich 2023-09-20 12:02:24 UTC
Same issue here.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-23 09:35:06 UTC
*** Bug 914564 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-09-23 09:37:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba52f2f665f5087558f5bf0c2ba471d90a3181c

commit bba52f2f665f5087558f5bf0c2ba471d90a3181c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-23 09:36:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-23 09:36:26 +0000

    net-p2p/kubo: bdepend on <go-1.21
    
    Bug: https://bugs.gentoo.org/912149
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/kubo/kubo-0.20.0.ebuild | 3 ++-
 net-p2p/kubo/kubo-0.21.0.ebuild | 3 ++-
 net-p2p/kubo/kubo-0.22.0.ebuild | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
Comment 11 Paweł Metelski 2023-10-08 22:50:25 UTC
Caused by upstream golang regression - https://github.com/golang/go/issues/60674

Perhaps dev-lang/go-1.21.1 should be masked?
Comment 12 David Roman 2023-10-09 14:28:23 UTC
(In reply to Paweł Metelski from comment #11)
> Caused by upstream golang regression -
> https://github.com/golang/go/issues/60674
> 
> Perhaps dev-lang/go-1.21.1 should be masked?

This issue is unrelated with the one of this ticket, right? Seems a runtime issue with go1.20 not a build issue with go1.23. In any case, kubo 0.23.0 should address both issues