Issue:
OAI GNB fails to build with SDK Manager
-When executing NV_OAI_GNB_PACKAGE_TARGET_COMP.sh
-The line for docker build Dockerfile.base.ubuntu20 fails
-The failure is due to the build of asn1 called from openairinterface5g/cmake_targets/tools/build_helper
-The asn1 source from https://github.com/mouse07410/asnic does not contain an configure.ac file and as such autoupdate creates the configuration file and adds a AC_CHECK_INCLUDES_DEFAULT macro.
-autoconf < 2.70 does not recognize the AC_CHECK_INCLUDES_DEFAULT macro and throws an error: possibly undefined macro: AC_CHECK_INCLUDES_DEFAULT
Potential solution:
Modified build_helper uploaded here as build_helper.txt in function install_asn1c_from_source(){
I added the following four lines on the line before autoreconf -iv
if ( [ -f “/tmp/asn1c/configure.ac” ] )
then
sed -i ‘s/AC_CHECK_INCLUDES_DEFAULT/#AC_CHECK_INCLUDES_DEFAULT/g’ /tmp/asn1c/configure.ac
fi
build_helper.txt (25.9 KB)
Need a fix for SDK Manager so that these steps do not have to be executed manually.
Adding logs for review of latest failure
SDKM_logs_ARC-OTA_1.5_(rev._1)_Linux_for_Supermicro_Grace_Hopper_MGX_System_2025-05-01_17-23-14.zip (1.6 MB)
Log showing failure of asn1c compliation.
asn1c_install_log.txt (3.7 KB)