pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/rust



> Jared McNeill <jmcneill%invisible.ca@localhost> écrit :
>> This package no longer builds on NetBSD 9.0 aarch64 since this update:
>> https://www.invisible.ca/arm/reports/arm64/netbsd-9/20200218.0159/rust-1.41.0/build.log
>
> It does not build on NetBSD/amd64 9.0 either (at least for me).
> This is printed after quite some time (it should be around the
> end of the build):
>
>   = note: ld: cannot find -lLLVM-9

In that preceding cc invocation, -L${PREFIX}/lib is apparently
"missing" (it does specify -Wl,-rpath,...).  Figuring out what
and where to tweak to get that in is not entirely trivial.

A possible workaround could be to build with

PKG_OPTIONS.rust+=  rust-llvm

to force the build and use of the internal LLVM in the rust
distribution.

Regards,

- Håvard



Home | Main Index | Thread Index | Old Index