Public bug reported: iptables does not use dpkg-buildflags. Doing so is a good thing generally, and is currently necessary for arm64 cross-builds.
This simple patch fixes it. I don't know if there is any reason not to move forward from compat 7 to 9. It builds OK for me. If the package maintainer would prefer not to then adding DPKG_EXPORT_BUILDFLAGS=1 before the -include /usr/share/dpkg/buildflags.mk in debian/rules will fix the problem whilst staying at compat level 7. This bug identically filed in debian. ** Affects: ubuntu Importance: Undecided Status: New ** Tags: arm64 cross ** Patch added: "iptables-1.4.12-2ubuntu2-dpkgbuildflags.patch" https://bugs.launchpad.net/bugs/1081592/+attachment/3440254/+files/iptables-1.4.12-2ubuntu2-dpkgbuildflags.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1081592 Title: iptables does not honour dpkg-buildflags (breaks arm64 build) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1081592/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs