cause is that 10_linux uses echo option -n which adds "-n" to the list of kernels.
*** This bug has been marked as a duplicate of bug 532200 ***
my sys-boot/grub-2.02_beta2-r7[-*,fonts,multislot,sdl,themes,truetype] does not appear to contain that patch.
Provide a build log or it didn't happen. Also, your report contained no information about what version you were testing with. Please learn how to file a proper bug report. See 0011-Avoid-use-of-non-portable-echo-n-in-grub-mkconfig.patch below. floppym@naomi grub % ebuild grub-2.02_beta2-r7.ebuild clean prepare * grub-2.02~beta2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * grub-2.02_beta2-gentoo-r2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * unifont-7.0.06.pcf.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * dejavu-sans-ttf-2.34.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking grub-2.02~beta2.tar.xz to /tmp/portage/sys-boot/grub-2.02_beta2-r7/work >>> Unpacking grub-2.02_beta2-gentoo-r2.tar.xz to /tmp/portage/sys-boot/grub-2.02_beta2-r7/work >>> Unpacking unifont-7.0.06.pcf.gz to /tmp/portage/sys-boot/grub-2.02_beta2-r7/work >>> Unpacking dejavu-sans-ttf-2.34.zip to /tmp/portage/sys-boot/grub-2.02_beta2-r7/work >>> Source unpacked in /tmp/portage/sys-boot/grub-2.02_beta2-r7/work >>> Preparing source in /tmp/portage/sys-boot/grub-2.02_beta2-r7/work/grub-2.02~beta2 ... * Applying various patches (bugfixes/updates) ... * 0001-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch ... [ ok ] * 0002-grub-install-support-for-partitioned-partx-loop-devi.patch ... [ ok ] * 0003-Fix-grub-probe-0-option.patch ... [ ok ] * 0004-Fix-partmap-cryptodisk-and-abstraction-handling-in-g.patch ... [ ok ] * 0005-Fix-typo-gettext_print-instead-of-gettext_printf.patch ... [ ok ] * 0006-change-stop-condition-to-avoid-infinite-loops.patch ... [ ok ] * 0007-Improve-LVM-logical_volumes-string-matching.patch ... [ ok ] * 0008-Fix-an-infinite-loop-in-grub-mkconfig.patch ... [ ok ] * 0009-Fix-incorrect-address-reference-in-btrfs.patch ... [ ok ] * 0010-10_linux-Default-gfxpayload-keep-only-when-booting-u.patch ... [ ok ] * 0011-Avoid-use-of-non-portable-echo-n-in-grub-mkconfig.patch ... [ ok ] * 0012-xfs-Add-helper-for-inode-size.patch ... [ ok ] * 0013-xfs-Fix-termination-loop-for-directory-iteration.patch ... [ ok ] * 0014-xfs-Convert-inode-numbers-to-cpu-endianity-immediate.patch ... [ ok ] * 0015-xfs-V5-filesystem-format-support.patch ... [ ok ] * 0016-Remove-direct-_llseek-code-and-require-long-filesyst.patch ... [ ok ] * Done with patching
dispatch-conf fixed the issue. sorry.