Skip to content

Commit dc83359

Browse files
committed
Install sys-libs/binutils-libs to fix compilation of =sys-kernel/vanilla-sources-6.19.3
1 parent 6bb308a commit dc83359

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

image_bootstrap/distros/gentoo.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,11 @@ def install_kernel(self):
461461
self._set_package_keywords('sys-kernel/vanilla-sources', f'~{_HOST_ARCH}')
462462
self._set_package_use_flags('sys-kernel/vanilla-sources', 'symlink')
463463
self._install_package_atoms(['sys-kernel/vanilla-sources', 'sys-kernel/installkernel'])
464+
465+
# This works around issues with Linux 6.19.3:
466+
# fatal error: bfd.h: No such file or directory
467+
self._install_package_atoms(['sys-libs/binutils-libs'])
468+
464469
self._executor.check_call([
465470
COMMAND_CHROOT, self._abs_mountpoint,
466471
'make', '-C', '/usr/src/linux', 'defconfig',

0 commit comments

Comments
 (0)