MidnightBSD Magus

security/barnyard2

Interpreter for Snort unified2 binary output files

Flavor Version Run OSVersion Arch License Restricted Status
1.13 353 1.1 i386 gpl2 0 fail

Events

Machine Type Time Message
m1132 info 2019-02-17 17:34:12.604511 Test Started
m1132 fail 2019-02-17 17:34:25.246784 make build returned non-zero: 1
m1132 fail 2019-02-17 17:34:25.35029 Test complete.

Log

===>  Building for barnyard2-1.13
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in sfutil
--- getopt_long.o ---
--- sfmemcap.o ---
--- getopt_long.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o getopt_long.o getopt_long.c
--- sfmemcap.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sfmemcap.o sfmemcap.c
--- sfprimetable.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sfprimetable.o sfprimetable.c
--- sfxhash.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sfxhash.o sfxhash.c
--- sf_ip.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sf_ip.o sf_ip.c
--- sf_iph.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sf_iph.o sf_iph.c
--- sf_ipvar.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sf_ipvar.o sf_ipvar.c
--- sf_textlog.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sf_textlog.o sf_textlog.c
--- sf_vartable.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I..   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o sf_vartable.o sf_vartable.c
--- libsfutil.a ---
rm -f libsfutil.a
ar cru libsfutil.a getopt_long.o sfmemcap.o  sfprimetable.o sfxhash.o sf_ip.o  sf_iph.o sf_ipvar.o sf_textlog.o  sf_vartable.o 
ranlib libsfutil.a
Making all in output-plugins
--- spo_alert_arubaaction.o ---
--- spo_alert_bro.o ---
--- spo_alert_arubaaction.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_arubaaction.o spo_alert_arubaaction.c
--- spo_alert_bro.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_bro.o spo_alert_bro.c
--- spo_alert_cef.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_cef.o spo_alert_cef.c
--- spo_alert_csv.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_csv.o spo_alert_csv.c
--- spo_alert_fast.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_fast.o spo_alert_fast.c
--- spo_alert_full.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_full.o spo_alert_full.c
--- spo_alert_fwsam.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_fwsam.o spo_alert_fwsam.c
--- spo_alert_prelude.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_prelude.o spo_alert_prelude.c
--- spo_alert_syslog.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_syslog.o spo_alert_syslog.c
--- spo_alert_fwsam.o ---
spo_alert_fwsam.c:620:18: warning: if statement has empty body [-Wempty-body]
        if(p>buf);
                 ^
spo_alert_fwsam.c:620:18: note: put the semicolon on a separate line to silence this warning
--- spo_alert_test.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_test.o spo_alert_test.c
spo_alert_test.c:320:36: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
                    filename_end = '\0';
                                   ^~~~
1 warning generated.
--- spo_alert_unixsock.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_alert_unixsock.o spo_alert_unixsock.c
--- spo_alert_fwsam.o ---
1 warning generated.
--- spo_common.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_common.o spo_common.c
--- spo_alert_unixsock.o ---
spo_alert_unixsock.c:385:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(data->filename);
        ^
--- spo_log_ascii.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_log_ascii.o spo_log_ascii.c
--- spo_alert_unixsock.o ---
1 warning generated.
--- spo_log_null.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_log_null.o spo_log_null.c
--- spo_log_tcpdump.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_log_tcpdump.o spo_log_tcpdump.c
--- spo_sguil.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_sguil.o spo_sguil.c
--- spo_echidna.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_echidna.o spo_echidna.c
--- spo_syslog_full.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_syslog_full.o spo_syslog_full.c
--- spo_database.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_database.o spo_database.c
--- spo_syslog_full.o ---
spo_syslog_full.c:1714:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (op_data == NULL))
         ~~~~~~~~^~~~~~~
spo_syslog_full.c:1714:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (op_data == NULL))
        ~        ^      ~
spo_syslog_full.c:1714:18: note: use '=' to turn this equality comparison into an assignment
    if( (op_data == NULL))
                 ^~
                 =
--- spo_database.o ---
spo_database.c:874:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((data == NULL))
         ~~~~~^~~~~~~
spo_database.c:874:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((data == NULL))
        ~     ^      ~
spo_database.c:874:15: note: use '=' to turn this equality comparison into an assignment
    if ((data == NULL))
              ^~
              =
--- spo_syslog_full.o ---
1 warning generated.
--- spo_database_cache.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spo_database_cache.o spo_database_cache.c
spo_database_cache.c:149:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
--- spo_database.o ---
1 warning generated.
--- spo_database_cache.o ---
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:149:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:149:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:227:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:227:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:227:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:269:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:269:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:269:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:328:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:328:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:328:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:513:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:513:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:513:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:564:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:564:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:564:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:618:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:618:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:618:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:705:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iLookup == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:705:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iLookup == NULL))
        ~        ^      ~
spo_database_cache.c:705:18: note: use '=' to turn this equality comparison into an assignment
    if( (iLookup == NULL))
                 ^~
                 =
spo_database_cache.c:5209:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (iDBList == NULL))
         ~~~~~~~~^~~~~~~
spo_database_cache.c:5209:18: note: remove extraneous parentheses around the comparison to silence this warning
    if( (iDBList == NULL))
        ~        ^      ~
spo_database_cache.c:5209:18: note: use '=' to turn this equality comparison into an assignment
    if( (iDBList == NULL))
                 ^~
                 =
spo_database_cache.c:5413:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if( (data == NULL))
         ~~~~~^~~~~~~
spo_database_cache.c:5413:15: note: remove extraneous parentheses around the comparison to silence this warning
    if( (data == NULL))
        ~     ^      ~
spo_database_cache.c:5413:15: note: use '=' to turn this equality comparison into an assignment
    if( (data == NULL))
              ^~
              =
10 warnings generated.
--- libspo.a ---
rm -f libspo.a
ar cru libspo.a spo_alert_arubaaction.o  spo_alert_bro.o spo_alert_cef.o  spo_alert_csv.o spo_alert_fast.o  spo_alert_full.o spo_alert_fwsam.o  spo_alert_prelude.o spo_alert_syslog.o  spo_alert_test.o spo_alert_unixsock.o  spo_common.o spo_log_ascii.o  spo_log_null.o spo_log_tcpdump.o  spo_sguil.o spo_echidna.o  spo_syslog_full.o spo_database.o  spo_database_cache.o 
ranlib libspo.a
Making all in input-plugins
--- spi_unified2.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../sfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o spi_unified2.o spi_unified2.c
--- libspi.a ---
rm -f libspi.a
ar cru libspi.a spi_unified2.o 
ranlib libspi.a
--- barnyard2.o ---
--- debug.o ---
--- barnyard2.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o barnyard2.o barnyard2.c
--- debug.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o debug.o debug.c
--- decode.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o decode.o decode.c
decode.c:268:20: warning: unused function 'DecoderEvent' [-Wunused-function]
static INLINE void DecoderEvent(
                   ^
--- log.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o log.o log.c
--- decode.o ---
1 warning generated.
--- log_text.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o log_text.o log_text.c
--- map.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o map.o map.c
--- mstring.o ---
cc -DHAVE_CONFIG_H -I. -I.. -Isfutil   -DSUP_IP6  -O2 -pipe -fno-strict-aliasing -Wall -c -o mstring.o mstring.c
In file included from mstring.c:55:
In file included from ./plugbase.h:51:
/usr/include/net/route.h:57:18: error: field has incomplete type 'struct sockaddr'
        struct  sockaddr ro_dst;
                         ^
/usr/include/net/route.h:57:9: note: forward declaration of 'struct sockaddr'
        struct  sockaddr ro_dst;
                ^
1 error generated.
*** [mstring.o] Error code 1

make[4]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13/src
1 error

make[4]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13/src
*** [all-recursive] Error code 1

make[3]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13/src
1 error

make[3]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13/src
*** [all-recursive] Error code 1

make[2]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13
1 error

make[2]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13
*** [all] Error code 2

make[1]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13
1 error

make[1]: stopped in /magus/work/usr/mports/security/barnyard2/work/barnyard2-2-1.13
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/security/barnyard2