Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disable ns3 on ubuntu until version 3.36.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 20 Apr 2022 13:51:20 +0000 (15:51 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 20 Apr 2022 13:51:20 +0000 (15:51 +0200)
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

index 2f23a21..3dea3ca 100755 (executable)
@@ -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