[pkg-netfilter-team] Bug#934740: nftables: broken on BE
Gianfranco Costamagna
locutusofborg at debian.org
Wed Aug 14 09:13:53 BST 2019
Source: nftables
Version: 0.9.1-2
Severity: serious
Tags patch
Hello, after trying to understand why firewalld was completely broken on s390x, and discussing with nftables upstream, they found that a particular commit: 142350f154c7
broke Big Endian machines.
this is the set of patches:
https://marc.info/?l=netfilter-devel&m=156572714605196&w=2
Also, please add docbook-xsl build dependency, on some systems, it might be not installed and then the build fail because of missing schema
e.g.
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
a2x -L --doctype manpage --format manpage -D . nft.txt
a2x -L --doctype manpage --format manpage -D . libnftables-json.adoc
a2x -L --doctype manpage --format manpage -D . libnftables.adoc
a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/etc/asciidoc/docbook-xsl/manpage.xsl" "/<<PKGBUILDDIR>>/doc/libnftables.xml" returned non-zero exit status 5
make[3]: *** [Makefile:648: libnftables.3] Error 1
make[3]: *** Waiting for unfinished jobs....
a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/etc/asciidoc/docbook-xsl/manpage.xsl" "/<<PKGBUILDDIR>>/doc/libnftables-json.xml" returned non-zero exit status 5
make[3]: *** [Makefile:651: libnftables-json.5] Error 1
a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/etc/asciidoc/docbook-xsl/manpage.xsl" "/<<PKGBUILDDIR>>/doc/nft.xml" returned non-zero exit status 5
make[3]: *** [Makefile:645: nft.8] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: *** [Makefile:484: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:393: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
You can grab patches from my Ubuntu upload
https://launchpad.net/ubuntu/+source/nftables/0.9.1-2ubuntu3
including the missing schema fix.
thanks
(I'm still testing them, but I prefer to open the RC bug in advance, I'll update in case something else is needed)
Gianfranco
More information about the pkg-netfilter-team
mailing list