[Slackbuilds-users] libheif / cargo-c compiling problem

Alexander Verbovetsky alik at ejik.org
Sat Nov 4 21:10:05 UTC 2023


On Sat, Nov 04, 2023 at 05:31:20PM -0300, Jim wrote:
> Using Slackware64 15.0...
>
> After today's updates, I tried to sboupgrade libheif, and the first thing
> sboupgrade wanted to do was to build cargo-c.  After downloading many
> files, it unpacks cargo-c and then whines thusly:
>
> ...
> cargo-c-0.9.27/src/config.rs
> cargo-c-0.9.27/src/install.rs
> cargo-c-0.9.27/src/lib.rs
> cargo-c-0.9.27/src/pkg_config_gen.rs
> cargo-c-0.9.27/src/target.rs
> tar: /usr/sbo/repo/development/cargo-c/addr2line-0.19.0.crate: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> Failure encountered while building cargo-c:
>   cargo-c.SlackBuild return non-zero
>
> Do you want to proceed? [n]
> Failures:
>   cargo-c: cargo-c.SlackBuild return non-zero
>
>
> Perhaps there is something peculiar on my system, but before I go on the
> hunt, can anyone in slackbuild land tell me whether their 64-bit 15.0
> system is happy about compiling libheif?

libheif has several new dependencies, one of them is rav1e, which in
turn depends on cargo-c. Both are Rust packages and require rust16
during the build.

I have successfully tested everything on a clean 64-bit version of 15.0.

It's strange that cargo-c wants addr2line, it's not its dependency.
rav1e requires addr2line.

Best regards,
Alexander


More information about the SlackBuilds-users mailing list