pkgsrc-Users archive

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

Re: rust fails on NetBSD 8 i386



Havard Eidnes <he%NetBSD.org@localhost> writes:

>>    Compiling serde v1.0.99
>> /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: text relocations
>> error: /usr/ANONCVS/pkgsrc/lang/rust/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_derive-d3ad2048421396dd.so: Cannot write-enable text segment: Permission denied
>
> This is https://github.com/rust-lang/rust/issues/68794, I'm afraid.
> Fixed in 1.42.
>
> I beleive what I did to turn this error into a warning was to do
> "paxctl +m <rustc bootstrap compiler>" (or was it the "cargo"
> bootstrap binary which needed this treatment?  I forget...)
>
> Alternatively, if you have the space to fetch all the bootstraps,
> you could bump the bootstrap for NetBSD/i386 to 1.42, add
>
> # To build 1.42 with 1.42, this is required:
> CONFIGURE_ARGS+=        --set=rust.deny-warnings=false
>
> to Makefile, do "make makesum", and proceed to build 1.42 with
> the 1.42 bootstrap which should already be available.
>
> Otherwise wait, and rust 1.43 will hopefully build on i386 out of
> the box.

Thanks.      Well, I don't actually want to use rust on i386, but it
seems like packages on our stable branch are broken.   So it would be
really nice if someone who understands is able to request a pullup to
make the stable branch be stable!


Home | Main Index | Thread Index | Old Index