All 2.1.3 versions I have tried fail when run within kuroo with : Traceback (most recent call last): File "/usr/bin/emerge", line 5575, in ? retval = emerge_main() File "/usr/bin/emerge", line 5570, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 4999, in action_build retval = mergetask.merge( File "/usr/bin/emerge", line 2987, in merge if not portage.digestcheck([], quiet_config, strict=True): File "/usr/lib/portage/pym/portage.py", line 2919, in digestcheck eout = output.EOutput() File "/usr/lib/portage/pym/output.py", line 302, in __init__ lines, columns = get_term_size() File "/usr/lib/portage/pym/output.py", line 261, in get_term_size curses.setupterm() _curses.error: setupterm: could not find terminfo database Presumably, it shouldn't be seeking a terminal device. This does not happen <=2.1.2.9 Reproducible: Always
Created attachment 122551 [details, diff] handle curses.error if it's thrown inside get_term_size() This should solve it. If the patch is saved as /tmp/curses.patch then it can be applied as follows: patch /usr/lib/portage/pym/output.py < /tmp/curses.patch
(In reply to comment #0) > All 2.1.3 versions I have tried fail when run within kuroo > with : > > Traceback (most recent call last): > File "/usr/bin/emerge", line 5575, in ? > retval = emerge_main() > File "/usr/bin/emerge", line 5570, in emerge_main > myopts, myaction, myfiles, spinner) > File "/usr/bin/emerge", line 4999, in action_build > retval = mergetask.merge( > File "/usr/bin/emerge", line 2987, in merge > if not portage.digestcheck([], quiet_config, strict=True): > File "/usr/lib/portage/pym/portage.py", line 2919, in digestcheck > eout = output.EOutput() > File "/usr/lib/portage/pym/output.py", line 302, in __init__ > lines, columns = get_term_size() > File "/usr/lib/portage/pym/output.py", line 261, in get_term_size > curses.setupterm() > _curses.error: setupterm: could not find terminfo database > > Presumably, it shouldn't be seeking a terminal device. > This does not happen <=2.1.2.9 > > > Reproducible: Always > (In reply to comment #1) > Created an attachment (id=122551) [edit] > handle curses.error if it's thrown inside get_term_size() > > This should solve it. If the patch is saved as /tmp/curses.patch then it can > be applied as follows: > > patch /usr/lib/portage/pym/output.py < /tmp/curses.patch > Works for me now - Thanks Zac
This has been released in 2.1.3_rc5.