From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nels Frazier <hellkite500@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14380: pg_config fails to build.
Date: Wed, 19 Oct 2016 14:02:45 -0400
Message-ID: <18537.1476900165@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKVtp69tNccODVDQSFds7EaOzW_cFJB7ieWwzhD1=2bnTDYe3w@mail.gmail.com>
References: <20161018225905.1413.3919@wrigleys.postgresql.org>
<24332.1476849419@sss.pgh.pa.us>
<CAKVtp69tNccODVDQSFds7EaOzW_cFJB7ieWwzhD1=2bnTDYe3w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Nels Frazier <hellkite500@gmail.com> writes:
> So I checked out ~/.ccache, and there was no such file/directory in my home
> folder.
Hm, ccache RPM not installed then?
> I tried configuring/building from both bash and tcsh, neither worked. This
> is really strange, since I was able to build successfully on a RHEL 6.7
> machine using:
> GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
> GNU Make 3.8.1
> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
> But on the RHEL 6.4 machine using:
> GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
> GNU Make 3.81
> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
> the build fails. I even tried using a different compiler version (gcc
> (GCC) 4.7.1) to no avail.
Don't know what to tell you. RHEL 6.4 was current during 2013, which is
the same year that 9.2 was our current release, and we would certainly
have noticed if there was any widespread (or even not so widespread)
build failure on that combination. Also, the code in question hasn't
changed in quite some time, so the issue would affect other PG branches
besides 9.2, making it even less likely that we'd have missed a problem.
I have to think that one or another component of your toolchain is
nonstandard or corrupted, but it's hard to say more than that.
> Should it be ok to proceed using the patch to get a build completed?
Well, Postgres isn't going to care. Applications that make use of the
output of pg_config might be unhappy with the lack of quotes, although
most likely it wouldn't matter as long as there's not spaces or quotes
in your path names.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, hellkite500@gmail.com
Subject: Re: BUG #14380: pg_config fails to build.
In-Reply-To: <18537.1476900165@sss.pgh.pa.us>
References: <20161018225905.1413.3919@wrigleys.postgresql.org> <24332.1476849419@sss.pgh.pa.us> <CAKVtp69tNccODVDQSFds7EaOzW_cFJB7ieWwzhD1=2bnTDYe3w@mail.gmail.com> <18537.1476900165@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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