Bug#870411: libgnome FTBFS: UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 3214: ordinal not in range(128)

Helmut Grohne helmut at subdivi.de
Tue Aug 1 18:16:48 UTC 2017


Source: libgnome
Version: 2.32.1-5
Severity: serious
User: helmutg at debian.org
Usertags: rebootstrap

libgnome fails to build from source in unstable amd64:

| Making all in libgnome
| make[3]: Entering directory '/<<PKGBUILDDIR>>/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 669, in <module>
|     process_file(fname)
|   File "/usr/bin/glib-mkenums", line 406, in process_file
|     line = curfile.readline()
|   File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
|     return codecs.ascii_decode(input, self.errors)[0]
| UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 3214: ordinal not in range(128)
| Makefile:936: recipe for target 'stamp-libgnometypebuiltins.h' failed
| make[3]: *** [stamp-libgnometypebuiltins.h] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/libgnome'
| Makefile:459: recipe for target 'all-recursive' failed
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| Makefile:389: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| /usr/share/cdbs/1/class/makefile.mk:77: recipe for target 'debian/stamp-makefile-build' failed
| make: *** [debian/stamp-makefile-build] Error 2
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Helmut




More information about the pkg-gnome-maintainers mailing list