Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684484 - app-text/calibre-3.41.3 - UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 542: invalid start byte
Summary: app-text/calibre-3.41.3 - UnicodeDecodeError: 'utf8' codec can't decode byte ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius
URL: https://github.com/kovidgoyal/build-c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 11:41 UTC by Christophe PEREZ
Modified: 2019-05-05 19:33 UTC (History)
2 users (show)

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


Attachments
emerge --info =app-text/calibre-3.40.1 (emerge_info.log,6.40 KB, text/x-log)
2019-04-27 11:41 UTC, Christophe PEREZ
no flags Details
app-text:calibre-3.40.1:20190427-114007.log (app-text:calibre-3.40.1:20190427-114007.log,26.76 KB, text/plain)
2019-04-28 15:13 UTC, Christophe PEREZ
no flags Details
log 3.41.3 (app-text:calibre-3.41.3:20190429-205439.log,26.76 KB, text/x-log)
2019-04-29 21:22 UTC, Christophe PEREZ
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2019-04-27 11:41:16 UTC
Created attachment 574408 [details]
emerge --info =app-text/calibre-3.40.1

Hi,

I wanted to install a newer version of calibre (than the stable one), and I have an error when I try to compile it (even with app-text/calibre-3.41.3) :

####### Building extension podofo #######
Compiling podofo
Traceback (most recent call last):
  File "setup.py", line 121, in <module>
    sys.exit(main())
  File "setup.py", line 106, in main
    command.run_all(opts)
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/__init__.py", line 242, in run_all
    self.run_cmd(self, opts)
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/__init__.py", line 234, in run_cmd
    self.run_cmd(scmd, opts)
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/__init__.py", line 238, in run_cmd
    cmd.run(opts)
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/build.py", line 278, in run
    self.build(ext, dest)
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/build.py", line 322, in build
    if not parallel_build(jobs, self.info):
  File "/var/tmp/portage/app-text/calibre-3.40.1/work/calibre-3.40.1/setup/parallel_build.py", line 74, in parallel_build
    for ok, stdout, stderr in p.imap(run_worker, jobs):
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 673, in next
    raise value
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 542: invalid start byte


# locale
LANG=fr_FR.iso885915@euro
LC_CTYPE="fr_FR@euro"
LC_NUMERIC="fr_FR@euro"
LC_TIME="fr_FR@euro"
LC_COLLATE="fr_FR@euro"
LC_MONETARY="fr_FR@euro"
LC_MESSAGES="fr_FR@euro"
LC_PAPER="fr_FR@euro"
LC_NAME="fr_FR@euro"
LC_ADDRESS="fr_FR@euro"
LC_TELEPHONE="fr_FR@euro"
LC_MEASUREMENT="fr_FR@euro"
LC_IDENTIFICATION="fr_FR@euro"
LC_ALL=fr_FR@euro

# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7
Comment 1 Jonas Stein gentoo-dev 2019-04-27 17:10:27 UTC
Thank you for the report. 

app-text/calibre-3.41.3 works for me.

Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Christophe PEREZ 2019-04-28 15:13:10 UTC
Created attachment 574534 [details]
app-text:calibre-3.40.1:20190427-114007.log
Comment 3 Christophe PEREZ 2019-04-28 15:14:18 UTC
(In reply to Jonas Stein from comment #1)
> *attach* the logfiles and 
> paste the emerge info as described on

log joined
emerge info already given
Comment 4 Larry the Git Cow gentoo-dev 2019-04-28 19:22:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fbb92d2a98b5c975447932a945acf7e6ad03ca

commit 69fbb92d2a98b5c975447932a945acf7e6ad03ca
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-04-28 19:16:24 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-04-28 19:17:45 +0000

    app-text/calibre: sanitize locale for bug 684484
    
    Closes: https://bugs.gentoo.org/684484
    Package-Manager: Portage-2.3.65, Repoman-2.3.12
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/calibre/calibre-3.41.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 5 Zac Medico gentoo-dev 2019-04-28 19:23:47 UTC
The calibre-3.41.3 ebuild should work, but please re-open if it doesn't. Thanks!
Comment 6 Christophe PEREZ 2019-04-29 21:22:12 UTC
Created attachment 574762 [details]
log 3.41.3

same error
Comment 7 Christophe PEREZ 2019-04-29 21:23:16 UTC
I have the same error with 3.41.3