Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923080 - net-analyzer/fail2ban-1.1.0-r2 installs deprecated .egg/.egg-info
Summary: net-analyzer/fail2ban-1.1.0-r2 installs deprecated .egg/.egg-info
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921639
  Show dependency tree
 
Reported: 2024-01-28 07:02 UTC by Agostino Sarubbo
Modified: 2025-03-31 15:53 UTC (History)
0 users

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


Attachments
build.log (build.log,181.03 KB, text/plain)
2024-01-28 07:02 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-28 07:02:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/fail2ban-1.0.2-r2 installs deprecated .egg/.egg-info.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0076
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-28 07:02:52 UTC
Created attachment 883350 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-14 07:36:11 UTC
ci has reproduced this issue with version 1.0.2-r3 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2024-04-29 06:43:41 UTC
ci has reproduced this issue with version 1.1.0 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-07-04 07:17:37 UTC
ci has reproduced this issue with version 1.1.0-r1 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-08-29 06:35:46 UTC
ci has reproduced this issue with version 1.1.0-r2 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2025-03-31 15:53:56 UTC
The bug has been referenced in the following commit(s):

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

commit c3315537514a3457b3a43674bfe721aa4cff110e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-31 15:47:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-31 15:52:41 +0000

    net-analyzer/fail2ban: 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 #923080 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/923080
    Closes: https://bugs.gentoo.org/909998
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/fail2ban/fail2ban-1.1.0-r3.ebuild | 147 +++++++++++++++++++++++++
 net-analyzer/fail2ban/fail2ban-9999.ebuild     |  29 +++--
 2 files changed, 166 insertions(+), 10 deletions(-)