pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Frank van Vugt <ftm.van.vugt@foxi.nl>
Cc: pgsql-bugs@postgresql.org
Subject: Re: v15rc1 shadowbuild fails when using src from symlink
Date: Mon, 3 Oct 2022 17:41:03 +0900
Message-ID: <YzqgH8ASqUn6hhvx@paquier.xyz> (raw)
In-Reply-To: <2274119.ElGaqSPkdT@techfox>
References: <2274119.ElGaqSPkdT@techfox>

On Fri, Sep 30, 2022 at 08:33:17AM +0200, Frank van Vugt wrote:
> Just like v15b4, the first rc fails to compile when using the source from a 
> symlink.
> [...]
> make -j2 
> => fails on the following: 
> 
> => when using the real source folder instead of the symlink, the same compile/
> script finishes fine

Yep, using a VPATH build with the source being a soft link does not
work.  Here is what I have done, basically the same steps as yourself: 
wget https://ftp.postgresql.org/pub/source/v15rc1/postgresql-15rc1.tar.gz
tar zxvf postgresql-15rc1.tar.gz
ln -s postgresql-15rc1 postgres_src
mkdir postgres_build
cd postgres_build/
$path/to/postgres_src/configure --prefix=$PGDIR/install --enable-cassert
make -j 4

This is as well the case with 14, by the way, and most likely the case
of older versions.  Why are you using such an exotic way to build
things?  A vpath build would give the same result for the build, once
the downloaded source is renamed to a more generic name, for example.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <YzqgH8ASqUn6hhvx@paquier.xyz>
Permalink:  ../YzqgH8ASqUn6hhvx@paquier.xyz/
Also on:    postgresql.org/message-id/YzqgH8ASqUn6hhvx@paquier.xyz

 · 

reply

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: michael@paquier.xyz, ftm.van.vugt@foxi.nl
  Subject: Re: v15rc1 shadowbuild fails when using src from symlink
  In-Reply-To: <YzqgH8ASqUn6hhvx@paquier.xyz>
  References: <2274119.ElGaqSPkdT@techfox> <YzqgH8ASqUn6hhvx@paquier.xyz>

* 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