FS#75101 - [networkmanager] Strange iptables dependendies
Attached to Project:
Arch Linux
Opened by Emil (xexaxo) - Friday, 17 June 2022, 17:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 03 May 2023, 09:06 GMT
Opened by Emil (xexaxo) - Friday, 17 June 2022, 17:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 03 May 2023, 09:06 GMT
|
Details
Description:
Currently networkmanager makedepends on iptables-nft, while it optdepends on iptables. The two packages provide API and ABI compatible library, where the executables provided vary. During the build we depend only on the iptables library, so the makedepends could be fixed to iptables - the package that is already installed as part of base-devel. While for runtime we could swap to `iptables-nft` - honestly I don't the networkmanager internals to judge if that's wise or not. Additional info: * package version(s) networkmanager 1.38.2-1 |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 03 May 2023, 09:06 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk, pending next release
Wednesday, 03 May 2023, 09:06 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk, pending next release
??? I don't see it in a fresh clean chroot. Did you mean base?
Anyway, does it really matter much? I think not. The libs/includes are identical for the build. The optdep is a minor thing. (It would be nice if we could one day get rid of the legacy cruft.)
```
:: iptables-nft and iptables are in conflict. Remove iptables? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: iptables-nft and iptables are in conflict
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
...
-> iptables-nft
==> ERROR: Could not resolve all dependencies.
```
For the sake of completeness: just built networkmanager with iptables and iptables-nft - the resulting packages are identical, modulo timestamps.
Is there anything I can do to move this forward?
The fix is as simple as:
- sed 's/iptables-nft/iptables/g' PKGBUILD