Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79229 - [nftables] 1:1.0.8-1 breaks firewalld

Attached to Project: Arch Linux
Opened by Evangelos Foutras (foutrelis) - Friday, 28 July 2023, 09:13 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 29 July 2023, 10:52 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

firewalld is unable to start due to: ModuleNotFoundError: No module named 'nftables'

Additional info:
* package version(s): nftables] 1:1.0.8-1, firewalld 2.0.0-1

Steps to reproduce:

$ python -c 'import nftables'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'nftables'
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 29 July 2023, 10:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  nftables 1:1.0.8-2
Comment by loqs (loqs) - Friday, 28 July 2023, 11:51 GMT
Quickest fix may be to revert [1] which triggers the issue [2] and drop the makedepends on python-setuptools.
Edit:
While working through the upstream git 1.0.8 introduced another issue which is fixed by [3].

[1] https://git.netfilter.org/nftables/commit/py?id=1acc2fd48c755a8931fa87b8d0560b750316059f
[2] nftables-1:1.0.8-1-x86_64-package.log
[3] https://git.netfilter.org/nftables/commit/?id=5f1676ac9f1aeb36d7695c3c354dade013a1e4f3
Comment by loqs (loqs) - Friday, 28 July 2023, 20:50 GMT
I overlooked manually building the python module which does not require a revert. See attached diff.
Comment by Evangelos Foutras (foutrelis) - Saturday, 29 July 2023, 10:52 GMT
Thanks loqs, applied both your suggestions!

Loading...