Hello manizillion,
Below is my advice:
1. For L5.4.3_2.0.0 BSP, ubuntu 18.04 LTS is recommended.
2. if you select ubuntu 18.04 LTS, Packages below should be installed for compiling L5.4.3_2.0.0
# sudo apt-get install flex bison gperf build-essential zlib1g-dev
# sudo apt-get install lib32ncurses5-dev x11proto-core-dev
# sudo apt-get install libx11-dev lib32z1-dev libgl1-mesa-dev
# sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc
# sudo apt-get install uuid-dev:i386 liblzo2-dev:i386 gcc-multilib g++-multilib
[commnent]
For Debian-10 uuid-dev:i386 liblzo2-dev:i386---> uuid-dev liblzo2-dev
# sudo apt-get install subversion openssh-server openssh-client uuid uuid-dev zlib1g-dev
# sudo apt-get install liblz-dev lzop liblzo2-2 liblzo2-dev git-core curl
# sudo apt-get install python3 python3-pip python3-pexpect python3-git python3-jinja2 pylint3
# sudo apt-get install u-boot-tools mtd-utils android-tools-fsutils
[commnent]
For ubuntu 20.04 LTS, don’t need android-tools-fsutils. So remove it, please!
# sudo apt-get install openjdk-8-jdk device-tree-compiler aptitude
[commnent]
For Debian-10 openjdk-8-jdk --- > default-jdk
# sudo apt-get install libcurl4-openssl-dev nss-updatedb
# sudo apt-get install chrpath texinfo gawk cpio diffstat
# sudo apt-get install libncursesw5-dev libssl-dev libegl1-mesa
# sudo apt-get install net-tools python libsdl1.2-dev xterm socat
# sudo apt-get install icedtea-netx-common icedtea-netx
3. For your question.
The problem you are encountering is not caused by the ubunt version, but caused by the bad network environment and incomplete software package download. You can use the method of separately compiling this package for repeated testing. Operation commands similar to the following:
# bitbake python -c cleanall
# bitbake python -c fetch
# bitbake python -c compile
# bitbake onnxruntime-cleanall
# bitbake onnxruntime -c fetch
# bitbake onnxruntime -c compile
After compiling these packages, continue to compile imx-image-full.
Hope my advice is helpful to you.
Have a nice day!
B.R,
weidong