pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Testing rust 1.56.0
With
PKG_OPTIONS.rust+= rust-llvm
RUST_TYPE=src
in /etc/mk.conf on today's -current amd64 wip/rust 1.56 built OK. Same
later for cbindgen, librsvg and firefox 93.0, the latter working OK as
far as I can see so far. FYI wip/rust-bindgen build fails with a
multitude of rust errors, beyond my (very limited) understanding.
I also ran 'make test' in librsvg:
..
============================================================================
Testsuite summary for RSVG 2.50.7
============================================================================
# TOTAL: 326
# PASS: 320
# SKIP: 0
# XFAIL: 0
# FAIL: 5
# XPASS: 0
# ERROR: 1
...
(here there is a problem with the resulting test program, which has to
be run with 'LD_LIBRARY_PATH=/usr/pkg/bin' as I get
/usr/pkgsrc/graphics/librsvg/work/librsvg-2.50.7/target/release/deps/api-0a83ec6755a3ecb5:
Shared object "libxml2.so.2" not found )
I also ran 'make test' in wip/rust; way too many to show, but I've
never ran this on earlier committed versions of rust under
NetBSD-current, so have no idea what is to be expected.
Chavdar
On Sun, 24 Oct 2021 at 11:48, Adam <adam%netbsd.org@localhost> wrote:
>
> > Hi,
> >
> > as some of you have noticed, I committed the update of rust
> > 1.56.0 to pkgsrc-wip a few days ago.
> >
> > In order to move this into pkgsrc proper, there's some
> > requirements for testing that it works as intended. Some of this
> > is described in
> >
> > https://www.pkgsrc.org/rust/
> >
> > I've expanded and split part of this table, and introduced a new
> > category, "native-build", meaning that rust has completed a build
> > of a native compiler on that platform.
> >
> > I've also marked "Status" for my own completed or ongoing
> > building / testing, the legend for the markings are:
> >
> > x - successfully completed
> > o - ongoing (some of these take a while)
> > w - waiting for dependent step, intention to complete
> >
> > I therefore now solicit assistance in completing those which I
> > have not marked. Send progress reports to me, and I'll update
> > the table.
> >
> > Best regards,
> >
> > Regards,
> >
> > - Håvard
>
> I tried the package on macOS 12, but building fails. Then I tried again with (external) LLVM 13 and it builds correctly. My guess is, with 'rust-llvm' option turned off, Rust requires LLVM 13 for all architectures.
>
> Kind regards,
> Adam
--
----
Home |
Main Index |
Thread Index |
Old Index