Package Details: rust-git 4:1.82.0.r1.59a74db3-2

Git Clone URL: https://aur.archlinux.org/rust-git.git (read-only, click to copy)
Package Base: rust-git
Description: Systems programming language focused on safety, speed and concurrency
Upstream URL: https://www.rust-lang.org/
Keywords: cargo rust
Licenses: Apache-2.0 OR MIT
Conflicts: cargo, rust, rust-docs, rustfmt
Provides: cargo, rust, rustfmt
Submitter: mrshpot
Maintainer: bingbong
Last Packager: bingbong
Votes: 28
Popularity: 0.157004
First Submitted: 2012-01-21 11:30 (UTC)
Last Updated: 2024-08-23 12:50 (UTC)

Required by (4541)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »

beroal commented on 2021-09-08 11:38 (UTC)

There was an error that src/rust/src/llvm-project/libunwind doesn't exit. I just created this directory by hand.

beroal commented on 2021-09-08 10:08 (UTC)

@weltio I solved your error by changing the profiler parameter in the build section of config.toml from true to false. I have no idea what it does.

beroal commented on 2021-09-08 09:25 (UTC)

Okay, I solved the error by commenting use-jemalloc = false in the [rust] section in config.toml. Why is it not fixed for two years? config.toml belongs to this AUR package, not to Rust.

beroal commented on 2021-09-07 11:52 (UTC)

I'm getting the old error about use-jemalloc. Is it that I'm using an old rust compiler?

$ pacman -Q rust
rust 1:1.54.0-1

weltio commented on 2021-08-29 10:19 (UTC) (edited on 2021-08-29 11:20 (UTC) by weltio)

even with the config.toml change the build fails

The following warnings were emitted during compilation:

warning: ar: '/tmp/build/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/profiler_builtins-7817b886aecb3253/out/libprofiler-rt.a': No such file

error: failed to run custom build command for `profiler_builtins v0.0.0 (/tmp/build/rust-git/src/rust/library/profiler_builtins)`

Caused by:
  process didn't exit successfully: `/tmp/build/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/release/build/profiler_builtins-92fefc3e82530248/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  AR_x86_64-unknown-linux-gnu = Some("ar")
  running: "ar" "s" "/tmp/build/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/profiler_builtins-7817b886aecb3253/out/libprofiler-rt.a"
  cargo:warning=ar: '/tmp/build/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/profiler_builtins-7817b886aecb3253/out/libprofiler-rt.a': No such file
  exit status: 1

  --- stderr


  error occurred: Command "ar" "s" "/tmp/build/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/profiler_builtins-7817b886aecb3253/out/libprofiler-rt.a" with args "ar" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
error: build failed
Build completed unsuccessfully in 0:00:02

Could you elaborate your config.toml? With the rust-git example it builds it seems and the differences are manyfold (maybe also due to and old base for the supplied config.toml)

ishitatsuyuki commented on 2021-05-18 04:45 (UTC)

This packages provides (used to provide) the tools directly from the submodule checkouts in the rustc repo. It matches how the official binary artifacts are built.

You can totally build tools like RLS out-of-tree if you want.

groctel commented on 2021-05-12 12:43 (UTC)

Why does this package install unnecessary rust-*-git dependencies by building them instead of relying on actual AUR dependencies? This package should just provide the rust language server.

A.J commented on 2020-02-03 23:51 (UTC) (edited on 2020-02-04 00:14 (UTC) by A.J)

build fails with the following error :

error: failed to run custom build command for profiler_builtins v0.0.0 (/home/aj/Downloads/rust-git/src/rust/src/libprofiler_builtins)

Caused by: process didn't exit successfully: /home/aj/Downloads/rust-git/src/rust/build/x86_64-unknown-linux-gnu/stage0-std/release/build/profiler_builtins-1d8d0e4ced679e9e/build-script-build (exit code: 101) --- stderr thread 'main' panicked at 'called Option::unwrap() on a None value', /rustc/eb3f7c2d3aec576f47eba854cfbd3c1187b8a2a0/src/libcore/macros/mod.rs:15:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish... error: build failed

spider-mario commented on 2019-10-21 08:11 (UTC) (edited on 2019-10-21 08:11 (UTC) by spider-mario)

I will look into it soon-ish, but presumably, commenting out (or removing) the use-jemalloc line should do it. Thanks for the notice.

ishitatsuyuki commented on 2019-10-21 06:32 (UTC) (edited on 2021-09-08 09:28 (UTC) by ishitatsuyuki)

I'm not actively maintaining this package at this moment. If you want to contribute a PKGBUILD or other change, let me know.