Package Base Details: rust-git

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

Latest Comments

« First ‹ Previous ... 6 7 8 9 10 11

spider-mario commented on 2012-12-10 19:23

Done for Vim, thanks!

Unfortunately, I don’t use Emacs either, so even if I tried to do the same for the Emacs files, I wouldn’t be able to check that it works.

If someone can make it work, I’ll be glad to add it to the PKGBUILD.

thestinger commented on 2012-12-10 14:40

It would be great if you could install the Vim and Emacs files that ship with the rust source. For vim, you just need this:

mkdir -p "$pkgdir/usr/share/vim"
cp -a src/etc/vim "$pkgdir/usr/share/vim/vimfiles"

I'm unsure about what to do with the Emacs files + Makefile though, so an Emacs user will have to step forward with that info :).

mrshpot commented on 2012-10-19 07:00

Sorry, due to lack of time I'm disowning it so somebody can actually fix it.

Svenstaro commented on 2012-10-12 16:48

This PKGBUILD has a bunch of problems.

1) You are not using a packaging() function
2) You are still using || return 1
3) You are using the wrong DESTDIR
4) You are not using Maintainer or Contributor in the comment but your custom "Author"
5) You don't need the python hack anymore
6) You shouldn't manually have to copy docs (did you make an upstream bug report?)

Anonymous comment on 2012-10-12 16:06

Files are being installed in the wrong directory (/usr/usr instead of just /usr), fixed PKGBUILD: (only changes the DESTDIR= line).

Anonymous comment on 2012-10-12 11:39

Anybody with problems on x86_64, if so what did you do to solve this?

I am working with the official repos and python2, but at the end of the build I
have problems with packaging the documentation which kill the whole build. I've tried
modifiying the PKGBUILD with no success, any ideas?

thanks for the PKGBUILD though

mrshpot commented on 2012-01-21 15:06

llvm-build (src/llvm/llvm-build/llvm-build) breaks with python3 [1].
I saw those errors during the LLVM build and figured it would be best to roll back to python2.
The carpet-bomb replacement might really be overkill, though -- the LLVM build takes a long time on my machine and I wanted to have rust working ASAP.
If the thing builds properly with python3 for everything except llvm-build, let me know (or I'll try that later myself).

$ pwd

$ python llvm-build
Traceback (most recent call last):
File "llvm-build", line 3, in <module>
import llvmbuild
File "/home/mrshpot/build/rust-git/src/llvm/utils/llvm-build/llvmbuild/", line 1, in <module>
from main import main
ImportError: No module named main

$ python2 llvm-build
# runs with no errors

spider-mario commented on 2012-01-21 12:04

Are you sure you need to replace “python” with “python2”?

This page:
suggests that Python 3 should be used.