Bug#870742: libgnome FTBFS with glib 2.53.4

Adrian Bunk bunk at debian.org
Fri Aug 4 17:33:13 UTC 2017


Source: libgnome
Version: 2.32.1-5
Severity: serious
Tags: patch buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgnome.html

...
Making all in libgnome
make[3]: Entering directory '/build/1st/libgnome-2.32.1/libgnome'
(cd . \
&& glib-mkenums \
		--fhead "#ifndef __LIBGNOMETYPEBUILTINS_H__\n" \
		--fhead "#define __LIBGNOMETYPEBUILTINS_H__ 1\n\n" \
		--fhead "#include <libgnome/libgnome.h>\n\n" \
		--fhead "G_BEGIN_DECLS\n\n" \
		--ftail "G_END_DECLS\n\n" \
		--ftail "#endif /* __LIBGNOMETYPEBUILTINS_H__ */\n" \
		--fprod "\n/* --- @filename@ --- */" \
		--eprod "#define GNOME_TYPE_ at ENUMSHORT@ @enum_name at _get_type()\n" \
		--eprod "GType @enum_name at _get_type (void);\n" \
	gnome-config.h gnome-sound.h gnome-triggers.h gnome-program.h gnome-help.h gnome-i18n.h gnome-exec.h gnome-gconf.h gnome-url.h gnome-util.h gnome-macros.h gnome-score.h gnome-init.h libgnome.h ) > xgen-gth \
&& (cmp -s xgen-gth libgnometypebuiltins.h || cp xgen-gth libgnometypebuiltins.h) \
&& rm -f xgen-gth \
&& echo timestamp > stamp-libgnometypebuiltins.h
Traceback (most recent call last):
  File "/usr/bin/glib-mkenums", line 675, in <module>
    process_file(fname)
  File "/usr/bin/glib-mkenums", line 407, in process_file
    line = curfile.readline()
  File "/usr/lib/python3.5/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 3214: invalid start byte
Makefile:936: recipe for target 'stamp-libgnometypebuiltins.h' failed
make[3]: *** [stamp-libgnometypebuiltins.h] Error 1


A fix is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05_glib-2.54-ftbfs.patch
Type: text/x-diff
Size: 674 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170804/cd38324d/attachment.patch>


More information about the pkg-gnome-maintainers mailing list