Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] portage broken because of Unicode bugs
Date: Wed, 08 Sep 2010 22:01:31
Message-Id: i6911k$4oc$1@dough.gmane.org
After my last update, portage stopped working.  Google led me to
believe it was this bug:

  http://bugs.gentoo.org/show_bug.cgi?id=317775

Which was said to be fixed in portage 2.1.9.

So I upgraded from 2.1.8.X to 2.1.9.1, and now portage is even more
broken.  Now I can't even use it to downgrade to the older version of
portage (which would at least work if you ran it using --quiet).

This is a fine kettle of fish....

alpha grante # emerge --quiet portage
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1678, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 286, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 5947, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 5966, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1426, in select_files
    self._load_vdb()
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 320, in _load_vdb
    fake_vartree.sync()
  File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 119, in sync
    self._sync()
  File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 171, in _sync
    pkg = self._pkg(cpv)
  File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg
    type_name="installed")
  File "/usr/lib/portage/pym/_emerge/Package.py", line 63, in __init__
    self._validate_deps()
  File "/usr/lib/portage/pym/_emerge/Package.py", line 92, in _validate_deps
    self._metadata_exception(k, e)
  File "/usr/lib/portage/pym/_emerge/Package.py", line 241, in _metadata_exception
    "%s: %s in '%s'" % (k, e, path))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 23: ordinal not in range(128)

  
-- 
Grant Edwards               grant.b.edwards        Yow! I'm in direct contact
                                  at               with many advanced fun
                              gmail.com            CONCEPTS.

Replies

Subject Author
[gentoo-user] Re: portage broken because of Unicode bugs Grant Edwards <grant.b.edwards@×××××.com>