USE Flag 'hardened' not in IUSE for sys-kernel/cachyos-sources-6.18.1
Hello trying to emerge sys-kernel/cachyos-sources and its failing
```
root on gentoorig /root took 4m0s
[ 06:22:31 PM ] ❯ emerge -av sys-kernel/cachyos-sources
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 2.46 s (backtrack: 0/20).
[ebuild R ~] sys-kernel/cachyos-sources-6.18.1:6.18.1::CachyOS-kernels USE="autofdo bbr3 bore hugepage_always hz_ticks_1000 llvm-lto-thin-dist mnative o3 per-gov preempt_full propeller tickrate_full -bmq -build -debug -deckify -eevdf -hugepage_madvise -hz_ticks_100 -hz_ticks_250 -hz_ticks_300 -hz_ticks_500 -hz_ticks_600 -hz_ticks_750 -kcfi -kernel-builtin-zfs -llvm-lto-full -llvm-lto-thin -mgeneric -mgeneric_v1 -mgeneric_v2 -mgeneric_v3 -mgeneric_v4 -mzen4 -os -preempt_lazy -preempt_voluntary -rt -rt-bore -symlink -tickrate_idle -tickrate_perodic (-hardened%)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels
* linux-6.18.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* genpatches-6.18-2.base.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* genpatches-6.18-2.extras.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* >>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking 'linux-6.18.tar.xz' to /var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work
>>> Unpacking 'genpatches-6.18-2.base.tar.xz' to /var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/patches
>>> Unpacking 'genpatches-6.18-2.extras.tar.xz' to /var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/patches
* 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.18.1.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 1901_btrfs_fix_racy_bitfield_write_in_btrfs_clear_space_info_full.patch (-p1) ... [ ok ]
* Applying 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch (-p1) ... [ ok ]
* Applying 2901_permit-menuconfig-sorting.patch (-p1) ... [ ok ]
* Applying 2920_sign-file-patch-for-libressl.patch (-p1) ... [ ok ]
* Applying 2990_libbpf-v2-workaround-Wmaybe-uninitialized-false-pos.patch (-p1) ... [ ok ]
* Applying 2991_libbpf_add_WERROR_option.patch (-p1) ... [ ok ]
* Applying 3000_Support-printing-firmware-info.patch (-p1) ... [ ok ]
* Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ... [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work
>>> Preparing source in /var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/linux-6.18.1-cachyos ...
* Applying 0001-cachyos-base-all.patch ... [ ok ]
* Applying 0001-bore-cachy.patch ... [ ok ]
* ERROR: sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels failed (prepare phase):
* USE Flag 'hardened' not in IUSE for sys-kernel/cachyos-sources-6.18.1
*
* Call stack:
* ebuild.sh, line 143: Called src_prepare
* environment, line 1256: Called use 'hardened'
* phase-helpers.sh, line 268: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
*
* If you need support, post the output of `emerge --info '=sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/linux-6.18.1-cachyos'
* S: '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/linux-6.18.1-cachyos'
>>> Failed to emerge sys-kernel/cachyos-sources-6.18.1, Log file:
>>> '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/temp/build.log'
* Messages for package sys-kernel/cachyos-sources-6.18.1:
* ERROR: sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels failed (prepare phase):
* USE Flag 'hardened' not in IUSE for sys-kernel/cachyos-sources-6.18.1
* Call stack:
* ebuild.sh, line 143: Called src_prepare
* environment, line 1256: Called use 'hardened'
* phase-helpers.sh, line 268: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
* If you need support, post the output of `emerge --info '=sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/cachyos-sources-6.18.1::CachyOS-kernels'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/linux-6.18.1-cachyos'
* S: '/var/tmp/portage/sys-kernel/cachyos-sources-6.18.1/work/linux-6.18.1-cachyos'
```
Thanks!
关闭于 2025-12-16 2 条评论