On 1/17/20 3:04 PM, Bas Couwenberg wrote: > In preparation of the netcdf transition as test rebuild of your package was > done which FTBFS: > > makeinfo -I. gri.texi > utf8 "\xF3" does not map to Unicode at > /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 19280. > Malformed UTF-8 character: \xf3\x70\x65\x7a (unexpected non-continuation > byte 0x70, immediately after start byte 0xf3; need 4 bytes, got 1) in pattern > match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364. > Malformed UTF-8 character (fatal) at > /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364. > make[1]: *** [Makefile:975: html] Error 25
The attached patch fixes the issue. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
diff -Nru gri-2.12.26/debian/patches/documentencoding,patch gri-2.12.26/debian/patches/documentencoding,patch --- gri-2.12.26/debian/patches/documentencoding,patch 1970-01-01 01:00:00.000000000 +0100 +++ gri-2.12.26/debian/patches/documentencoding,patch 2020-01-17 14:56:07.000000000 +0100 @@ -0,0 +1,13 @@ +Description: Set encoding to ISO-8859-1. + Fixes 'Malformed UTF-8 character' error. +Author: Bas Couwenberg <sebas...@debian.org> +Bug-Debian: https://bugs.debian.org/941557 + +--- a/doc/gri.texi ++++ b/doc/gri.texi +@@ -1,4 +1,5 @@ + \input texinfo ++@documentencoding ISO-8859-1 + + @c + @comment *** Start of HTML stuff *** diff -Nru gri-2.12.26/debian/patches/series gri-2.12.26/debian/patches/series --- gri-2.12.26/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ gri-2.12.26/debian/patches/series 2020-01-17 14:56:07.000000000 +0100 @@ -0,0 +1 @@ +documentencoding,patch