Note that your versioned dependency on g++ (>= 7.1) is not working as you want (it won’t enforce the requirement that you have in mind. Since g++ has an epoch number (currently 4), what you want is g++ (>= 4:7.1).