Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919097 - dev-python/pywlroots-0.16.6-r1: installs/removes wlroots/_build.py every second build
Summary: dev-python/pywlroots-0.16.6-r1: installs/removes wlroots/_build.py every seco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-03 04:06 UTC by Michał Górny
Modified: 2023-12-05 14:32 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-03 04:06:13 UTC
* Messages for package dev-python/pywlroots-0.16.6-r1:
 * Log file: /var/log/portage/dev-python:pywlroots-0.16.6-r1:20231203-040334.log

 * CMP: =dev-python/pywlroots-0.16.6-r1 with dev-python/pywlroots-0.16.6-r1/image
 *  FILES:-usr/lib/python3.10/site-packages/wlroots/__pycache__/_build.cpython-310.opt-1.pyc
 *  FILES:-usr/lib/python3.10/site-packages/wlroots/__pycache__/_build.cpython-310.opt-2.pyc
 *  FILES:-usr/lib/python3.10/site-packages/wlroots/__pycache__/_build.cpython-310.pyc
 *  FILES:-usr/lib/python3.10/site-packages/wlroots/_build.py
 *  FILES:-usr/lib/python3.11/site-packages/wlroots/__pycache__/_build.cpython-311.opt-1.pyc
 *  FILES:-usr/lib/python3.11/site-packages/wlroots/__pycache__/_build.cpython-311.opt-2.pyc
 *  FILES:-usr/lib/python3.11/site-packages/wlroots/__pycache__/_build.cpython-311.pyc
 *  FILES:-usr/lib/python3.11/site-packages/wlroots/_build.py
 *  FILES:-usr/lib/python3.12/site-packages/wlroots/__pycache__/_build.cpython-312.opt-1.pyc
 *  FILES:-usr/lib/python3.12/site-packages/wlroots/__pycache__/_build.cpython-312.opt-2.pyc
 *  FILES:-usr/lib/python3.12/site-packages/wlroots/__pycache__/_build.cpython-312.pyc
 *  FILES:-usr/lib/python3.12/site-packages/wlroots/_build.py

Apparently it installs it if it's not there but doesn't install it if it's installed already.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-03 04:07:30 UTC
See also the weird situation from bug 905743.
Comment 2 Larry the Git Cow gentoo-dev 2023-12-05 14:32:44 UTC
The bug has been closed via the following commit(s):

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

commit a54012d8212bd465ffc60f25aacf61f5356f652e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-05 14:02:31 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-05 14:32:41 +0000

    dev-python/pywlroots: Fix automagic xwayland dependency
    
    Fix automagic dependency on xwayland support in gui-libs/wlroots,
    as well as an awfully broken logic that resulted in wlroots/_build.py
    file disappearing if the package was installed at build time (sigh).
    
    Closes: https://bugs.gentoo.org/919097
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...0.16.6-r1.ebuild => pywlroots-0.16.6-r2.ebuild} | 24 ++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)