在网上搜索半天都没有找到解决方法,最后发现meson的版本太低。当前ubuntu 20.04的默认版本是0.53
首先切换源,换到国内网易源:
deb http://mirrors.163.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jammy-updates main restricted universe multiverse
deb