tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust-bin install error on macos 10.15

On Tue, Oct 20, 2020 at 09:05:29AM -0400, Greg Troxel wrote:
Quite possibly.  So when you removed it and tried to build, what
happened?  If you got a package, did it work?

Yes, the package built and it appears to work - I built sysutils/exa
and textproc/ripgrep and they both work fine. I checked the binary releases
of Rust 1.47 for both NetBSD and Linux and neither contain a
lib/rustlib/${RUST_ARCH}/lib/python2.7 directory. Patch to lang/rust-bin
Makefile attached.

One slight problem though - rust-bin conflicts with lang/llvm:
pkg_add: Conflicting PLIST with rust-bin-1.47.0: lib/libLLVM.dylib
pkg_add: 1 package addition failed

Unfortunately textproc/bat has a dependency on clang (which depends on
llvm) and so I can't build it with rust-bin :(

(re-added tech-pkg as I'm assuming it was removed in error).

Cheers, MJ
Michael-John Turner * *
--- Makefile.orig	2020-10-20 14:27:45.000000000 +0100
+++ Makefile	2020-10-20 15:01:34.000000000 +0100
@@ -110,8 +110,6 @@
 			    $$f;					\
 		done;							\
-	install_name_tool -id ${PREFIX}/lib/rustlib/${RUST_ARCH}/lib/python2.7/site-packages/lldb/ \
-		${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/lib/python2.7/site-packages/lldb/
 .  endfor
 TOOL_DEPENDS+=		patchelf-[0-9]*:../../devel/patchelf

Home | Main Index | Thread Index | Old Index