Dear maintainer of grass,
postgresql-dev was dropped from the archive on 12 Jun 2007 .
Please remove it from grass'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