pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: math/gnumeric112 fails to build



That sounds like fairly typical python3 breakage. Maybe one or more of
the documentation files contains non-ASCII characters, and it is
trying to decode them as ASCII.

Does it work if you override PYTHON_VERSION_DEFAULT to 27 for the
duration of the build?

On Sun, Mar 24, 2019 at 2:45 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> pkgsrc head, netbsd-8, amd64
>
> (I am rebuilding all as usual)
>
> Does this work for anyone else?   Any ideas on how to fix, other than
> disabling the cs translation, which seems not a good plan?
>
>
> Making all in doc
> gmake[2]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112/work/gnumeric-1.12.44/doc'
> gmake[3]: Entering directory '/home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112/work/gnumeric-1.12.44/doc'
> gmake[3]: Nothing to be done for 'all-am'.
> gmake[3]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112/work/gnumeric-1.12.44/doc'
>   GEN    cs/
> Traceback (most recent call last):
>   File "/usr/pkg/bin/itstool", line 1598, in <module>
>     doc.merge_translations(translations, opts.lang, strict=opts.strict)
>   File "/usr/pkg/bin/itstool", line 962, in merge_translations
>     self.merge_translations(translations, language, node=child, strict=strict)
>   File "/usr/pkg/bin/itstool", line 962, in merge_translations
>     self.merge_translations(translations, language, node=child, strict=strict)
>   File "/usr/pkg/bin/itstool", line 962, in merge_translations
>     self.merge_translations(translations, language, node=child, strict=strict)
>   File "/usr/pkg/bin/itstool", line 962, in merge_translations
>     self.merge_translations(translations, language, node=child, strict=strict)
>   File "/usr/pkg/bin/itstool", line 964, in merge_translations
>     newnode = self.get_translated(node, translations, strict=strict, lang=language)
>   File "/usr/pkg/bin/itstool", line 1065, in get_translated
>     msgstr.encode('utf-8')))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in range(128)
> gmake[2]: *** [Makefile:1411: cs/cs.stamp] Error 1
> gmake[2]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112/work/gnumeric-1.12.44/doc'
> gmake[1]: *** [Makefile:668: all-recursive] Error 1
> gmake[1]: Leaving directory '/home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112/work/gnumeric-1.12.44'
> gmake: *** [Makefile:525: all] Error 2
> *** Error code 2
>
> Stop.
> make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/math/gnumeric112
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/math/gnumeric112



-- 
Benny


Home | Main Index | Thread Index | Old Index