[DRE-maint] Bug#933066: ruby-gnome2: autopkgtest regression with GLib 2.60.x: format_size now uses non-breaking space

Paul Gevers elbrus at debian.org
Wed Jul 31 07:34:38 BST 2019


Control: affects -1 src:atk1.0

Hi,

On 26-07-2019 12:39, Simon McVittie wrote:
> Source: ruby-gnome2
> Version: 3.3.2-1
> Severity: serious
> Justification: https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html
> Tags: upstream fixed-upstream patch
> Forwarded: https://github.com/ruby-gnome2/ruby-gnome2/commit/ac9762af255f276800e0863d1dd07ab9dd653d1b
> User: debian-ci at lists.debian.org
> Usertags: regression
> X-Debbugs-CC: debian-ci at lists.debian.org
> 
> ruby-gnome2's autopkgtest fails when run against GLib 2.60.x from unstable,
> with 7 failures all similar to this:
> 
> Failure: test_gb(TestGLibFileUtils::#format_size)
> /tmp/autopkgtest-lxc.6g_rx45a/downtmp/build.TEl/src/glib2/test/test-file-utils.rb:61:in `test_gb'
>      58:     end
>      59:
>      60:     def test_gb
>   => 61:       assert_equal("1.0 GB", GLib.format_size(1000 * 1000 * 1000))
>      62:     end
>      63:
>      64:     def test_over_guint32_value
> <"1.0 GB"> expected but was
> <"1.0 GB">
> 
> I think the difference here is that the expected result has a space but
> the actual result has a UTF-8 non-breaking space (U+00A0 NO-BREAK SPACE)
> as a result of https://gitlab.gnome.org/GNOME/glib/issues/1625 having
> been fixed. This is a bit more obvious in the Python bindings:
> 
> $ python3
>>>> from gi.repository import GLib
>>>> GLib.format_size(1000*1000*1000)
> '1.0\xa0GB'
> 
> This appears to have been fixed upstream in
> https://github.com/ruby-gnome2/ruby-gnome2/commit/ac9762af255f276800e0863d1dd07ab9dd653d1b
> (but note that I haven't tested that patch myself). Please consider
> applying it.
> 
> Thanks,
>     smcv
> 

This affects the new version of atk1.0 as well, hence making the
maintainers aware of this bug.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20190731/da121fa2/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list