Whenever I finish the last diff in an interactive merge during etc-update it prints %r sdiff: subsidiary program `/usr/bin/nano' failed 1) Replace /etc/make.conf with merged file This doesn't seem to actually effect anything, and I can run /usr/bin/nano just fine.
I am having the same error: 1. I re-installed nano, still the same outcome 2. changed EDITOR=/bin/nano, outcome is the same. 3. re-install lintool, same outcome All this after a rsync and emerge -u world.
Created attachment 7084 [details, diff] patch to sdiff.c, removes waitpid() call after pclose() on piped diff stream sdiff calls waitpid() after pclose() on the piped diff process stream. As I read the pclose() documentation, pclose() waits for the child, so an explicit waitpid() call after pclose() is probably returning -1 and setting errno to ECHILD (just a guess).
Worked, I suggest to gentoo team to add the patch to the diffutils :-) This made my day. Liviu ( D`Artagnan )
azarah: please add this patch into diffutils
Added to 2.8.4-r2, thanks.
works fine no more error thx azarah