Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofH0m-00068F-U2 for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Oct 2022 08:41:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ofH0k-0007sM-Az for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Oct 2022 08:41:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofH0k-0007sD-2P for pgsql-bugs@lists.postgresql.org; Mon, 03 Oct 2022 08:41:14 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofH0f-0003kN-Cg for pgsql-bugs@postgresql.org; Mon, 03 Oct 2022 08:41:13 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id EA5CA3200065; Mon, 3 Oct 2022 04:41:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 03 Oct 2022 04:41:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1664786467; x=1664872867; bh=1ajmfvk4Or 7LBrb6orZ359oYBkIJqFKI8pfkOQvwFSc=; b=RybuyhlyD4cZHcY9M9NM5IrixU C5MV/0/gY+0e3KvLGzK/9Br/OCe5To/zKMrn14M5kV3BLfcyh27YBq2X0RctRxly r+hnwW7ry5p9PfZdQGLfVjiy5xLkBVcnhk2NrlTa8mxwwY51OJ0UnMh2OpToaVjl FD0f6SAsndn6RieYDXTI4VOIxs6vds4HWCL93VzdkglRqdI6foFfb9TAmn5T3Ohp Xr93fRN/2lr0VecXqE/wOwGG2mtEgPdFIAXDvlbwfi6aRwDpkf6gAvh6J5iR48UJ 404ROfW+L+2CGpNIWiHs2s3P2hN2SXDQAqu0JCkanDTL/NvDMv4mX+jlsHNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664786467; x=1664872867; bh=1ajmfvk4Or7LBrb6orZ359oYBkIJ qFKI8pfkOQvwFSc=; b=aeIgPUF/oWANwJb0UvXQQYs0FcXHO8EwpEH56Dz8AWXK y36NWmdA8V3fTOixHQLJapnAMK2XbKSMwXZz/fXrHNY8xtvCLR6LYj5LFnZRRU80 fViq3bdMae/jMy1TRl7ONJbadm/ZSFoggK9yYvt0qwTAW3hi4vG9Np1B/O2EzLaz I4M9iAOgqFRZK+qCFNL0uKgy6YA6SuytDpF6dyJGxHD6yVzsXBVMgPTO1CoOSp/t TZQdOBH2WrPkJAr5WkjzQsP12D9x7sOyEyuWcOkIEfzCmQHvH3VQZgIOmiAxmuvn zjowDsgI4eOtxiLfGm/sTrIe6HFxhbSyYaH1izSMdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehledgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepgeffjeevgfevuddvjedtvddt ieejheduueelvddufedtgfefjedvkeevkeeivddvnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Oct 2022 04:41:06 -0400 (EDT) Date: Mon, 3 Oct 2022 17:41:03 +0900 From: Michael Paquier To: Frank van Vugt Cc: pgsql-bugs@postgresql.org Subject: Re: v15rc1 shadowbuild fails when using src from symlink Message-ID: References: <2274119.ElGaqSPkdT@techfox> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TRZYacCtFmcvNs9z" Content-Disposition: inline In-Reply-To: <2274119.ElGaqSPkdT@techfox> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --TRZYacCtFmcvNs9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > symlink. > [...] > make -j2=20 > =3D> fails on the following:=20 >=20 > =3D> when using the real source folder instead of the symlink, the same c= ompile/ > 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:=20 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=3D$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 --TRZYacCtFmcvNs9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmM6oB8ACgkQnvQgOdby QH3umBAApsnGkgbfk08ldaqtrVaPWDI5s2qZ/OffaOWmT5hRzsF/oM/9z4NUWlGT RsffNzvY34OcSm3Dmo5kKch4+Brg109mF4pI2wRw4Voi1dSFBOF7p/sxrP4lNc0Y luk7VmHRP8VejUZQkXid43n2dg8y4ELfC2agMk0eQzPX7bpDqkScjLD7nM4kuu+4 0Ojmarb34gmXhJnAL4rkQlGwUfX6EkZAbrR2rJLNUM7KLJNsW1hwmY7M8klPXeS4 XvQIrsMptf9qsPT4azhP2+zr5wDZeNHO49Y86BUJZfpCJnBtPwSXlWNMhhvCdmbP CffTJwJBMCq7Cn4R2n54CWo4Jn+BS21YLjIqbcEbRlITAHd8f40oZc/fmYhulZ0u mcGP7zOCCFFLKw5hPsc2g3FDk916PrjXKT2MwIytrMGCl/CfyJPfLrWDpEH5WUcK pDKKyJgFC00QDD69Ko16QeNsz2qcGj1wToh5vbxmIPj0AAZwwE1giYl3Te6mjseJ nFr0/fQtAWiuwdAH4PHgvCNdsUDasZVNs6vvW1V8YBiGey0df98cVTYVvbFSplid +TCGFAjxqr/ULJUC74nn5z4ahsNSpcVNvXkOd+m5oB3q3XaGerunvZBMADNQpDp2 Vn8dHmcz4FkUVoTokQXrULrmZNDCpgtBMPR4ijvdl4ERWb+dL5o= =DQxj -----END PGP SIGNATURE----- --TRZYacCtFmcvNs9z--