Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727536 - =sci-libs/gts-20121130 USE=doc UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 87: invalid continuation byte
Summary: =sci-libs/gts-20121130 USE=doc UnicodeDecodeError: 'utf-8' codec can't decode...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-06-08 14:37 UTC by Bernd
Modified: 2021-03-13 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gts-20121130:20200606-111633.log (gts-20121130:20200606-111633.log,59.06 KB, text/plain)
2020-06-08 14:38 UTC, Bernd
Details
emerge-info-gts-20121130.txt (emerge-info-gts-20121130.txt,14.84 KB, text/plain)
2020-06-08 14:39 UTC, Bernd
Details
build.log (20121130, ppc64) (gts-20121130:20201221-102511.log,65.16 KB, text/plain)
2020-12-21 10:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2020-06-08 14:37:02 UTC
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
Comment 1 Bernd 2020-06-08 14:38:03 UTC
Created attachment 643974 [details]
gts-20121130:20200606-111633.log

build log
Comment 2 Bernd 2020-06-08 14:39:01 UTC
Created attachment 643976 [details]
emerge-info-gts-20121130.txt

output of emerge --info gts
Comment 3 ernsteiswuerfel archtester 2020-12-21 10:28:28 UTC
Created attachment 679068 [details]
build.log (20121130, ppc64)

Same on ppc64.
Comment 4 Larry the Git Cow gentoo-dev 2021-03-13 18:21:22 UTC
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(-)