Search Criteria
Package Details: rustpython-git r11862.2a26ed009-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/rustpython-git.git (read-only, click to copy) |
---|---|
Package Base: | rustpython-git |
Description: | A Python3 Interpreter written in Rust |
Upstream URL: | https://github.com/RustPython/RustPython |
Licenses: | MIT |
Submitter: | fordprefect |
Maintainer: | fordprefect |
Last Packager: | fordprefect |
Votes: | 3 |
Popularity: | 0.38 |
First Submitted: | 2019-02-07 10:34 (UTC) |
Last Updated: | 2024-09-10 19:38 (UTC) |
Dependencies (2)
- python (python37AUR) (make)
- rust (rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup-gitAUR, rustup) (make)
Latest Comments
xuiqzy commented on 2025-04-21 03:21 (UTC)
git
is missing inmakedepends
and is not in base-devel, so should be added, see VCS packages Arch Wiki page: https://wiki.archlinux.org/title/VCS_package_guidelines#Conflicts_and_dependencies Testing to build in a chroot with e.g.paru -S rustpython-git --chroot
(does all the setup for chroot builds for you) shows issues like this nicely.The commented out empty
depends
array could also be cleaned up in the PKGBUILD in case you're already changing something else (or replaced with some comment in case that signifies something).fordprefect commented on 2024-09-10 19:40 (UTC)
@actionless: Thanks for the suggestions, implemented. For the future, please explain the changes instead of pasting a diff without rationale. I'd consider this pretty rude, actually.
actionless commented on 2024-09-10 16:18 (UTC)
to avoid problem with build flags:
and to include all features:
Neko-san commented on 2022-09-24 14:36 (UTC) (edited on 2022-09-24 14:36 (UTC) by Neko-san)
Ah, okay, so there's a couple reasons why:
1) The issue I mentioned was apparently because I have Clang set as the C/C++ compiler in
makepkg.conf
but messed up it'sLD
variable; I had it set to/usr/bin/ld.lld
instead of/usr/bin/lld-link
(which I never knew for the longest time)2) Later in the
check()
function, it fails (if built in a chroot) becausepython
itself isn't listed as a makedependfordprefect commented on 2022-09-24 13:45 (UTC)
@Neko-san: Can't reproduce with the rust compiler from the official repos. Consider using those and report back if it doesn't work.
Neko-san commented on 2022-09-21 22:26 (UTC)
I keep getting this error every time I try to compile;
using rustc 1.66.0-nightly (432abd86f 2022-09-20)
:marc00077 commented on 2021-11-01 20:54 (UTC) (edited on 2021-11-01 20:54 (UTC) by marc00077)
@fordprefect: The problem was exactly what was pointed: I had rust version 1.44.1 (even though my system was fully updated). Replacing the package rustup for rust fixed the problem. Installing with yay yielded the following error: thread 'main' panicked at 'initialization failed; run with RUST_BACKTRACE=1 to see Python backtrace', vm/src/vm.rs:384:14 but running the executable build with makepkg worked perfectly. This last error seems to be related to the RUSTPYTHONPATH envvar that makes the yay-generated binary to look for the Lib folder in the incorrect place /home/xxxxxx/.cache/yay/rustpython-git/src/RustPython/vm/pylib-crate/Lib
fordprefect commented on 2021-10-31 13:19 (UTC)
@marc00077: Sounds like an outdated rust/cargo, builds fine for me with rust-1:1.56.0. Also please don't report issues with wrappers (in your case yay), but always try with plain makepkg first.
marc00077 commented on 2021-10-30 18:23 (UTC)
Not building for me :( error: failed to parse manifest at
/home/xxxxxx/.cache/yay/rustpython-git/src/RustPython/Cargo.toml
Caused by: failed to parse the
edition
keyCaused by: supported edition values are
2015
or2018
, but2021
is unknown