Created attachment 213997 [details] diff for 5.0.3 Hi, New version is out, see release notes for details: https://suricata-ids.org/2020/04/28/suricata-5-0-3-released/ Looks like quarterly material. Cheers, Franco
testbuilds@work
It fails to build on current-amd64: https://people.freebsd.org/~pi/logs/security__suricata-cur-1588610100.txt It also fails on current-i386 (looks very similar, ping me for the log. For 11.3, rust 1.43 fails to build. So it basically only builds on 12.1-amd64.
Funky, it works for us on 11.2 amd64/i386 and 12.1 amd64, but we still use Rust 1.40 for multiple reasons... For current it looks like a temporary issue over there, someone fiddling with queue.h? Cheers, Franco
PS: If you can try 5.0.2 on current as well to confirm
5.0.2 builds fine on cur-amd64, cur-i386, 12.1-amd64, except on 11.3-amd64 (because of rust).
Looking at this latest Rust is fine with 5.0.3 on amd64 at least. I'm not sure what else to produce to make this proceed. Cheers, Franco
I'm re-running the testbuilds now.
So, I retested. On cur, /usr/include/sys/queue.h does not have circular queues. src/app-layer-expectation.c expects them, so suricata brings a copy of queue.h, which is probably from openbsd or netbsd, and which has circular queues. Only: The queue.h file during a poudriere run seems to be the wrong one. Outside of poudriere, it builds (!?)
if you look latest code from github. it tried to build but it looks pcre 8.45 version which is latest. and i think there are other dependencies need to be updated. i dont know the list. i may look and come to write later.
(In reply to Ulas SAYGIN from comment #9) https://www.pcre.org/ does not have 8.45 ? Do you think a newer version of suricata will be released soon ?
sorry i made a mistake from config.log , suricata needs 8.35 pcre but freebsd has 8.44 now. and i think suricata needs to be updated for latest version pcre. from config.log configure:16284: result: yes configure:16284: checking for pcre.h configure:16284: result: yes configure:16297: checking for pcre_get_substring in -lpcre configure:16322: cc -o conftest -g -O2 -DOS_FREEBSD -march=native -I/usr/local/include -I/usr/local/include/libnet11 -L/usr/local/lib -L/usr/local/lib/libnet11 conftest.c -lpcre -lz >&5 configure:16322: $? = 0 configure:16331: result: yes configure:16360: checking for LIBPCREVERSION configure:16367: $PKG_CONFIG --exists --print-errors "libpcre = 8.35" Package dependency requirement 'libpcre = 8.35' could not be satisfied. Package 'libpcre' has version '8.44', required version is '= 8.35' configure:16370: $? = 1 configure:16384: $PKG_CONFIG --exists --print-errors "libpcre = 8.35" Package dependency requirement 'libpcre = 8.35' could not be satisfied. Package 'libpcre' has version '8.44', required version is '= 8.35' configure:16387: $? = 1 configure:16401: result: no Package dependency requirement 'libpcre = 8.35' could not be satisfied. ----------
I tried to build from source on 5th agust 2020
is there any news? i am looking forward to hear good news soon :) thanks in advance :)
Created attachment 219063 [details] patch-to-5.0.4 This patch builds on current. Testbuilds @ work
testbuilds fine on cur 121 122 114 (all amd64). Fails on i386, because I added devel/hyperscan as dependency, which only builds on amd64.
Ok except libhs.so:devel/hyperscan \ libpcap.so:net/libpcap \ These have separate depends for their port OPTIONS already and something seems to be mixed up.
A commit references this bug: Author: pi Date: Thu Oct 29 10:44:37 UTC 2020 New revision: 553604 URL: https://svnweb.freebsd.org/changeset/ports/553604 Log: security/suricata: update 5.0.2 -> 5.0.4 PR: 246093 Submitted by: Franco Fichtner <franco@opnsense.org> (maintainer) Relnotes: https://suricata-ids.org/2020/04/28/suricata-5-0-3-released/ https://suricata-ids.org/2020/10/08/suricata-4-1-9-and-5-0-4-released/ MFH: 2020Q4 Changes: head/security/suricata/Makefile head/security/suricata/distinfo head/security/suricata/files/patch-src_suricata-common.h head/security/suricata/pkg-plist
A commit references this bug: Author: pi Date: Thu Oct 29 12:00:59 UTC 2020 New revision: 553612 URL: https://svnweb.freebsd.org/changeset/ports/553612 Log: MFH: r553604 security/suricata: update 5.0.2 -> 5.0.4 PR: 246093 Submitted by: Franco Fichtner <franco@opnsense.org> (maintainer) Relnotes: https://suricata-ids.org/2020/04/28/suricata-5-0-3-released/ https://suricata-ids.org/2020/10/08/suricata-4-1-9-and-5-0-4-released/ Approved by: ports-secteam (fluffy) Changes: _U branches/2020Q4/ branches/2020Q4/security/suricata/Makefile branches/2020Q4/security/suricata/distinfo branches/2020Q4/security/suricata/files/patch-src_suricata-common.h branches/2020Q4/security/suricata/pkg-plist
Committed, thanks!