Your message dated Fri, 18 Nov 2005 19:23:13 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#339747: libpq-dev: pg_config should be versioned?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Nov 2005 15:31:43 +0000
>From [EMAIL PROTECTED] Fri Nov 18 07:31:43 2005
Return-path: <[EMAIL PROTECTED]>
Received: from yyy.kp.dlr.de ([129.247.113.223] helo=sea-gw.sea.intern)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ed8DH-0006in-9N
        for [EMAIL PROTECTED]; Fri, 18 Nov 2005 07:31:43 -0800
Received: from joelap.sea.com (Joelap.sea.intern [192.168.0.21])
        by sea-gw.sea.intern (Postfix) with ESMTP id 5DB9CDB932;
        Fri, 18 Nov 2005 16:31:11 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Joerg Hessdoerfer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libpq-dev: pg_config should be versioned?
X-Mailer: reportbug 3.17
Date: Fri, 18 Nov 2005 16:31:29 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libpq-dev
Version: 8.1.0-2
Severity: normal

My problem with the new setup of libpq-dev + postgresql-server-dev ist
pg_config: this is installed in libpq-dev, and always points to the
latest postgresql-server-dev. This is very unfortunate, since I then
cannot build addons for older server versions (e.g. Slony, which only
builds against 8.0 AFAIK). I would recommend branding libpq-dev with the
pg version number, too, to enable builds for older pg versions. As an
alternative, have postgresql-server-dev-X.X supply it's own private
pg_config in a separate location (/var/lib/postgresql/X.X/pg_config?,
but I guess that's against some Debian policy). For me it makes absolute
sense to distribute pg_config with postgresql-server-dev, as it
describes how the server was built.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libpq-dev depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libkrb53                      1.3.6-5    MIT Kerberos runtime libraries
ii  libpam0g                      0.76-16    Pluggable Authentication Modules l
ii  libpq4                        8.1.0-2    PostgreSQL C client library
ii  libreadline5                  5.0-11     GNU readline and history libraries
ii  libssl-dev                    0.9.8a-4   SSL development libraries, header 
ii  libssl0.9.8                   0.9.8a-4   SSL shared libraries
ii  zlib1g                        1:1.2.3-8  compression library - runtime

libpq-dev recommends no packages.

-- debconf-show failed

---------------------------------------
Received: (at 339747-done) by bugs.debian.org; 18 Nov 2005 18:23:44 +0000
>From [EMAIL PROTECTED] Fri Nov 18 10:23:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from box79162.elkhouse.de ([213.9.79.162])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EdAtk-0004ki-2Y
        for [EMAIL PROTECTED]; Fri, 18 Nov 2005 10:23:44 -0800
Received: from localhost.localdomain (unknown [195.227.105.180])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (Client CN "Martin Pitt (workstation)", Issuer "piware CA" (verified 
OK))
        by box79162.elkhouse.de (Postfix) with ESMTP id 2E6E4BDC26
        for <[EMAIL PROTECTED]>; Fri, 18 Nov 2005 19:23:12 +0100 (CET)
Received: by localhost.localdomain (Postfix, from userid 1000)
        id 4DF8E17341; Fri, 18 Nov 2005 19:23:13 +0100 (CET)
Date: Fri, 18 Nov 2005 19:23:13 +0100
From: Martin Pitt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#339747: libpq-dev: pg_config should be versioned?
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="MGu/vTNewDGZ7tmp"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.4 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        RCVD_IN_SORBS,RCVD_IN_SORBS_WEB autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02


--MGu/vTNewDGZ7tmp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Joerg!

Joerg Hessdoerfer [2005-11-18 16:31 +0100]:
> My problem with the new setup of libpq-dev + postgresql-server-dev ist
> pg_config: this is installed in libpq-dev, and always points to the
> latest postgresql-server-dev.

I put it into libpq-dev since the large majority of packages are
client-side and should not use -server-dev.

> As an alternative, have postgresql-server-dev-X.X supply it's own
> private pg_config in a separate location
> (/var/lib/postgresql/X.X/pg_config?

In fact postgresql-server-dev-7.4 does ship
/usr/lib/postgresql/7.4/bin/pg_config, so you can happily use this
(see latest sid version of plr for an example how to build a
server-side extension for multiple versions).

-8.0 deliberately does not ship it any more since 8.0 will disappear
=66rom the archive soon. We have 7.4 and 8.1 already and I need to limit
the version inflation in order to keep postgresql supportable. So
please build server-side stuff against 8.1 (and optionally 7.4) now.

> For me it makes absolute sense to distribute pg_config with
> postgresql-server-dev, as it describes how the server was built.

Right, for me too. :) If you want, I can add a symlink
/usr/lib/postgresql/8.1/bin/pg_config -> /usr/bin/pg_config to
-server-dev-8.1, so that you can access pg_config from a consistent
path.
=09
Thanks!

Martin
--=20
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

--MGu/vTNewDGZ7tmp
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDfhwRDecnbV4Fd/IRAmEbAJ0apT3afAbvJYD41Qm9XrFarJjwNgCg+hVt
0HL78K923EcKD7Q0BCE0/UI=
=Bd51
-----END PGP SIGNATURE-----

--MGu/vTNewDGZ7tmp--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to