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
|
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 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).
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