On Thu, Aug 15, 2019 at 02:04:37PM +0530, Utkarsh Gupta wrote: > Hey, > > On 15/08/19 8:20 am, Daniel Leidert wrote: > > Am Mittwoch, den 14.08.2019, 21:45 +0200 schrieb Daniel Leidert: > >> Am Mittwoch, den 14.08.2019, 22:21 +0500 schrieb Pirate Praveen: > >>> It fails with error, > >>> > >>> Encoding::InvalidByteSequenceError: "\xE2" on US-ASCII > >>> > >>> full log https://salsa.debian.org/ruby-team/ruby-premailer/-/jobs/276596 > >>> > >>> Though it built fine in sbuild. I think salsa ci should use sbuild or same > >>> settings as sbuild. > >> Can you try and install locales-all too? This helped me with a similar > >> issue. > > I now have a similar issue with ruby-jekyll-feed enabling the tests. The > > tests > > succeed, if LC_ALL/LANG are set to C.UTF-8, but they fail with the default, > > which is 'C'. You can try to add this to salsa-ci.yml: > > > > variables: > > LC_ALL: C.UTF-8 > > LANG: C.UTF-8 > > > > It is possible, that you still need to install locales-all or need some > > encoding. > > I've seen this happening for a couple of packages more. > Does this mean, we need to do the same for all the packages? > Because, sbuild passes without any complains but CI doesn't :/
FWIW I raised this issue on #salsaci yesterday, and there is sympathy for using sbuild for doing the builds. So I don't think we should "just" set UTF-8 on all of out packages, and instead fix the root cause of the issue in the salsa-ci pipeline. maybe switching to sbuild, or maybe just setting the locale to UTF-8 there as well (probably easier). they probably take patches. :-)
signature.asc
Description: PGP signature