pkgsrc-Users archive

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

Re: lang/rust build failure



On Fri, 21 Feb 2020 at 10:10:50 +0000, Chavdar Ivanov wrote:
> On Fri, 21 Feb 2020 at 08:42, Ryo ONODERA <ryo%tetera.org@localhost>
> wrote:
> >
> > Hi,
> >
> > RUSTFLAGS works for me.
> > I will commit it later.
> >
> > On February 21, 2020 5:38:25 PM GMT+09:00, Michael Forney <
> mforney%mforney.org@localhost> wrote:
> > >I believe this is the corresponding upstream issue:
> > >https://github.com/rust-lang/rust/issues/68714
> > >
> > >The workaround given in that bug (setting LIBRARY_PATH) works for
> me.
> 
> FWIW I built rust 1.41.0:
> ...
> $ ls -l /usr/pkg/bin/rustc
> -rwxr-xr-x  1 root  wheel  13808 Feb 18 23:11 /usr/pkg/bin/rustc
> $ rustc --version
> rustc 1.41.0
> $ uname -a
> NetBSD ymir 9.99.47 NetBSD 9.99.47 (GENERIC) #9: Thu Feb 20 10:50:46
> GMT 2020  sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys
> /arch/amd64/compile/GENERIC
> amd64
> .....
> 
> without any problems.

As another data point, I've also successfully built Rust 1.41 on
NetBSD 9.99.44/amd64. In my case, I've set
PKG_OPTIONS.rust+=  rust-llvm

Dave




Home | Main Index | Thread Index | Old Index