pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <cb@df7cb.de>
To: Daniel Farina <daniel@heroku.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: plv8 and pg_buildext
Date: Tue, 22 Apr 2014 00:14:48 +0200
Message-ID: <20140421221447.GD9846@msgid.df7cb.de> (raw)
In-Reply-To: <CAAZKuFY=4JX3OMczri5kraJw40d0x55ffNme59QQBEG_LrcuuA@mail.gmail.com>
References: <CAAZKuFY=4JX3OMczri5kraJw40d0x55ffNme59QQBEG_LrcuuA@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Daniel Farina 2014-04-22 <CAAZKuFY=4JX3OMczri5kraJw40d0x55ffNme59QQBEG_LrcuuA@mail.gmail.com>
> Hello,
> 
> I've recently been using pg_buildext to template control.in files, and
> it's pretty great.  However, I did run into this problem with plv8 and
> its generated control file, with the practical consequence being that
> it seems that the plv8 debian package cannot really support building
> for several postgresql versions at the same time (at least, it
> wouldn't when I submitted to a launchpad), being saved by
> "supported-versions" *only* possessing 9.3 in current Debian/Trusty.
> 
> I did get around this by finding this helpful thread reporting the same bug:
> 
>   http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/2013-May/001197.html
> 
> I applied a workaround seen in that thread and copied a modified
> pg_buildext (without srcdir=$srcdir) into "debian/" and it worked like
> a charm, I think:
> 
> http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/2013-May/001233.html
> 
> However, as evidenced by that response, it was somehow sub-ideal.
> 
> This workaround works for my own packages (I want plv8 for 9.2), but I
> thought I'd re-raise that come 9.4 this may be a problem and caused
> some grief in at least one instance.

Why don't you just use the packages on apt.postgresql.org?

postgresql-9.3-plv8 - Procedural language interface between PostgreSQL and JavaScript
postgresql-9.0-plv8 - Procedural language interface between PostgreSQL and JavaScript
postgresql-9.1-plv8 - Procedural language interface between PostgreSQL and JavaScript
postgresql-9.2-plv8 - Procedural language interface between PostgreSQL and JavaScript

That's for trusty and many other dists.

The problems mentioned in these posts have long been fixed in newer
postgresql-common versions.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (6+ messages)  latest in thread

Message-ID: <20140421221447.GD9846@msgid.df7cb.de>
Permalink:  ../20140421221447.GD9846@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20140421221447.GD9846@msgid.df7cb.de

 · 

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-pkg-debian@postgresql.org
  Cc: cb@df7cb.de, daniel@heroku.com
  Subject: Re: plv8 and pg_buildext
  In-Reply-To: <20140421221447.GD9846@msgid.df7cb.de>
  References: <CAAZKuFY=4JX3OMczri5kraJw40d0x55ffNme59QQBEG_LrcuuA@mail.gmail.com> <20140421221447.GD9846@msgid.df7cb.de>

* 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