-
szilardThx, i will consider this, but for now i would say i go with cat6
-
szilardI have attempted to compile fish shell on my omnios nas. Fish was recently rewritten in rust, therefore i had to install the rust toolchain. Building the source code using cargo results in this errors: rust-lang/libc #4623 as you can see, tgross35 asked: "which API libc needs to add?" i am unsure what the correct answer is. Could xou help me?
-
szilardAfaik strftime got already added.
-
tsoome_mkostemp is also reported missing, apparently there is something big missing
-
tsoome_also some more functions are missing and POSIX_SPAWN_SETSIGMASK is i16 but it is expecting i32
-
szilardI just updated the issue
-
tsoome_I have no idea how exactly the integration with os/libc is done, but it *feels* liske autoconfigure is way off:)
-
tsoome_s/liske/like/
-
szilardI think the project doesnt use autoconf. Or have I misunderstood you?
-
tsoome_thats why i wrote "it feels like":)
-
tsoome_may it be the illumos port is based on port done for something like solaris 10?
-
spicywolfszilard: do you need to build rust from source? iirc it is packaged for illumos via pkgsrc (pkgsrc.smartos.org) or you can install it the normal rust way via rustup.rs. If you're on OI, I did get it to run, but I had to manually specify LD_PATH for some shared object it couldn't find.
-
spicywolfwait. I misread.
-
spicywolfregarding strftime(), it looks like it is straight up not implemented for illumos systems, but is interestingly implemented for solaris systems (src/unix/solarish/mod.rs:L3134-L3135). I wonder if it would be as simple as removing that #[cfg_attr]...
-
spicywolfmkostemp simply does not exist within the solarish directory, so you'd probably want to ask for that specifically. the statfs vs statvfs appears to be fixed with latest libc. I will need to check nix for why resource isn't available.
-
spicywolfas for nix, it just looks like resource.rs doesn't have any solarish compat at all, which would be worth opening an issue in the nix crate's repo.