Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843923 - sys-cluster/kubeadm-1.24.0 and sys-cluster/kubectl-1.24.0 requires go1.18.1 or later
Summary: sys-cluster/kubeadm-1.24.0 and sys-cluster/kubectl-1.24.0 requires go1.18.1 o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-12 16:57 UTC by vonabarak
Modified: 2022-05-13 16:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vonabarak 2022-05-12 16:57:01 UTC
sys-cluster/kubeadm-1.24.0 and sys-cluster/kubectl-1.24.0 requires go1.18.1 or later while ebuilds defines BDEPEND=">=dev-lang/go-1.17"

requirements for ebuilds should be bumped

Reproducible: Always

Steps to Reproduce:
ACCEPT_KEYWORDS="~amd64" emerge =sys-cluster/kubeadm-1.24.0 =sys-cluster/kubectl-1.24.0

Actual Results:  
Compiling fails with the following error:

Detected go version: go version go1.17.9 linux/amd64.
Kubernetes requires go1.18.1 or greater.
Please install go1.18.1 or later.

!!! [0512 18:41:26] Call tree:
!!! [0512 18:41:26]  1: /tmp/portage/sys-cluster/kubectl-1.24.0/work/kubernetes-1.24.0/hack/lib/golang.sh:787 kube::golang::setup_env(...)
!!! [0512 18:41:26]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0512 18:41:26] Call tree:
!!! [0512 18:41:27]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
Makefile.generated_files:61: .make/go-pkgdeps.mk: No such file or directory
make[1]: *** [Makefile.generated_files:73: .make/go-pkgdeps.mk] Error 1
make: *** [Makefile:528: generated_files] Error 2


Expected Results:  
Should compile.

Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r13, 5.4.188-gentoo-cavia x86_64)
=================================================================
System uname: Linux-5.4.188-gentoo-cavia-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.34
KiB Mem:    32856024 total,   1839176 free
KiB Swap:   33554428 total,  33552892 free
Timestamp of repository gentoo: Thu, 12 May 2022 15:00:01 +0000
Head commit of repository gentoo: 12e873148a973acffa38f78dc00160e7b56fdbc1
Timestamp of repository calculate: Thu, 12 May 2022 13:03:18 +0000
Head commit of repository calculate: 2e5eae4293547160497854684fbb4927b81644f6

Timestamp of repository dotnet: Thu, 12 May 2022 13:03:18 +0000
Head commit of repository dotnet: b3d5f81192d987be8bea5e3f9c53a8aebe8735e6

Timestamp of repository guru: Thu, 12 May 2022 13:03:28 +0000
Head commit of repository guru: fa249ee50fac1a7d03f375bf9c5c1c6607e24302

Timestamp of repository haskell: Thu, 12 May 2022 01:03:05 +0000
Head commit of repository haskell: aed3ce4411d49b1ff3eab8bd4603c2f705d0e6ba

Timestamp of repository hexedit-overlay: Thu, 12 May 2022 13:03:24 +0000
Head commit of repository hexedit-overlay: 0cda058bf0a8aec89b54b1478288189cc7c4d3e0

Timestamp of repository nix-guix: Thu, 12 May 2022 13:03:30 +0000
Head commit of repository nix-guix: 1e898233ff51fbaebd86bbc21056a8200ebc99e7

Head commit of repository rocm: f1492d2c12a54dbe10340f97630c271598285523

Timestamp of repository steam-overlay: Thu, 12 May 2022 13:03:22 +0000
Head commit of repository steam-overlay: b80afd649d070c547f2d8b6476071699a1bcca3f

Head commit of repository tlp: 4ba9fce0927a4bc87a4df54eb352a163a439810e

Timestamp of repository zyrenth: Thu, 12 May 2022 13:03:26 +0000
Head commit of repository zyrenth: 7813e192740d23da7a826906acf0c7b48faf7ab2

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.6.15::gentoo, 3.7.13::gentoo, 3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

calculate
    location: /var/db/repos/calculate
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/calculate.git
    masters: gentoo

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dotnet.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo

hexedit-overlay
    location: /var/db/repos/hexedit-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/hexedit-overlay.git
    masters: gentoo

local
    location: /usr/local/portage
    masters: gentoo

nix-guix
    location: /var/db/repos/nix-guix
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nix-guix.git
    masters: gentoo

rocm
    location: /var/db/repos/rocm
    sync-type: git
    sync-uri: https://github.com/justxi/rocm.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

tlp
    location: /var/db/repos/tlp
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage.git
    sync-user: portage
    masters: gentoo

zyrenth
    location: /var/db/repos/zyrenth
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/zyrenth.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1 -mtune=znver1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver1 -mtune=znver1 -pipe"
DISTDIR="/data/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver1 -mtune=znver1 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver1 -mtune=znver1 -pipe"
GENTOO_MIRRORS="rsync://ftp-stud.hs-esslingen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.fau.de/gentoo"
LANG="C.UTF-8"
LC_ALL="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j12"
PKGDIR="/data/portage/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gles2 gtk gui iconv icu idn ipv6 jpeg kde kwallet lcms libglvnd libinput libnotify libtirpc libv4l lm-sensors lvm mad man mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pcre pdf pipewire plasma plymouth png policykit ppds pulseaudio qml qt5 readline sdl seccomp spell split-usr ssl startup-notification svg theora tiff touchpad truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wayland webp widgets wifi wxwidgets x264 xattr xcb xft xml xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc xen xen-32 xen-pvh" INPUT_DEVICES="evdev synaptics libinput" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 BPF AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2022-05-13 16:22:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d0283eb5414285b9dfcdf1813b3dd3de81b6e6

commit 80d0283eb5414285b9dfcdf1813b3dd3de81b6e6
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:33 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:22:01 +0000

    sys-cluster/kube-scheduler: require >= go 1.18.1 to build 1.24.0
    
    Closes: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kube-scheduler/kube-scheduler-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090cc546f00dc78356fe4de5748265b6cd89d336

commit 090cc546f00dc78356fe4de5748265b6cd89d336
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:32 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:21:55 +0000

    sys-cluster/kube-proxy: require >= go 1.18.1 to build 1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kube-proxy/kube-proxy-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589078700f32c1dc4088049c0ec17813a799e941

commit 589078700f32c1dc4088049c0ec17813a799e941
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:32 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:21:50 +0000

    sys-cluster/kubelet: require >= go 1.18.1 to build 1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kubelet/kubelet-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0971dd9d5ffb6ef67ccb39521f078c74cc3b78b

commit c0971dd9d5ffb6ef67ccb39521f078c74cc3b78b
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:31 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:21:43 +0000

    sys-cluster/kubectl: require >= go 1.18.1 to build 1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kubectl/kubectl-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765c8485ed7da7d723ccbc717d33ad87f05c2c6e

commit 765c8485ed7da7d723ccbc717d33ad87f05c2c6e
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:31 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:21:20 +0000

    sys-cluster/kube-controller-manager: require >= go 1.18.1 to build 1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 .../kube-controller-manager/kube-controller-manager-1.24.0.ebuild       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d43c7eea23446668f4f6c14976c7c97959de8c9

commit 1d43c7eea23446668f4f6c14976c7c97959de8c9
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:20:30 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:20:30 +0000

    sys-cluster/kube-apiserver: require >= go 1.18.1 to build 1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kube-apiserver/kube-apiserver-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71d0324206d1ba0ea9b197c5e907037a4bc68ed

commit a71d0324206d1ba0ea9b197c5e907037a4bc68ed
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-05-13 16:19:56 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-05-13 16:19:56 +0000

    sys-cluster/kubeadm: require >= go 1.18.1 to build1.24.0
    
    Bug: https://bugs.gentoo.org/843923
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-cluster/kubeadm/kubeadm-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)