It was happening to me too, in order to make it work you just need to do:
sudo apt-get build-dep scratch-text-editor
It was happening to me too, in order to make it work you just need to do:
sudo apt-get build-dep scratch-text-editor