Package Details: libblkio 1.5.0-2

Git Clone URL: https://aur.archlinux.org/libblkio.git (read-only, click to copy)
Package Base: libblkio
Description: High-performance block device I/O library with C API
Upstream URL: https://gitlab.com/libblkio/libblkio
Licenses: Apache-2.0 OR MIT, (MIT OR Apache-2.0) AND BSD-3-Clause, Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT, Apache-2.0 OR BSD-3-Clause
Submitter: Toolybird
Maintainer: Toolybird
Last Packager: Toolybird
Votes: 1
Popularity: 0.156466
First Submitted: 2022-11-20 06:29 (UTC)
Last Updated: 2024-07-04 03:40 (UTC)

Latest Comments

trinitronx commented on 2025-05-07 17:33 (UTC)

@Toolybird: Here is a solution using mktemp and cargo vendor that should fix the issue with finding the license path for rustix.

I pushed a bugfix branch up here: trinitronx/libblkio#1 Feel free to review the changes, and if you like them then you can pull and merge them.

To pull & merge (into your locally cloned git repo):

# If remote not already added
git remote add trinitronx https://gitlab.archlinux.org/trinitronx/libblkio.git

git fetch trinitronx fix-license-install-bug
git checkout -b fix-license-install-bug trinitronx/fix-license-install-bug
git checkout master
git merge fix-license-install-bug

Toolybird commented on 2024-07-02 21:37 (UTC)

Works fine when building in a clean chroot. There's a comment in the PKGBUILD hinting that finding the license file could be a bit hackish :/ The command appears to fail in the presence of multiple versions of the same crate. Will try to find a better way..

Eirikr commented on 2024-07-02 11:41 (UTC) (edited on 2024-07-02 11:41 (UTC) by Eirikr)

Looks like there is an issue with the final steps during package(). Missing license file?

install: cannot stat '/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.34/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.5/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.4/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.23/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.11/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.24/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.36.16/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.21/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.30/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.19/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.36.6/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.27/LICENSE-Apache-2.0_WITH_LLVM-exception'$'\n''/home/eirikr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.32/LICENSE-Apache-2.0_WITH_LLVM-exception': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: libblkio-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
libblkio - exit status 4