Bug 11728 - etc-update error during interactive merge
Bug#: 11728 Product:  Portage Development Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: azarah@gentoo.org Reported By: ian@ianbrandt.com
Component: Unclassified (old)
URL: 
Summary: etc-update error during interactive merge
Keywords:  
Status Whiteboard: 
Opened: 2002-12-07 11:29 0000
Description:   Opened: 2002-12-07 11:29 0000
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.

------- Comment #1 From joseph 2002-12-10 23:58:12 0000 -------
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. 

------- Comment #2 From D Wollmann 2003-01-08 03:27:29 0000 -------
Created an attachment (id=7084) [details]
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).

------- Comment #3 From Voicu Liviu 2003-01-10 04:43:02 0000 -------
Worked, I suggest to gentoo team to add the patch to the diffutils :-)
This made my day.
Liviu ( D`Artagnan )

------- Comment #4 From Martin Holzer (RETIRED) 2003-01-18 07:50:59 0000 -------
azarah: please add this patch into diffutils

------- Comment #5 From Martin Schlemmer (RETIRED) 2003-01-19 18:47:11 0000 -------
Added to 2.8.4-r2, thanks.

------- Comment #6 From Martin Holzer (RETIRED) 2003-01-20 15:26:53 0000 -------
works fine

no more error

thx azarah