Dear maintainer of qgis,
postgresql-dev was dropped from the archive on 12 Jun 2007 .
Please remove it from qgis's build-depends.
You can use libpq-dev instead , if you haven't done so already.
Please notice that postgresql-dev isn't even needed to do backports
Pkg-grass-devel mailing list