Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcMUJ-0003gm-3v for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 21 Apr 2014 22:14:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WcMUI-0005Cd-Cy for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 21 Apr 2014 22:14:54 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcMUH-0005CW-Ia for pgsql-pkg-debian@postgresql.org; Mon, 21 Apr 2014 22:14:53 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcMUD-0001Q5-TZ for pgsql-pkg-debian@postgresql.org; Mon, 21 Apr 2014 22:14:52 +0000 Received: from msgid.df7cb.de (kref-4d095a32.pool.mediaways.net [77.9.90.50]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id D0F0B696B6; Tue, 22 Apr 2014 00:14:48 +0200 (CEST) Date: Tue, 22 Apr 2014 00:14:48 +0200 From: Christoph Berg To: Daniel Farina Cc: pgsql-pkg-debian@postgresql.org Subject: Re: plv8 and pg_buildext Message-ID: <20140421221447.GD9846@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Daniel Farina , pgsql-pkg-debian@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.6 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: Daniel Farina 2014-04-22 > 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