Basically, if you've got jdbc3-postgresql installed and it's version (X.X) is not equal to the postgresql you're trying to compile, postgresql will fail to compile because it finds an 'out of date jdbc driver'. The Postgres ebuild should gracefully detect if you've got an incompatable version installed and portage should show it as a blocker.
Ok ok - so I didn't pay good enough attention to that bad guy in Under Siege 2 - Assumption is the mother of all duck ups. An 'emerge -C jdbc3-postgresql' did not fix things: == Error Output == check_driver: driver: [copy] Copying 1 file to /var/tmp/portage/postgresql-7.4.1-r1/work/postgresql-7.4.1/src/interfaces/jdbc/org/postgresql [echo] Configured build for the JDBC3 edition driver with SSL compile: BUILD FAILED file:/var/tmp/portage/postgresql-7.4.1-r1/work/postgresql-7.4.1/src/interfaces/jdbc/build.xml:114: Old driver was detected on classpath or in jre/lib/ext, please remove and try again. Total time: 4 seconds make[3]: *** [all] Error 1 make[3]: Leaving directory `/var/tmp/portage/postgresql-7.4.1-r1/work/postgresql-7.4.1/src/interfaces/jdbc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/postgresql-7.4.1-r1/work/postgresql-7.4.1/src/interfaces' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/postgresql-7.4.1-r1/work/postgresql-7.4.1/src' make: *** [all] Error 2 !!! ERROR: dev-db/postgresql-7.4.1-r1 failed. !!! Function src_compile, Line 125, Exitcode 2 !!! (no error message)
Is this bug valid anymore? 7.4.1 isn't in the tree anymore.
Closing, please reopen if the problem still exists with versions that actually are in portage now. Sorry for zero response from pgsql herd. :/