Your message dated Mon, 12 Aug 2019 13:37:54 +0000
with message-id <e1hxawi-000hrz...@fasolo.debian.org>
and subject line Bug#934316: fixed in suricata 1:4.1.4-5
has caused the Debian Bug report #934316,
regarding FTBFS: source-af-packet.c:646:28: error: ‘SIOCGSTAMP’ undeclared
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
934316: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934316
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: suricata
Version: 1:4.1.4-4
Severity: serious
Tags: patch upstream ftbfs
Justification: fails to build from source (but built successfully in the past)
suricata fails to build with recent kernel versions:
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/lib/mips-linux-gnu/htp/include -I/usr/include/nspr -I/usr/include/nspr
-I/usr/include/nss -I/usr/include/nspr -I/usr/include/nss
-I/usr/include/luajit-2.1 -I/usr/include -Wextra
-Werror-implicit-function-declaration -fstack-protector -D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -I/usr/include -DLOCAL_STATE_DIR=\"/var\" -std=gnu99
-Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security
-Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c -o source-af-packet.o source-af-packet.c
| source-af-packet.c: In function ‘AFPRead’:
| source-af-packet.c:646:28: error: ‘SIOCGSTAMP’ undeclared (first use in this
function); did you mean ‘SIOCGRARP’?
| if (ioctl(ptv->socket, SIOCGSTAMP, &p->ts) == -1) {
| ^~~~~~~~~~
| SIOCGRARP
| source-af-packet.c:646:28: note: each undeclared identifier is reported only
once for each function it appears in
| source-af-packet.c: In function ‘AFPReadAndDiscard’:
| source-af-packet.c:1308:28: error: ‘SIOCGSTAMP’ undeclared (first use in this
function); did you mean ‘SIOCGRARP’?
| if (ioctl(ptv->socket, SIOCGSTAMP, &ts) == -1) {
| ^~~~~~~~~~
| SIOCGRARP
| make[4]: *** [Makefile:2129: source-af-packet.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[3]: *** [Makefile:499: all-recursive] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>'
| make[2]: *** [Makefile:425: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: make -j2 returned exit code 2
| make[1]: *** [debian/rules:57: override_dh_auto_build] Error 255
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:79: build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
A full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=suricata&arch=mips&ver=1%3A4.1.4-4&stamp=1565301229&raw=0
or there:
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/suricata_4.1.4-4.rbuild.log.gz
The issue is due to the following change in the kernel headers, that has
been merged in kernel 5.2:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc527ccd18ed5f96ce85f9985e9115
Upstream has published a fix here:
https://github.com/OISF/suricata/blob/master/src/source-af-packet.c
--- End Message ---
--- Begin Message ---
Source: suricata
Source-Version: 1:4.1.4-5
We believe that the bug you reported is fixed in the latest version of
suricata, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 934...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sascha Steinbiss <sa...@debian.org> (supplier of updated suricata package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 12 Aug 2019 12:48:29 +0200
Source: suricata
Architecture: source
Version: 1:4.1.4-5
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Sascha Steinbiss <sa...@debian.org>
Closes: 934316
Changes:
suricata (1:4.1.4-5) unstable; urgency=medium
.
* Add patch to fix FTBFS on recent kernels. Thanks to Aurelien Jarno for
pointing this out.
Closes: #934316
Checksums-Sha1:
a84b166419837c58f0a8c214b45dccd690de1ed8 2946 suricata_4.1.4-5.dsc
c1d9728f3c70ccb72c44e533d4fe148069a68e28 41968 suricata_4.1.4-5.debian.tar.xz
78f3255c7b4d885a8d68f5bf240422eef57036ec 10256 suricata_4.1.4-5_amd64.buildinfo
Checksums-Sha256:
abafbf62a6683c88a8c036a75f8bc2fa6440ffc01ea34fd46fe2a36302a89d21 2946
suricata_4.1.4-5.dsc
6ef24bb3acea75b24032841906d267f52c525c07e63662ef4125a1411e754173 41968
suricata_4.1.4-5.debian.tar.xz
2bae948c74e09d9d3e0670e7960b6913210aaf725198c7649057cc840723f2c7 10256
suricata_4.1.4-5_amd64.buildinfo
Files:
4d9a91401193af50d5f065347c58c046 2946 net optional suricata_4.1.4-5.dsc
9acab25c250b588236b2de53c1e3ba87 41968 net optional
suricata_4.1.4-5.debian.tar.xz
b9a053ea4d5ae44220229cc07d6f2da2 10256 net optional
suricata_4.1.4-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAl1RZDQACgkQ6NN64vCf
SHIXLw/+MpuoUO75m575Q/2QYZb7EpOWfYYuyErIJ2CvzHwTg+UR4Epk7Um/wQQH
lXNrRNTk6Gmh164A7sKZaGBGB3Cq/w4l6OULP1HEoFLU6+qHvhxMFgTiO4rZe+Dy
HhpP5PrQxluF7RBJqaF5uj5ntaP2V5Uu6vnKKb2r5Q0ZuHQ0ruHKR0SNinC/znJJ
5rpdaJElZdYPD1GBqgWSgBWAZqdD2nhbyYBkU3FmHGhDUVI8r9taoga8LtD9SK3H
l0W1BZqEEl2a+sSLysi8HsomTz/XE7MdPqLze+YjTx6Ug7poQMlOVBEwLKUC7lZv
KIp8MKABwFgFIKNfLI/yfRxxP1HKuMYmaENTbQ52kzBkmIiGYNECGxGE0+dlEtCd
4KtXAZEN68vxlnuOC4QvqgQaSqBPOwmJcMw5krg8zxsbMbyeU2R0p1td8J2AVDv/
CcDpUyO4yxtpo8lbErkITpj1SjutCHyvhTAIATBKgNvwl0hkciSM3zkNx2Xc19tZ
fsmhPwYRgygxNkdv5SbftIj/KffSMqAPD8Xx1737p1fAmLr7eemrcGRLO5g5BiCp
GocbZhhagK5Lmmy/ekWA5j8N2Pjj4eEv4JnLPE50EiP6J0Q+Y2Jcnt4dKrgOb/9H
A+csG/+qbu3/bQkGDaPzoOnHFxiBFwEcC/LffKOEhvbYfS+M0XA=
=NmQN
-----END PGP SIGNATURE-----
--- End Message ---