Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: crees(at)FreeBSD(dot)org
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python
Date: 2012-02-18 18:49:47
Message-ID: 560.1329590987@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

crees(at)FreeBSD(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Susanne Ebrecht 2012-02-18 21:11:54 Syntax got translated
Previous Message crees 2012-02-18 17:35:05 BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python