I find the issue is due to the version of mavlink-gbp-release folder Default is master, we need to git checkout melodic for ubuntu 18.04 Thus, I solve this issue by running
git checkout -b melodic remotes/origin/patches/release/melodic/mavlink