Currently sys-apps/bolt-0.9-r1 checks the kernel config for CONFIG_THUNDERBOLT. As of Linux-5.6, this has been renamed to CONFIG_USB4 (see https://github.com/torvalds/linux/commit/690ac0d20d4022bb3c7d84e0e3760eb40aa8028d#diff-8b4f05ac295ebbe9b019b2dfb9b5362d) Reproducible: Always Steps to Reproduce: emerge -v bolt Actual Results: >>> Running pre-merge checks for sys-apps/bolt-0.9-r1 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.8.7-gentoo * Checking for suitable kernel configuration options... * This package requires the thunderbolt kernel driver. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Checking for suitable kernel configuration options... Expected Results: >>> Running pre-merge checks for sys-apps/bolt-0.9-r2 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.8.7-gentoo * Checking for suitable kernel configuration options... [ ok ] * Checking for suitable kernel configuration options...
Created attachment 658810 [details] bolt-0.9-r2.ebuild
Created attachment 658812 [details, diff] bolt-0.9-r2.patch
The attached ebuild has been tested with sys-kernel/gentoo-sources-5.4.60 and sys-kernel/gentoo-sources-5.8.7. According to https://github.com/torvalds/linux/commit/690ac0d20d4022bb3c7d84e0e3760eb40aa8028d#diff-8b4f05ac295ebbe9b019b2dfb9b5362d the kernel config change exists as of Linux v5.6-rc1, hence the new test for <linux-5.6.
The attached ebuild has since been tested with sys-kernel/gentoo-sources-5.8.9, sys-kernel/gentoo-sources-5.8.10, sys-kernel/gentoo-sources-5.8.11, sys-kernel/gentoo-sources-5.8.12, sys-kernel/gentoo-sources-5.8.13, and very recently sys-kernel/gentoo-sources-5.9.0 as well. Thus far all seems well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8 commit 3e5f5de3f8caaf44243b5b4c5c6dcad5f62c76c8 Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-10-16 02:03:52 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-10-16 02:04:27 +0000 sys-apps/bolt: 0.9-r2 - work with newer kernels Closes: https://bugs.gentoo.org/740724 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> sys-apps/bolt/bolt-0.9-r2.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+)
Must not forget to stabilise this before we get a new stable kernel series (5.10 is LTS).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43686703c9ffa0f342e62293b2be7524cf634dbd commit 43686703c9ffa0f342e62293b2be7524cf634dbd Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2021-01-19 17:39:47 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2021-01-19 17:39:59 +0000 sys-apps/bolt: 0.9-r2 stable Closes: https://bugs.gentoo.org/740724 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> sys-apps/bolt/bolt-0.9-r1.ebuild | 52 ---------------------------------------- sys-apps/bolt/bolt-0.9-r2.ebuild | 4 ++-- 2 files changed, 2 insertions(+), 54 deletions(-)