During update of Ångström v2017.12 from Toradex-2.8b3 to Toradex-2.8b7 I have noticed various issues on Ubuntu-20.04 build host.
glib-2.0 build process fails with errors “‘%s’ directive argument is null”. Use patch 1 to fix it.
elfutils_0.170 build process fails with error “__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’”. Use patch 2 to fix it.
qemu_2.10.0 build process fails with error “static declaration of ‘gettid’ follows non-static declaration”. Use patch 3 to fix it.
libgpg-error_1.27 build process fails with error “gawk: fatal: cannot use gawk builtin `namespace’ as variable name”. Use patch 4 to fix it.
Now, I have removed content of build and deploy directories and run building of console-tdx-image again. Got issues reported below.
m4-native-1.4.18
freadahead.c: error: #error “Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib.”
lib/fseterr.c:77:3: error: #error “Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib.”
Please note that Ubuntu 20.04 is not really an approved distribution to build such older OpenEmbedded Rocko resp. Yocto Project 2.4 based images. Rather then such attempted fixing one could easily build it in an approved container of choice.