pkgsrc-Users archive

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

Re: Rust still broken on 9.0-STABLE i386



Thomas Klausner <wiz%NetBSD.org@localhost> writes:

> On Wed, Sep 16, 2020 at 03:35:01PM +0100, Mike Pumford wrote:
>> 
>> 1.45.2-src/src/bootstrap/Cargo.toml --frozen
>> /comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: Shared object
>> "libssl.so.1.1" not found
>> Traceback (most recent call last):
>>   File "./x.py", line 11, in <module>
>>     bootstrap.main()
>
> Does "pkg_add openssl" to get the openssl from pkgsrc help (as a workaround)?

Yes, or rather I built it from source.

With openssl installed, I was able to build rust (make package just worked).


Given the hour, I lean to minimal changes, so I am inclined to basically
add the make-code corresponding to the following pseudocode in the rust package:

  if os=netbsd and arch=i386 and version>=9
    add openssl as a build dependency
  endif

which I can't imagine will bother anyone for whom rust now builds.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index