Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894126 - net-p2p/kubo-0.15.0 - go build -tags release -o ipfs ./cmd/ipfs failed
Summary: net-p2p/kubo-0.15.0 - go build -tags release -o ipfs ./cmd/ipfs failed
Status: RESOLVED FIXED
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
Depends on: 892986
Blocks:
  Show dependency tree
 
Reported: 2023-02-12 20:26 UTC by Toralf Förster
Modified: 2023-07-24 11:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2023-02-12 20:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.13 KB, text/plain)
2023-02-12 20:26 UTC, Toralf Förster
Details
environment (environment,72.98 KB, text/plain)
2023-02-12 20:26 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,690 bytes, application/x-bzip)
2023-02-12 20:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.42 KB, application/x-bzip)
2023-02-12 20:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,129.33 KB, application/x-bzip)
2023-02-12 20:26 UTC, Toralf Förster
Details
net-p2p:kubo-0.15.0:20230212-193601.log.bz2 (net-p2p:kubo-0.15.0:20230212-193601.log.bz2,129.03 KB, application/x-bzip)
2023-02-12 20:26 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-02-12 20:26:41 UTC
/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
Comment 1 Toralf Förster gentoo-dev 2023-02-12 20:26:42 UTC
Created attachment 850564 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-12 20:26:43 UTC
Created attachment 850566 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-12 20:26:44 UTC
Created attachment 850568 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-12 20:26:45 UTC
Created attachment 850570 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-12 20:26:46 UTC
Created attachment 850572 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-12 20:26:48 UTC
Created attachment 850574 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-12 20:26:50 UTC
Created attachment 850576 [details]
net-p2p:kubo-0.15.0:20230212-193601.log.bz2
Comment 8 Paweł Metelski 2023-03-16 19:47:31 UTC
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.
Comment 9 Paweł Metelski 2023-03-16 19:51:05 UTC
emerge @golang-rebuild also fails due to this with go-1.20.1.
Comment 10 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-03 03:15:38 UTC
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.
Comment 11 Bernd Feige 2023-04-10 08:30:14 UTC
(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.
Comment 12 Larry the Git Cow gentoo-dev 2023-07-24 11:06:23 UTC
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(-)