Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11728 - etc-update error during interactive merge
Summary: etc-update error during interactive merge
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 11:29 UTC by Ian Brandt
Modified: 2011-10-30 22:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to sdiff.c, removes waitpid() call after pclose() on piped diff stream (sdiff.c.diff,485 bytes, patch)
2003-01-08 03:27 UTC, D Wollmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Brandt 2002-12-07 11:29:33 UTC
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 joseph 2002-12-10 23:58:12 UTC
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 D Wollmann 2003-01-08 03:27:29 UTC
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).
Comment 3 Voicu Liviu 2003-01-10 04:43:02 UTC
Worked, I suggest to gentoo team to add the patch to the diffutils :-)
This made my day.
Liviu ( D`Artagnan )
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-01-18 07:50:59 UTC
azarah: please add this patch into diffutils
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-19 18:47:11 UTC
Added to 2.8.4-r2, thanks.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-01-20 15:26:53 UTC
works fine

no more error

thx azarah