Skip to content

Instantly share code, notes, and snippets.

@BtbN
Created August 8, 2020 14:45
Show Gist options
  • Save BtbN/3f7a5e41a860ee480b9aa563b8a4c5af to your computer and use it in GitHub Desktop.
Save BtbN/3f7a5e41a860ee480b9aa563b8a4c5af to your computer and use it in GitHub Desktop.
>>> Emerging (1 of 29) dev-lang/go-1.14.7::gentoo
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
* go1.14.7.src.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking go1.14.7.src.tar.gz to /var/tmp/portage/dev-lang/go-1.14.7/work
>>> Source unpacked in /var/tmp/portage/dev-lang/go-1.14.7/work
>>> Preparing source in /var/tmp/portage/dev-lang/go-1.14.7/work/go ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/go-1.14.7/work/go ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/go-1.14.7/work/go ...
+ set -e
+ export GOENV=off
+ GOENV=off
+ unset GOBIN
+ unset GOFLAGS
+ unset GO111MODULE
+ '[' '!' -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 ']'
+ '[' -f /etc/alpine-release ']'
+ rm -f ./runtime/runtime_defs.go
+ verbose=false
+ vflag=
+ '[' '' = -v ']'
+ export GOROOT_BOOTSTRAP=/usr/lib/go
+ GOROOT_BOOTSTRAP=/usr/lib/go
++ cd ..
++ pwd
+ export GOROOT=/var/tmp/portage/dev-lang/go-1.14.7/work/go
+ GOROOT=/var/tmp/portage/dev-lang/go-1.14.7/work/go
+ IFS='
'
++ type -ap go
+ for go_exe in $(type -ap go)
+ '[' '!' -x /usr/lib/go/bin/go ']'
+ unset IFS
++ /usr/lib/go/bin/go version
++ sed 's/go version //'
+ GOROOT_BOOTSTRAP_VERSION='go1.14.5 linux/amd64'
+ echo 'Building Go cmd/dist using /usr/lib/go. (go1.14.5 linux/amd64)'
Building Go cmd/dist using /usr/lib/go. (go1.14.5 linux/amd64)
+ false
+ '[' '!' -x /usr/lib/go/bin/go ']'
+ '[' /usr/lib/go = /var/tmp/portage/dev-lang/go-1.14.7/work/go ']'
+ rm -f cmd/dist/dist
+ GOROOT=/usr/lib/go
+ GOOS=
+ GOARCH=
+ GO111MODULE=off
+ /usr/lib/go/bin/go build -o cmd/dist/dist ./cmd/dist
/usr/lib/go/src/runtime/internal/math/math.go:7:8: no Go files in /usr/lib/go/src/runtime/internal/sys
* ERROR: dev-lang/go-1.14.7::gentoo failed (compile phase):
* build failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 1232: Called die
* The specific snippet of code:
* bash -x ./make.bash || die "build failed"
*
* If you need support, post the output of `emerge --info '=dev-lang/go-1.14.7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/go-1.14.7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/go-1.14.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/go-1.14.7/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/go-1.14.7/work/go/src'
* S: '/var/tmp/portage/dev-lang/go-1.14.7/work/go'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment