Sounds like a libmtp error to me, try building libmtp from source and then build Gnomad2 from source (making sure all dependencies are met).