Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922396 - dev-build/gyp-20200512145953 installs deprecated .egg/.egg-info (GCC-14-SYSTEM)
Summary: dev-build/gyp-20200512145953 installs deprecated .egg/.egg-info (GCC-14-SYSTEM)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921639
  Show dependency tree
 
Reported: 2024-01-18 15:48 UTC by Agostino Sarubbo
Modified: 2025-03-31 17:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,62.79 KB, text/plain)
2024-01-18 15:48 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 2024-01-18 15:48:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-build/gyp-20200512145953 installs deprecated .egg/.egg-info (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-18 15:48:45 UTC
Created attachment 882535 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-31 17:33:12 UTC
The bug has been referenced in the following commit(s):

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

commit 6cc9b02ac62bfb6d4e83be553e683aaa0a6948e6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-31 17:19:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-31 17:32:00 +0000

    dev-build/gyp: 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 #922396 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/922396
    Closes: https://bugs.gentoo.org/909980
    Closes: https://bugs.gentoo.org/923435
    Closes: https://bugs.gentoo.org/952274
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/gyp/gyp-20200512145953-r1.ebuild | 67 ++++++++++++++++++++++++++++++
 dev-build/gyp/gyp-99999999999999.ebuild    | 48 +++++++++++++--------
 2 files changed, 98 insertions(+), 17 deletions(-)