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_@ENUMSHORT@ 
@enum_name@_get_type()\n" \
                --eprod "GType @enum_name@_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.
Description: Fix FTBFS with glib 2.54
 glib-mkenums now expects input files to be UTF-8,
 fix the encoding of libgnome/gnome-config.h
Author: Adrian Bunk <b...@debian.org>

--- libgnome-2.32.1.orig/libgnome/gnome-config.h
+++ libgnome-2.32.1/libgnome/gnome-config.h
@@ -270,7 +270,7 @@ void gnome_config_clean_key_ (const char
 #define gnome_config_private_clean_key(path) \
 	(gnome_config_clean_key_((path),TRUE))
 
-/* returns the true filename of the config fileĀ */
+/* returns the true filename of the config file */
 #define gnome_config_get_real_path(path) \
 	(g_build_filename (gnome_user_dir_get(),(path),NULL))
 #define gnome_config_private_get_real_path(path) \

Reply via email to