Portage reports the following QA notice when emerging sys-apps/kmod-27: > * This package installs one or more Python modules that are not byte-compiled. > * The following files are missing: > * > * /usr/lib64/python3.6/site-packages/kmod/__pycache__/error.cpython-36.opt-2.pyc > * /usr/lib64/python3.6/site-packages/kmod/__pycache__/__init__.cpython-36.opt-2.pyc > * /usr/lib64/python3.6/site-packages/kmod/__pycache__/version.cpython-36.opt-2.pyc > * /usr/lib/python3.7/site-packages/kmod/__pycache__/error.cpython-37.opt-2.pyc > * /usr/lib/python3.7/site-packages/kmod/__pycache__/__init__.cpython-37.opt-2.pyc > * /usr/lib/python3.7/site-packages/kmod/__pycache__/version.cpython-37.opt-2.pyc > * /usr/lib/python3.8/site-packages/kmod/__pycache__/error.cpython-38.opt-2.pyc > * /usr/lib/python3.8/site-packages/kmod/__pycache__/__init__.cpython-38.opt-2.pyc > * /usr/lib/python3.8/site-packages/kmod/__pycache__/version.cpython-38.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
Created attachment 617166 [details] emerge --info =sys-apps/kmod-27
Created attachment 617168 [details] build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a5885ecf8d9f3129d3c84346fc4fd90719b3c5 commit 13a5885ecf8d9f3129d3c84346fc4fd90719b3c5 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-03-05 15:58:52 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-03-05 15:59:59 +0000 sys-apps/kmod: call python_optimize Closes: https://bugs.gentoo.org/711602 Package-Manager: Portage-2.3.91_p5, Repoman-2.3.20_p113 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/kmod/{kmod-26-r3.ebuild => kmod-26-r4.ebuild} | 1 + sys-apps/kmod/{kmod-27.ebuild => kmod-27-r1.ebuild} | 1 + sys-apps/kmod/kmod-9999.ebuild | 1 + 3 files changed, 3 insertions(+)
possible typo? https://github.com/gentoo/gentoo/commit/13a5885ecf8d9f3129d3c84346fc4fd90719b3c5#diff-21914558371d7986cce7ce354eb929d5R145
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0b4a1f9cd9d5f3122e355c1b6c9d7b2aa9767b commit 0c0b4a1f9cd9d5f3122e355c1b6c9d7b2aa9767b Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-03-06 15:32:08 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-03-06 15:32:08 +0000 sys-apps/kmod: uncomment python_optimize Bug: https://bugs.gentoo.org/711602 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/kmod/{kmod-26-r4.ebuild => kmod-26-r5.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)