Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on latest Arch Linux #90

Open
ato2 opened this issue May 12, 2022 · 3 comments
Open

Can't build on latest Arch Linux #90

ato2 opened this issue May 12, 2022 · 3 comments

Comments

@ato2
Copy link

ato2 commented May 12, 2022

yay -Sy frawk
.................
Compiling frawk v0.4.6 (/tmp/makepkg/frawk/src/frawk-0.4.6)
Compiling tikv-jemallocator v0.4.3
error[E0554]: #![feature] may not be used on the stable release channel
--> src/main.rs:2:43
|
2 | #![cfg_attr(feature = "unstable", feature(core_intrinsics))]
| ^^^^^^^^^
error[E0554]: #![feature] may not be used on the stable release channel
--> src/main.rs:3:43
|
3 | #![cfg_attr(feature = "unstable", feature(test))]
| ^^^^
error[E0554]: #![feature] may not be used on the stable release channel
--> src/main.rs:4:43
|
4 | #![cfg_attr(feature = "unstable", feature(write_all_vectored))]
| ^^^^^^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0554.
error: could not compile frawk due to 3 previous errors
==> ERROR: A failure occurred in build().

@ezrosent
Copy link
Owner

Hi! Are you wondering how to fix this compilation error or to get the arch package to install?

I do not own the Arch package (maybe someone who does watches this repo and can weigh in) and don't have much experience in debugging install failures on Arch. For the former, I think the answer in that case is to either build on nightly or to build without the unstable feature.

@ato2
Copy link
Author

ato2 commented May 16, 2022

Unfortunately I don't know rust/environment.
Just wanted to install and try it.

@otaconix
Copy link

otaconix commented Feb 27, 2023

Oh hi, I'm the maintainer of frawk's package in the AUR. @ato2 In the future, you may want to first report issues you have with AUR packages as comments in the AUR itself (here's frawk's page: https://aur.archlinux.org/packages/frawk) so as to not waste upstream developers' time 😉

The easiest way to build frawk from the AUR, btw, is to have rustup installed. The PKGBUILD exports a RUSTUP_TOOLCHAIN=nightly environment variable to tell rustup to use a nightly toolchain to build frawk.

I'll see if I can add some kind of message to inform users of this to prevent any further confusion. Cheers!

EDIT: I see there are currently some issues linking against Arch's LLVM libs, I'll have a look at this soon-ish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants