Bug#873830: geocode-glib FTBFS: Please switch to a UTF-8 locale for your platform.

Adrian Bunk bunk at debian.org
Thu Aug 31 14:33:04 UTC 2017


Source: geocode-glib
Version: 3.25.4.1-1
Severity: serious

https://buildd.debian.org/status/package.php?p=geocode-glib&suite=sid

...
You might see errors if you use UTF-8 strings as filenames, as strings, or as file contents.
Please switch to a UTF-8 locale for your platform.
Building documentation for geocode-glib
Traceback (most recent call last):
  File "/usr/share/meson/meson", line 37, in <module>
    sys.exit(main())
  File "/usr/share/meson/meson", line 34, in main
    return mesonmain.run(sys.argv[1:], launcher)
  File "/usr/share/meson/mesonbuild/mesonmain.py", line 297, in run
    sys.exit(run_script_command(args[1:]))
  File "/usr/share/meson/mesonbuild/mesonmain.py", line 264, in run_script_command
    return cmdfunc(cmdargs)
  File "/usr/share/meson/mesonbuild/scripts/gtkdochelper.py", line 218, in run
    options.mode)
  File "/usr/share/meson/mesonbuild/scripts/gtkdochelper.py", line 166, in build_gtkdoc
    gtkdoc_run_check(fixref_cmd, abs_out)
  File "/usr/share/meson/mesonbuild/scripts/gtkdochelper.py", line 51, in gtkdoc_run_check
    p, out = Popen_safe(cmd, cwd=cwd, stderr=subprocess.STDOUT)[0:2]
  File "/usr/share/meson/mesonbuild/mesonlib.py", line 522, in Popen_safe
    o, e = p.communicate(write)
  File "/usr/lib/python3.5/subprocess.py", line 790, in communicate
    stdout = self.stdout.read()
  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 0xe2 in position 1094: ordinal not in range(128)
Warning: You are using 'ANSI_X3.4-1968' which is not a a Unicode-compatible locale.
You might see errors if you use UTF-8 strings as filenames, as strings, or as file contents.
Please switch to a UTF-8 locale for your platform.

Failed to run install script '/usr/bin/python3 /usr/share/meson/meson --internal gtkdoc --sourcedir=/<<PKGBUILDDIR>> --builddir=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --subdir=docs --headerdirs=/<<PKGBUILDDIR>>/geocode-glib@@/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/geocode-glib --mainfile=geocode-glib-docs.xml --modulename=geocode-glib --mode=auto --scanargs=--rebuild-types@@--ignore-decorators=GEOCODE_EXTERN@@--ignore-headers=config.h geocode-glib-private.h geocode-enum-types.h geocode-nominatim-test.h --gobjects-types-file=geocode-glib.types --fixxrefargs=--html-dir=/usr/share/gtk-doc/html@@--extra-dir=/usr/share/gtk-doc/html/glib@@--extra-dir=/usr/share/gtk-doc/html/gobject@@--extra-dir=/usr/share/gtk-doc/html/gio --cflags=-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/geocode-glib/.. -I/<<PKGBUILDDIR>>/geocode-glib/.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 --ldflags=-L/<<PKG
 BUILDDIR>>/obj-x86_64-linux-gnu/geocode-glib -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/geocode-glib -lgeocode-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljson-glib-1.0 -lsoup-2.4 -lm --cc=cc --ld=cc'
FAILED: meson-install 
/usr/bin/python3 /usr/share/meson/meson --internal install /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/install.dat
ninja: build stopped: subcommand failed.
dh_auto_install: ninja install returned exit code 1
debian/rules:6: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1



More information about the pkg-gnome-maintainers mailing list