Created attachment 585344 [details] Empty kernel configuration file (the bug :)) Setup: - NUC i5 BNK - Linux XXXXXX 5.2.3-gentoo #6 SMP Mon Jul 29 11:55:47 CEST 2019 x86_64 Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz GenuineIntel GNU/Linux - [18] default/linux/amd64/17.1/hardened (stable) * - [4] x86_64-pc-linux-gnu-8.3.0 * - /dev/nvme0n1p4 48G 32G 17G 66% / - /dev/nvme0n1p2 127M 72M 55M 57% /boot - genkernel --version: 69 Description: When trying to customise kernel configuration by using the following command: genkernel --menuconfig --integrated-initramfs --no-clean --no-mrproper --initramfs-overlay=/usr/src/initramfs_overlay --udev --plymouth --plymouth-theme=spinfinity all Configuration done through menuconfig is saved to .config BUT kernel configuration is not saved as expected (see attachment config_SAVED). The configuration file is empty, instead of complete kernel configuration set (config.old). NOTE: If I load a proper configuration, without changing it, then the configuration is properly saved. As soon as one or several option are changed, menuconfig is saving empty configuration. NOTE: This is genkernel independant. As just running menuconfig is having the same problem. NOTE: This is 100% reproducible on my configuration.
Created attachment 585346 [details] Proper kernel configuration file - for comparison
Can you share emerge --info output? (This will give us some idea what kind of toolchain & system libs & architecture you're working on)
Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.1/hardened, gcc-8.3.0, glibc-2.29-r2, 5.2.3-gentoo x86_64) ================================================================= System uname: Linux-5.2.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-7260U_CPU_@_2.20GHz-with-gentoo-2.6 KiB Mem: 16310104 total, 580560 free KiB Swap: 17039356 total, 17030884 free Timestamp of repository gentoo: Tue, 30 Jul 2019 11:00:01 +0000 Head commit of repository gentoo: ccb189c085aceb3390308af1974e4f92e5f0f9b5 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.31.1 p7) 2.31.1 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/cmake: 3.14.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo, 2.32-r1::gentoo sys-devel/gcc: 7.3.0-r3::gentoo, 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: local_r1 location: /usr/local/portage/local_r1 masters: gentoo priority: 5 gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 10 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 20 pentoo location: /usr/local/portage/layman/pentoo masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-fomit-frame-pointer -march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-fomit-frame-pointer -march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 bluetooth bzip2 crypt cxx dbus glamor gnome gtk hardened iconv introspection ipv6 libnotify libtirpc multilib ncurses networkmanager nls nptl openmp pam pcre pie plymouth policykit pulseaudio python readline samba seccomp split-usr ssl ssp systemd udev udisks unicode upower xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm aarch64" QEMU_USER_TARGETS="arm aarch64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
equery has repository local_r1 * Searching for repository local_r1 ... [I-O] [ ] x11-apps/xkbcomp-1.4.2.1_p1:0 equery has repository pentoo * Searching for repository pentoo ... [I-O] [ ] app-pda/libusbmuxd-1.1.0_pre20190328:0/2 [I-O] [ ] app-pda/usbmuxd-1.1.1_pre20180131:0 [I-O] [ ] dev-python/pycryptodomex-3.8.2:0 [I-O] [ ] gnome-base/libgnomeui-2.24.5-r4:0
Please clarify: Do you only experience the problem when calling menuconfig through genkernel-next or does this also happen when you do cd <path-to-you-kernel-sources> make menuconfig <make some changes> <Select SAVE from menu> ?