sys-kernel/genkernel-3.4.52.4-r2 ERROR: Error: No kernel .config specified, or file not found! if --config= option is set then the message is: /usr/bin/genkernel: line 37: /etc/genkernel.conf9: No such file or directory Reproducible: Always Steps to Reproduce: 1. genkernel --config=/etc/genkernel.conf --menuconfig --loglevel=5 --no-splash --lvm --mdadm --disklabel --luks --gpg --keymap --mdadm-config=/etc/mdadm.conf --no-dmraid --no-zfs --no-iscsi --no-integrated-initramfs --install initramfs --no-clean --no-mrproper all Every command with more than 9 parameters fail. Actual Results: genkernel crashes with more than 9 commandline parameters because a bug in the commandline parser bad line 37: eval arg="\$$i" fixed line 37: eval arg="\${$i}"
I can only reproduce when --config is the first or second option. If it is further down, it runs.
I cannot reproduce with current git master. Please re-open if you are still able to reproduce.