Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280269 - =sys-apps/portage-2.2_rc35 fails with unicode within world_sets
Summary: =sys-apps/portage-2.2_rc35 fails with unicode within world_sets
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2009-08-04 07:49 UTC by Michał Górny
Modified: 2009-08-05 01:19 UTC (History)
0 users

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


Attachments
fix unicode handling for sets (sets_unicode.patch,1.56 KB, patch)
2009-08-04 19:44 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-04 07:49:45 UTC
After upgrade to 2.2_rc35, if world_sets file contains '@mg_depends_μADHD', emerge fails to emerge @world with following error message:

  emerge: the given set 'world' contains a non-existent set named ''.

Commenting out the set makes emerge work once again. I would like to notice that when that name is provided on command line, emerge finds and expands it correctly.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-04 09:49:35 UTC
Does the patch from bug #280259 fix this problem?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-04 10:49:44 UTC
(In reply to comment #1)
> Does the patch from bug #280259 fix this problem?

No, it doesn't.
Comment 3 Zac Medico gentoo-dev 2009-08-04 19:44:18 UTC
Created attachment 200191 [details, diff]
fix unicode handling for sets

If this patch is saved as /tmp/sets_unicode.patch, then it can be applied as follows:

  cd /usr/lib/portage
  patch -p0 < /tmp/sets_unicode.patch
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-08-04 21:28:39 UTC
Patch fixues the issue, thanks.
Comment 5 Zac Medico gentoo-dev 2009-08-05 01:19:29 UTC
This is fixed in 2.2_rc36.