Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931863 - app-containers/lxd-5.21.1 - should REQUIRE go >= 1.22.0
Summary: app-containers/lxd-5.21.1 - should REQUIRE go >= 1.22.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-13 10:35 UTC by Martin Mokrejš
Modified: 2024-05-13 18:27 UTC (History)
2 users (show)

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 Martin Mokrejš 2024-05-13 10:35:20 UTC
>>> 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.
Comment 1 Larry the Git Cow gentoo-dev 2024-05-13 18:27:44 UTC
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(-)