All versions of ebuilds of sys-apps/flashrom in portage are doing some comparisions of USE flags and flashrom CONFIG_ flags. Problem is, that sort command behaves differently with different locale so it does not pass the sync check between IUSE and flashrom.c Error message from the ebuild: * The ebuild needs to be kept in sync. * IUSE set to: atahpt atapromise atavia buspirate_spi ch341a_spi dediprog drkaiser dummy ft2232_spi gfxnvidia internal it8212 linux_spi mstarddc_spi nic3com nicintel nicintel_eeprom nicintel_spi nicnatsemi nicrealtek ogp_spi pickit2_spi pony_spi rayer_spi satamv satasii serprog usbblaster_spi * flashrom.c : atahpt atapromise atavia buspirate_spi dediprog drkaiser dummy ft2232_spi gfxnvidia ch341a_spi internal it8212 linux_spi mstarddc_spi nicintel nicintel_eeprom nicintel_spi nicnatsemi nicrealtek nic3com ogp_spi pickit2_spi pony_spi rayer_spi satamv satasii serprog usbblaster_spi * ERROR: sys-apps/flashrom-0.9.9::gentoo failed (compile phase): * sync IUSE to the list of source programmers You can see, that in cs_CZ locale, ch341a_spi is after letter "h", because the czech alphabet is "a b c d e f g h ch i j ....", but in C locale, ch341a_spi is afrer "b". Please, force C locale before sort command or sort also $eprogs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c0777bf9cab5614994e0e2663985ca90a46e74 commit 68c0777bf9cab5614994e0e2663985ca90a46e74 Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2020-01-15 19:28:54 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2020-01-15 19:51:04 +0000 sys-apps/flashrom: Force C locale for sorting, bug #624474 Closes: https://bugs.gentoo.org/624474 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Sven Wegener <swegener@gentoo.org> sys-apps/flashrom/flashrom-0.9.8.ebuild | 4 ++-- sys-apps/flashrom/flashrom-1.0.ebuild | 4 ++-- sys-apps/flashrom/flashrom-1.1.ebuild | 4 ++-- sys-apps/flashrom/flashrom-9999.ebuild | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-)