Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 95A9CB5D803 for ; Sat, 18 Jun 2011 15:39:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 20795-01 for ; Sat, 18 Jun 2011 18:39:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from acidenitrix.villemain.org (acidenitrix.villemain.org [91.121.90.165]) by mail.postgresql.org (Postfix) with ESMTP id E6D48B5D801 for ; Sat, 18 Jun 2011 15:39:17 -0300 (ADT) Received: from [89.157.192.174] (helo=DimIMac.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QY0QO-0007PM-Jr; Sat, 18 Jun 2011 20:39:16 +0200 Received: by DimIMac.local (Postfix, from userid 501) id EF97221F7FF9; Sat, 18 Jun 2011 20:39:09 +0200 (CEST) From: Dimitri Fontaine To: Christoph Berg Cc: Dimitri Fontaine , PostgreSQL in Debian Subject: Re: Updated pg_buildext Organization: 2ndQuadrant References: <20110617152500.GH4130@msgid.df7cb.de> <20110618181228.GB19843@msgid.df7cb.de> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Sat, 18 Jun 2011 20:39:09 +0200 In-Reply-To: <20110618181228.GB19843@msgid.df7cb.de> (Christoph Berg's message of "Sat, 18 Jun 2011 20:12:29 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/6 X-Sequence-Number: 6 Christoph Berg writes: > I didn't really change that, I just replaced "cd && make" with "make -C". Ahah, I missed that. Objection withdrawn!=C2=A0:) > Here's what I would do: > > * add all supported (by the package) versions to debian/control, but > only build those from supported-versions > * have some way to update debian/control (ideally not involving > debian/control.in because manual changes to debian/control get lost) > * have some way to indicate that we want to build a different set of > versions, 1) it would make sense to build 9.1 modules when uploading > to experimental now, 2) we need that for apt.postgresql.org Well, for the =E2=80=9Clocal=E2=80=9D set of versions to build, I think the= answer is to tweak (dpkg-divert) the supported-versions script. Other than that, the main situation I want to avoid is having to hand-edit the package when a major version of PostgreSQL is dropped from sid at testing freeze time. So +1 for your proposal. >> The other TODO would be what to do about VPATH unfriendly extensions. >> Some of them are using subdirectories where to stash regression tests, >> docs, etc. Then building from another place is a problem: maybe that's >> why you removed my forcing building in $vtarget? > > These probably require full (configure,) build && install cycles for > each version. Usually install is invoked via fakeroot, but maybe we > can go without. I guess it boils down to playing with each extension in debian and seeing where pg_buildext fails=E2=80=A6 Regards, --=20 Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support