pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: 8.3 build 603 build error on Fedora 8
5+ messages / 3 participants
[nested] [flat]

* Re: 8.3 build 603 build error on Fedora 8
@ 2008-02-12 17:07 Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-12 17:20 ` Re: 8.3 build 603 build error on Fedora 8 Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  2008-02-12 23:45 ` Re: 8.3 build 603 build error on Fedora 8 Kris Jurka <books@ejurka.com>
  0 siblings, 2 replies; 5+ messages in thread

From: Tom Lane @ 2008-02-12 17:07 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: Devrim GÜNDÜZ <devrim@CommandPrompt.com>; pgsql-jdbc

Kris Jurka <books@ejurka.com> writes:
> We determine which version of the driver to build based on the JVM we're 
> running in, so when I see this 
> "/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre", I'm guessing it's reporting 
> itself as a 1.7 JVM while we only know about 1.6 and less.  Perhaps this 
> patch will help?

I'm not sure how Devrim got around it, but on my Fedora 8 machine this
patch is in fact necessary.  The 8.2 driver doesn't build without it
anymore, either (probably true all the way back, but 8.2 and 8.3 are
the only ones I tested).

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: 8.3 build 603 build error on Fedora 8
  2008-02-12 17:07 Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
@ 2008-02-12 17:20 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  2008-02-12 17:41   ` Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 5+ messages in thread

From: Devrim GÜNDÜZ @ 2008-02-12 17:20 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Kris Jurka <books@ejurka.com>; pgsql-jdbc

Hi,

On Tue, 2008-02-12 at 12:07 -0500, Tom Lane wrote:
> I'm not sure how Devrim got around it, but on my Fedora 8 machine this
> patch is in fact necessary.  The 8.2 driver doesn't build without it
> anymore, either 

I did not add any patch. This build can be built cleanly on my boxes
without any patches:

http://yum.pgsqlrpms.org/8.3/fedora/fedora-8-i386/repoview/postgresql-jdbc.html

Same is valid for 8.2:

http://yum.pgsqlrpms.org/8.2/fedora/fedora-8-i386/repoview/postgresql-jdbc.html


(The failed box is my laptop, and is broken on Java builds, which I'm
aware...)

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachments:

  signature.asc (application/pgp-signature, 188B) download

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: 8.3 build 603 build error on Fedora 8
  2008-02-12 17:07 Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-12 17:20 ` Re: 8.3 build 603 build error on Fedora 8 Devrim GÜNDÜZ <devrim@CommandPrompt.com>
@ 2008-02-12 17:41   ` Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-12 17:47     ` Re: 8.3 build 603 build error on Fedora 8 Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Lane @ 2008-02-12 17:41 UTC (permalink / raw)
  To: Devrim GÜNDÜZ <devrim@CommandPrompt.com>; +Cc: Kris Jurka <books@ejurka.com>; pgsql-jdbc

Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@CommandPrompt.com> writes:
> (The failed box is my laptop, and is broken on Java builds, which I'm
> aware...)

Well, if "broken" means "out-of-the-box Fedora 8 Java installation",
then that accords with my results ;-).  Anyway I suggest Kris apply
that patch; it's certainly not going to break any machine where JDBC
builds now.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: 8.3 build 603 build error on Fedora 8
  2008-02-12 17:07 Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
  2008-02-12 17:20 ` Re: 8.3 build 603 build error on Fedora 8 Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  2008-02-12 17:41   ` Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
@ 2008-02-12 17:47     ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Devrim GÜNDÜZ @ 2008-02-12 17:47 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Kris Jurka <books@ejurka.com>; pgsql-jdbc

Hi,

On Tue, 2008-02-12 at 12:41 -0500, Tom Lane wrote:
> Well, if "broken" means "out-of-the-box Fedora 8 Java installation",
> then that accords with my results ;-)

:-) No, actually "out-of-the-box Fedora 8 Java installation" is not
broken, at least in my buildfarm instances. What happens when you do a
scratch build at koji?

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachments:

  signature.asc (application/pgp-signature, 188B) download

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: 8.3 build 603 build error on Fedora 8
  2008-02-12 17:07 Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
@ 2008-02-12 23:45 ` Kris Jurka <books@ejurka.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Kris Jurka @ 2008-02-12 23:45 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Devrim GÜNDÜZ <devrim@CommandPrompt.com>; pgsql-jdbc



On Tue, 12 Feb 2008, Tom Lane wrote:

> I'm not sure how Devrim got around it, but on my Fedora 8 machine this
> patch is in fact necessary.  The 8.2 driver doesn't build without it
> anymore, either (probably true all the way back, but 8.2 and 8.3 are
> the only ones I tested).
>

I've applied this patch to 8.2+.  8.1 and earlier won't build with this 
version of Java, but I've now made it report a useful error message rather 
than strange errors all over the place.  To all driver versions I've added 
an explicit check to bail out if it finds a Java version that it doesn't 
know what to do with.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2008-02-12 23:45 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 17:07 Re: 8.3 build 603 build error on Fedora 8 Tom Lane <tgl@sss.pgh.pa.us>
2008-02-12 17:20 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
2008-02-12 17:41   ` Tom Lane <tgl@sss.pgh.pa.us>
2008-02-12 17:47     ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
2008-02-12 23:45 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox