tech-pkg archive

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

Re: wip/rust179-bin fails to package



> Guessing that someone(tm) needs to hoist wip/rust179-bin to
> pkgsrc/lang/rust-bin, I thought I'd install it, and then see how
> thunderbird went. That failed, so I tried to build all wip/rustN-bin.
> 
> rust-179-bin:
> 
> => Checking file-check results for rust-bin-1.79.0
> => Checking for non-existent script interpreters in rust-bin-1.79.0
> => Checking file permissions in rust-bin-1.79.0
> => Checking for RELRO in rust-bin-1.79.0
> => Checking for missing run-time search paths in rust-bin-1.79.0
> ERROR: libexec/rust-analyzer-proc-macro-srv: missing library: libstd-0749ff7f501a7ae9.so
> ERROR: libexec/rust-analyzer-proc-macro-srv: missing library: librustc_driver-5640944e5e88c648.so
> *** Error code 1
Does this change fix it for you?
diff --git a/rust179-bin/Makefile b/rust179-bin/Makefile
index b3cd205a5f..78bc0ed014 100644
--- a/rust179-bin/Makefile
+++ b/rust179-bin/Makefile
@@ -279,6 +268,11 @@ fix-relative-rpath:
 ${PREFIX}/lib ${DESTDIR}${PREFIX}/bin/${bin} ; \
 fi
 . endfor
+. for bin in rust-analyzer-proc-macro-srv
+ if [ -f ${DESTDIR}${PREFIX}/libexec/${bin} ]; then \
+ ${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath \
+ ${PREFIX}/lib ${DESTDIR}${PREFIX}/libexec/${bin} ; \
+. endfor
 # Only Linux builds link these binaries against an LLVM library
 . if ${OPSYS} == "Linux"
 . for bin in llc llvm-ar llvm-as llvm-cov llvm-dis llvm-nm llvm-objcopy \
(Line numbers are probably off, and whitespace may also need
adjusting...)
Regards,
- Håvard


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /