Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 883969 Details for
Bug 923499
dev-lang/go-1.21.6:0 -- runtime error: index out of range [0] with length 0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
dev-lang:go-1.21.6:20240201-230130.log (text/plain), 6.62 KB, created by
Gary E. Miller
on 2024-02-01 23:39:50 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Gary E. Miller
Created:
2024-02-01 23:39:50 UTC
Size:
6.62 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-lang/go-1.21.6:0/1.21.6 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: williamh@gentoo.org >[32m * [39;49;00mUSE: arm elibc_glibc kernel_linux >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking go1.21.6.src.tar.gz to /var/tmp/portage/dev-lang/go-1.21.6/work >>>> Source unpacked in /var/tmp/portage/dev-lang/go-1.21.6/work >>>> Preparing source in /var/tmp/portage/dev-lang/go-1.21.6/work/go ... > [32m*[0m Applying go-never-download-newer-toolchains.patch ... >[A[72C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-lang/go-1.21.6/work/go ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-lang/go-1.21.6/work/go ... >+ bootgo=1.17.13 >+ set -e >+ '[' '!' -f run.bash ']' >+ '[' '' '!=' '' ']' >+ case "$(uname)" in >++ uname >+ ld --version >+ grep 'gold.* 2\.20' >+ for se_mount in /selinux /sys/fs/selinux >+ '[' -d /selinux -a -f /selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ']' >+ for se_mount in /selinux /sys/fs/selinux >+ '[' -d /sys/fs/selinux -a -f /sys/fs/selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ']' >++ uname -s >+ '[' Linux = GNU/kFreeBSD ']' >+ rm -f ./runtime/runtime_defs.go >+ verbose=false >+ vflag= >+ '[' '' = -v ']' >+ goroot_bootstrap_set=true >+ '[' -z /usr/lib/go ']' >+ export GOROOT_BOOTSTRAP >++ cd .. >++ pwd >+ export GOROOT=/var/tmp/portage/dev-lang/go-1.21.6/work/go >+ GOROOT=/var/tmp/portage/dev-lang/go-1.21.6/work/go >+ IFS=' >' >++ type -ap go >+ for go_exe in $(type -ap go) >+ '[' '!' -x /usr/lib/go/bin/go ']' >+ unset IFS >+ '[' '!' -x /usr/lib/go/bin/go ']' >++ nogoenv /usr/lib/go/bin/go version >++ GO111MODULE=off >++ GOENV=off >++ GOOS= >++ GOARCH= >++ GOEXPERIMENT= >++ GOFLAGS= >++ sed 's/go version //' >++ /usr/lib/go/bin/go version >+ GOROOT_BOOTSTRAP_VERSION='go1.21.6 linux/arm' >+ echo 'Building Go cmd/dist using /usr/lib/go. (go1.21.6 linux/arm)' >Building Go cmd/dist using /usr/lib/go. (go1.21.6 linux/arm) >+ false >+ '[' /usr/lib/go = /var/tmp/portage/dev-lang/go-1.21.6/work/go ']' >+ rm -f cmd/dist/dist >+ GOROOT=/usr/lib/go >+ nogoenv /usr/lib/go/bin/go build -o cmd/dist/dist ./cmd/dist >+ GO111MODULE=off >+ GOENV=off >+ GOOS= >+ GOARCH= >+ GOEXPERIMENT= >+ GOFLAGS= >+ /usr/lib/go/bin/go build -o cmd/dist/dist ./cmd/dist >++ ./cmd/dist/dist env -p >+ eval 'GO111MODULE="";' 'GOARCH="arm";' 'GOBIN="/var/tmp/portage/dev-lang/go-1.21.6/work/go/bin";' 'GODEBUG="";' 'GOENV="off";' 'GOFLAGS="";' 'GOHOSTARCH="arm";' 'GOHOSTOS="linux";' 'GOOS="linux";' 'GOPROXY="";' 'GOROOT="/var/tmp/portage/dev-lang/go-1.21.6/work/go";' 'GOTMPDIR="";' 'GOTOOLDIR="/var/tmp/portage/dev-lang/go-1.21.6/work/go/pkg/tool/linux_arm";' 'GOARM="7";' 'GOWORK="off";' 'PATH="/var/tmp/portage/dev-lang/go-1.21.6/work/go/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin";' export 'DIST_UNMODIFIED_PATH="/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin";' >++ GO111MODULE= >++ GOARCH=arm >++ GOBIN=/var/tmp/portage/dev-lang/go-1.21.6/work/go/bin >++ GODEBUG= >++ GOENV=off >++ GOFLAGS= >++ GOHOSTARCH=arm >++ GOHOSTOS=linux >++ GOOS=linux >++ GOPROXY= >++ GOROOT=/var/tmp/portage/dev-lang/go-1.21.6/work/go >++ GOTMPDIR= >++ GOTOOLDIR=/var/tmp/portage/dev-lang/go-1.21.6/work/go/pkg/tool/linux_arm >++ GOARM=7 >++ GOWORK=off >++ PATH=/var/tmp/portage/dev-lang/go-1.21.6/work/go/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin >++ export DIST_UNMODIFIED_PATH=/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin >++ DIST_UNMODIFIED_PATH=/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin >+ '[' '' = true ']' >+ false >+ '[' '' = --dist-tool ']' >+ ./cmd/dist/dist bootstrap -a >Building Go toolchain1 using /usr/lib/go. ># bootstrap/cmd/compile/internal/noder >../../../../src/cmd/compile/internal/noder/writer.go:1467: internal compiler error: '(*pkgWriter).rangeTypes': panic during expand calls while compiling (*pkgWriter).rangeTypes: > >runtime error: index out of range [0] with length 0 > >goroutine 341 [running]: >cmd/compile/internal/ssa.Compile.func1() > cmd/compile/internal/ssa/compile.go:49 +0x88 >panic({0xa184c0, 0x3b023a0}) > runtime/panic.go:914 +0x244 >cmd/compile/internal/ssa.expandCalls(0x5714410) > cmd/compile/internal/ssa/expand_calls.go:1634 +0x2844 >cmd/compile/internal/ssa.Compile(0x5714410) > cmd/compile/internal/ssa/compile.go:97 +0xca8 >cmd/compile/internal/ssagen.buildssa(0x4ec8180, 0x0) > cmd/compile/internal/ssagen/ssa.go:568 +0x2bc0 >cmd/compile/internal/ssagen.Compile(0x4ec8180, 0x0) > cmd/compile/internal/ssagen/pgen.go:187 +0x38 >cmd/compile/internal/gc.compileFunctions.func5.1(0x0) > cmd/compile/internal/gc/compile.go:184 +0x38 >cmd/compile/internal/gc.compileFunctions.func3.1() > cmd/compile/internal/gc/compile.go:166 +0x38 >created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 3 > cmd/compile/internal/gc/compile.go:165 +0x244 > > > >Please file a bug report including a short program that triggers the error. >https://go.dev/issue/new >go tool dist: FAILED: /usr/lib/go/bin/go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1 > [31;01m*[0m ERROR: dev-lang/go-1.21.6::gentoo failed (compile phase): > [31;01m*[0m build failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_compile > [31;01m*[0m environment, line 1272: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m bash -x ./make.bash || die "build failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-lang/go-1.21.6::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-lang/go-1.21.6::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/elog/dev-lang:go-1.21.6:20240201-230130.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/go-1.21.6/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/go-1.21.6/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-lang/go-1.21.6/work/go/src' > [31;01m*[0m S: '/var/tmp/portage/dev-lang/go-1.21.6/work/go'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 923499
: 883969