Friday, November 04, 2022

Re: [powerpc64 rust] unbreak sysutils/broot

Le Thu, Nov 03, 2022 at 03:53:14PM -0400, George Koehler a écrit :
> Hi, I want someone who knows rust to check this.
>
> I had never used broot, but built it for powerpc64 to check that rustc
> is working. Because powerpc64 is big-endian, the build failed,
>
> --> /usr/ports/pobj/broot-1.14.2/broot-1.14.2/modcargo-crates/exr-1.4.2/src/compression/rle.rs:39:29
> |
> 39 | unimplemented!(this function probably returns little-endian data);
> | ^^^^^^^^ expected `,`
>
> error: could not compile `exr` due to previous error
>
> powerpc64 can build exr-1.5.0 (the next version after 1.4.2). This
> diff uses 1.5.0 and fixes the build for powerpc64. "make test" fails,
> but I can install broot and run it.
>
> After I updated exr to 1.5.0, I got a dependency error on lebe 0.5.2,
> so I updated lebe. I manually edited the version numbers in
> crates.inc, but I later ran "make modcargo-gen-crates-licenses",
> which changed lede's license comment.
>
> ok or not?

your diff makes sense, but updating broot to 1.6.1 would also solve the
issue since those crates are updated there :)

Landry

No comments:

Post a Comment