After fail compile, after print messages from packages Reproducible: Sometimes Steps to Reproduce: 1. emerge -e world whith package that not compile 2. wait 3. try again? Actual Results: crashed Expected Results: working Traceback (most recent call last): File "/usr/bin/emerge", line 50, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 2071, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 456, in action_build retval = mergetask.merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1009, in merge rval = self._merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1359, in _merge self._main_loop() File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 160, in _main_loop self.sched_iface.iteration() File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 174, in iteration if not x.callback(f, event, *x.args): File "/usr/lib64/portage/pym/_emerge/SpawnProcess.py", line 215, in _output_handler self._unregister_if_appropriate(event) File "/usr/lib64/portage/pym/_emerge/AbstractPollTask.py", line 129, in _unregister_if_appropriate self.wait() File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 54, in wait self._wait() File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 90, in _wait self._waitpid_loop() File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 96, in _waitpid_loop self.pid, self._waitpid_cb) File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 227, in child_watch_add self._poll_child_processes() File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 270, in _poll_child_processes self.source_remove(x.source_id) TypeError: 'int' object is not callable
i'm using pypy 1.9
This looks like a bug in PyPy, because self.source_remove(x.source_id) should succeed there. It's a method, never an int.
Not seen any mention of this w/ recent pypy.