pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
6+ messages / 3 participants
[nested] [flat]

* BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
@ 2012-02-18 17:35 crees@FreeBSD.org
  2012-02-18 18:49 ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: crees@FreeBSD.org @ 2012-02-18 17:35 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6465
Logged by:          Chris Rees
Email address:      crees@FreeBSD.org
PostgreSQL version: 9.1.2
Operating system:   FreeBSD
Description:        

Hey all,

Two patches:

https://redports.org/browser/crees/databases/postgresql91-server/files/patch-configure.in

From a user (Pierre David) who has reported that the patch fixed compilation
of pltcl (http://bugs.freebsd.org/164796)

https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4

Girgen has disabled the threaded python check in the port for a while now,
so this could go in.

Thanks!




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

* Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
  2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
@ 2012-02-18 18:49 ` Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-18 22:02   ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Chris Rees <crees@freebsd.org>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2012-02-18 18:49 UTC (permalink / raw)
  To: crees@FreeBSD.org; +Cc: pgsql-bugs

crees@FreeBSD.org writes:
> Two patches:

> https://redports.org/browser/crees/databases/postgresql91-server/files/patch-configure.in

This seems like a rather bad idea: it is not configure's responsibility
to create that symlink.  The bug report you reference looks like the
user has attempted to build pltcl without building the rest of the
source tree, something we do not consider supported.  In the case at
hand, the potential failure mode is that the derived errcodes.h file
that the symlink is pointing at might not exist or might not be
up-to-date.  There are other possible problems with a subtree build too,
and it would take a lot more work than just creating this one symlink
earlier to avoid them all.

> https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4

Hmm ... we have multiple buildfarm machines routinely building
--with-python on FreeBSD, and none of them have shown any sign of not
liking threaded python:
http://buildfarm.postgresql.org/cgi-bin/show_status.pl

I think we'd need more information before arbitrarily disabling this.

			regards, tom lane



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

* Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
  2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
  2012-02-18 18:49 ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
@ 2012-02-18 22:02   ` Chris Rees <crees@freebsd.org>
  2012-02-18 22:08     ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Chris Rees @ 2012-02-18 22:02 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

Hi Tom,

Thanks for the prompt reply!

On 18 Feb 2012 18:49, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>
> crees@FreeBSD.org writes:
> > Two patches:
>
> >
https://redports.org/browser/crees/databases/postgresql91-server/files/patch-configure.in
>
> This seems like a rather bad idea: it is not configure's responsibility
> to create that symlink.  The bug report you reference looks like the
> user has attempted to build pltcl without building the rest of the
> source tree, something we do not consider supported.  In the case at
> hand, the potential failure mode is that the derived errcodes.h file
> that the symlink is pointing at might not exist or might not be
> up-to-date.  There are other possible problems with a subtree build too,
> and it would take a lot more work than just creating this one symlink
> earlier to avoid them all.

I think I'll remove the port for the docs, and have it as an option for the
client install then.

> >
https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4
>
> Hmm ... we have multiple buildfarm machines routinely building
> --with-python on FreeBSD, and none of them have shown any sign of not
> liking threaded python:
> http://buildfarm.postgresql.org/cgi-bin/show_status.pl
>
> I think we'd need more information before arbitrarily disabling this.

The patch is to disable the error!  It says that threaded python is
absolutely fine for FreeBSD; the check has been removed in the FreeBSD port
for a while, anyway.

Chris

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

* Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
  2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
  2012-02-18 18:49 ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-18 22:02   ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Chris Rees <crees@freebsd.org>
@ 2012-02-18 22:08     ` Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-20 21:23       ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2012-02-18 22:08 UTC (permalink / raw)
  To: Chris Rees <crees@freebsd.org>; +Cc: pgsql-bugs

Chris Rees <crees@freebsd.org> writes:
> On 18 Feb 2012 18:49, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>>> https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4

>> I think we'd need more information before arbitrarily disabling this.

> The patch is to disable the error!

Doh ... I read it backwards.  Sorry for the confusion.

			regards, tom lane



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

* Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
  2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
  2012-02-18 18:49 ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-18 22:02   ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Chris Rees <crees@freebsd.org>
  2012-02-18 22:08     ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
@ 2012-02-20 21:23       ` Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-20 21:33         ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Chris Rees <crees@freebsd.org>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2012-02-20 21:23 UTC (permalink / raw)
  To: Chris Rees <crees@freebsd.org>; +Cc: pgsql-bugs

I wrote:
> Chris Rees <crees@freebsd.org> writes:
>> On 18 Feb 2012 18:49, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>>> https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4

>>> I think we'd need more information before arbitrarily disabling this.

>> The patch is to disable the error!

> Doh ... I read it backwards.  Sorry for the confusion.

Applied, will be in next week's releases.

			regards, tom lane



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

* Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
  2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
  2012-02-18 18:49 ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-18 22:02   ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Chris Rees <crees@freebsd.org>
  2012-02-18 22:08     ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
  2012-02-20 21:23       ` Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python Tom Lane <tgl@sss.pgh.pa.us>
@ 2012-02-20 21:33         ` Chris Rees <crees@freebsd.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Chris Rees @ 2012-02-20 21:33 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

On 20 February 2012 21:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> Chris Rees <crees@freebsd.org> writes:
>>> On 18 Feb 2012 18:49, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>>>> https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4
>
>>>> I think we'd need more information before arbitrarily disabling this.
>
>>> The patch is to disable the error!
>
>> Doh ... I read it backwards.  Sorry for the confusion.
>
> Applied, will be in next week's releases.
>

Thank you.  The pltcl advice (build more of the tree) worked great, so
I've fixed that on our (ports) side.  We can consider this bug closed
:)

Chris



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


end of thread, other threads:[~2012-02-20 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-02-18 17:35 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python crees@FreeBSD.org
2012-02-18 18:49 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-02-18 22:02   ` Chris Rees <crees@freebsd.org>
2012-02-18 22:08     ` Tom Lane <tgl@sss.pgh.pa.us>
2012-02-20 21:23       ` Tom Lane <tgl@sss.pgh.pa.us>
2012-02-20 21:33         ` Chris Rees <crees@freebsd.org>

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