Comments (7)
wow, how did you even find that?
Once you mentioned that the error happened while compiling paru (I originally assumed that you were using paru to build something else and hit an error there), I saw the installation instructions mention makepkg. I then went to the pacman repo (which contains makepkg) and searched around a bit until searching for the literal string remap-path-prefix
got a match at the linked location.
from rust.
Are you using RUSTFLAGS
to set --remap-path-prefix
? If so, you are actually passing two separate args --remap-path-prefix=/home/stereomato/Documents/Software
and Development/Repositories/AUR/paru/src=/usr/src/debug/paru
as RUSTFLAGS
splits on whitespace. Try using CARGO_ENCODED_RUSTFLAGS
instead which instead splits the arguments by the 0x1f (ASCII Unit Separator) character.
from rust.
I'm on arch linux. I don't modify anything, I just try to install paru, but fail with that error. My /etc/makepkg.conf doesn't have that flag on RUSTFLAGS. I wonder what could it be...
from rust.
The package you are trying to build may be setting RUSTFLAGS to pass `--remap-path-prefix. Which package did you try to build?
from rust.
https://github.com/Morganamilo/paru
from rust.
Looks like it originates from https://gitlab.archlinux.org/pacman/pacman/-/blob/d55b47e5512808b67bc944feb20c2bcc6c1a4c45/scripts/libmakepkg/buildenv/rust.sh.in#L34, which indeed doesn't handle spaces inside the source path. Disabling the "debug" option may help. I have no clue how to though. Never used makepkg myself.
from rust.
wow, how did you even find that? 🤔 I guess suggesting the change you mentioned would be a good idea right?
from rust.
Related Issues (20)
- Error code E0116 causes high volume of incorrect compiler errors HOT 4
- ICE when specific compilation optimization passes are enabled/disabled HOT 4
- compiletest: technically potential false positives for filecheck annotations HOT 2
- Missed optimization when checking slice index greater than accessed slice index HOT 3
- `extern "rust-cold" fn`s should not trigger `improper_ctypes` lint
- `feature(effects)` lazily evaluates whether traits are const HOT 1
- internal error: relating different kinds: `jni::objects::JObject<'?14> '?1` HOT 3
- `addr_of!` a `static mut` should not require `unsafe` HOT 11
- Syntax for precise capturing: `impl Trait + use<..>` HOT 11
- ICE: mir_const_qualif: `index out of bounds: the len is 0 but the index is 0` HOT 1
- ICE: type_of_opaque: `unexpected bound ty in binder: 0` HOT 1
- ICE: `expected type differs from actual type` HOT 2
- ICE: `could not resolve DefId ` HOT 1
- False compile error on associated type bounds HOT 1
- ICE: `no successor` HOT 2
- ICE: `TyKind::CVarArgs` should have been handled elsewhere HOT 5
- ICE when compiling for `x86_64-pc-windows-gnu` when passing a ZST using the `"sysv64"` ABI HOT 1
- ICE in OnDiskCache decode_tagged for TAG_FILE_FOOTER HOT 1
- [WASI] Consistency Issue with io::ErrorKind in wasm32-wasip1-threads HOT 1
- Duplicate argument names allowed in extern function declarations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.