Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701036 - app-text/calibre-4.4.0 QA: Python not byte-compiled, broken completions
Summary: app-text/calibre-4.4.0 QA: Python not byte-compiled, broken completions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 21:21 UTC by Jonas Stein
Modified: 2023-10-19 23:28 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2019-11-23 21:21:21 UTC
* Problems with installed bash completions were found:
 * 
 * 	calibre-debug: incorrect name, no completions for 'calibre-debug' command defined.
 * 	calibre-server: incorrect name, no completions for 'calibre-server' command defined.
 * 	calibre-smtp: incorrect name, no completions for 'calibre-smtp' command defined.
 * 	ebook-convert: incorrect name, no completions for 'ebook-convert' command defined.
 * 	ebook-device: incorrect name, no completions for 'ebook-device' command defined.
 * 	ebook-edit: incorrect name, no completions for 'ebook-edit' command defined.
 * 	ebook-meta: incorrect name, no completions for 'ebook-meta' command defined.
 * 	ebook-polish: incorrect name, no completions for 'ebook-polish' command defined.
 * 	ebook-viewer: incorrect name, no completions for 'ebook-viewer' command defined.
 * 	fetch-ebook-metadata: incorrect name, no completions for 'fetch-ebook-metadata' command defined.
 * 	lrf2lrs: incorrect name, no completions for 'lrf2lrs' command defined.
 * 	lrfviewer: incorrect name, no completions for 'lrfviewer' command defined.
 * 
 * For more details on installing bash-completions, please see:
 * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files
 * 
 * Verifying compiled files in /usr/lib64/python2.7/site-packages
 * 
 * This package installs one or more Python modules that are not byte-compiled.
 * The following files are missing:
 * 
 *   /usr/lib64/python2.7/site-packages/init_calibre.pyc
 *   /usr/lib64/python2.7/site-packages/init_calibre.pyo
 * 
 * Please either fix the upstream build system to byte-compile Python modules
 * correctly, or call python_optimize after installing them.  For more
 * information, see:
 * https://wiki.gentoo.org/wiki/Project:Python/Byte_compiling
 * 


Reproducible: Always
Comment 1 Eli Schwartz 2023-10-19 23:28:27 UTC
This was fixed a while back in the following commit(s):

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

commit d74e998d50080bf540ea722e68c20216772c9447
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: Sat Oct 31 17:47:48 2020
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: Sat Oct 31 18:00:15 2020

    app-text/calibre: Bump to version 5.4.2
    
    Closes: https://bugs.gentoo.org/744961
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/calibre/Manifest             |   2 +
 app-text/calibre/calibre-5.4.2.ebuild | 263 ++++++++++++++++++++++++++++++++++
 2 files changed, 265 insertions(+)
 create mode 100644 app-text/calibre/calibre-5.4.2.ebuild