pkgsrc-Users archive

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

Re: Rust linking failure



I am happy to report that after wiz@ enabled cwrappers on NetBSD rust compiles all the way through:
----
➜  hello_world # cat main.rs
fn main() {
    println!("Hello, world!");
}
➜  hello_world # rustc main.rs
➜  hello_world ./main
Hello, world!
➜  hello_world # uname -a
NetBSD nbsdc.lorien.lan 7.99.41 NetBSD 7.99.41 (GENERIC) #58: Thu Oct 27 11:07:04 UTC 2016  sysbuild%nbsdc.lorien.lan@localhost:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
------

'make package' or 'make install' fails - I run the process as root via sudo, it tries to use the original account to overwrite or create a few files and fails (one can change the permissions of the files and folders and continue the process or get rid of the $SUDO lines in the make file. 

Chavdar

On Thu, 27 Oct 2016 at 13:53 Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:
Hi,

From: Jonathan Perkin <jperkin%joyent.com@localhost>, Date: Thu, 27 Oct 2016 13:41:55 +0100

> * On 2016-10-27 at 13:26 BST, Ryo ONODERA wrote:
>
>> It is a known isuue sadly.
>> My workaround is to enable cwrappers.
>
> Didn't you fix this in -r1.20 of mk/wrapper/arg-source?

It fixes some problems, however this problem is not resolved it (yet).

> --
> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index