You are not logged in.
Hi,
i have created the package read-it-later-git[0]. It depends on rustc rather than rust. Currently i have rust as a dependency in the PKGBUILD. But rustup, which satisfies the dependency, does not include rustc.
Is there a way to correctly model this dependency on rustc?
[0]
https://aur.archlinux.org/packages/read-it-later-git
Last edited by Strubbl (2020-05-08 22:10:34)
Offline
What do you mean? Both extra/rust and community/rustup provide /usr/bin/rustc.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
The AUR renders this as such:
Dependencies (6)
-------------------------
[...]
rust (rust-i586-git, rust-git, rust-mrustc, rust-bin, rustup-git, rust-nightly, rust-nightly-bin, rustup) (make)
Note the last provider...
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
What do you mean? Both extra/rust and community/rustup provide /usr/bin/rustc.
i did receive a different comment from @The-Compiler:
FWIW, when trying to install this with "rustup" from [community] installed (which provides "rust"), I got:
meson.build:1:0: ERROR: Unknown compiler(s): ['rustc']
However, replacing rustup with rust worked, so that might be an issue on my side.
source: https://aur.archlinux.org/packages/read … ent-743997
Offline
And have you replicated or confirmed that problem? You really should have started with the symptoms rather than your assumed cause and solution. This is the very definition of an X-Y problem.
EDIT: I could replicate the error if I installed but did not do anything to configure rustup. Of course that's silly given what rustup is. Once I initialized rustup according to our wiki page, it worked fine to build your AUR package.
Last edited by Trilby (2020-05-08 22:11:33)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
And have you replicated or confirmed that problem? You really should have started with the symtoms rather than your assumed cause and solution. This is the very definition of an X-Y problem.
EDIT: I could replicate the error if I installed but did not do anything to configure rustup. Of course that's silly given what rustup is. Once I initialized rustup according to our wiki page, it worked fine to build your AUR package.
You are right. Sorry and thank you for your investigation.
Offline