View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3927
|
Posted: Thu Nov 28, 2024 6:06 pm Post subject: Build with dev-lang/rust[-bin]:old slot, aka eselect++ rust |
|
|
Assuming a rust dependent package does built with dev-lang/rust[-bin]:slot A and dev-lang/rust[-bin]:slot B where A is older than B.
Is there a way to force building with slot A?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Fri Nov 29, 2024 2:09 am; edited 4 times in total |
|
Back to top |
|
|
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 278 Location: Pennsylvania, USA
|
Posted: Fri Nov 29, 2024 12:35 am Post subject: |
|
|
Maybe eselect rust list followed by eselect rust set ?
Can't test here as I have only one rust installed. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3927
|
Posted: Fri Nov 29, 2024 1:42 am Post subject: |
|
|
sublogic wrote: | Maybe eselect rust list followed by eselect rust set ?
Can't test here as I have only one rust installed. | As of today, it doesn't work here: Code: | ~ # eselect rust list
Available Rust versions:
[1] rust-bin-1.71.1
[2] rust-bin-1.74.1
[3] rust-bin-1.75.0
[4] rust-bin-1.77.1
[5] rust-bin-1.79.0
[6] rust-1.79.0
[7] rust-bin-1.80.1
[8] rust-bin-1.81.0
[9] rust-bin-1.82.0
[10] rust-1.82.0 *
~ # eselect rust set 1
~ # eselect rust list
Available Rust versions:
[1] rust-bin-1.71.1 *
[2] rust-bin-1.74.1
[3] rust-bin-1.75.0
[4] rust-bin-1.77.1
[5] rust-bin-1.79.0
[6] rust-1.79.0
[7] rust-bin-1.80.1
[8] rust-bin-1.81.0
[9] rust-bin-1.82.0
[10] rust-1.82.0
~ # emerge --nodeps app-misc/zellij
* IMPORTANT: 3 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
* --tree is broken with --nodeps. Disabling...
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-misc/zellij-0.41.2::gentoo
* zellij-0.41.2.gh.tar.gz BLAKE2B SHA512 size ;-) ...
...
* zstd-0.13.1.crate BLAKE2B SHA512 size ;-) ... [ ok ]
* Using Rust 1.82.0 (source) | Maybe another case of now infamous self-inflicted syndroma?
Alea iacta est
Anyhow emerge is a lovely flexible piece of software:
MAX_RUST_VER variable is the key.
Either defined on command line: Code: | MAX_RUST_VER=1.80.1 emerge app-misc/zellig | Or statically defined as Code: | cat /etc/portage/env/rust-1.80.1.conf
RUST_MAX_VER=1.80.1
grep rust /etc/portage/package.env/app-misc\:\:zellij.conf
app-misc/zellij rust-target-cpu-native.conf |
Plz remember emerge doesn't keep track of involved rust version, i.e. not displayed by emerge --info
Thus /etc/portage/package.env is favored here, as involved rust version is stored somewhere.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|