Re: [update] shells/nushell to 0.87.1

2023-12-07 Thread Volker Schlecht

On 2023-12-07 06:05, Justin Berthault wrote:

Hi,

Finished release [optimized] target(s) in 80m 26s
%
% date
Thu Dec  7 05:54:28 CET 2023

No issues here when building.

But I'm now having a 5 bytes memory allocation failure on my rpi and
nushell is totally unresponsive then.


That explains it then - tb@ pointed out that the problem I saw on amd64 would
not occur or arm64. I saw on Github that Laurent Cheylus already did the work
to make uucore work properly on OpenBSD, and would propose that we wait with
a nushell update until they switched to a uucore version that incorporates his
fixes.



Re: [update] shells/nushell to 0.87.1

2023-12-06 Thread Justin Berthault
On Wed, Dec 06, 2023 at 06:44:44PM +0100, Volker Schlecht wrote:
> With your diff I'm getting the following error. Does the build really work for
> you without a patch to modcargo-crates/uucore-0.0.22/src/lib/features/fs.rs?

Hi,

Finished release [optimized] target(s) in 80m 26s
%
% date
Thu Dec  7 05:54:28 CET 2023

No issues here when building.

But I'm now having a 5 bytes memory allocation failure on my rpi and
nushell is totally unresponsive then.



Re: [update] shells/nushell to 0.87.1

2023-12-06 Thread Volker Schlecht

Hi Justin,

On 2023-11-26 13:59, Justin Berthault wrote:

Trivial update of nushell to 0.87.1


With your diff I'm getting the following error. Does the build really work for
you without a patch to modcargo-crates/uucore-0.0.22/src/lib/features/fs.rs?

cheers,
Volker

--
error[E0308]: mismatched types
   --> 
/build/pobj/nushell-0.87.1/nushell-0.87.1/modcargo-crates/uucore-0.0.22/src/lib/features/fs.rs:122:16
|
111 | pub fn number_of_links() -> u64 {
|  --- expected `u64` because of return 
type
...
122 | return self.0.st_nlink;
|^^^ expected `u64`, found `u32`
|
help: you can convert a `u32` to a `u64`
|
122 | return self.0.st_nlink.into();
|   +++