Date: Wed, 15 Jul 2015 04:45:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200315] lang/rust: No rule to make target 'prepare_install' Message-ID: <bug-200315-13-uuSeqYy74q@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-200315-13@https.bugs.freebsd.org/bugzilla/> References: <bug-200315-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200315 --- Comment #12 from Justin Yang <linuxjustin@gmail.com> --- (In reply to Jean-Sebastien Pedron from comment #11) Hi, If I build `lang/rust` in poudriere, everything is fine. However, if I have `lang/rust` installed on computer and then compile it from ports by `make install clean`, it throws the following errors: === ...skip... note: /usr/bin/ld: warning: libedit.so.7, needed by /usr/local/lib/librustc_driver-7d23ff90.so, may conflict with libedit.so.0 x86_64-unknown-freebsd/stage0/lib/rustlib/x86_64-unknown-freebsd/bin/rustc.o: In function `main::ha415815a2dd502c0faa': driver.0.rs:(.text._ZN4main20ha415815a2dd502c0faaE+0x1): undefined reference to `main::heb37d758b258944e7cd' x86_64-unknown-freebsd/stage0/lib/rustlib/x86_64-unknown-freebsd/bin/rustc.o: In function `main': driver.0.rs:(.text.main+0x14): undefined reference to `rt::lang_start::ha870adcc74760422qgw' cc: error: linker command failed with exit code 1 (use -v to see invocation) error: aborting due to previous error /usr/ports/lang/rust/work/rustc-1.1.0/mk/target.mk:170: recipe for target 'x86_64-unknown-freebsd/stage0/lib/rustlib/x86_64-unknown-freebsd/bin/rustc' failed gmake[2]: *** [x86_64-unknown-freebsd/stage0/lib/rustlib/x86_64-unknown-freebsd/bin/rustc] Error 101 gmake[2]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.1.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/rust *** Error code 1 Stop. make: stopped in /usr/ports/lang/rust === Not sure how to deal with it. Thanks. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200315-13-uuSeqYy74q>