Package Details: linux-cachyos-bore-headers 7.1.8-1

Git Clone URL: https://aur.archlinux.org/linux-cachyos-bore.git (read-only, click to copy)
Package Base: linux-cachyos-bore
Description: Headers and scripts for building modules for the Linux BORE + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements kernel
Upstream URL: https://github.com/CachyOS/linux-cachyos
Keywords: bore cachyos linux
Licenses: GPL-2.0-only
Provides: LINUX-HEADERS
Submitter: ptr1337
Maintainer: ptr1337 (sir_lucjan)
Last Packager: sir_lucjan
Votes: 16
Popularity: 1.39
First Submitted: 2021-12-08 18:26 (UTC)
Last Updated: 2026-08-11 21:32 (UTC)

Required by (324)

Sources (4)

Latest Comments

1 2 3 4 Next › Last »

lamarpavel commented on 2026-07-31 06:17 (UTC) (edited on 2026-07-31 06:18 (UTC) by lamarpavel)

@PotionSeller

change the last line to 'SKIP':

[...]

Note that disabling the verification is not good practice, since the checksum ensures that the source files are still the same that the package author tested

So let's do it right from the beginning and instead of adding SKIP in the b2sums array we add the correct hash. The file in question is the 0001-bore-cachy.patch, the link can be constructed from the _patchsource and _major variables and this line in the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-cachyos-bore#n239

So download the current version of the file and compute the b2sum from it: curl https://raw.githubusercontent.com/cachyos/kernel-patches/master/7.1/sched/0001-bore-cachy.patch | b2sum

For me that is c7b49a1ea71f1d837027680bb79688a201940101fdec1efa2cf9f103ba301530fdb0b82da465fa1f0ff095836640491d8e18fe7a732a6a3a75095d784eb4689d but it will change when the file changes, so by the time you read this comment it may be a different sum, which is why you should compute it yourself instead of copying it.

Add that sum to the b2sums array instead of 5a2311d5b672ad36a67d7f83b2ae1d5cbd6878386d502c6093f8e7ba37c5392152095ae737bf0c1dfdf4efb513c2bd0d6ebed2f29e212225a2494e6f18cb103f

All that being said, for a cryptographic hash to serve its purpose it should be computed and distributed by the source and only verified by the recipient. The problem here is that the PKGBUILD is not updated with the correct information. Whenever any of the sources changes, the PKGBUILD should also be updated to have the correct b2sums.

PotionSeller commented on 2026-07-29 22:11 (UTC) (edited on 2026-07-29 22:27 (UTC) by PotionSeller)

As a temporary fix till the maintainer updates the PKGBUILD:

-start yay with the "--editmenu" flag

-when it asks "PKGBUILDs to edit?" select the number of "linux-cachyos-bore"

-scroll to the very bottom of the file opened, it should look like

b2sums=('d7f63f5c0926d98d27dd9f405dbdcdd0d8cbcf0d07185615edbe62b242a09f2f0074bedfc466e3a43d8e12b15d0d1860f5a6ff89a4b583b81ca677b33d3c0072'
        'SKIP'
        'a81b1a49b7fd277a8a1395e38696c435489808399527dc49436c9b36940d5c652c523622efe68d34dd191669d8838ab4c041000331279ccf77cdc11dc4baaca2'
        '5a2311d5b672ad36a67d7f83b2ae1d5cbd6878386d502c6093f8e7ba37c5392152095ae737bf0c1dfdf4efb513c2bd0d6ebed2f29e212225a2494e6f18cb103f')

-change the last line to 'SKIP':

b2sums=('d7f63f5c0926d98d27dd9f405dbdcdd0d8cbcf0d07185615edbe62b242a09f2f0074bedfc466e3a43d8e12b15d0d1860f5a6ff89a4b583b81ca677b33d3c0072'
        'SKIP'
        'a81b1a49b7fd277a8a1395e38696c435489808399527dc49436c9b36940d5c652c523622efe68d34dd191669d8838ab4c041000331279ccf77cdc11dc4baaca2'
        'SKIP')

-save and quit the editor, confirm "Proceed with install? [Y/n]"

Note that disabling the verification is not good practice, since the checksum ensures that the source files are still the same that the package author tested. in this case, it should be alright, looking at the cachyos git it seems like they just changed the bore scheduler version from the release canidate "6.8.0-rc1" to "6.8.1"

facucosta commented on 2026-07-28 02:32 (UTC) (edited on 2026-07-28 02:35 (UTC) by facucosta)

Since the upgrade to 7.1.5-2 I am getting this error when trying to upgrade with yay from 7.1.4-2 doing a cleanBuild:

AUR Explicit (2): linux-cachyos-bore-headers-7.1.5-2, linux-cachyos-bore-7.1.5-2
Sync Dependency (4): python-cssselect-1.5.0-1, aquamarine-0.14.0-1, hyprland-guiutils-0.2.2-2, hyprtoolkit-0.5.4-4
Sync Explicit (2): hyprland-0.56.1-2, hyprshutdown-0.1.1-5
:: PKGBUILD up to date, skipping download: linux-cachyos-bore
:: PKGBUILD up to date, skipping download: linux-cachyos-bore
  1 linux-cachyos-bore                       (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/facucosta/.cache/yay/linux-cachyos-bore
HEAD is now at 2207aae Sync with CachyOS
Removing 0001-bore-cachy.patch
Removing cachyos-7.1.5-1.tar.gz
Removing cachyos-7.1.5-1.tar.gz.asc
Removing src/
  1 linux-cachyos-bore                       (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>

==> Making package: linux-cachyos-bore 7.1.5-2 (Mon 27 Jul 2026 11:30:28 PM -03)
==> Retrieving sources...
  -> Downloading cachyos-7.1.5-1.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 249.9M 100 249.9M   0      0 13.85M      0   00:18   00:18         14.29M
  -> Downloading cachyos-7.1.5-1.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100    659 100    659   0      0    874      0                              0
  -> Found config
  -> Downloading 0001-bore-cachy.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  37025 100  37025   0      0 157.0k      0                              0
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    cachyos-7.1.5-1.tar.gz ... Passed
    cachyos-7.1.5-1.tar.gz.asc ... Skipped
    config ... Passed
    0001-bore-cachy.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/facucosta/.cache/yay/linux-cachyos-bore
         context: exit status 1


:: (1/1) Parsing SRCINFO: linux-cachyos-bore
pub   ed25519 2024-08-17 [SC]
      E18447AC260021D31F3FF6C4C8A2A4774B8B63C4
uid           [ unknown] Eric Naim <dnaim@cachyos.org>
sub   cv25519 2024-08-17 [E]

pub   rsa3072 2021-06-19 [SC] [expires: 2028-03-31]
      E8B9AA39F054E30E8290D492C3C4820857F654FE
uid           [ unknown] Peter Jung <admin@ptr1337.dev>
sub   rsa3072 2021-06-19 [E] [expires: 2026-09-24]

==> Making package: linux-cachyos-bore 7.1.5-2 (Mon 27 Jul 2026 11:30:48 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cachyos-7.1.5-1.tar.gz
  -> Found cachyos-7.1.5-1.tar.gz.asc
  -> Found config
  -> Found 0001-bore-cachy.patch
==> Validating source files with b2sums...
    cachyos-7.1.5-1.tar.gz ... Passed
    cachyos-7.1.5-1.tar.gz.asc ... Skipped
    config ... Passed
    0001-bore-cachy.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> Failed to install layer, rolling up to next layer.error:error making: linux-cachyos-bore - exit status 1

Is there anything I can do on my end to solve the issue?

FishRabbit commented on 2026-06-28 06:16 (UTC) (edited on 2026-06-28 06:18 (UTC) by FishRabbit)

build the package need "bison" and "flex"

dcarmal commented on 2026-05-28 18:21 (UTC)

To everyone having this issue, modifying the PKGBUILD file makes the integrity checks fail. Only solution so far is to navigate to the package folder, execute updpkgsums and build the package manually with makepkg -si

Aftershock9009 commented on 2026-04-17 02:28 (UTC)

Trying to compile with only _localmodcfg:=yes, _use_llvm_lto:=thin and _processor_opt:=native

makepkg        
==> Making package: linux-cachyos-bore-lto 7.0.0-1 (Thu 16 Apr 2026 09:17:26 PM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading cachyos-7.0.0-2.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 248.2M 100 248.2M   0      0 25.72M      0   00:09   00:09         46.42M
  -> Found config
  -> Downloading dkms-clang.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100   1857 100   1857   0      0  14281      0                              0
  -> Downloading 0001-bore-cachy.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  38516 100  38516   0      0 271.8k      0                              0
==> ERROR: Integrity checks (b2) differ in size from the source array.

Tried a vanilla run and dkms-clang.patch doesnt get downloaded.

facucosta commented on 2026-04-15 05:32 (UTC)

Thanks a lot :-)

ptr1337 commented on 2026-04-15 05:25 (UTC)

@facucosta

A patch for nvidia-open-dkms is needed, if you dont use the build_nvidia function. I can add it to the official repository after work.

facucosta commented on 2026-04-14 23:42 (UTC) (edited on 2026-04-14 23:42 (UTC) by facucosta)

I am getting an error when trying to install the nvidia-open-dkms module for linux-cachyos-bore 7.0.0-1. It installs correctly for other versions of the kernel (such as linux-lts) and it installed correctly for linux-cachyos-bore 6.9.12. The error in the log file /var/lib/dkms/nvidia/595.58.03/build/make.log is:

  CC [M]  nvidia.mod.o
  CC [M]  .module-common.o
  CC [M]  nvidia-uvm.mod.o
  CC [M]  nvidia-modeset.mod.o
  CC [M]  nvidia-drm.mod.o
  CC [M]  nvidia-peermem.mod.o
  LD [M]  nvidia-peermem.ko
  BTF [M] nvidia-peermem.ko
  LD [M]  nvidia-uvm.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[5]: *** [/usr/lib/modules/7.0.0-1-cachyos-bore/build/scripts/Makefile.modfinal:59: nvidia-peermem.ko] Error 1
make[5]: *** Deleting file 'nvidia-peermem.ko'
make[5]: *** Waiting for unfinished jobs....
  LD [M]  nvidia.ko
  BTF [M] nvidia.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[5]: *** [/usr/lib/modules/7.0.0-1-cachyos-bore/build/scripts/Makefile.modfinal:60: nvidia.ko] Error 1
make[5]: *** Deleting file 'nvidia.ko'
  BTF [M] nvidia-uvm.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[5]: *** [/usr/lib/modules/7.0.0-1-cachyos-bore/build/scripts/Makefile.modfinal:60: nvidia-uvm.ko] Error 1
make[5]: *** Deleting file 'nvidia-uvm.ko'
make[4]: *** [/usr/lib/modules/7.0.0-1-cachyos-bore/build/Makefile:2042: modules] Error 2
make[3]: *** [/usr/lib/modules/7.0.0-1-cachyos-bore/build/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/var/lib/dkms/nvidia/595.58.03/build/kernel-open'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/lib/modules/7.0.0-1-cachyos-bore/build'
make[1]: *** [Makefile:138: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia/595.58.03/build/kernel-open'
make: *** [Makefile:59: modules] Error 2

# exit code: 2
# elapsed time: 00:00:56

Is there anything I can do on my side to fix this? Or do I have to wait for updates of linux-cachyos-bore or nvidia-open-dkms?