Source: libgnomeui
Version: 2.24.5-3.1
Severity: serious
Tags: buster sid

libgnomeui FTBFS with glib 2.53.4:

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

...
Making all in libgnomeui
make[3]: Entering directory '/build/1st/libgnomeui-2.24.5/libgnomeui'
(cd . \
&& glib-mkenums \
                --fhead "#ifndef __GNOMETYPEBUILTINS_H__\n" \
                --fhead "#define __GNOMETYPEBUILTINS_H__ 1\n\n" \
                --fhead "#include <glib-object.h>\n\n" \
                --fhead "G_BEGIN_DECLS\n\n" \
                --ftail "G_END_DECLS\n\n" \
                --ftail "#endif /* __GNOMETYPEBUILTINS_H__ */\n" \
                --fprod "\n/* --- @filename@ --- */" \
                --eprod "#define GNOME_TYPE_@ENUMSHORT@ 
@enum_name@_get_type()\n" \
                --eprod "GType @enum_name@_get_type (void);\n" \
        gnome-about.h gnome-app.h gnome-app-helper.h gnome-app-util.h 
gnome-appbar.h gnome-authentication-manager.h gnome-client.h 
gnome-color-picker.h gnome-dateedit.h gnome-dialog.h gnome-dialog-util.h 
gnome-druid.h gnome-druid-page.h gnome-druid-page-edge.h 
gnome-druid-page-standard.h gnome-entry.h gnome-file-entry.h 
gnome-font-picker.h gnome-help.h gnome-href.h gnome-ice.h gnome-icon-entry.h 
gnome-icon-item.h gnome-icon-list.h gnome-icon-lookup.h gnome-icon-sel.h 
gnome-icon-theme.h gnome-messagebox.h gnome-mdi.h gnome-mdi-child.h 
gnome-mdi-generic-child.h gnome-mdi-session.h gnome-password-dialog.h 
gnome-pixmap.h gnome-pixmap-entry.h gnome-popup-menu.h gnome-propertybox.h 
gnome-scores.h gnome-ui-init.h gnome-stock-icons.h gnome-thumbnail.h 
gnome-types.h gnome-uidefs.h gnome-url.h gnome-vfs-util.h gnome-window.h 
gnome-window-icon.h libgnomeui.h ) > xgen-gth \
&& (cmp -s xgen-gth gnometypebuiltins.h || cp xgen-gth gnometypebuiltins.h) \
&& rm -f xgen-gth \
&& echo timestamp > stamp-gnometypebuiltins.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 0xf1 in position 1009: 
invalid continuation byte
Makefile:1189: recipe for target 'stamp-gnometypebuiltins.h' failed
make[3]: *** [stamp-gnometypebuiltins.h] Error 1


Fix is attached.
Description: Fix FTBFS with glib 2.54
 glib-mkenums now expects input files to be UTF-8,
 fix the encoding of libgnomeui/gnome-scores.h
Author: Adrian Bunk <b...@debian.org>

--- libgnomeui-2.24.5.orig/libgnomeui/gnome-scores.h
+++ libgnomeui-2.24.5/libgnomeui/gnome-scores.h
@@ -27,7 +27,7 @@
  * "High Scores" Widget 
  *
  * AUTHOR: 
- * Horacio J. Peña <hor...@compendium.com.ar>
+ * Horacio J. Peña <hor...@compendium.com.ar>
  *
  * This is free software (under the terms of the GNU LGPL)
  *

Reply via email to