[oi-dev] Rust 1.28 testing package

Aurélien Larcher aurelien.larcher at gmail.com
Thu Sep 13 12:46:45 UTC 2018


On Thu, Sep 13, 2018 at 9:18 AM, Michal Nowak <mnowak at startmail.com> wrote:

> On 09/12/18 08:42 PM, Till Wegmüller wrote:
>
>> Hi Aurelian
>>
>> Nice work.
>>
>> I tested a few Rust programs acros github trending at random to see how
>> we are with workflow compliance.
>>
>> cargo seems to work and can be used to install programs.
>> Tested:
>> https://github.com/sharkdp/bat simple cat clone: Does not work the
>> termios library does not know about us.
>>
>> https://github.com/rust-lang-nursery/rustup.rs/ Seems to be very
>> unstable... They recomend that a packager pckages it. We maybe should
>> aswell seing that many rust utilities seem to require their very
>> specific version of rust...... Including firefox.
>>
>> https://github.com/uutils/coreutils Does not seem to like that our libc
>> has no ENOATTR....
>>
>
> I guess https://github.com/Stebalien/xattr/issues/18 is what you see?
> There's workaround for this in xattr v0.2.2, but I thought is fixed by
> following rust's libc patches which define ENOATTR as ENODATA:
>
> * src_vendor_libc_src_unix_solaris_mod.rs.patch
> * src_liblibc_src_unix_solaris_mod.rs.patch
>
> But yes along the way there are another platform-specific problems like:
>
> error[E0432]: unresolved import `self::libc::TIOCGWINSZ`
>  --> /export/home/newman/.cargo/registry/src/github.com-1ecc6299d
> b9ec823/termsize-0.1.5/src/nix.rs:4:33
>   |
> 4 | use self::libc::{STDOUT_FILENO, TIOCGWINSZ, c_ushort};
>   |                                 ^^^^^^^^^^ no `TIOCGWINSZ` in the root
>

Thank you both for testing the package :)

We should probably get in touch with Rust developers to fix the build issue
when rustc is installed and see what it would take to get some level of CI
up and running.

Then we can look at Firefox 60esr...



>
> Michal
>
>
>
>> All in all i would say the compiler works it was saying that many
>> packages were compiling without errors. But the work has just begun.
>> There seems to be very much platform specific code in rust libraries in
>> the wild.
>>
>> Keep up the good work
>> Greetings
>> Till
>>
>> On 09/12/18 02:30 PM, Aurélien Larcher wrote:
>>
>>> For anyone interested there is a testing package of rust 1.28 at
>>>
>>> https://pkg.openindiana.org/gcc-next/
>>>
>>> pkg://userland/developer/lang/[email protected],5.11-2018.0.0.0:2
>>> 0180912T121658Z
>>>
>>> The repository is built with gcc-8 so a new BE and a good bandwidth are
>>> required.
>>>
>>> --
>>> ---
>>> Praise the Caffeine embeddings
>>>
>>>
>>> _______________________________________________
>>> oi-dev mailing list
>>> oi-dev at openindiana.org
>>> https://openindiana.org/mailman/listinfo/oi-dev
>>>
>>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20180913/0c730ee1/attachment-0005.html>


More information about the oi-dev mailing list