From 72c09378107b630fc2c97867e3112db76b2c1fdd Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 20 Apr 2022 15:51:20 +0200 Subject: [PATCH] Disable ns3 on ubuntu until version 3.36. The programs crash (sigsegv) when loading libns3.35-wifi.so Hope that the following patch will fix that https://gitlab.com/nsnam/ns-3-dev/-/commit/62ab4ade4215bfa91ff95eab4d5e0422e18028f0 --- tools/jenkins/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/jenkins/build.sh b/tools/jenkins/build.sh index 2f23a21a79..3dea3ca140 100755 --- a/tools/jenkins/build.sh +++ b/tools/jenkins/build.sh @@ -146,11 +146,16 @@ mkdir "$WORKSPACE"/build cd "$WORKSPACE"/build have_NS3="no" -if [ "$os" = "Debian" ] || [ "$os" = "Ubuntu" ] ; then +if [ "$os" = "Debian" ] ; then if dpkg --compare-versions "$(dpkg-query -f '${Version}' -W libns3-dev)" ge 3.28; then have_NS3="yes" fi fi +if [ "$os" = "Ubuntu" ] ; then + if dpkg --compare-versions "$(dpkg-query -f '${Version}' -W libns3-dev)" ge 3.36; then + have_NS3="yes" + fi +fi if [ "$os" = "nixos" ] ; then have_NS3="yes" fi -- 2.20.1