MidnightBSD Magus

security/smap

SIP scanner and identifier

Flavor Version Run OSVersion Arch License Restricted Status
0.5.0_1 500 3.0 amd64 unknown 0 fail

Events

Machine Type Time Message
m3064b info 2022-11-05 22:37:04.687621 Test Started
m3064b fail 2022-11-05 22:37:07.123283 make build returned non-zero: 1
m3064b fail 2022-11-05 22:37:07.168072 Test complete.

Log

===>  Building for smap-0.5.0_1
gmake[1]: Entering directory '/magus/work/usr/mports/security/smap/work/smap-0.5.0'
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o error.o error.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o fingerprint.o fingerprint.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o helpers.o helpers.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o icmpping.o icmpping.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o localip.o localip.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o request.o request.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o randomizer.o randomizer.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o response.o response.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o scan.o scan.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o sip.o sip.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o smap.o smap.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o stats.o stats.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o stun.o stun.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o test_accept.o test_accept.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o test_allow.o test_allow.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o test_supported.o test_supported.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o test_headers.o test_headers.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o transport_udp.o transport_udp.c
cc -Wall -g -I/usr/local/include -DHAVE_RANDOM -DRAW_SOCKET   -c -o transport_tcp.o transport_tcp.c
test_headers.c:166:7: warning: address of array 'cmpstr' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (!cmpstr) return 0;
            ~^~~~~~
transport_udp.c:60:6: warning: variable 'bindsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (ssock == -1) {
            ^~~~~~~~~~~
transport_udp.c:257:6: note: uninitialized use occurs here
        if (bindsock != -1)
            ^~~~~~~~
transport_udp.c:60:2: note: remove the 'if' if its condition is always false
        if (ssock == -1) {
        ^~~~~~~~~~~~~~~~~~
transport_udp.c:41:21: note: initialize the variable 'bindsock' to silence this warning
        int ssock, bindsock, sockaddrlen;
                           ^
                            = 0
transport_udp.c:60:6: warning: variable 'rawsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (ssock == -1) {
            ^~~~~~~~~~~
transport_udp.c:254:8: note: uninitialized use occurs here
        close(rawsock);
              ^~~~~~~
transport_udp.c:60:2: note: remove the 'if' if its condition is always false
        if (ssock == -1) {
        ^~~~~~~~~~~~~~~~~~
transport_udp.c:43:13: note: initialize the variable 'rawsock' to silence this warning
        int rawsock;
                   ^
                    = 0
1 warning generated.
2 warnings generated.
transport_tcp.c:103:8: warning: variable 'rawsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
                        if (err > 0) {
                            ^~~~~~~
transport_tcp.c:221:8: note: uninitialized use occurs here
        close(rawsock);
              ^~~~~~~
transport_tcp.c:103:4: note: remove the 'if' if its condition is always false
                        if (err > 0) {
                        ^~~~~~~~~~~~~~
transport_tcp.c:95:6: warning: variable 'rawsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (select(tcpsock + 1, NULL, &fdset, NULL, &timeout) <= 0) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
transport_tcp.c:221:8: note: uninitialized use occurs here
        close(rawsock);
              ^~~~~~~
transport_tcp.c:95:2: note: remove the 'if' if its condition is always false
        if (select(tcpsock + 1, NULL, &fdset, NULL, &timeout) <= 0) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
transport_tcp.c:85:7: warning: variable 'rawsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
                if (errno != EINPROGRESS) {
                    ^~~~~~~~~~~~~~~~~~~~
/usr/include/errno.h:48:16: note: expanded from macro 'errno'
#define errno           (* __error())
                        ^
transport_tcp.c:221:8: note: uninitialized use occurs here
        close(rawsock);
              ^~~~~~~
transport_tcp.c:85:3: note: remove the 'if' if its condition is always false
                if (errno != EINPROGRESS) {
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
transport_tcp.c:57:6: warning: variable 'rawsock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
        if (tcpsock == -1) {
            ^~~~~~~~~~~~~
transport_tcp.c:221:8: note: uninitialized use occurs here
        close(rawsock);
              ^~~~~~~
transport_tcp.c:57:2: note: remove the 'if' if its condition is always false
        if (tcpsock == -1) {
        ^~~~~~~~~~~~~~~~~~~~
transport_tcp.c:40:13: note: initialize the variable 'rawsock' to silence this warning
        int rawsock;
                   ^
                    = 0
4 warnings generated.
cc -o smap error.o fingerprint.o helpers.o icmpping.o localip.o request.o randomizer.o response.o scan.o sip.o smap.o stats.o stun.o test_accept.o test_allow.o test_supported.o test_headers.o transport_udp.o transport_tcp.o -L/usr/local/lib -lm
ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            fingerprint.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            fingerprint.o:(.bss+0x50)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            helpers.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            helpers.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            icmpping.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            icmpping.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            localip.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            localip.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            request.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            request.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            randomizer.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            randomizer.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            response.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            response.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            scan.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            scan.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            sip.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            sip.o:(.bss+0x48)

ld: error: duplicate symbol: config
>>> defined at config.h:96 (./config.h:96)
>>>            error.o:(config)
>>> defined at config.h:96 (./config.h:96)
>>>            smap.o:(.bss+0x0)

ld: error: duplicate symbol: stats
>>> defined at config.h:102 (./config.h:102)
>>>            error.o:(stats)
>>> defined at config.h:102 (./config.h:102)
>>>            smap.o:(.bss+0x48)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:20: smap] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/security/smap/work/smap-0.5.0'
===> 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/smap

Links

Depends On

Depend Of

Nothing

Categories