While building sys-kernel/spl-0.7.9, it errored during the configure phase with: checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... no configure: error: *** This kernel has unused symbols trimming enabled, please disable. *** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-kernel/spl-0.7.9/work/spl-0.7.9/config.log * ERROR: sys-kernel/spl-0.7.9::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 3792: Called autotools-utils_src_configure * environment, line 751: Called econf '--docdir=/usr/share/doc/spl-0.7.9' '--bindir=/bin' '--sbindir=/sbin' '--with-config=all' '--with-linux=/usr/src/linux' '--with-linux-obj=/usr/src/linux' '--disable-debug' * phase-helpers.sh, line 718: Called __helpers_die 'econf failed' * isolated-functions.sh, line 121: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sys-kernel/spl-0.7.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/spl-0.7.9::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-kernel/spl-0.7.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/spl-0.7.9/temp/environment'. * Working directory: '/var/tmp/portage/sys-kernel/spl-0.7.9/work/spl-0.7.9' * S: '/var/tmp/portage/sys-kernel/spl-0.7.9/work/spl-0.7.9' My .config contained: CONFIG_TRIM_UNUSED_KSYMS=y To fix would be to add it to the ebuild's CONFIG_CHECK, to catch this early. Thanks!
this was fixed in spl-0.7.12, thanks for report. I'll add it to older ebuilds as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0192ededb3276895eac4406292a59c07308bb407 commit 0192ededb3276895eac4406292a59c07308bb407 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2019-02-18 03:22:36 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-02-18 03:22:36 +0000 sys-kernel/spl: require !TRIM_UNUSED_KSYMS in kernel .config Closes: https://bugs.gentoo.org/669670 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-kernel/spl/spl-0.6.5.11.ebuild | 3 ++- sys-kernel/spl/spl-0.7.11.ebuild | 3 ++- sys-kernel/spl/spl-0.7.8.ebuild | 3 ++- sys-kernel/spl/spl-0.7.9-r1.ebuild | 3 ++- sys-kernel/spl/spl-0.7.9.ebuild | 3 ++- sys-kernel/spl/spl-0.7.9999.ebuild | 3 ++- sys-kernel/spl/spl-9999.ebuild | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-)