>>> Emerging (1 of 1) app-containers/lxd-5.21.1::gentoo * lxd-5.21.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.8.9 * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking lxd-5.21.1.tar.gz to /var/tmp/portage/app-containers/lxd-5.21.1/work >>> Source unpacked in /var/tmp/portage/app-containers/lxd-5.21.1/work >>> Preparing source in /var/tmp/portage/app-containers/lxd-5.21.1/work/lxd-5.21.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-containers/lxd-5.21.1/work/lxd-5.21.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-containers/lxd-5.21.1/work/lxd-5.21.1 ... go: go.mod requires go >= 1.22.0 (running go 1.21.1; GOTOOLCHAIN=local) * ERROR: app-containers/lxd-5.21.1::gentoo failed (compile phase): * failed compiling fuidshift * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2695: Called die * The specific snippet of code: * go install -v -x "${S}/${k}" || die "failed compiling ${k}"; * * If you need support, post the output of `emerge --info '=app-containers/lxd-5.21.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-containers/lxd-5.21.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-containers/lxd-5.21.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-containers/lxd-5.21.1/temp/environment'. * Working directory: '/var/tmp/portage/app-containers/lxd-5.21.1/work/lxd-5.21.1' * S: '/var/tmp/portage/app-containers/lxd-5.21.1/work/lxd-5.21.1' # emerge -pv dev-lang/go These are the packages that would be merged, in order: ... [ebuild U ] dev-lang/go-1.22.3:0/1.22.3::gentoo [1.21.1:0/1.21.1::gentoo] CPU_FLAGS_X86="sse2" 26,907 KiB That did the trick.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9f99471e8359ba6ad2d372f5558e99290d04a9 commit 4d9f99471e8359ba6ad2d372f5558e99290d04a9 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2024-05-13 17:37:35 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-05-13 18:26:13 +0000 app-containers/lxd: Fix lxd-5.21.1 requiring go >= 1.22.0 Closes: https://bugs.gentoo.org/931863 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36664 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-containers/lxd/lxd-5.21.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)