* Mamoru TASAKA:
Richard Hughes wrote on 2019/02/02 17:11:
> Hi all,
>
> One of my package builds (fwupd) in F30 is failing in the unit tests,
> with this failure comparing the expected output of a to_string()
> function:
>
> - Size: 1.0 kB
> + Size: 1.0?kB
>
> I assume it's due to the removal of glibc-langpacks-all from the
> buildroot. I'ts not immediately obvious from reading
>
https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_bu...
> and
https://fedoraproject.org/w/index.php?title=Changes/Remove_glibc-langpack...
> what I'm supposed to do. I guess adding back glibc-langpacks-all is
> the obvious thing, but I probably only really need en_US.UTF-8 -- I
> think. I was surprised C.UTF-8 didn't work. Advice welcome, thanks.
>
> Richard
It may be wrong, however as fwupd-1.2.4 uses g_format_size(), I guess that
this failure is due to recent g_format_size() output change (in glib2-2.59.X):
https://gitlab.gnome.org/GNOME/glib/commit/76af5dabb4a25956a6c41a75c0c7fe...
https://gitlab.gnome.org/GNOME/glib/commit/3aa8b4eba72d0faa57e6bc8727f4f3...
i.e. g_format_size() now returns string like "1.0<nbsp>kB", not
"1.0<space>kB".
Do you know what performs the incorrect transliteration here? In
C.UTF-8, <nbsp> can certainly be used, and even in ASCII, <space> is
probably the better transliteration.
Thanks,
Florian