pkgsrc-Users archive

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

Re: rust broken on netbsd-7/i386 (2019Q1)



>>> Trying to build, I got an error about libssl.so.12.0 not found.  It
>>> turns out that it's trying to run a NetBSD 8 binary, so presumably the
>>> bootstrap kit has gone astray.
>>
>> The bootstrap kit is built with NetBSD/i386 8.0 as the target...
>>
>> Somehow I was of the impression that netbsd-7 was a lost cause as
>> a target for rust.
> 
> Maybe it is, but it should be marked BROKEN then, vs a mysterious
> failure.

Mm, true.

> (I say BROKEN rather than NOT_FOR, because I see it as a bug that rust
> doesn't work there, even if I can't advise anybody to spend time on it.)

I can think of two things which might turn out to be show-stoppers:
First, the desire to use /proc/self/exe.  I suspect that feature came
to NetBSD with netbsd-8.  If I recall correctly there was a workaround
made for this, but I suspect it also needs newer code than what's in
netbsd-7.  I'm a bit vague on this, as i don't off-hand remember the
exact details.  The second could very well be that the gcc in netbsd-7
is quite old, and perhaps too old to build rust.  However, truth be
told, I have not actually attempted such a build, so "who knows".

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index