Re: BUG #5283: Missing "base/1/ON" file during initdb - Mailing list pgsql-bugs

From Robert Treat
Subject Re: BUG #5283: Missing "base/1/ON" file during initdb
Date
Msg-id 201001161527.20601.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: BUG #5283: Missing "base/1/ON" file during initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Saturday 16 January 2010 14:02:16 Tom Lane wrote:
> "Robert Treat" <xzilla@users.sourceforge.net> writes:
> > I added --disable-largefile to configure after getting the following
> > error during "make install"
> >
> > access/transam/xlog.o: In function `XLogFileClose':
> > /usr/local/src/postgresql-8.4.2/src/backend/access/transam/xlog.c:2610:
> > undefined reference to `posix_fadvise64'
>
> Hmm, that looks like platform breakage that you ought to report to
> Slackware.  We could probably make the configure test for posix_fadvise
> a little tighter, but not having a largefile variant of it doesn't seem
> like an expected situation.
>

Well, the box is old, and probably not as patched as it should be, so that
probably doesn't help.

> > copying template1 to template0 ... FATAL:  could not stat file
> > "base/1/ON": No such file or directory
>
> Did you "make distclean" to be sure you had a clean start after changing
> the largefile setting?  I'm not sure what all that affects, but a build
> that's only partially "largefile" would probably have some weird issues.
>

Blech. Didn't think about that, as I wasn't building from $scm, but I just
wiped my source tree away, blew the tarball back open, and did the whole dance
again, and now initdb works fine, so yes, looks like some leftovers from a
previous configure/make attempt before disabling fadvise. Nice catch, sorry for
the noise.

--
Robert Treat
Conjecture: http://www.xzilla.net
Consulting: http://www.omniti.com

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5283: Missing "base/1/ON" file during initdb
Next
From: "azuneko"
Date:
Subject: BUG #5284: Postgres CPU 100% and worker took too long to start; cancelled... Systemdown