Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tesp8-0000ao-C3 for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 19:34:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tesp7-0001HG-Bq for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 19:34:01 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tesp6-0001HB-Q1 for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 19:34:00 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tesp4-00059n-He for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 19:34:00 +0000 Received: from obelix.localnet (AToulouse-556-1-169-26.w92-162.abo.wanadoo.fr [92.162.153.26]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M7Fkw-1TJUJb3bDq-00x8x0; Sat, 01 Dec 2012 20:33:46 +0100 From: =?iso-8859-15?q?C=E9dric_Villemain?= Reply-To: cedric@2ndquadrant.com Organization: 2ndQuadrant To: pgsql-bugs@postgresql.org Subject: Re: extension installation faillure using VPATH and MODULEDIR Date: Sat, 1 Dec 2012 20:33:38 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) Cc: Tom Lane References: <201212011513.53770.cedric@2ndquadrant.com> <17097.1354383852@sss.pgh.pa.us> In-Reply-To: <17097.1354383852@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1792441.WSquyEZ1Bl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201212012033.44931.cedric@2ndquadrant.com> X-Provags-ID: V02:K0:rvoQEQqlLre5iYf9txvxh+iutIYdjkwyibTal93E5/1 9Q2eLc+Yr65nK8Btl0cAo8wCgwjewJDRH5f9C/cmu3W1RC5z4V AdpiEktpEewEJea0Hwa4AWlZeAzLmUJXH3fkh7fIR1J9VJW1tW EQuslwGpreHMU8Kh2SUm9cbxj6HIkV41u6KHYj3q1OyMJP9h0T 75jdrbWPyweOneebYqBrsTrO9aj5JrWiyyT5JnsqjVXw5Hz5Wa d2LC9uC6Cpj1e9ygpXQbiE/drV2GEPnr6iZNBbWbBdE3ViMgSw PkR7Wg8RI7Ca81YvP9ddGOMgyeOS+y1LYEge+LaUqnUsoqnZ/N RKqQSj8AHdm5xaDIF6uWkV4Bek1TogEuadWx5XEIU X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --nextPart1792441.WSquyEZ1Bl Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Le samedi 1 d=E9cembre 2012 18:44:12, Tom Lane a =E9crit : > =3D?iso-8859-1?q?C=3DE9dric_Villemain?=3D writes: > > the attached patch fix the extension installation using a VPATH when a > > MODULEDIR is defined in the extension Makefile. > >=20 > > The current issue is that the sharedir/extension directory is not creat= ed > > if MODULEDIR !=3D 'extension' i.e. MODULEDIR is defined in the Makefile. > > Thus 'make install' fail to copy the control file in an nonexistent > > directory. >=20 > [ scratches head ... ] What's this have to do with VPATH? >=20 > I see the point that if EXTENSION is set, and a nondefault MODULEDIR is > selected, the "install" target puts the control file into the extension > subdirectory which hasn't been made by installdirs. But that seems not > connected to VPATH builds. I just hit the bug and though it was relative to VPATH because it was the m= ain=20 difference in my build. Obviously in my others scenariii the extension/=20 directory was pre-existent and I didn't notice the problem. =2D-=20 C=E9dric Villemain +33 (0)6 20 30 22 52 http://2ndQuadrant.fr/ PostgreSQL: Support 24x7 - D=E9veloppement, Expertise et Formation --nextPart1792441.WSquyEZ1Bl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAABAgAGBQJQuluSAAoJENsgH0yzVBebfEoH/j11cH0gzPWgMpMp1wulJocZ oytWQg0p/uxItMhLYPRtYLRORbW6jUwvx5jDohJL47qXp223Kk0GbJ6cr986BGzV ewlxgjgqXxR8kIH4Tx1Bfd5xsJJvDmB9IwtyzzG0qJ2+NYuw90RJB2Uk8sQzBzwi 4v01sv+Sbr+spoPnh3CfHYaQDZuK+LwfdjpDm8Xfpphi9VtorxMPqfglagqOQnxa FGpgODvCj6dsBgpIn8tWc/+GZCeFV/F4wip+QybZViAzrsYFPR3yqGXOUYhsIRt2 o6Ky9ajgza/9sLn/RzqxPUD3ZIF9sr+jUqDNLW/0Cnz+0s1LoHCmhnpkRsOaGD4= =hOvj -----END PGP SIGNATURE----- --nextPart1792441.WSquyEZ1Bl--