Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - rust-git

Package Base Details: rust-git

Git Clone URL: https://aur-dev.archlinux.org/rust-git.git (read-only)
Keywords: mozilla rust
Submitter: mrshpot
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 26
Popularity: 0.162344
First Submitted: 2012-01-21 11:30
Last Updated: 2017-02-03 23:50

Latest Comments

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

idupree commented on 2013-11-16 20:02

The `rustc` from this PKGBUILD is giving me an error when used on a "hello world" program. rustc built manually by "git clone https://github.com/mozilla/rust; ./configure --prefix=/home/me/inst; make; make install" works fine.

% rustc hello.rs
error: linking with `cc` failed: exit code: 1
note: cc arguments: -L/usr/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o hello hello.o -L/usr/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-6425b930ca146ae9-0.9-pre -L/usr/lib/rustc/x86_64-unknown-linux-gnu/lib -lrustuv-a13edc95d75df17-0.9-pre -L/Users/me/programming/rust/.rust -L/Users/me/programming/rust -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../../usr/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/usr/lib/rustc/x86_64-unknown-linux-gnu/lib
note: /usr/bin/ld: cannot find -lmorestack
collect2: error: ld returned 1 exit status

mindcat commented on 2013-11-01 07:33

lines 39: make DESTDIR="$pkgdir" install
Please change to this.
lines 39: make DESTDIR="$pkgdir" CFG_MANDIR="$pkgdir/usr/share/man" install

or this error. http://paste.ubuntu.com/6339858/

thestinger commented on 2013-09-22 17:37

It's a known issue and fixing it by making a new snapshot is in-progress.

LeonidasXIV commented on 2013-09-22 12:09

Todays build fails:

x86_64-unknown-linux-gnu/stage0/bin/rustc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd.so] Error 127

spider-mario commented on 2013-09-08 10:57

Appearently, the reason why the patch doesn’t apply anymore is that the problem has been fixed upstream: https://github.com/mozilla/rust/commit/75afcffc2ffdbac1d0a837d8407ae5720dce9631


thestinger commented on 2013-09-07 22:02

It has make dependencies on both python2 and python by default. I work around this with `sed` in the PKGBUILD I use for the nightly build repository:


LeonidasXIV commented on 2013-09-07 21:54

Thanks for looking into it, I appreciate it. Unfortunately, it fails even earlier now:

==> Starting prepare()...
error: patch failed: mk/rt.mk:178
Falling back to three-way merge...
Applied patch to 'mk/rt.mk' with conflicts.
U mk/rt.mk
==> ERROR: A failure occurred in prepare().

spider-mario commented on 2013-09-07 14:36

Thanks, it should be fixed now. Please let me know whether it works.

LeonidasXIV commented on 2013-09-07 11:50

Looks like it uses Python 3 somewhere where Python 2 is expected:

(cd /tmp/yaourt-tmp-leonidas/aur-rust-git/src/rust/src/libuv/ && ./gyp_uv -f make -Dtarget_arch=x64 -D ninja -Goutput_dir=/tmp/yaourt-tmp-leonidas/aur-rust-git/src/rust/x86_64-unknown-linux-gnu/rt/stage0/libuv --generator-output /tmp/yaourt-tmp-leonidas/aur-rust-git/src/rust/x86_64-unknown-linux-gnu/rt/stage0/libuv)
File "./gyp_uv", line 44
print 'Error running GYP'
SyntaxError: invalid syntax

spider-mario commented on 2013-09-05 16:35

Fixed, thanks! :)