Package Details: rust-src-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: Source code for the Rust standard library
Upstream URL: https://www.rust-lang.org/
Keywords: cargo rust
Licenses: Apache-2.0 OR MIT
Conflicts: rust-src
Provides: rust-src
Submitter: mrshpot
Maintainer: bingbong
Last Packager: bingbong
Votes: 28
Popularity: 0.188821
First Submitted: 2012-01-21 11:30 (UTC)
Last Updated: 2024-08-23 12:50 (UTC)

Required by (21)

Sources (4)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 14 Next › Last »

gbs commented on 2015-02-02 03:12 (UTC)

As of https://github.com/rust-lang/rust/pull/21738, editor files are not on the main rust repo anymore. See issue for new locations. This should list perl on makedepends, since it's used on prepare(). Or replace that with, removing the noextract=(…) line: ` git submodule init for repo in compiler-rt jemalloc llvm hoedown; do git config submodule.src/${repo}.url "$srcdir/$repo" done git submodule update ` rust-doc package is missing the license files (and btw, 'MIT' does not need 'custom:'). The files "$pkgdir"/usr/lib/rustlib/{components,manifest-{rustc,rust-docs},rust-installer-version} are only used by rust-installer, and can be removed. They would conflict if something using the installer was already installed. And just a cosmetic change, the rust repo is not in mozilla/rust anymore, but in rust-lang/rust (even though it redirects to the right place).

spider-mario commented on 2015-01-05 08:10 (UTC)

It works for me, I suspect it has been fixed upstream. If not, could you perhaps upload the entire build log to some pastebin, please?

heinrich5991 commented on 2015-01-04 18:47 (UTC)

@Foucault Same thing happens to me.

Foucault commented on 2015-01-02 11:34 (UTC)

Has anyone managed to build the latest "master". It always fails for me late into build with the following error gen-install-script: processing /home/build/abs/rust-git/src/rust/src/rust-installer/gen-install-script.sh args gen-install-script: gen-install-script: CFG_PRODUCT_NAME := Rust gen-install-script: CFG_VERIFY_BIN := rustc gen-install-script: CFG_REL_MANIFEST_DIR := rustlib gen-install-script: CFG_SUCCESS_MESSAGE := Rust-is-ready-to-roll. gen-install-script: CFG_OUTPUT_SCRIPT := tmp/dist/rust-0.13.0-dev-x86_64-unk ... gen-install-script: CFG_LEGACY_MANIFEST_DIRS := rustlib,cargo gen-install-script: gen-install-script: validating /home/build/abs/rust-git/src/rust/src/rust-installer/gen-install-script.sh args gen-install-script: make[1]: Leaving directory '/home/build/abs/rust-git/src/rust' sh: ../../tmp/dist/rust-docs-0.13.0-dev-x86_64-unknown-linux-gnu/install.sh: No such file or directory /home/build/abs/rust-git/src/rust/mk/install.mk:22: recipe for target 'install' failed make: *** [install] Error 127

spider-mario commented on 2014-10-22 06:33 (UTC)

Thanks a lot for your feedback, $SRCDEST indeed appears to be the right variable to use.

abandonedaccount commented on 2014-10-22 05:16 (UTC)

@spider-mario very nice, using the info you provided, replacing $startdir with $SRCDEST works as intended; maybe worth noting what's my env: PKGDEST=/tmp/packages SRCDEST=/tmp/sources SRCPKGDEST=/tmp/srcpackages BUILDDIR=/tmp/makepkg and $startdir is /home/emacs/build/rust-git Thanks.

spider-mario commented on 2014-10-20 18:20 (UTC)

@Svenstaro: I can’t reproduce the issue. What are your MAKEFLAGS? Perhaps we should go back to `options=(!makeflags)`. @emanueLczirai: weird, it works for me. :/ The way the script works is that for each line in .gitmodules that looks like “$url = (...)/$submodule[.git]”, if $startdir/$submodule/ is an existing directory then the line is replaced with “$url = $startdir/$submodule/”.

abandonedaccount commented on 2014-10-20 11:25 (UTC)

The perl script in prepare() doesn't seem to modify .gitmodules anymore and they are downloaded/cloned by the ./configure instead of using the repos that pacman already downloaded/cloned. I've no idea how to fix it currently because I don't know perl. Someone please look into it? Thanks.

svenstaro commented on 2014-10-17 23:05 (UTC)

For some reason, I end up with an empty package after making this. spider-mario, please look into it.

Binero commented on 2014-07-09 09:50 (UTC)

This package seems to 'make clean' automatically. Rather annoying due to the time it consumes compiling.