Installing gts with USE=doc fails with make: Entering directory '/var/tmp/portage/sci-libs/gts-20121130/work/gts-snapshot-121130/doc' gtkdoc-scan --module=gts --source-dir=../src --ignore-headers="predicates.h gts-private.h rounding.h" Traceback (most recent call last): File "/usr/bin/gtkdoc-scan", line 59, in <module> scan.Run(options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 200, in Run ScanHeaders(dir, section_list, decl_list, get_types, seen_headers, options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 351, in ScanHeaders seen_headers, options) File "/usr/share/gtk-doc/python/gtkdoc/scan.py", line 404, in ScanHeader input_lines = hdr.readlines() File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 87: invalid continuation byte make: *** [Makefile:653: scan] Error 1 make: Leaving directory '/var/tmp/portage/sci-libs/gts-20121130/work/gts-snapshot-121130/doc' * ERROR: sci-libs/gts-20121130::gentoo failed (compile phase): * emake failed Omitting the doc USE flag lets the build succeed. Reproducible: Always build log and emerge --info output as attachments
Created attachment 643974 [details] gts-20121130:20200606-111633.log build log
Created attachment 643976 [details] emerge-info-gts-20121130.txt output of emerge --info gts
Created attachment 679068 [details] build.log (20121130, ppc64) Same on ppc64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a353314189b571a1a8fc9a9dcf11002571c5427 commit 8a353314189b571a1a8fc9a9dcf11002571c5427 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2021-03-13 18:21:09 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-03-13 18:21:09 +0000 sci-libs/gts: port to EAPI 7, fix docs * Updated autotools patch: - p0 -> p1 and metadata removal - removed bits that were meant to support out-of-source (unused) * Removed USE=examples (small files, now installed by default) Closes: https://github.com/gentoo/gentoo/pull/19693 Closes: https://bugs.gentoo.org/727536 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/gts/files/gts-20111025-autotools.patch | 56 ----------------------- sci-libs/gts/files/gts-20121130-autotools.patch | 32 +++++++++++++ sci-libs/gts/gts-20121130.ebuild | 61 +++++++++++++++---------- 3 files changed, 69 insertions(+), 80 deletions(-)