pkgsrc-Users archive

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

Re: "librsvg" build fails on netbsd-9/i386

On Tue, 22 Mar 2022 18:37:25 -0400
Greg Troxel <> wrote:

> "John D. Baker" <> writes:
> >   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
> >
> >   --- stderr
> >   thread 'main' panicked at 'Invalid TARGET: i586-unknown-netbsd', /tmp/pkgsrc/graphics/librsvg/work/vendor/system-deps-6.0.2/src/
> >   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> > *** Error code 101
> Same for me, with rust-bin.

The good news is the package works if the target assertion at this line
is simply commented out. So the proper fix should be trivial. The bad
news is the target looks like it /should/ be perfectly valid and I
don't have enough rust clue to decipher where it goes wrong. It might
be a bug in the system-deps and/or cfg_expr crates.


Home | Main Index | Thread Index | Old Index