Summary: | sys-apps/portage-2.1.11.50 - emerge --sync: File "/usr/lib/portage/pym/_emerge/actions.py", line 2394, in action_sync mycommand, returnpid=True, **spawn_kwargs)) TypeError: spawn() keywords must be strings | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sebastiaan Hoogeveen <s.hoogeveen> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | 2.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 456888 |
Description
Sebastiaan Hoogeveen
2013-02-08 22:25:00 UTC
I erronously included --debug while it was not actually run. With the flag really specified it does:
# emerge --debug --sync
myaction sync
myopts {'--debug': True}
>>> Starting rsync with rsync://[2001:470:ea4a:1:225:90ff:fe02:16e5]/gentoo-portage...
>>> Checking server timestamp ...
[u'/usr/bin/rsync', u'--recursive', u'--links', u'--safe-links', u'--perms', u'--times', u'--compress', u'--force', u'--whole-file', u'--delete', u'--stats', u'--human-readable', u'--timeout=180', u'--exclude=/distfiles', u'--exclude=/local', u'--exclude=/packages', u'--verbose', u'--checksum']
Traceback (most recent call last):
File "/usr/bin/emerge", line 51, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1044, in emerge_main
gc_locals=locals().clear)
File "/usr/lib/portage/pym/_emerge/actions.py", line 3806, in run_action
return action_sync(settings, trees, mtimedb, myopts, myaction)
File "/usr/lib/portage/pym/_emerge/actions.py", line 2394, in action_sync
mycommand, returnpid=True, **spawn_kwargs))
TypeError: spawn() keywords must be strings
As a workaround, you can enable python3 like this: mkdir -p /etc/portage echo "sys-apps/portage python3" >> /etc/portage/package.use emerge -1 portage Or, just update to >=python-2.6.5: emerge -1 python:2.7 I've updated the current ebuilds to require >=python-2.6.5, and added compatibility code for the next release: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=02d4bc55e96e01f4e7c5aeea3e52cdd28d69c120 This is fixed in 2.1.11.51 and 2.2.0_alpha162. |