Got the same issue on same Ubuntu version, so would be interested to hear if downgrading fixed it. (although i hope for a different solution)
According to this the cause of the issue is
As stime has been removed from glibc-2.31
The version of glibc used in (updated) Ubuntu 20.04:
ldd (Ubuntu GLIBC 2.31-0ubuntu9) 2.31
According to this, the lastest release for Ubuntu 19.04 is 2.29.
Given the error is <builddir>/tmp/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
We can just let it fail and replace that line with: return get_errno(clock_settime(CLOCK_REALTIME,&host_time));
Then the warning: <builddir>/tmp/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/scripts/tracetool/__init__.py:461: SyntaxWarning: "is" with a literal. Did you mean "=="?
It's indeed supposed to be ==
if len(format) == 0:
raise TracetoolError("format not set")
if not tracetool.format.exists(format):
raise TracetoolError("unknown format: %s" % format)
if len(backends) == 0:
That got me passed the issues with qemu... (and onto the next ones)
So now i'm stuck at "make_dtb_boot_files': No such file or directory"