Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648428 - sys-cluster/kubectl-1.9.3 : Please install go1.9.1 or later.
Summary: sys-cluster/kubectl-1.9.3 : Please install go1.9.1 or later.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-21 18:17 UTC by Toralf Förster
Modified: 2018-03-22 01:35 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.54 KB, text/plain)
2018-02-21 18:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.20 KB, text/plain)
2018-02-21 18:17 UTC, Toralf Förster
Details
environment (environment,48.24 KB, text/plain)
2018-02-21 18:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.62 KB, application/x-bzip)
2018-02-21 18:18 UTC, Toralf Förster
Details
sys-cluster:kubectl-1.9.3:20180221-123734.log (sys-cluster:kubectl-1.9.3:20180221-123734.log,6.25 KB, text/plain)
2018-02-21 18:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.65 KB, application/x-bzip)
2018-02-21 18:18 UTC, Toralf Förster
Details
kubectl-1.9.3-fix-comparison-of-golang-versions-fc37221db5d08eb9553273ad6202a2557cfde131.patch (kubectl-1.9.3-fix-comparison-of-golang-versions-fc37221db5d08eb9553273ad6202a2557cfde131.patch,1.11 KB, patch)
2018-02-25 08:31 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-21 18:17:48 UTC
Detected go version: go version go1.10 linux/amd64.
Kubernetes requires go1.9.1 or greater.
Please install go1.9.1 or later.

!!! [0221 13:37:41] Call tree:
!!! [0221 13:37:41]  1: ./hack/run-in-gopath.sh:30 kube::golang::setup_env(...)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20180219-235058

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sys-cluster/kubectl
[ebuild  N    ] sys-cluster/kubectl-1.9.3
Comment 1 Toralf Förster gentoo-dev 2018-02-21 18:17:51 UTC
Created attachment 520450 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-21 18:17:54 UTC
Created attachment 520452 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-02-21 18:17:57 UTC
Created attachment 520454 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-02-21 18:18:00 UTC
Created attachment 520456 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-02-21 18:18:03 UTC
Created attachment 520458 [details]
sys-cluster:kubectl-1.9.3:20180221-123734.log
Comment 6 Toralf Förster gentoo-dev 2018-02-21 18:18:06 UTC
Created attachment 520460 [details]
temp.tbz2
Comment 7 Lik 2018-02-24 12:03:36 UTC
Looks like this bug already addressed by upstream in #58207 (https://github.com/kubernetes/kubernetes/pull/58207)
Comment 8 Dennis Schridde 2018-02-25 08:31:38 UTC
Created attachment 520974 [details, diff]
kubectl-1.9.3-fix-comparison-of-golang-versions-fc37221db5d08eb9553273ad6202a2557cfde131.patch

Attached patch was taken from the upstream commit and minimally modified to patch the right file.  It solves the issue.
Comment 9 Dennis Schridde 2018-03-13 10:12:10 UTC
Issue persists and patch continues to fix it in a new installation of Gentoo.
Comment 10 Mateusz Lenik 2018-03-13 20:57:51 UTC
Version 1.9.4 that includes the patch was released yesterday
Comment 11 Manuel Rüger (RETIRED) gentoo-dev 2018-03-22 01:35:23 UTC
Please test version 1.9.5