Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705386

Summary: net-dns/avahi-0.7-r5: non-compiled Python modules
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/log/portage/net-dns:avahi-0.7-r5:20200114-030749.log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-14 03:19:18 UTC
Created attachment 603248 [details]
/var/log/portage/net-dns:avahi-0.7-r5:20200114-030749.log

* This package installs one or more Python modules that are not byte-compiled.
 * The following files are missing:
 * 
 *   /usr/lib/python3.7/site-packages/avahi/__pycache__/ServiceTypeDatabase.cpython-37.pyc
 *   /usr/lib/python3.7/site-packages/avahi/__pycache__/ServiceTypeDatabase.cpython-37.opt-1.pyc
 *   /usr/lib/python3.7/site-packages/avahi/__pycache__/ServiceTypeDatabase.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
Comment 1 Larry the Git Cow gentoo-dev 2021-05-28 15:32:24 UTC
The bug has been closed via the following commit(s):

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

commit 50b908503ff65ef2ea96b09b7a21c6b46935ffa2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-28 15:31:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-05-28 15:31:56 +0000

    net-dns/avahi: use python-single-r1 instead of python-r1
    
    * Only builds one Python implementation => python-single-r1
    
    * Fix REQUIRED_USE logic. We need to have it all together
      for python_gen_cond_dep, so we move the bookmarks? (...)
      dep within the python? ( ... ) one.
    
    Closes: https://bugs.gentoo.org/705386
    Closes: https://bugs.gentoo.org/710244
    Closes: https://bugs.gentoo.org/788043
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{avahi-0.8-r3.ebuild => avahi-0.8-r4.ebuild}   | 24 +++++++++++++---------
 1 file changed, 14 insertions(+), 10 deletions(-)