Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#56077 - [appstream-glib] gtkdoc-fixxref fails on non-UTF8 environment
Attached to Project:
Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Sunday, 22 October 2017, 07:53 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 22 October 2017, 15:59 GMT
Opened by Andreas Baumann (andreas_baumann) - Sunday, 22 October 2017, 07:53 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 22 October 2017, 15:59 GMT
|
DetailsDescription:
Error in gtkdoc helper script: 'gtkdoc-fixxref' failed with status 1 Traceback (most recent call last): File "/usr/bin/gtkdoc-fixxref", line 57, in <module> fixxref.Run(options) File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 85, in Run ScanIndices(dir, (re.search(prefix_match, dir) is None)) File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 153, in ScanIndices ScanIndices(subdir, use_absolute_links) File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 138, in ScanIndices ReadDevhelp(full_entry, use_absolute_links) File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 178, in ReadDevhelp for line in open(file): File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3204: ordinal not in range(128) Failed to run install script '/usr/bin/python /usr/bin/meson --internal gtkdoc --sourcedir=/data/INSTALL/appstream-glib/src/appstream-glib --builddir=/data/INSTALL/appstream-glib/src/build --subdir=docs/api --hea FAILED: meson-install /usr/bin/python /usr/bin/meson --internal install /data/INSTALL/appstream-glib/src/build/meson-private/install.dat ninja: build stopped: subcommand failed. Additional info: * package version(s): 0.7.2-1 * config and/or log files etc. Suggested solution: In PKGBUILD: package() { cd build LANG=en_US.UTF-8 DESTDIR="$pkgdir" ninja install } Steps to reproduce: makepkg -si |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Sunday, 22 October 2017, 15:59 GMT
IMO, a "non-UTF8 environment" is not sane at this point in time. Doesn't matter, though, since your complaint is about a PKGBUILD and that's taken care of in a clean chroot.