pym/_emerge/JobStatusDisplay.py: from __future__ import unicode_literals ... class JobStatusDisplay(object): ... _termcap_name_map = { 'carriage_return' : 'cr', 'clr_eol' : 'el', 'newline' : 'nel', } ... for k, capname in self._termcap_name_map.items(): code = tigetstr(capname) pypy doesn't like this and spits out: initializer for ctype 'char *' must be a str or list or tuple, not unicode with a backtrace. This fixes the issue: for k, capname in self._termcap_name_map.items(): - code = tigetstr(capname) + code = tigetstr(str(capname))
Thanks, this is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d7ad6e26a4e2e2f7e8e8823b67c021ef9d8b724f
This is fixed in 2.1.12.1 and 2.2.0_alpha176.