Summary: | sys-apps/portage: egencache --update-use-local-desc catches lang="fr" use flag descs for sys-boot/refind | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Raymond Jennings <shentino> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | infra-bugs, radhermit, saintdev |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 604854 |
Description
Raymond Jennings
2016-11-06 13:50:15 UTC
The French descriptions are also on master rsync, so CC-ing infra-bugs@ to copy the patch once it's in Portage. Hmm, it also affects pkgcore and therefore gentoo-mirror. egencache uses parse_metadata_use() from portage.xml.metadata, and from looking at it (in sys-apps/portage-2.3.1), it seems that if the same use flag appears in different <use> tags (even with different "lang" attribute), only the last one in the metadata.xml will appear in the dict returned by parse_metadata_use(). I tested that for sys-boot/refind reordering the English and French <use> flags in metadata.xml fixes the descriptions in use.local.desc. Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/fb54fe1e82de885368c62abce674502a https://github.com/gentoo/portage/pull/67 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=db0dddfda68fbeed2dc6c48d9f8168fc2b42b8da Fixed in portage-2.3.3. |