Package Base Details: rust-git

Git Clone URL: (read-only, click to copy)
Keywords: mozilla rust
Submitter: mrshpot
Maintainer: spider-mario (ishitatsuyuki)
Last Packager: ishitatsuyuki
Votes: 26
Popularity: 0.000652
First Submitted: 2012-01-21 11:30
Last Updated: 2018-02-11 11:49

Latest Comments

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

gbs commented on 2015-02-02 03:12

As of, 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"
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

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

@Foucault Same thing happens to me.

Foucault commented on 2015-01-02 11:34

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/ args
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: validating /home/build/abs/rust-git/src/rust/src/rust-installer/ args
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/ No such file or directory
/home/build/abs/rust-git/src/rust/mk/ recipe for target 'install' failed
make: *** [install] Error 127

spider-mario commented on 2014-10-22 06:33

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

abandonedaccount commented on 2014-10-22 05:16

@spider-mario very nice, using the info you provided, replacing $startdir with $SRCDEST works as intended; maybe worth noting what's my env:
and $startdir is /home/emacs/build/rust-git

spider-mario commented on 2014-10-20 18:20

@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

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

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

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