On Wed, Apr 13, 2022 at 05:48:49PM -0700, David G. Johnston wrote:
> On Wed, Apr 13, 2022 at 5:44 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> > "David G. Johnston" <david.g.johnston@gmail.com> writes:
> > > The attached log is result of (while in the versioned directory, a
> > sibling
> > > of the git repo)
> > > `../postgresql/configure`
> > > `make`
> > > `tree`
> >
> > The VPATH buildfarm members haven't been complaining, and I can't
> > reproduce a failure here, so I'm inclined to suspect pilot error.
> >
> > One point that's not very clearly documented is that your source
> > directory needs to be clean; no build products in it, except
> > possibly those that are included in tarballs.
> >
> >
> I'll double-check but that would explain it. I know it was not clean when
> I tried this.
Note that if you what you want is building multiple major versions at the same
time, the easiest way to do that is probably to use git worktrees [1] and
checkout multiple branches of the same repo at the same times, and then build
each one as you'd normally do.
[1] https://git-scm.com/docs/git-worktree