CachyOS / linux-cachyos

Archlinux Kernel based on different schedulers and some other performance improvements.
https://cachyos.org
GNU General Public License v3.0
917 stars 35 forks source link

Files did not pass the validity check #172

Closed nutta-git closed 1 year ago

nutta-git commented 1 year ago

Hi, both linux and header fails to pass the validity check.

`Aur (2) Old Version New Version Make Only aur/linux-cachyos 6.5.3-1 6.5.4-1 No aur/linux-cachyos-headers 6.5.3-1 6.5.4-1 No

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: linux-cachyos 6.5.4-1 (Tue 19 Sep 2023 10:29:41 AM EDT) ==> Retrieving sources... -> Found linux-6.5.4.tar.xz -> Found config -> Found auto-cpu-optimization.sh -> Found 0001-cachyos-base-all.patch -> Found 0001-EEVDF-cachy.patch -> Found 0001-bore-eevdf.patch ==> Validating source files with b2sums... linux-6.5.4.tar.xz ... Passed config ... Passed auto-cpu-optimization.sh ... Passed 0001-cachyos-base-all.patch ... FAILED 0001-EEVDF-cachy.patch ... FAILED 0001-bore-eevdf.patch ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'linux-cachyos-6.5.4-1 (linux-cachyos linux-cachyos-headers)': error: packages failed to build: linux-cachyos-6.5.4-1 (linux-cachyos linux-cachyos-headers) `

ptr1337 commented 1 year ago

Hi, both linux and header fails to pass the validity check.

`Aur (2) Old Version New Version Make Only aur/linux-cachyos 6.5.3-1 6.5.4-1 No aur/linux-cachyos-headers 6.5.3-1 6.5.4-1 No

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: linux-cachyos 6.5.4-1 (Tue 19 Sep 2023 10:29:41 AM EDT) ==> Retrieving sources... -> Found linux-6.5.4.tar.xz -> Found config -> Found auto-cpu-optimization.sh -> Found 0001-cachyos-base-all.patch -> Found 0001-EEVDF-cachy.patch -> Found 0001-bore-eevdf.patch ==> Validating source files with b2sums... linux-6.5.4.tar.xz ... Passed config ... Passed auto-cpu-optimization.sh ... Passed 0001-cachyos-base-all.patch ... FAILED 0001-EEVDF-cachy.patch ... FAILED 0001-bore-eevdf.patch ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'linux-cachyos-6.5.4-1 (linux-cachyos linux-cachyos-headers)': error: packages failed to build: linux-cachyos-6.5.4-1 (linux-cachyos linux-cachyos-headers) `

Works for me:

time makepkg -s 
==> Making package: linux-cachyos 6.5.4-1 (Di 19 Sep 2023 16:45:51 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found linux-6.5.4.tar.xz
  -> Found config
  -> Found auto-cpu-optimization.sh
  -> Found 0001-cachyos-base-all.patch
  -> Found 0001-EEVDF-cachy.patch
  -> Found 0001-bore-eevdf.patch
==> Validating source files with b2sums...
    linux-6.5.4.tar.xz ... Passed
    config ... Passed
    auto-cpu-optimization.sh ... Passed
    0001-cachyos-base-all.patch ... Passed
    0001-EEVDF-cachy.patch ... Passed
    0001-bore-eevdf.patch ... Passed

I think paru does cache the patches. I don't suggest you to use paru to update the packages or remove the cache folder of paru before.

nutta-git commented 1 year ago

It was paru's cache, clearing it solved the issue. Thank you