Ventoy in the AUR - Error message

I have tried to install ventoy from the AUR. I received the following error message: ‘one or more files did not pass the validity check.’

$ yay -S ventoy
:: Checking for conflicts…
:: Checking for inner conflicts…
[Aur:1] ventoy-1.0.89-1

1 ventoy (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): ventoy
1 ventoy (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: ventoy
==> Making package: ventoy 1.0.89-1 (Fri 17 Mar 2023 16:07:09 GMT)
==> Retrieving sources…
→ Found ventoy-1.0.89.tar.gz
→ Found grub-2.04.tar.xz
→ Found ventoy-grub-fix-build-with-binutils-2.36.patch
→ Updating ipxe git repo…
→ Found edk2-stable201911.zip
→ Found ventoy-fix-ucs-2-lookup-on-python-3.9.patch
→ Found ventoy-fix-array.array.tostring-removal-in-python-3.9.patch
→ Found dietlibc-0.34.tar.xz
→ Found dietlibc-headers-fix.patch
→ Found musl-1.2.3.tar.gz
→ Found kernel-headers-musl-4.19.88.tar.gz
→ Found fuse-2.9.9.tar.gz
→ Found exfat-1.3.0.tar.gz
→ Found zlib-1.2.13.tar.gz
→ Found squashfs-tools-4.4.tar.gz
→ Found device-mapper-1.02.28-2.el5.src.rpm
→ Found zstd-1.0.0.tar.gz
→ Found xz-embedded-20130513.tar.gz
→ Found busybox-1.32.0.tar.bz2
→ Found cryptsetup-1.7.5.tar.xz
→ Found wimboot-2.7.3.tar.gz
==> Validating source files with sha256sums…
ventoy-1.0.89.tar.gz … Passed
grub-2.04.tar.xz … Passed
ventoy-grub-fix-build-with-binutils-2.36.patch … Passed
ipxe … Skipped
edk2-stable201911.zip … Passed
ventoy-fix-ucs-2-lookup-on-python-3.9.patch … Passed
ventoy-fix-array.array.tostring-removal-in-python-3.9.patch … FAILED
dietlibc-0.34.tar.xz … Passed
dietlibc-headers-fix.patch … Passed
musl-1.2.3.tar.gz … Passed
kernel-headers-musl-4.19.88.tar.gz … Passed
fuse-2.9.9.tar.gz … Passed
exfat-1.3.0.tar.gz … Passed
zlib-1.2.13.tar.gz … Passed
squashfs-tools-4.4.tar.gz … Passed
device-mapper-1.02.28-2.el5.src.rpm … Passed
zstd-1.0.0.tar.gz … Passed
xz-embedded-20130513.tar.gz … Passed
busybox-1.32.0.tar.bz2 … Passed
cryptsetup-1.7.5.tar.xz … Passed
wimboot-2.7.3.tar.gz … Passed
==> ERROR: One or more files did not pass the validity check!
→ error downloading sources: ventoy
context: exit status 1

==> Making package: ventoy 1.0.89-1 (Fri 17 Mar 2023 16:07:11 GMT)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found ventoy-1.0.89.tar.gz
→ Found grub-2.04.tar.xz
→ Found ventoy-grub-fix-build-with-binutils-2.36.patch
→ Updating ipxe git repo…
→ Found edk2-stable201911.zip
→ Found ventoy-fix-ucs-2-lookup-on-python-3.9.patch
→ Found ventoy-fix-array.array.tostring-removal-in-python-3.9.patch
→ Found dietlibc-0.34.tar.xz
→ Found dietlibc-headers-fix.patch
→ Found musl-1.2.3.tar.gz
→ Found kernel-headers-musl-4.19.88.tar.gz
→ Found fuse-2.9.9.tar.gz
→ Found exfat-1.3.0.tar.gz
→ Found zlib-1.2.13.tar.gz
→ Found squashfs-tools-4.4.tar.gz
→ Found device-mapper-1.02.28-2.el5.src.rpm
→ Found zstd-1.0.0.tar.gz
→ Found xz-embedded-20130513.tar.gz
→ Found busybox-1.32.0.tar.bz2
→ Found cryptsetup-1.7.5.tar.xz
→ Found wimboot-2.7.3.tar.gz
==> Validating source files with sha256sums…
ventoy-1.0.89.tar.gz … Passed
grub-2.04.tar.xz … Passed
ventoy-grub-fix-build-with-binutils-2.36.patch … Passed
ipxe … Skipped
edk2-stable201911.zip … Passed
ventoy-fix-ucs-2-lookup-on-python-3.9.patch … Passed
ventoy-fix-array.array.tostring-removal-in-python-3.9.patch … FAILED
dietlibc-0.34.tar.xz … Passed
dietlibc-headers-fix.patch … Passed
musl-1.2.3.tar.gz … Passed
kernel-headers-musl-4.19.88.tar.gz … Passed
fuse-2.9.9.tar.gz … Passed
exfat-1.3.0.tar.gz … Passed
zlib-1.2.13.tar.gz … Passed
squashfs-tools-4.4.tar.gz … Passed
device-mapper-1.02.28-2.el5.src.rpm … Passed
zstd-1.0.0.tar.gz … Passed
xz-embedded-20130513.tar.gz … Passed
busybox-1.32.0.tar.bz2 … Passed
cryptsetup-1.7.5.tar.xz … Passed
wimboot-2.7.3.tar.gz … Passed
==> ERROR: One or more files did not pass the validity check!
→ error making: ventoy

The PKGBUILD has outdated checksums for two sources. You can use the following patch to get it working.

--- PKGBUILD_OLD	2023-03-18 00:30:00.558905715 +0530
+++ PKGBUILD_NEW	2023-03-18 00:30:22.687752911 +0530
@@ -132,8 +132,8 @@
             'db2a9018392a3984d1e1e649bde0ffc19c90fa4d96b9fd2d4caaf9c1ca2af68b'
             'SKIP'
             'c6f691aa91afbaab811a369fe729f61d8e5b58bb5ad79a45446c9ee849c1a60b'
-            '0e6f338f78d26ff30a921078a31fd294143ee603166a476dd38d2b2277e4b049'
-            '03171f233e7d7472a7fc212ea5cca0ab5b6dace7976bb2ffb1379a3f83960dd9'
+            '66b90a6a57f26f775cb2b316aa37b15fed57198bd53ee791bee22933f9dd41ea'
+            'a2f1813d98559c723e7baadf3a194d7646fe19ecf7affdeddedbf406cde35164'
             '7994ad5a63d00446da2e95da1f3f03355b272f096d7eb9830417ab14393b3ace'
             '313aa962c7f80a02f41758d90d6f67687c77c74a6126b060337f248bc1b637f6'
             '7d5b0b6062521e4627e099e4c9dc8248d32a30285e959b7eecaa780cf8cfd4a4'

Imo, a much easier way out will be to simply use prebuilt package ventoy-bin

yay -S ventoy-bin
1 Like

Duplicate ?

Thanks very much. That worked fine.

1 Like

For sure, but ventoy-bin works a treat…

1 Like