From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Christoph Berg <myon@debian.org>
Cc: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: Updated pg_buildext
Date: Sat, 18 Jun 2011 20:39:09 +0200
Message-ID: <m21uyrm1bm.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <20110618181228.GB19843@msgid.df7cb.de>
References: <20110617152500.GH4130@msgid.df7cb.de>
<m2sjr7m9ra.fsf@2ndQuadrant.fr>
<20110618181228.GB19843@msgid.df7cb.de>
Christoph Berg <myon@debian.org> writes:
> I didn't really change that, I just replaced "cd && make" with "make -C".
Ahah, I missed that. Objection withdrawn! :)
> 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 “local” 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…
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
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-pkg-debian@postgresql.org
Cc: dimitri@2ndQuadrant.fr, myon@debian.org
Subject: Re: Updated pg_buildext
In-Reply-To: <m21uyrm1bm.fsf@2ndQuadrant.fr>
References: <20110617152500.GH4130@msgid.df7cb.de> <m2sjr7m9ra.fsf@2ndQuadrant.fr> <20110618181228.GB19843@msgid.df7cb.de> <m21uyrm1bm.fsf@2ndQuadrant.fr>
* 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