Bug#992901: src:geary: fails to migrate to testing for too long due to ftbfs on armel

Simon McVittie smcv at debian.org
Wed Dec 29 15:26:10 GMT 2021


On Wed, 29 Dec 2021 at 00:07:47 +0100, luca.perico at gmail.com forwarded:
> A couple of the unit tests do some checking
> of collation order, and hence require the tests to be run with a
> specific locale. For annoying technical reasons, that has to be
> en_US.UTF-8, which means support files for that locale need to be
> installed as a build dependency for the tests to succeed.

There are two ways to guarantee an en_US.UTF-8 locale:

- Build-depend on locales-all

- Build-depend on locales|locales-all and generate locale files,
  like src:glib2.0 does

I would personally suggest copying the debian/tests/run-with-locales script
from src:glib2.0 and running that. See glib2.0's debian/rules for an example
of how to use that script.

    smcv



More information about the pkg-gnome-maintainers mailing list