Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37322 - Postgresql ebuild fails w/ jdbc
Summary: Postgresql ebuild fails w/ jdbc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 11:41 UTC by Charles Goodwin
Modified: 2007-09-22 23:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Goodwin 2004-01-05 11:41:17 UTC
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.
Comment 1 Charles Goodwin 2004-01-05 13:34:52 UTC
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)
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2004-10-20 06:11:31 UTC
Is this bug valid anymore?  7.4.1 isn't in the tree anymore.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 06:07:34 UTC
Closing, please reopen if the problem still exists with versions that actually
are in portage now. Sorry for zero response from pgsql herd. :/