Project

General

Profile

Actions

Support #3431

closed

Suricata compilation issue (never end)

Added by stephane potier almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:
Beginner

Description

The make procedure does not end, it looks infinitely blocked at 75/89.

Running Armbian buster with Linux 5.4.6-sunxi on Orange Pi R1.

pi@orangepi:~/suricata-5.0.1$ sudo make
make all-recursive
make1: Entering directory '/home/pi/suricata-5.0.1'
Making all in libhtp
make2: Entering directory '/home/pi/suricata-5.0.1/libhtp'
make all-recursive
make3: Entering directory '/home/pi/suricata-5.0.1/libhtp'
Making all in htp
make4: Entering directory '/home/pi/suricata-5.0.1/libhtp/htp'
Making all in lzma
make5: Entering directory '/home/pi/suricata-5.0.1/libhtp/htp/lzma'
make5: Nothing to be done for 'all'.
make5: Leaving directory '/home/pi/suricata-5.0.1/libhtp/htp/lzma'
make5: Entering directory '/home/pi/suricata-5.0.1/libhtp/htp'
make5: Nothing to be done for 'all-am'.
make5: Leaving directory '/home/pi/suricata-5.0.1/libhtp/htp'
make4: Leaving directory '/home/pi/suricata-5.0.1/libhtp/htp'
Making all in test
make4: Entering directory '/home/pi/suricata-5.0.1/libhtp/test'
make4: Nothing to be done for 'all'.
make4: Leaving directory '/home/pi/suricata-5.0.1/libhtp/test'
Making all in docs
make4: Entering directory '/home/pi/suricata-5.0.1/libhtp/docs'
make4: Nothing to be done for 'all'.
make4: Leaving directory '/home/pi/suricata-5.0.1/libhtp/docs'
make4: Entering directory '/home/pi/suricata-5.0.1/libhtp'
make4: Leaving directory '/home/pi/suricata-5.0.1/libhtp'
make3: Leaving directory '/home/pi/suricata-5.0.1/libhtp'
make2: Leaving directory '/home/pi/suricata-5.0.1/libhtp'
Making all in rust
make2: Entering directory '/home/pi/suricata-5.0.1/rust'
cd ../rust && /usr/bin/python3 ./gen-c-headers.py
cd ../rust && \
CARGO_HOME="/home/pi/.cargo" \
CARGO_TARGET_DIR="/home/pi/suricata-5.0.1/rust/target" \
/usr/bin/cargo build --release --frozen \
--features " "
Compiling syn v0.15.44
Compiling num-bigint v0.2.3
Compiling ipsec-parser v0.4.1
Compiling tls-parser v0.8.1
Building [===============================================> ] 75/89: syn, num-bigint, ipsec-parser, tls-parser(build.rs)

Actions #1

Updated by Andreas Herz about 4 years ago

  • Status changed from New to Feedback

Did you try that again with most recent suricata and a nwer raspian version? I guess that's something specific to rust on that arch.

Actions #2

Updated by stephane potier almost 4 years ago

I tried again with latest versions Suricata on my Orange Pi R1.
Compilation is frozen with ubuntu and armbian.
Step 78/105 and 79/105 respectively.

Suricata 6.0.1
Armbian 20.11.6 Buster with Linux 5.10.4-sunxi
OrangePi_r1_ubuntu_xenial_server_linux5.3.5_v2.0.6

Actions #3

Updated by stephane potier almost 4 years ago

I will investigate of the issue is not related to a memory issue on the Orange Pi R1

Actions #4

Updated by stephane potier almost 4 years ago

stephane potier wrote in #note-3:

I will investigate of the issue is not related to a memory issue on the Orange Pi R1

Looks like a memory issue indeed, waiting the Orange Pi R1 Plus to go ahead !

root@orangepi-r1:~# free -m
total used free shared buff/cache available
Mem: 238 216 6 0 15 13
Swap: 119 119 0

Actions #5

Updated by Andreas Herz over 2 years ago

  • Status changed from Feedback to Closed

Hi, we're closing this issue since there have been no further responses.
If you think this issue is still relevant, try to test it again with the
most recent version of suricata and reopen the issue. If you want to
improve the bug report please take a look at
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Reporting_Bugs

Actions

Also available in: Atom PDF