Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726454 - sys-libs/ldb-2.0.10: installs one or more Python modules that are not byte-compiled
Summary: sys-libs/ldb-2.0.10: installs one or more Python modules that are not byte-co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-31 13:31 UTC by Pacho Ramos
Modified: 2020-08-15 09:17 UTC (History)
0 users

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 Pacho Ramos gentoo-dev 2020-05-31 13:31:05 UTC
I get this warning
QA: other

This package installs one or more Python modules that are not byte-compiled.
The following files are missing:

  /usr/lib/python3.7/site-packages/__pycache__/_ldb_text.cpython-37.pyc
  /usr/lib/python3.7/site-packages/__pycache__/_ldb_text.cpython-37.opt-1.pyc
  /usr/lib/python3.7/site-packages/__pycache__/_ldb_text.cpython-37.opt-2.pyc

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

Thanks
Comment 1 Larry the Git Cow gentoo-dev 2020-08-15 09:17:56 UTC
The bug has been closed via the following commit(s):

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

commit 42d6e353d6ff73e7c910cbc271e73ed9a3c2cff4
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-08-15 09:10:20 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-08-15 09:17:49 +0000

    sys-libs/ldb: Revbumps to improve python handling
    
    also disable distcc as it breaks build
    
    Closes: https://bugs.gentoo.org/726454
    Closes: https://bugs.gentoo.org/733188
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-libs/ldb/{ldb-2.0.12.ebuild => ldb-2.0.12-r1.ebuild} | 9 +++++++--
 sys-libs/ldb/{ldb-2.1.4.ebuild => ldb-2.1.4-r1.ebuild}   | 9 +++++++--
 sys-libs/ldb/{ldb-2.2.0.ebuild => ldb-2.2.0-r1.ebuild}   | 9 +++++++--
 3 files changed, 21 insertions(+), 6 deletions(-)