Re: [oi-dev] Rust in userland?

2018-08-23 Thread Aurélien Larcher
On Thu, Aug 23, 2018 at 8:21 AM, Michal Nowak  wrote:

> On 08/21/18 11:16 PM, Aurélien Larcher wrote:
>
>>
>>
>> On Tue, Aug 21, 2018 at 11:10 PM, Michal Nowak > > wrote:
>>
>> On 08/16/18 07:31 PM, Aurélien Larcher wrote:
>>
>>
>>
>> On Thu, Aug 16, 2018 at 7:18 PM, Aurélien Larcher
>> mailto:aurelien.larc...@gmail.com>
>> >
>> >> wrote:
>>
>>
>>
>>
>>
>> https://github.com/cgrzemba/oi-userland/tree/rust/components
>> /developer/rust
>> > s/developer/rust>
>> > i-userland/tree/rust/components/developer/rust
>> > s/developer/rust>>
>>
>>
>>  I remember now updating my recipe to yours but I needed
>> some
>>  configuration tweaks to deal with a few issues:
>>  - /usr/bin/cc is default used as linker but it is
>> sunstudio 12.1
>>  so you need to override it,
>>  - AR should be specified,
>>  - this recipe assumes that GCC runtime libraries are in
>>  /usr/lib/$(MACH64) which is not true for us with GCC >=
>> 6,
>>  - the linker should be specified for the target as it
>> is not
>>  passed from the global settings.
>>
>>  Also rustc will eat up to 3GB of RAM so the host should
>> have
>>  enough memory.
>>
>>
>>  Just rebased my change over Carsten's branch:
>>
>> https://github.com/alarcher/oi-userland/tree/rust123
>> 
>>  > >
>>
>>
>> More work:
>>
>> helios> rustc hello.rs  
>> error[E0463]: can't find crate for `std`
>>
>> error: aborting due to previous error
>>
>> helios> ls /usr/lib/amd64/rustlib/x86_64-sun-solaris/
>> analysis/ lib/
>>
>> but rust looks for libraries in /usr/lib/rustlib
>>
>> Symlinked like a piggy to check it and it is the problem...
>>
>> Also rustc does not put /usr/lib/amd64 in the search path so
>> executables are broken.
>>
>>
>> I build Aurélien's branch inside a zone, but it fails for me with:
>>
>> error: could not exec the linker `/usr/gcc/6/bin/gcc`: Not enough
>> space (os error 12)
>>
>> For full log, see
>> https://paste.ec/paste/JxbabBm7#Kn+gh58pAwBhweYcTzrk6gzVSH7R
>> c6Npg2eXEmoCMv1
>> > Rc6Npg2eXEmoCMv1>.
>>
>> I am quite sure that I have plenty of disk space available:
>>
>> $ df -h .
>> Filesystem Size   Used  Available Capacity  Mounted on
>> rpool/zones/build/build-userland/ROOT/zbe-125
>> 114G  14.7G  74.9G17%/
>>
>> Any idea what the problem might be? I build it on Lenovo X220 (4
>> cores, 6 GB of memory + 3 GB of swap), OS is updated to latest
>> packages. I don't think I limited the zone in any way when I created
>> it.
>>
>>
>>
>> I have seen one instance of rustc take more than 3GB so you probably ran
>> out of mem.
>>
>
> I guess that's the only logical explanation, especially when the same
> component sources work for you. Hence I don't have a suitable system to
> work this on.
>
> I also tried to bump rust to 1.28 but failed short as "-nodefaultlibs" is
> getting my way: https://github.com/mno-hime/oi
> -userland/tree/rust/components/developer/rust.
>

Is it again some config picking /usr/bin/cc instead of the specified
compiler?


>
> M.
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-23 Thread Michal Nowak

On 08/21/18 11:16 PM, Aurélien Larcher wrote:



On Tue, Aug 21, 2018 at 11:10 PM, Michal Nowak > wrote:


On 08/16/18 07:31 PM, Aurélien Larcher wrote:



On Thu, Aug 16, 2018 at 7:18 PM, Aurélien Larcher
mailto:aurelien.larc...@gmail.com>
>> wrote:






https://github.com/cgrzemba/oi-userland/tree/rust/components/developer/rust



>


         I remember now updating my recipe to yours but I needed
some
         configuration tweaks to deal with a few issues:
         - /usr/bin/cc is default used as linker but it is
sunstudio 12.1
         so you need to override it,
         - AR should be specified,
         - this recipe assumes that GCC runtime libraries are in
         /usr/lib/$(MACH64) which is not true for us with GCC >= 6,
         - the linker should be specified for the target as it
is not
         passed from the global settings.

         Also rustc will eat up to 3GB of RAM so the host should
have
         enough memory.


     Just rebased my change over Carsten's branch:

https://github.com/alarcher/oi-userland/tree/rust123

     >


More work:

helios> rustc hello.rs  
error[E0463]: can't find crate for `std`

error: aborting due to previous error

helios> ls /usr/lib/amd64/rustlib/x86_64-sun-solaris/
analysis/ lib/

but rust looks for libraries in /usr/lib/rustlib

Symlinked like a piggy to check it and it is the problem...

Also rustc does not put /usr/lib/amd64 in the search path so
executables are broken.


I build Aurélien's branch inside a zone, but it fails for me with:

error: could not exec the linker `/usr/gcc/6/bin/gcc`: Not enough
space (os error 12)

For full log, see
https://paste.ec/paste/JxbabBm7#Kn+gh58pAwBhweYcTzrk6gzVSH7Rc6Npg2eXEmoCMv1

.

I am quite sure that I have plenty of disk space available:

$ df -h .
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/zones/build/build-userland/ROOT/zbe-125
                        114G  14.7G      74.9G    17%    /

Any idea what the problem might be? I build it on Lenovo X220 (4
cores, 6 GB of memory + 3 GB of swap), OS is updated to latest
packages. I don't think I limited the zone in any way when I created it.



I have seen one instance of rustc take more than 3GB so you probably ran 
out of mem.


I guess that's the only logical explanation, especially when the same 
component sources work for you. Hence I don't have a suitable system to 
work this on.


I also tried to bump rust to 1.28 but failed short as "-nodefaultlibs" 
is getting my way: 
https://github.com/mno-hime/oi-userland/tree/rust/components/developer/rust.


M.

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-21 Thread Aurélien Larcher
On Tue, Aug 21, 2018 at 11:10 PM, Michal Nowak  wrote:

> On 08/16/18 07:31 PM, Aurélien Larcher wrote:
>
>>
>>
>> On Thu, Aug 16, 2018 at 7:18 PM, Aurélien Larcher <
>> aurelien.larc...@gmail.com > wrote:
>>
>>
>>
>>
>>
>> https://github.com/cgrzemba/oi-userland/tree/rust/components
>> /developer/rust
>> > s/developer/rust>
>>
>>
>> I remember now updating my recipe to yours but I needed some
>> configuration tweaks to deal with a few issues:
>> - /usr/bin/cc is default used as linker but it is sunstudio 12.1
>> so you need to override it,
>> - AR should be specified,
>> - this recipe assumes that GCC runtime libraries are in
>> /usr/lib/$(MACH64) which is not true for us with GCC >= 6,
>> - the linker should be specified for the target as it is not
>> passed from the global settings.
>>
>> Also rustc will eat up to 3GB of RAM so the host should have
>> enough memory.
>>
>>
>> Just rebased my change over Carsten's branch:
>>
>> https://github.com/alarcher/oi-userland/tree/rust123
>> 
>>
>>
>> More work:
>>
>> helios> rustc hello.rs 
>> error[E0463]: can't find crate for `std`
>>
>> error: aborting due to previous error
>>
>> helios> ls /usr/lib/amd64/rustlib/x86_64-sun-solaris/
>> analysis/ lib/
>>
>> but rust looks for libraries in /usr/lib/rustlib
>>
>> Symlinked like a piggy to check it and it is the problem...
>>
>> Also rustc does not put /usr/lib/amd64 in the search path so executables
>> are broken.
>>
>
> I build Aurélien's branch inside a zone, but it fails for me with:
>
> error: could not exec the linker `/usr/gcc/6/bin/gcc`: Not enough space
> (os error 12)
>
> For full log, see https://paste.ec/paste/JxbabBm
> 7#Kn+gh58pAwBhweYcTzrk6gzVSH7Rc6Npg2eXEmoCMv1.
>
> I am quite sure that I have plenty of disk space available:
>
> $ df -h .
> Filesystem Size   Used  Available Capacity  Mounted on
> rpool/zones/build/build-userland/ROOT/zbe-125
>114G  14.7G  74.9G17%/
>
> Any idea what the problem might be? I build it on Lenovo X220 (4 cores, 6
> GB of memory + 3 GB of swap), OS is updated to latest packages. I don't
> think I limited the zone in any way when I created it.
>


I have seen one instance of rustc take more than 3GB so you probably ran
out of mem.


>
> Thanks,
> Michal
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-21 Thread Michal Nowak

On 08/16/18 07:31 PM, Aurélien Larcher wrote:



On Thu, Aug 16, 2018 at 7:18 PM, Aurélien Larcher 
mailto:aurelien.larc...@gmail.com>> wrote:







https://github.com/cgrzemba/oi-userland/tree/rust/components/developer/rust




I remember now updating my recipe to yours but I needed some
configuration tweaks to deal with a few issues:
- /usr/bin/cc is default used as linker but it is sunstudio 12.1
so you need to override it,
- AR should be specified,
- this recipe assumes that GCC runtime libraries are in
/usr/lib/$(MACH64) which is not true for us with GCC >= 6,
- the linker should be specified for the target as it is not
passed from the global settings.

Also rustc will eat up to 3GB of RAM so the host should have
enough memory.


Just rebased my change over Carsten's branch:

https://github.com/alarcher/oi-userland/tree/rust123



More work:

helios> rustc hello.rs 
error[E0463]: can't find crate for `std`

error: aborting due to previous error

helios> ls /usr/lib/amd64/rustlib/x86_64-sun-solaris/
analysis/ lib/

but rust looks for libraries in /usr/lib/rustlib

Symlinked like a piggy to check it and it is the problem...

Also rustc does not put /usr/lib/amd64 in the search path so executables 
are broken.


I build Aurélien's branch inside a zone, but it fails for me with:

error: could not exec the linker `/usr/gcc/6/bin/gcc`: Not enough space 
(os error 12)


For full log, see 
https://paste.ec/paste/JxbabBm7#Kn+gh58pAwBhweYcTzrk6gzVSH7Rc6Npg2eXEmoCMv1.


I am quite sure that I have plenty of disk space available:

$ df -h .
Filesystem Size   Used  Available Capacity  Mounted on
rpool/zones/build/build-userland/ROOT/zbe-125
   114G  14.7G  74.9G17%/

Any idea what the problem might be? I build it on Lenovo X220 (4 cores, 
6 GB of memory + 3 GB of swap), OS is updated to latest packages. I 
don't think I limited the zone in any way when I created it.


Thanks,
Michal

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-16 Thread Aurélien Larcher
On Thu, Aug 16, 2018 at 7:18 PM, Aurélien Larcher <
aurelien.larc...@gmail.com> wrote:

>
>
>
>
>>> https://github.com/cgrzemba/oi-userland/tree/rust/components
>>> /developer/rust
>>>
>>
>> I remember now updating my recipe to yours but I needed some
>> configuration tweaks to deal with a few issues:
>> - /usr/bin/cc is default used as linker but it is sunstudio 12.1 so you
>> need to override it,
>> - AR should be specified,
>> - this recipe assumes that GCC runtime libraries are in
>> /usr/lib/$(MACH64) which is not true for us with GCC >= 6,
>> - the linker should be specified for the target as it is not passed from
>> the global settings.
>>
>> Also rustc will eat up to 3GB of RAM so the host should have enough
>> memory.
>>
>
> Just rebased my change over Carsten's branch:
>
> https://github.com/alarcher/oi-userland/tree/rust123
>

More work:

helios> rustc hello.rs
error[E0463]: can't find crate for `std`

error: aborting due to previous error

helios> ls /usr/lib/amd64/rustlib/x86_64-sun-solaris/
analysis/ lib/

but rust looks for libraries in /usr/lib/rustlib

Symlinked like a piggy to check it and it is the problem...

Also rustc does not put /usr/lib/amd64 in the search path so executables
are broken.


>
>
>
>
>
>>
>>
>>> --
>>> Carsten Grzemba
>>>
>>>
>>> ___
>>> oi-dev mailing list
>>> oi-dev@openindiana.org
>>> https://openindiana.org/mailman/listinfo/oi-dev
>>>
>>
>>
>>
>> --
>> ---
>> Praise the Caffeine embeddings
>>
>
>
>
> --
> ---
> Praise the Caffeine embeddings
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-16 Thread Aurélien Larcher
>> https://github.com/cgrzemba/oi-userland/tree/rust/components
>> /developer/rust
>>
>
> I remember now updating my recipe to yours but I needed some configuration
> tweaks to deal with a few issues:
> - /usr/bin/cc is default used as linker but it is sunstudio 12.1 so you
> need to override it,
> - AR should be specified,
> - this recipe assumes that GCC runtime libraries are in /usr/lib/$(MACH64)
> which is not true for us with GCC >= 6,
> - the linker should be specified for the target as it is not passed from
> the global settings.
>
> Also rustc will eat up to 3GB of RAM so the host should have enough memory.
>

Just rebased my change over Carsten's branch:

https://github.com/alarcher/oi-userland/tree/rust123




>
>
>> --
>> Carsten Grzemba
>>
>>
>> ___
>> oi-dev mailing list
>> oi-dev@openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>
>
>
> --
> ---
> Praise the Caffeine embeddings
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-16 Thread Aurélien Larcher
On Thu, Aug 16, 2018 at 7:22 AM, Carsten Grzemba 
wrote:

>
>
> On 15.08.18 23:03, *Aurélien Larcher *  wrote:
>
>
>
> On Wednesday, August 15, 2018, Michal Nowak  wrote:
>
>> On 08/14/18 09:01 AM, Till Wegmüller wrote:
>>
>>> Hi
>>>
>>> Could you use an earlier version of Rust as bootstrap for the current
>>> rust?
>>>
>>> There should be a guide for rust bootstraping around on the internet.
>>>
>>> You can look at golang 1.8 how bootstraping with an earlier version
>>> works.
>>>
>>> The Reason for that is, that we build all packages on a buildserver with
>>> jenkins. Where we will not install pkgsrc packages.
>>>
>>> Can you also check platform support? Last I remember solarish systems
>>> where a secondary platform and required patches.
>>>
>>> In any case when you need a reviewer just tag me on github i'll gladly
>>> take a look.
>>>
>>> Thanks and Greetings
>>> Till
>>>
>>>
>> Hi Till,
>>
>> I noticed that Joyent has very recent rust bootstraps, e.g.
>> https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstrap
>> s/rust-1.28.0-x86_64-sun-solaris.tar.gz, which we could leverage as an
>> internal payload of the rust component. At least initially.
>
>
> That's what I used.
> Modulo a spurious compiler flag things went well.
>
>>
>> Looking at platform support (https://forge.rust-lang.org/p
>> latform-support.html), Solaris is Tier 2 platform for which standard
>> library is guaranteed to build, though looking at Joyent's rust it seems to
>> me that rustc and cargo are doable as well.
>>
>> Thank you for your support, I'll get back to you when something
>> materialize :).
>>
>> Michal
>>
>> On 13.08.2018 22:39, Michal Nowak wrote:
>>>
 Hi,

 it seems that rust lang is needed for compilation of Thunderbird 60 and
 Firefox 60 ESR. Did anyone worked on rust component for userland?

 If not, I thought on packaging it (and cargo) from scratch using
 pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
 for building itself.

 Michal

 ___
 oi-dev mailing list
 oi-dev@openindiana.org
 https://openindiana.org/mailman/listinfo/oi-dev

>>>
>>> ___
>>> oi-dev mailing list
>>> oi-dev@openindiana.org
>>> https://openindiana.org/mailman/listinfo/oi-dev
>>>
>>>
>> ___
>> oi-dev mailing list
>> oi-dev@openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
> --
> ---
> Praise the Caffeine embeddings
>
> --
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
> I notice this already, here are my recipe and patches adopted/inspired
> from Joyents pkgsrc
>
> https://github.com/cgrzemba/oi-userland/tree/rust/
> components/developer/rust
>

I remember now updating my recipe to yours but I needed some configuration
tweaks to deal with a few issues:
- /usr/bin/cc is default used as linker but it is sunstudio 12.1 so you
need to override it,
- AR should be specified,
- this recipe assumes that GCC runtime libraries are in /usr/lib/$(MACH64)
which is not true for us with GCC >= 6,
- the linker should be specified for the target as it is not passed from
the global settings.

Also rustc will eat up to 3GB of RAM so the host should have enough memory.


> --
> Carsten Grzemba
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-15 Thread Carsten Grzemba


On 15.08.18 23:03, Aurélien Larcher   wrote: 
> 
> 
> 
> On Wednesday, August 15, 2018, Michal Nowak  wrote:
> 
> > On 08/14/18 09:01 AM, Till Wegmüller wrote:
> > 
> > > Hi
> > > 
> > > Could you use an earlier version of Rust as bootstrap for the current 
> > > rust?
> > > 
> > > There should be a guide for rust bootstraping around on the internet.
> > > 
> > > You can look at golang 1.8 how bootstraping with an earlier version works.
> > > 
> > > The Reason for that is, that we build all packages on a buildserver with
> > > jenkins. Where we will not install pkgsrc packages.
> > > 
> > > Can you also check platform support? Last I remember solarish systems
> > > where a secondary platform and required patches.
> > > 
> > > In any case when you need a reviewer just tag me on github i'll gladly
> > > take a look.
> > > 
> > > Thanks and Greetings
> > > Till
> > > 
> > > 
> > 
> > Hi Till,
> > 
> > I noticed that Joyent has very recent rust bootstraps, e.g. 
> > https://openindiana.org/mailman/listinfo/oi-dev(https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/rust-1.28.0-x86_64-sun-solaris.tar.gz;
> >  iwc-bad-attr="" 
> > target="1">https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/rust-1.28.0-x86_64-sun-solaris.tar.gz,
> >  which we could leverage as an internal payload of the rust component. At 
> > least initially.
> 
> 
> That's what I used. 
> Modulo a spurious compiler flag things went well. 
> 
> > 
> > Looking at platform support 
> > (https://forge.rust-lang.org/platform-support.html), Solaris is Tier 2 
> > platform for which standard library is guaranteed to build, though looking 
> > at Joyent's rust it seems to me that rustc and cargo are doable as well.
> > 
> > Thank you for your support, I'll get back to you when something materialize 
> > :).
> > 
> > Michal
> > 
> > 
> > > On 13.08.2018 22:39, Michal Nowak wrote:
> > > 
> > > > Hi,
> > > > 
> > > > it seems that rust lang is needed for compilation of Thunderbird 60 and
> > > > Firefox 60 ESR. Did anyone worked on rust component for userland?
> > > > 
> > > > If not, I thought on packaging it (and cargo) from scratch using
> > > > pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
> > > > for building itself.
> > > > 
> > > > Michal
> > > > 
> > > > ___
> > > > oi-dev mailing list
> > > > oi-dev@openindiana.org
> > > > https://openindiana.org/mailman/listinfo/oi-dev
> > > > 
> > > 
> > > ___
> > > oi-dev mailing list
> > > oi-dev@openindiana.org
> > > https://openindiana.org/mailman/listinfo/oi-dev
> > > 
> > > 
> > 
> > ___
> > oi-dev mailing list
> > oi-dev@openindiana.org
> > https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> -- 
> 
> 
> 
> ---
> Praise the Caffeine embeddings
> 
> 
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> I notice this already, here are my recipe and patches adopted/inspired from 
> Joyents pkgsrc
> 
> https://github.com/cgrzemba/oi-userland/tree/rust/components/developer/rust
>  -- 
> Carsten Grzemba
> 
> 
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-15 Thread Aurélien Larcher
On Wednesday, August 15, 2018, Michal Nowak  wrote:

> On 08/14/18 09:01 AM, Till Wegmüller wrote:
>
>> Hi
>>
>> Could you use an earlier version of Rust as bootstrap for the current
>> rust?
>>
>> There should be a guide for rust bootstraping around on the internet.
>>
>> You can look at golang 1.8 how bootstraping with an earlier version works.
>>
>> The Reason for that is, that we build all packages on a buildserver with
>> jenkins. Where we will not install pkgsrc packages.
>>
>> Can you also check platform support? Last I remember solarish systems
>> where a secondary platform and required patches.
>>
>> In any case when you need a reviewer just tag me on github i'll gladly
>> take a look.
>>
>> Thanks and Greetings
>> Till
>>
>>
> Hi Till,
>
> I noticed that Joyent has very recent rust bootstraps, e.g.
> https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstrap
> s/rust-1.28.0-x86_64-sun-solaris.tar.gz, which we could leverage as an
> internal payload of the rust component. At least initially.


That's what I used.
Modulo a spurious compiler flag things went well.

>
> Looking at platform support (https://forge.rust-lang.org/p
> latform-support.html), Solaris is Tier 2 platform for which standard
> library is guaranteed to build, though looking at Joyent's rust it seems to
> me that rustc and cargo are doable as well.
>
> Thank you for your support, I'll get back to you when something
> materialize :).
>
> Michal
>
> On 13.08.2018 22:39, Michal Nowak wrote:
>>
>>> Hi,
>>>
>>> it seems that rust lang is needed for compilation of Thunderbird 60 and
>>> Firefox 60 ESR. Did anyone worked on rust component for userland?
>>>
>>> If not, I thought on packaging it (and cargo) from scratch using
>>> pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
>>> for building itself.
>>>
>>> Michal
>>>
>>> ___
>>> oi-dev mailing list
>>> oi-dev@openindiana.org
>>> https://openindiana.org/mailman/listinfo/oi-dev
>>>
>>
>> ___
>> oi-dev mailing list
>> oi-dev@openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-15 Thread Michal Nowak

On 08/14/18 09:01 AM, Till Wegmüller wrote:

Hi

Could you use an earlier version of Rust as bootstrap for the current rust?

There should be a guide for rust bootstraping around on the internet.

You can look at golang 1.8 how bootstraping with an earlier version works.

The Reason for that is, that we build all packages on a buildserver with
jenkins. Where we will not install pkgsrc packages.

Can you also check platform support? Last I remember solarish systems
where a secondary platform and required patches.

In any case when you need a reviewer just tag me on github i'll gladly
take a look.

Thanks and Greetings
Till



Hi Till,

I noticed that Joyent has very recent rust bootstraps, e.g. 
https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/rust-1.28.0-x86_64-sun-solaris.tar.gz, 
which we could leverage as an internal payload of the rust component. At 
least initially.


Looking at platform support 
(https://forge.rust-lang.org/platform-support.html), Solaris is Tier 2 
platform for which standard library is guaranteed to build, though 
looking at Joyent's rust it seems to me that rustc and cargo are doable 
as well.


Thank you for your support, I'll get back to you when something 
materialize :).


Michal


On 13.08.2018 22:39, Michal Nowak wrote:

Hi,

it seems that rust lang is needed for compilation of Thunderbird 60 and
Firefox 60 ESR. Did anyone worked on rust component for userland?

If not, I thought on packaging it (and cargo) from scratch using
pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
for building itself.

Michal

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-15 Thread Michal Nowak

On 08/15/18 05:19 PM, Aurélien Larcher wrote:



On Wed, Aug 15, 2018 at 7:56 AM, Carsten Grzemba > wrote:




On 14.08.18 18:38, *Andreas Wacknitz * mailto:a.wackn...@gmx.de>> wrote:

Am 13.08.18 um 22:39 schrieb Michal Nowak:
> Hi,
>
> it seems that rust lang is needed for compilation of Thunderbird 60
> and Firefox 60 ESR. Did anyone worked on rust component for
userland?
>
> If not, I thought on packaging it (and cargo) from scratch using
> pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is
needed
> for building itself.



I wrote a rust component last year and use it for a while but I had no 
time to follow up.

Not sure on which machine it was, I'll have a look in the week-end.



Would be cool if you found the component's sources, Aurélien. Carsten's 
component looks like a nice start, though I'd love to compare both 
approaches.


Thanks,
Michal


>
> Michal
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org 
> https://openindiana.org/mailman/listinfo/oi-dev

Go for it!

Regards
Andreas

___
oi-dev mailing list
oi-dev@openindiana.org 
https://openindiana.org/mailman/listinfo/oi-dev

-- 
Carsten Grzemba

I did this

https://github.com/cgrzemba/oi-userland/tree/rust


but I havn't any time for test.

___
oi-dev mailing list
oi-dev@openindiana.org 
https://openindiana.org/mailman/listinfo/oi-dev





--
---
Praise the Caffeine embeddings


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-15 Thread Michal Nowak

On 08/15/18 07:56 AM, Carsten Grzemba wrote:



On 14.08.18 18:38, *Andreas Wacknitz *  wrote:

Am 13.08.18 um 22:39 schrieb Michal Nowak:
> Hi,
>
> it seems that rust lang is needed for compilation of Thunderbird 60
> and Firefox 60 ESR. Did anyone worked on rust component for userland?
>
> If not, I thought on packaging it (and cargo) from scratch using
> pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
> for building itself.
>
> Michal
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
Go for it!

Regards
Andreas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

--
Carsten Grzemba
I did this

https://github.com/cgrzemba/oi-userland/tree/rust

but I havn't any time for test.


Thank you Carsten, that looks like a great start! I'll go with this.

Michal

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Rust in userland?

2018-08-15 Thread Aurélien Larcher
On Wed, Aug 15, 2018 at 7:56 AM, Carsten Grzemba 
wrote:

>
>
> On 14.08.18 18:38, *Andreas Wacknitz *  wrote:
>
> Am 13.08.18 um 22:39 schrieb Michal Nowak:
> > Hi,
> >
> > it seems that rust lang is needed for compilation of Thunderbird 60
> > and Firefox 60 ESR. Did anyone worked on rust component for userland?
> >
> > If not, I thought on packaging it (and cargo) from scratch using
> > pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
> > for building itself.
>
>
I wrote a rust component last year and use it for a while but I had no time
to follow up.
Not sure on which machine it was, I'll have a look in the week-end.


> >
> > Michal
> >
> > ___
> > oi-dev mailing list
> > oi-dev@openindiana.org
> > https://openindiana.org/mailman/listinfo/oi-dev
> Go for it!
>
> Regards
> Andreas
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
> --
> Carsten Grzemba
> I did this
>
> https://github.com/cgrzemba/oi-userland/tree/rust
>
> but I havn't any time for test.
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Rust in userland?

2018-08-14 Thread Andreas Wacknitz
Am 13.08.18 um 22:39 schrieb Michal Nowak:
> Hi,
>
> it seems that rust lang is needed for compilation of Thunderbird 60
> and Firefox 60 ESR. Did anyone worked on rust component for userland?
>
> If not, I thought on packaging it (and cargo) from scratch using
> pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
> for building itself.
>
> Michal
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
Go for it!

Regards
Andreas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Rust in userland?

2018-08-14 Thread Till Wegmüller
Hi

Could you use an earlier version of Rust as bootstrap for the current rust?

There should be a guide for rust bootstraping around on the internet.

You can look at golang 1.8 how bootstraping with an earlier version works.

The Reason for that is, that we build all packages on a buildserver with
jenkins. Where we will not install pkgsrc packages.

Can you also check platform support? Last I remember solarish systems
where a secondary platform and required patches.

In any case when you need a reviewer just tag me on github i'll gladly
take a look.

Thanks and Greetings
Till

On 13.08.2018 22:39, Michal Nowak wrote:
> Hi,
> 
> it seems that rust lang is needed for compilation of Thunderbird 60 and
> Firefox 60 ESR. Did anyone worked on rust component for userland?
> 
> If not, I thought on packaging it (and cargo) from scratch using
> pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed
> for building itself.
> 
> Michal
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] Rust in userland?

2018-08-13 Thread Michal Nowak

Hi,

it seems that rust lang is needed for compilation of Thunderbird 60 and 
Firefox 60 ESR. Did anyone worked on rust component for userland?


If not, I thought on packaging it (and cargo) from scratch using 
pkgsrc's Makefile and Joyent's rust in binary pkgsrc as rust is needed 
for building itself.


Michal

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev