Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951853 - distutils-r1.eclass: Build directory collisions for multiple uses of setuptools in a single ebuild
Summary: distutils-r1.eclass: Build directory collisions for multiple uses of setuptoo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-22 20:50 UTC by Michał Górny
Modified: 2025-04-02 07:06 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 2025-03-22 20:50:22 UTC
If we're installing multiple PEP517 packages in a single ebuild, they all end up using the same build-base override.  We need to fix that.
Comment 1 Larry the Git Cow gentoo-dev 2025-04-02 07:06:38 UTC
The bug has been closed via the following commit(s):

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

commit c68108e4e7f72b6fe6254caf426929610e188f91
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-03-24 06:41:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-04-02 07:06:13 +0000

    distutils-r1.eclass: Use unique setuptools build directories
    
    Add a dynamic component to the build directory used by setuptools,
    to enable calling distutils-r1_python_compile multiple times without
    having the builds share the same build directory (and therefore end up
    being combined).
    
    Closes: https://bugs.gentoo.org/951853
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/distutils-r1.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)