Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921773 - app-admin/hcloud-1.41.0 - build failed
Summary: app-admin/hcloud-1.41.0 - build failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Agostino Sarubbo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 12:02 UTC by Toralf Förster
Modified: 2024-02-09 15:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.16 KB, text/plain)
2024-01-11 12:03 UTC, Toralf Förster
Details
app-admin:hcloud-1.41.0:20240111-104802.log (app-admin:hcloud-1.41.0:20240111-104802.log,1.81 KB, text/plain)
2024-01-11 12:03 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,88.83 KB, application/x-xz)
2024-01-11 12:03 UTC, Toralf Förster
Details
environment (environment,29.09 KB, text/plain)
2024-01-11 12:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2024-01-11 12:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.56 KB, application/x-xz)
2024-01-11 12:03 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,90.57 KB, application/x-xz)
2024-01-11 12:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,9.01 KB, application/x-xz)
2024-01-11 12:03 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 2024-01-11 12:02:59 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/hcloud-1.41.0/work/hcloud-1.41.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/hcloud-1.41.0/work/hcloud-1.41.0 ...
internal/cmd/iso/list.go:6:2: package slices is not in GOROOT (/usr/lib/go/src/slices)
 * ERROR: app-admin/hcloud-1.41.0::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20240104-043505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.20.13 linux/amd64

  HEAD of ::gentoo
commit 298d71c02bde6faec7cdbb0182863aaf1438b7e4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jan 11 10:13:20 2024 +0000

    2024-01-11 10:13:19 UTC

emerge -qpvO app-admin/hcloud
[ebuild   R   ] app-admin/hcloud-1.41.0
Comment 1 Toralf Förster gentoo-dev 2024-01-11 12:03:00 UTC
Created attachment 881929 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-11 12:03:01 UTC
Created attachment 881930 [details]
app-admin:hcloud-1.41.0:20240111-104802.log
Comment 3 Toralf Förster gentoo-dev 2024-01-11 12:03:02 UTC
Created attachment 881931 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-01-11 12:03:03 UTC
Created attachment 881932 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-11 12:03:04 UTC
Created attachment 881933 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-11 12:03:05 UTC
Created attachment 881934 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-11 12:03:06 UTC
Created attachment 881935 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-11 12:03:07 UTC
Created attachment 881936 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-01-11 12:24:47 UTC
Thanks for the report.

Based on what the build log says, it looks like you are missing the 'slices' package that usually is provided directly by dev-lang/go (/usr/lib/go/src/slices)

I can't reproduce, and my guess is that your go install is somewhat broken.
Can you try re-emerging dev-lang/go and try again?

Also, there is a POC to check if slices works:

package main

import (
	"fmt"
	"slices"
)

func main() {
	numbers := []int{0, 42, -10, 8}
	fmt.Println(slices.Max(numbers))
}

You can put the content in a file called file.go and run "go run file.go"