Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580250 - app-text/iso-codes-3.67: Update PLOCALES in the ebuild error
Summary: app-text/iso-codes-3.67: Update PLOCALES in the ebuild error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 17:16 UTC by Kővágó, Zoltán
Modified: 2016-05-29 10:29 UTC (History)
5 users (show)

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


Attachments
emerge --info (info,21.95 KB, text/plain)
2016-04-16 17:16 UTC, Kővágó, Zoltán
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kővágó, Zoltán 2016-04-16 17:16:44 UTC
Created attachment 430840 [details]
emerge --info

Emerging the package fails with the following message, due to my locale settings (hu_HU.UTF-8). It looks like locale "cy" and "cs" is in the wrong order. Running emerge with LC_COLLATE=C fixes the problem.

 * Package:    app-text/iso-codes-3.67
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux linguas_en linguas_hu linguas_ja userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking iso-codes-3.67.tar.xz to /var/tmp/portage/app-text/iso-codes-3.67/work
>>> Source unpacked in /var/tmp/portage/app-text/iso-codes-3.67/work
>>> Preparing source in /var/tmp/portage/app-text/iso-codes-3.67/work/iso-codes-3.67 ...
 * Looking for new locales ...
 [ !! ]
 * There are changes in locales! This ebuild should be updated to:
 * PLOCALES="af am ar as ast az be bg bn bn_IN br bs byn ca crh cy cs da de dz el en eo es et eu fa fi fo fr ga gez gl gu haw he hi hr hu hy ia id is it ja ka kk km kn ko kok ku lt lv mi mk ml mn mr ms mt nb ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl so sq sr sr@latin sv sw ta te th ti tig tk tl tr tt tt@iqtelif ug uk ve vi wa wal wo xh zh_CN zh_HK zh_TW zu"
 * ERROR: app-text/iso-codes-3.67::gentoo failed (prepare phase):
 *   Update PLOCALES in the ebuild
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_prepare
 *   environment, line 2045:  Called check_existing_locales
 *   environment, line  431:  Called die
 * The specific snippet of code:
 *           die "Update PLOCALES in the ebuild";
 * 
 * If you need support, post the output of `emerge --info '=app-text/iso-codes-3.67::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/iso-codes-3.67::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/iso-codes-3.67/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/iso-codes-3.67/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/iso-codes-3.67/work/iso-codes-3.67'
 * S: '/var/tmp/portage/app-text/iso-codes-3.67/work/iso-codes-3.67'
Comment 1 MarisN 2016-04-17 15:41:58 UTC
I observe the same issue with LC_COLLATE=lv_LV.utf8 and indeed it is fixed by running emerge with LC_COLLATE=C.
Comment 2 Aleksandr K. 2016-04-18 07:11:17 UTC
Same with LC_COLLATE="en_US.utf8", can't compile. 
With LC_COLLATE="C" - can compile.
Comment 3 whitehawk 2016-05-16 07:04:42 UTC
maybe a problem with uft8? I would compile it with hu_HU.utf8 and it also fails.
Comment 4 Pacho Ramos gentoo-dev 2016-05-29 10:29:43 UTC
[master c00963d] app-text/iso-codes: Version bump, ensure sort command always outputs the same (#580250)
 2 files changed, 80 insertions(+)
 create mode 100644 app-text/iso-codes/iso-codes-3.68.ebuild