Szowisz / CachyOS-kernels

Overlay containing ebuilds of CachyOS kernels and some other things
GNU General Public License v3.0
21 stars 4 forks source link

Gentoo: 6.6.57.2 patch fails #17

Open alecStewart1 opened 2 weeks ago

alecStewart1 commented 2 weeks ago

This is for: https://github.com/gentoo-mirror/CachyOS-kernels

The 0001-cachyos-base-all.patch seems to fail.

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels
 * linux-6.6.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                      [ ok ]
 * genpatches-6.6-63.base.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                         [ ok ]
 * genpatches-6.6-63.extras.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                       [ ok ]
 * genpatches-6.6-63.experimental.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                 [ ok ]
 * >>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-6.6.tar.xz to /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work
>>> Unpacking genpatches-6.6-63.base.tar.xz to /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/patches
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
>>> Unpacking genpatches-6.6-63.extras.tar.xz to /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/patches
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
>>> Unpacking genpatches-6.6-63.experimental.tar.xz to /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/patches
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                                                                                                                                                                                       [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                                                                                                                                                                                                   [ ok ]
 * Excluding Patch #5011_enable-cpu-optimizations-for-gcc8.patch ...                                                                                                                                                                                                                 [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                                                                                                                                                                                                [ ok ]
 * Excluding Patch #5013_enable-cpu-optimizations-for-gcc10.patch ...                                                                                                                                                                                                                [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                                                                                                                                                                                       [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                                                                                                                                                                                                   [ ok ]
 * Excluding Patch #5011_enable-cpu-optimizations-for-gcc8.patch ...                                                                                                                                                                                                                 [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                                                                                                                                                                                                [ ok ]
 * Excluding Patch #5013_enable-cpu-optimizations-for-gcc10.patch ...                                                                                                                                                                                                                [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc.patch ...                                                                                                                                                                                                       [ ok ]
 * Excluding Patch #5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch ...                                                                                                                                                                                                   [ ok ]
 * Excluding Patch #5011_enable-cpu-optimizations-for-gcc8.patch ...                                                                                                                                                                                                                 [ ok ]
 * Excluding Patch #5012_enable-cpu-optimizations-for-gcc91.patch ...                                                                                                                                                                                                                [ ok ]
 * Excluding Patch #5013_enable-cpu-optimizations-for-gcc10.patch ...                                                                                                                                                                                                                [ ok ]
 * Applying 1000_linux-6.6.1.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1001_linux-6.6.2.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1002_linux-6.6.3.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1003_linux-6.6.4.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1004_linux-6.6.5.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1005_linux-6.6.6.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1006_linux-6.6.7.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1007_linux-6.6.8.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1008_linux-6.6.9.patch (-p1) ...                                                                                                                                                                                                                                         [ ok ]
 * Applying 1009_linux-6.6.10.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1010_linux-6.6.11.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1011_linux-6.6.12.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1012_linux-6.6.13.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1013_linux-6.6.14.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1014_linux-6.6.15.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1015_linux-6.6.16.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1016_linux-6.6.17.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1017_linux-6.6.18.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1018_linux-6.6.19.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1019_linux-6.6.20.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1020_linux-6.6.21.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1021_linux-6.6.22.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1022_linux-6.6.23.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1023_linux-6.6.24.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1024_linux-6.6.25.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1025_linux-6.6.26.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1026_linux-6.6.27.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1027_linux-6.6.28.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1028_linux-6.6.29.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1029_linux-6.6.30.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1030_linux-6.6.31.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1031_linux-6.6.32.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1032_linux-6.6.33.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1033_linux-6.6.34.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1034_linux-6.6.35.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1035_linux-6.6.36.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1036_linux-6.6.37.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1037_linux-6.6.38.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1038_linux-6.6.39.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1039_linux-6.6.40.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1040_linux-6.6.41.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1041_linux-6.6.42.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1042_linux-6.6.43.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1043_linux-6.6.44.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1044_linux-6.6.45.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1045_linux-6.6.46.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1046_linux-6.6.47.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1047_linux-6.6.48.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1048_linux-6.6.49.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1049_linux-6.6.50.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1050_linux-6.6.51.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1051_linux-6.6.52.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1052_linux-6.6.53.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1053_linux-6.6.54.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1054_linux-6.6.55.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1055_linux-6.6.56.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1056_linux-6.6.57.patch (-p1) ...                                                                                                                                                                                                                                        [ ok ]
 * Applying 1510_fs-enable-link-security-restrictions-by-default.patch (-p1) ...                                                                                                                                                                                                     [ ok ]
 * Applying 1700_sparc-address-warray-bound-warnings.patch (-p1) ...                                                                                                                                                                                                                 [ ok ]
 * Applying 1730_parisc-Disable-prctl.patch (-p1) ...                                                                                                                                                                                                                                [ ok ]
 * Applying 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch (-p1) ...                                                                                                                                                                                            [ ok ]
 * Applying 2010_netfilter-nf-tables-bail-if-stateful-expr-provides-no-clone.patch (-p1) ...                                                                                                                                                                                         [ ok ]
 * Applying 2011_netfilter-nf-tables-allow-clone-callbacks-to-sleep.patch (-p1) ...                                                                                                                                                                                                  [ ok ]
 * Applying 2700_ASoC_max98388_correct_includes.patch (-p1) ...                                                                                                                                                                                                                      [ ok ]
 * Applying 2800_amdgpu-Adj-kmalloc-array-calls-for-new-Walloc-size.patch (-p1) ...                                                                                                                                                                                                  [ ok ]
 * Applying 2910_bfp-mark-get-entry-ip-as--maybe-unused.patch (-p1) ...                                                                                                                                                                                                              [ ok ]
 * Applying 2920_sign-file-patch-for-libressl.patch (-p1) ...                                                                                                                                                                                                                        [ ok ]
 * Applying 2931_gcc14-drm-i915-Adapt-to-Walloc-size.patch (-p1) ...                                                                                                                                                                                                                 [ ok ]
 * Applying 2932_gcc14-objtool-Fix-calloc-call-for-new-Walloc-size.patch (-p1) ...                                                                                                                                                                                                   [ ok ]
 * Applying 2990_libbpf-v2-workaround-Wmaybe-uninitialized-false-pos.patch (-p1) ...                                                                                                                                                                                                 [ ok ]
 * Applying 2995_dtrace-6.6_p2.patch (-p1) ...                                                                                                                                                                                                                                       [ ok ]
 * Applying 3000_Support-printing-firmware-info.patch (-p1) ...                                                                                                                                                                                                                      [ ok ]
 * Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ...                                                                                                                                                                                                                               [ ok ]
 * Applying 5010_enable-cpu-optimizations-universal.patch (-p1) ...                                                                                                                                                                                                                  [ ok ]
>>> Source unpacked in /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work
>>> Preparing source in /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/linux-6.6.57-cachyos-6.6.57.2 ...
 * Applying 0001-cachyos-base-all.patch ...
patching file include/linux/tcp.h
patching file include/net/inet_connection_sock.h
patching file include/net/tcp.h
patching file include/uapi/linux/inet_diag.h
patching file include/uapi/linux/rtnetlink.h
patching file include/uapi/linux/tcp.h
patching file net/ipv4/Kconfig
patching file net/ipv4/tcp.c
patching file net/ipv4/tcp_bbr.c
patching file net/ipv4/tcp_cong.c
patching file net/ipv4/tcp_input.c
patching file net/ipv4/tcp_minisocks.c
patching file net/ipv4/tcp_output.c
patching file net/ipv4/tcp_rate.c
patching file net/ipv4/tcp_timer.c
patching file Documentation/admin-guide/kernel-parameters.txt
patching file Makefile
patching file arch/x86/Kconfig.cpu
Hunk #1 FAILED at 155.
Hunk #2 FAILED at 165.
Hunk #3 FAILED at 173.
Hunk #4 FAILED at 269.
Hunk #5 succeeded at 374 with fuzz 2 (offset 96 lines).
Hunk #6 succeeded at 817 with fuzz 2 (offset 346 lines).
Hunk #7 succeeded at 851 (offset 346 lines).
Hunk #8 FAILED at 539.
Hunk #9 FAILED at 557.
6 out of 9 hunks FAILED -- saving rejects to file arch/x86/Kconfig.cpu.rej
patching file arch/x86/Makefile
Hunk #2 FAILED at 152.
1 out of 2 hunks FAILED -- saving rejects to file arch/x86/Makefile.rej
patching file arch/x86/include/asm/pci.h
patching file arch/x86/include/asm/vermagic.h
Hunk #1 FAILED at 17.
Hunk #2 FAILED at 35.
2 out of 2 hunks FAILED -- saving rejects to file arch/x86/include/asm/vermagic.h.rej
patching file arch/x86/pci/common.c
patching file block/bfq-iosched.c
patching file block/elevator.c
patching file drivers/ata/ahci.c
patching file drivers/cpufreq/Kconfig.x86
patching file drivers/i2c/busses/Kconfig
patching file drivers/i2c/busses/Makefile
patching file drivers/i2c/busses/i2c-nct6775.c
patching file drivers/i2c/busses/i2c-piix4.c
patching file drivers/input/evdev.c
patching file drivers/md/dm-crypt.c
patching file drivers/pci/controller/Makefile
patching file drivers/pci/controller/intel-nvme-remap.c
patching file drivers/pci/quirks.c
patching file include/linux/pagemap.h
patching file include/linux/user_namespace.h
patching file include/linux/wait.h
patching file init/Kconfig
Hunk #1 succeeded at 138 (offset 6 lines).
Hunk #2 succeeded at 1245 (offset 6 lines).
Hunk #3 succeeded at 1403 (offset 6 lines).
patching file kernel/Kconfig.hz
patching file kernel/fork.c
patching file kernel/locking/rwsem.c
patching file kernel/sched/fair.c
patching file kernel/sched/wait.c
patching file kernel/sysctl.c
patching file kernel/user_namespace.c
patching file mm/Kconfig
patching file mm/compaction.c
patching file mm/huge_memory.c
patching file mm/page-writeback.c
patching file mm/page_alloc.c
patching file mm/swap.c
patching file mm/vmpressure.c
patching file mm/vmscan.c
patching file net/ipv4/inet_connection_sock.c
patching file arch/Kconfig
patching file include/linux/pageblock-flags.h
patching file arch/alpha/kernel/syscalls/syscall.tbl
patching file arch/arm/tools/syscall.tbl
patching file arch/arm64/include/asm/unistd.h
patching file arch/arm64/include/asm/unistd32.h
patching file arch/ia64/kernel/syscalls/syscall.tbl
patching file arch/m68k/kernel/syscalls/syscall.tbl
patching file arch/microblaze/kernel/syscalls/syscall.tbl
patching file arch/mips/kernel/syscalls/syscall_n32.tbl
patching file arch/mips/kernel/syscalls/syscall_n64.tbl
patching file arch/mips/kernel/syscalls/syscall_o32.tbl
patching file arch/parisc/kernel/syscalls/syscall.tbl
patching file arch/powerpc/kernel/syscalls/syscall.tbl
patching file arch/s390/kernel/syscalls/syscall.tbl
patching file arch/sh/kernel/syscalls/syscall.tbl
patching file arch/sparc/kernel/syscalls/syscall.tbl
patching file arch/x86/entry/syscalls/syscall_32.tbl
patching file arch/x86/entry/syscalls/syscall_64.tbl
patching file arch/xtensa/kernel/syscalls/syscall.tbl
patching file include/linux/syscalls.h
patching file include/uapi/asm-generic/unistd.h
patching file kernel/sys.c
Hunk #1 succeeded at 2760 (offset 6 lines).
patching file kernel/sys_ni.c
patching file include/linux/zstd.h
patching file include/linux/zstd_errors.h
patching file include/linux/zstd_lib.h
patching file lib/zstd/Makefile
patching file lib/zstd/common/allocations.h
patching file lib/zstd/common/bits.h
patching file lib/zstd/common/bitstream.h
patching file lib/zstd/common/compiler.h
patching file lib/zstd/common/cpu.h
patching file lib/zstd/common/debug.c
patching file lib/zstd/common/debug.h
patching file lib/zstd/common/entropy_common.c
patching file lib/zstd/common/error_private.c
patching file lib/zstd/common/error_private.h
patching file lib/zstd/common/fse.h
patching file lib/zstd/common/fse_decompress.c
patching file lib/zstd/common/huf.h
patching file lib/zstd/common/mem.h
patching file lib/zstd/common/portability_macros.h
patching file lib/zstd/common/zstd_common.c
patching file lib/zstd/common/zstd_deps.h
patching file lib/zstd/common/zstd_internal.h
patching file lib/zstd/compress/clevels.h
patching file lib/zstd/compress/fse_compress.c
patching file lib/zstd/compress/hist.c
patching file lib/zstd/compress/hist.h
patching file lib/zstd/compress/huf_compress.c
patching file lib/zstd/compress/zstd_compress.c
patching file lib/zstd/compress/zstd_compress_internal.h
patching file lib/zstd/compress/zstd_compress_literals.c
patching file lib/zstd/compress/zstd_compress_literals.h
patching file lib/zstd/compress/zstd_compress_sequences.c
patching file lib/zstd/compress/zstd_compress_sequences.h
patching file lib/zstd/compress/zstd_compress_superblock.c
patching file lib/zstd/compress/zstd_compress_superblock.h
patching file lib/zstd/compress/zstd_cwksp.h
patching file lib/zstd/compress/zstd_double_fast.c
patching file lib/zstd/compress/zstd_double_fast.h
patching file lib/zstd/compress/zstd_fast.c
patching file lib/zstd/compress/zstd_fast.h
patching file lib/zstd/compress/zstd_lazy.c
patching file lib/zstd/compress/zstd_lazy.h
patching file lib/zstd/compress/zstd_ldm.c
patching file lib/zstd/compress/zstd_ldm.h
patching file lib/zstd/compress/zstd_ldm_geartab.h
patching file lib/zstd/compress/zstd_opt.c
patching file lib/zstd/compress/zstd_opt.h
patching file lib/zstd/decompress/huf_decompress.c
patching file lib/zstd/decompress/zstd_ddict.c
patching file lib/zstd/decompress/zstd_ddict.h
patching file lib/zstd/decompress/zstd_decompress.c
patching file lib/zstd/decompress/zstd_decompress_block.c
patching file lib/zstd/decompress/zstd_decompress_block.h
patching file lib/zstd/decompress/zstd_decompress_internal.h
patching file lib/zstd/decompress_sources.h
patching file lib/zstd/zstd_common_module.c
patching file lib/zstd/zstd_compress_module.c
patching file lib/zstd/zstd_decompress_module.c                                                                                                                                                                                                                                      [ !! ]
 * ERROR: sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 1975:  Called eapply '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *             environment, line  762:  Called _eapply_patch '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *             environment, line  700:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels'`.
 * The complete build log is located at '/var/log/portage/sys-kernel:cachyos-sources-6.6.57.2:20241028-015423.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/linux-6.6.57-cachyos-6.6.57.2'
 * S: '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/linux-6.6.57-cachyos-6.6.57.2'

>>> Failed to emerge sys-kernel/cachyos-sources-6.6.57.2, Log file:

>>>  '/var/log/portage/sys-kernel:cachyos-sources-6.6.57.2:20241028-015423.log'

 * Messages for package sys-kernel/cachyos-sources-6.6.57.2:
 * Log file: /var/log/portage/sys-kernel:cachyos-sources-6.6.57.2:20241028-015423.log

 * ERROR: sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 1975:  Called eapply '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *             environment, line  762:  Called _eapply_patch '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *             environment, line  700:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/files/6.6.57.2/all/0001-cachyos-base-all.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/cachyos-sources-6.6.57.2::CachyOS-kernels'`.
 * The complete build log is located at '/var/log/portage/sys-kernel:cachyos-sources-6.6.57.2:20241028-015423.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/linux-6.6.57-cachyos-6.6.57.2'
 * S: '/var/tmp/portage/portage/sys-kernel/cachyos-sources-6.6.57.2/work/linux-6.6.57-cachyos-6.6.57.2'
xz-dev commented 6 days ago

6.6.60 was released, may be you want to try?

Due to fix tit may need a lot of time, because Cache Linux does not distinguish between minor version numbers when releasing patches, it is difficult for us to know which commit 6.6.57.2 corresponds to. Unless we re-speculate based on the time