FS#73414 - [fail2ban] FTBFS

Attached to Project: Community Packages
Opened by avimitin (avimitin) - Wednesday, 19 January 2022, 09:36 GMT
Last edited by Toolybird (Toolybird) - Saturday, 24 December 2022, 05:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Error occurs when building fail2ban from source. I met the error: "error in fail2ban setup command: use_2to3 is invalid." in x86_64 and riscv64. And I found the related issue: https://github.com/fail2ban/fail2ban/issues/3098. It seems like we need an extra patch to fix this issue.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 24 December 2022, 05:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  fail2ban 1.0.1-1
Comment by Lex Black (TrialnError) - Monday, 14 March 2022, 21:58 GMT
The patch in the gist adds the two upstream commits regarding 2to3. https://gist.github.com/Narrat/ad77e30ce71ee5ae1b3f8993ba149e9e Would have attached the patch, but that didn't want to work?
Should note, that I couldn't successfully build the package because of an error in filtertestcase.py. But could be a cause of not using a clean chroot. The patches itself don't touch this file.

Loading...