Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 34E70B5DBE4 for ; Wed, 17 Aug 2011 18:50:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 36479-03 for ; Wed, 17 Aug 2011 21:50:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 543B7B5DBC4 for ; Wed, 17 Aug 2011 18:50:46 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p7HLoj1c021668 for ; Wed, 17 Aug 2011 21:50:45 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p7HLojth021667; Wed, 17 Aug 2011 21:50:45 GMT (envelope-from www) Date: Wed, 17 Aug 2011 21:50:45 GMT Message-Id: <201108172150.p7HLojth021667@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6166: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms From: "Alex Soto" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201108/105 X-Sequence-Number: 30917 The following bug has been logged online: Bug reference: 6166 Logged by: Alex Soto Email address: apsoto@gmail.com PostgreSQL version: 9.0.4 Operating system: Linux (CentOS release 5.0 (Final)) Description: configure from source fails with 'This platform is not thread-safe.' but was actually /tmp perms Details: I was trying to build the 9.0.4 source tarball as the postgres user on a test machine. The configure step failed with the error: This platform is not thread-safe. Check the file 'config.log' or compile and run src/test/thread/thread_test for the exact reason. Use --disable-thread-safety to disable thread safety. As I started looking through the log file I noticed that it failed to write to the /tmp directory. Other configure steps had written to /var/tmp, but this step tried to write to /tmp for some reason. I fixed by correcting the permissions on the /tmp dir, but I thought the error message was a little misleading, so I thought I'd report the problem. The specific configure I ran was: ./configure --disable-integer-datetimes but I don't think the config option likely makes a difference.