Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549826 - >=sys-apps/portage-2.2.16 UnicodeDecodeError in rsync module
Summary: >=sys-apps/portage-2.2.16 UnicodeDecodeError in rsync module
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Keywords: PATCH
Depends on:
Blocks: 484436
  Show dependency tree
Reported: 2015-05-18 17:02 UTC by Brian Dolbec
Modified: 2015-05-18 23:25 UTC (History)
0 users

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

unicode_decode patch (0001-portage-syncmodulesrsync:FixUnicodeDecodeError:bug549826.patch,1.60 KB, patch)
2015-05-18 17:10 UTC, Brian Dolbec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec gentoo-dev 2015-05-18 17:02:17 UTC
# emerge --sync 
>>> Syncing repository 'gentoo' into '/usr/portage'... 
Traceback (most recent call last): 
  File "/usr/lib/python-exec/python2.7/emerge", line 50, in <module> 
    retval = emerge_main() 
  File "/usr/lib64/python2.7/site-packages/_emerge/", line 1154, in emerge_main 
    return run_action(emerge_config) 
  File "/usr/lib64/python2.7/site-packages/_emerge/", line 3061, in run_action 
    return action_sync(emerge_config) 
  File "/usr/lib64/python2.7/site-packages/_emerge/", line 1936, in action_sync 
    retvals = syncer.auto_sync(options={'return-messages': False}) 
  File "/usr/lib64/python2.7/site-packages/portage/emaint/modules/sync/", line 94, in auto_sync 
  File "/usr/lib64/python2.7/site-packages/portage/emaint/modules/sync/", line 219, in _sync 
    returncode, message = sync_manager.sync(self.emerge_config, repo) 
  File "/usr/lib64/python2.7/site-packages/portage/sync/", line 148, in sync 
    taskmaster.run_tasks(tasks, func, status, options=task_opts) 
  File "/usr/lib64/python2.7/site-packages/portage/sync/", line 65, in run_tasks 
    result = getattr(inst, func)(**kwargs) 
  File "/usr/lib64/python2.7/site-packages/portage/sync/", line 125, in sync 
    return self.update() 
  File "/usr/lib64/python2.7/site-packages/portage/sync/modules/rsync/", line 148, in update 
    "!!! getaddrinfo failed for '%s': %s\n" % (hostname, e), 
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128) 

Reproducible: Always
Comment 1 Brian Dolbec gentoo-dev 2015-05-18 17:10:28 UTC
Created attachment 403562 [details, diff]
unicode_decode patch
Comment 2 Brian Dolbec gentoo-dev 2015-05-18 23:25:42 UTC
Released in portage-2.2.20

git commit: 7833f43bbbe7d863d6564615101fd558a9be6f1f