BUG #12884: configure script fails on a platform with /tmp directory read only

From: pgconfbug(at)yopmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12884: configure script fails on a platform with /tmp directory read only
Date: 2015-03-20 17:02:51
Message-ID: 20150320170251.2560.54051@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12884
Logged by: X
Email address: pgconfbug(at)yopmail(dot)com
PostgreSQL version: 9.0.19
Operating system: Linux SLES 10 SP2
Description:

On a platform intentionally setup with a /tmp directory readonly but with a
TMPDIR environment variable pointing to a writable location the configure
script fails detecting a non thread safe platform.

Reading of config.log indicates a write failure in /tmp directory for
execution of thread safety conftest program.
The corresponding source is src/test/thread/thread_test.c

The reading of the source shows that this test program explicitly references
/tmp for writing instead of using a TMPDIR capable function like tempnam()

Replacement of hard coded /tmp reference by a suitable value allows
configure to complete sucessfully.

The "make" and "make install" are also OK.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message rschaaf 2015-03-20 19:43:37 BUG #12885: The result of casting a double to an integer depends on the database version
Previous Message John R Pierce 2015-03-20 16:36:40 Re: Problem when installing PL/Proxy with Windows OS