[Bug 200315] lang/rust: No rule to make target 'prepare_install'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 15 04:45:50 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200315

--- Comment #12 from Justin Yang <linuxjustin at 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.


More information about the freebsd-ports-bugs mailing list