Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850964 - app-emulation/cloud-init-24.4-r3 installs files into unexpected paths
Summary: app-emulation/cloud-init-24.4-r3 installs files into unexpected paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-10 10:13 UTC by Agostino Sarubbo
Modified: 2025-03-31 17:06 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,518.73 KB, text/plain)
2022-06-10 10:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-10 10:13:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/cloud-init-22.2-r1 installs files into unexpected paths.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-10 10:13:37 UTC
Created attachment 783836 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-01 05:48:27 UTC
ci has reproduced this issue with version 22.2.2 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-07 08:18:59 UTC
ci has reproduced this issue with version 22.4 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2023-12-21 08:10:17 UTC
gcc14_tinderbox has reproduced this issue with version 23.4 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-07-15 06:43:51 UTC
ci has reproduced this issue with version 24.2 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-12-13 14:19:12 UTC
ci has reproduced this issue with version 24.2-r1 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-12-15 18:45:51 UTC
ci has reproduced this issue with version 24.4 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-12-15 18:46:21 UTC
ci has reproduced this issue with version 24.4-r3 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2025-01-20 09:06:52 UTC
tinderbox-stable has reproduced this issue in a STABLE environment with version 23.4
Comment 10 Agostino Sarubbo gentoo-dev 2025-01-20 09:07:27 UTC
tinderbox-stable has reproduced this issue in a STABLE environment with version 24.2
Comment 11 Larry the Git Cow gentoo-dev 2025-03-31 17:06:57 UTC
The bug has been closed via the following commit(s):

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

commit e41c5c3ca4cb468f2fa85f2c48f08f1541b1d32f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-31 17:04:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-31 17:05:45 +0000

    app-emulation/cloud-init: port to python-single-r1
    
    The package isn't suitable for PEP517, as it installs data files and
    it simply happens to be written in Python, rather than intending to be
    imported and so on.
    
    Unfortunately, for the remaining PEP517 holdouts, there's little pressure
    upstream for them to port to a proper build system yet, as while setuptools
    deprecated the `setup.py` entrypoint some time ago, there's no removal
    in sight yet, so the only pressing side is on Gentoo's where we want
    to cleanup distutils-r1's support for that.
    
    It was arguably a mistake to really have these packages use distutils-r1
    in the first place.
    
    The obvious workaround for now is to invoke setup.py manually w/ python-single-r1,
    and punt the question until setuptools removal of the entrypoint looks
    closer (at which time, other distros will be putting pressure on upstreams
    too). Of course, if at the time of such a setuptools change, the package
    is still not fixed, then we'd have to remove it.
    
    (The same issues apply to bug #922160 which isn't fixed by this, but
    hopefully won't be an actual problem until that aforementioned removal
    in setuptools itself of the other bits.)
    
    Bug: https://bugs.gentoo.org/922160
    Closes: https://bugs.gentoo.org/850964
    Closes: https://bugs.gentoo.org/909872
    Closes: https://bugs.gentoo.org/952196
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/cloud-init/cloud-init-24.4-r4.ebuild | 124 +++++++++++++++++++++
 app-emulation/cloud-init/cloud-init-9999.ebuild    |  91 +++++++++------
 2 files changed, 178 insertions(+), 37 deletions(-)