'emerge -uvDN world' complains about: ... >>> Emerging (1 of 4) app-emulation/docker-18.09.6::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * docker-18.09.6.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.1.0-gentoo * Checking for suitable kernel configuration options... * CONFIG_NF_NAT_IPV4: is not set when it should be. * CONFIG_IOSCHED_CFQ: is optional for container statistics gathering * CONFIG_CFQ_GROUP_IOSCHED: is not set when it should be. * CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3 * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. I can not find the option CONFIG_NF_NAT_IPV4 in the kernel config for linux-5.1.0-gentoo: root@lynx:/usr/src(12)# grep CONFIG_NF_NAT_ linux-5.1.0-gentoo/.config CONFIG_NF_NAT_NEEDED=y CONFIG_NF_NAT_AMANDA=m CONFIG_NF_NAT_FTP=m CONFIG_NF_NAT_IRC=m CONFIG_NF_NAT_SIP=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_REDIRECT=y CONFIG_NF_NAT_MASQUERADE=y CONFIG_NF_NAT_PPTP=m CONFIG_NF_NAT_H323=m root@lynx:/usr/src(13)#
https://github.com/torvalds/linux/commit/db8ab38880e06dedbfc879e75f5b0ddc495f4eb6#diff-151e6bfb6861e28609d10dc0c3577b8a they were unified with ipv6 in 5.1
*** Bug 685154 has been marked as a duplicate of this bug. ***
*** Bug 690508 has been marked as a duplicate of this bug. ***
Fixed in tree.