x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64/htp/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -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 -O2 -pipe -march=native -c -o source-af-packet.o source-af-packet.c source-af-packet.c: In function ‘AFPRead’: source-af-packet.c:602:28: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGRARP’? 602 | if (ioctl(ptv->socket, SIOCGSTAMP, &p->ts) == -1) { | ^~~~~~~~~~ | SIOCGRARP ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20190815-154659 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] pypy (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpvO net-analyzer/suricata [ebuild N ] net-analyzer/suricata-4.0.4 USE="af-packet detection hardened nfqueue rules -control-socket -cuda -debug -geoip -logrotate -lua -luajit -nflog -redis -test"
Created attachment 587446 [details] emerge-info.txt
Created attachment 587448 [details] emerge-history.txt
Created attachment 587450 [details] environment
Created attachment 587452 [details] etc.portage.tbz2
Created attachment 587454 [details] logs.tbz2
Created attachment 587456 [details] net-analyzer:suricata-4.0.4:20190818-224930.log
Created attachment 587458 [details] temp.tbz2
From https://bugreports.qt.io/secure/attachment/85364/0001-fix-build-after-y2038-changes-in-glibc.patch: "SIOCGSTAMP is defined in linux/sockios.h since kernel 5.2. Include that file wherever needed."
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1b127212527643b0346fe711558136bfc25ad0 commit dc1b127212527643b0346fe711558136bfc25ad0 Author: Slawomir Lis <slis@gentoo.org> AuthorDate: 2019-09-08 18:58:59 +0000 Commit: Slawomir Lis <slis@gentoo.org> CommitDate: 2019-09-08 19:24:40 +0000 net-analyzer/suricata: fixed build error related with SIOCGSTAMP Closes: https://bugs.gentoo.org/692546 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Slawek Lis <slis@gentoo.org> net-analyzer/suricata/files/suricata-4.0.4_sockios.patch | 13 +++++++++++++ net-analyzer/suricata/suricata-4.0.4.ebuild | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-)