Debian Bug report logs - #314427
libpq-dev contains headers actually belonging into postgresql-server-dev

version graph

Package: libpq-dev; Maintainer for libpq-dev is Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>; Source for libpq-dev is src:postgresql-17 (PTS, buildd, popcon).

Reported by: Peter Eisentraut <peter_e@gmx.net>

Date: Thu, 16 Jun 2005 07:33:03 UTC

Severity: normal

Tags: wontfix

Found in version 8.0.3-5

Fixed in versions postgresql-9.3/9.3.3-2, haskell-hsql-postgresql/1.8.2-3

Done: Joachim Breitner <nomeata@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martin Pitt <mpitt@debian.org>:
Bug#314427; Package libpq-dev. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
New Bug report received and forwarded. Copy sent to Martin Pitt <mpitt@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: contains too many files
Date: Thu, 16 Jun 2005 09:06:58 +0200
Package: libpq-dev
Version: 8.0.3-5
Severity: normal

Some of the header files included in this package are not for libpq development
and should be moved to postgresql-server-dev, namely:

usr/include/postgresql/8.0/c.h                              libdevel/libpq-dev
usr/include/postgresql/8.0/catalog/pg_type.h                libdevel/libpq-dev
usr/include/postgresql/8.0/nodes/nodes.h                    libdevel/libpq-dev
usr/include/postgresql/8.0/port.h                           libdevel/libpq-dev
usr/include/postgresql/8.0/postgres.h                       libdevel/libpq-dev
usr/include/postgresql/8.0/postgres_ext.h                   libdevel/libpq-dev
usr/include/postgresql/8.0/postgres_fe.h                    libdevel/libpq-dev
usr/include/postgresql/8.0/utils/elog.h                     libdevel/libpq-dev
usr/include/postgresql/8.0/utils/errcodes.h                 libdevel/libpq-dev
usr/include/postgresql/8.0/utils/palloc.h                   libdevel/libpq-dev

The libpgport library is also not really suitable for libpq development.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#314427; Package libpq-dev. (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Peter Eisentraut <peter_e@gmx.net>, 314427@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#314427: contains too many files
Date: Thu, 16 Jun 2005 09:49:21 +0200
[Message part 1 (text/plain, inline)]
tag 314427 wontfix
thanks

Hi Peter!

Peter Eisentraut [2005-06-16  9:06 +0200]:
> Package: libpq-dev
> Version: 8.0.3-5
> Severity: normal
> 
> Some of the header files included in this package are not for libpq development
> and should be moved to postgresql-server-dev, namely:
> 
> usr/include/postgresql/8.0/c.h                              libdevel/libpq-dev
> usr/include/postgresql/8.0/catalog/pg_type.h                libdevel/libpq-dev
> usr/include/postgresql/8.0/nodes/nodes.h                    libdevel/libpq-dev
> usr/include/postgresql/8.0/port.h                           libdevel/libpq-dev
> usr/include/postgresql/8.0/postgres.h                       libdevel/libpq-dev
> usr/include/postgresql/8.0/postgres_ext.h                   libdevel/libpq-dev
> usr/include/postgresql/8.0/postgres_fe.h                    libdevel/libpq-dev
> usr/include/postgresql/8.0/utils/elog.h                     libdevel/libpq-dev
> usr/include/postgresql/8.0/utils/errcodes.h                 libdevel/libpq-dev
> usr/include/postgresql/8.0/utils/palloc.h                   libdevel/libpq-dev

These files have not been in the first libpq-dev packages, but I added
them while doing the PostgreSQL client transition for main. Many
client packages need e. g. pg_type.h. All of these files are required
by at least one client package.

BTW, these files are present in -server-dev, too (i. e. in the server/
subdirectory), but I moved them to libpq-dev to avoid build-depending
on -server-dev in some client packages.

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Pitt <mpitt@debian.org>:
Bug#314427; Package libpq-dev. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Martin Pitt <mpitt@debian.org>. (full text, mbox, link).


Message #15 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: Martin Pitt <mpitt@debian.org>
Cc: 314427@bugs.debian.org
Subject: Re: Bug#314427: contains too many files
Date: Thu, 16 Jun 2005 09:58:40 +0200
Martin Pitt wrote:
> These files have not been in the first libpq-dev packages, but I
> added them while doing the PostgreSQL client transition for main.
> Many client packages need e. g. pg_type.h. All of these files are
> required by at least one client package.

Clients that require pg_type.h are buggy and should fix their code or 
adjust their dependencies.



Tags added: wontfix Request was from Martin Pitt <mpitt@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Pitt <mpitt@debian.org>:
Bug#314427; Package libpq-dev. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Martin Pitt <mpitt@debian.org>. (full text, mbox, link).


Message #22 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: 314427@bugs.debian.org
Subject: Re: contains too many files
Date: Thu, 15 Dec 2005 10:42:45 +0100
This has become an issue again.  I'm building a module for a back version of 
PostgreSQL.  (I know we're not supposed to use 8.0 any more, but the same is 
true for 7.4.)  These fake "client" header files contain symbols relevant to 
server version 8.1 but not present in earlier versions, so packages that do

-I/usr/include/postgresql -I/usr/include/postgresql/8.0/server/

will just crash during the build.  I suppose one could work around this by 
switching the order, but that a disproportional amount of work (patch 
configure etc.)

I would like to know exactly which packages require these fake client headers 
that I listed in my original messages.  I want to see if they can be fixed 
properly.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#314427; Package libpq-dev. (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #27 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Peter Eisentraut <peter_e@gmx.net>, 314427@bugs.debian.org
Subject: Re: Bug#314427: contains too many files
Date: Thu, 22 Dec 2005 19:36:09 +0100
[Message part 1 (text/plain, inline)]
Hi Peter!

Peter Eisentraut [2005-12-15 10:42 +0100]:
> This has become an issue again.  I'm building a module for a back version of 
> PostgreSQL.  (I know we're not supposed to use 8.0 any more, but the same is 
> true for 7.4.)  These fake "client" header files contain symbols relevant to 
> server version 8.1 but not present in earlier versions, so packages that do
> 
> -I/usr/include/postgresql -I/usr/include/postgresql/8.0/server/
> 
> will just crash during the build.

This should be fixed in 8.0.5-1.

> I would like to know exactly which packages require these fake client headers 
> that I listed in my original messages.  I want to see if they can be fixed 
> properly.

Quite some AFAIR. To find out which, we need to wade through apt-cache
rdepends libpq4 and check whether the packages still build when
removing these files:

usr/include/postgresql/catalog/pg_type.h
usr/include/postgresql/nodes/nodes.h
usr/include/postgresql/utils/{elog,errcodes,palloc}.h
usr/include/postgresql/{c,pg_config,pg_config_manual,pg_config_os,port}.h
usr/include/postgresql/postgres{,_fe,_ext}.h

Failing example packages are pygresql and psycopg.

Thanks,

Martin
-- 
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?
[signature.asc (application/pgp-signature, inline)]

Changed Bug title to 'libpq-dev contains headers actually belonging into postgresql-server-dev' from 'contains too many files' Request was from Christoph Berg <myon@debian.org> to control@bugs.debian.org. (Wed, 31 Aug 2011 08:06:13 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Christoph Berg <christoph.berg@credativ.de> to control@bugs.debian.org. (Tue, 11 Mar 2014 09:27:08 GMT) (full text, mbox, link).


Reply sent to Christoph Berg <christoph.berg@credativ.de>:
You have taken responsibility. (Wed, 12 Mar 2014 12:21:10 GMT) (full text, mbox, link).


Notification sent to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer. (Wed, 12 Mar 2014 12:21:11 GMT) (full text, mbox, link).


Message #36 received at 314427-close@bugs.debian.org (full text, mbox, reply):

From: Christoph Berg <christoph.berg@credativ.de>
To: 314427-close@bugs.debian.org
Subject: Bug#314427: fixed in postgresql-9.3 9.3.3-2
Date: Wed, 12 Mar 2014 12:20:22 +0000
Source: postgresql-9.3
Source-Version: 9.3.3-2

We believe that the bug you reported is fixed in the latest version of
postgresql-9.3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 314427@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <christoph.berg@credativ.de> (supplier of updated postgresql-9.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 12 Mar 2014 12:57:20 +0100
Source: postgresql-9.3
Binary: libpq-dev libpq5 libecpg6 libecpg-dev libecpg-compat3 libpgtypes3 postgresql-9.3 postgresql-9.3-dbg postgresql-client-9.3 postgresql-server-dev-9.3 postgresql-doc-9.3 postgresql-contrib-9.3 postgresql-plperl-9.3 postgresql-plpython-9.3 postgresql-plpython3-9.3 postgresql-pltcl-9.3
Architecture: source amd64 all
Version: 9.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>
Changed-By: Christoph Berg <christoph.berg@credativ.de>
Description: 
 libecpg-compat3 - older version of run-time library for ECPG programs
 libecpg-dev - development files for ECPG (Embedded PostgreSQL for C)
 libecpg6   - run-time library for ECPG programs
 libpgtypes3 - shared library libpgtypes for PostgreSQL 9.3
 libpq-dev  - header files for libpq5 (PostgreSQL library)
 libpq5     - PostgreSQL C client library
 postgresql-9.3 - object-relational SQL database, version 9.3 server
 postgresql-9.3-dbg - debug symbols for postgresql-9.3
 postgresql-client-9.3 - front-end programs for PostgreSQL 9.3
 postgresql-contrib-9.3 - additional facilities for PostgreSQL
 postgresql-doc-9.3 - documentation for the PostgreSQL database management system
 postgresql-plperl-9.3 - PL/Perl procedural language for PostgreSQL 9.3
 postgresql-plpython-9.3 - PL/Python procedural language for PostgreSQL 9.3
 postgresql-plpython3-9.3 - PL/Python 3 procedural language for PostgreSQL 9.3
 postgresql-pltcl-9.3 - PL/Tcl procedural language for PostgreSQL 9.3
 postgresql-server-dev-9.3 - development files for PostgreSQL 9.3 server-side programming
Closes: 314427
Changes: 
 postgresql-9.3 (9.3.3-2) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * Add missing build-essential test depends, for 180_ecpg.t.
 .
   [ Christoph Berg ]
   * Don't install server includefiles in libpq-dev. (Closes: #314427)
   * Remove contrib/file_fdw/sql/file_fdw.sql on clean.
Checksums-Sha1: 
 3c67a1f93aba4e4d3faabb2edbb8a8d950251f13 3317 postgresql-9.3_9.3.3-2.dsc
 e6700157ba31ef21242f44797064e1b1f52bc482 27264 postgresql-9.3_9.3.3-2.debian.tar.xz
 9e983fe69b48c47fcde7edb15fdb6048b2f87276 161446 libpq-dev_9.3.3-2_amd64.deb
 f67bd77d69c9ef226405ae6652d4433c7e87873f 123348 libpq5_9.3.3-2_amd64.deb
 a7fe74068a38096ffdcf68e2498bb348a5eb726e 80014 libecpg6_9.3.3-2_amd64.deb
 9488e08630c8e88346650712f5b04bf1affae487 216264 libecpg-dev_9.3.3-2_amd64.deb
 4b76cc2555763aa7949d3cbabff5fa76f0c82898 17642 libecpg-compat3_9.3.3-2_amd64.deb
 f401fb9f81fcf916ce0fd297833351f80d8a883b 39330 libpgtypes3_9.3.3-2_amd64.deb
 41e4482500a3aa7745234447e77056ea1cd4ce14 3425210 postgresql-9.3_9.3.3-2_amd64.deb
 4be12a9b39582c7c6f05c46e9d2684aa6bb60315 7097730 postgresql-9.3-dbg_9.3.3-2_amd64.deb
 2f5b3d9a3db6ab2555c02030b05c5a207da0b494 1030094 postgresql-client-9.3_9.3.3-2_amd64.deb
 bfa0db20e910a14b38225afaf32853442baa283e 603882 postgresql-server-dev-9.3_9.3.3-2_amd64.deb
 426e102e6691706da0f5ada11e728591cef42d89 1740472 postgresql-doc-9.3_9.3.3-2_all.deb
 315e803c3160e6c4120ddd66f8fc3b3b1de7e1ee 402902 postgresql-contrib-9.3_9.3.3-2_amd64.deb
 21307e1843ebbc588069ce2e5463ce429e94db2a 56552 postgresql-plperl-9.3_9.3.3-2_amd64.deb
 668d5cfd1095e031c80c91aedddbd86df9d91b20 45652 postgresql-plpython-9.3_9.3.3-2_amd64.deb
 5873b1a5b337bc0e9890b6622b074437b156095d 45650 postgresql-plpython3-9.3_9.3.3-2_amd64.deb
 56f2bb520c89338829ab771307922839a0fdcdbc 31800 postgresql-pltcl-9.3_9.3.3-2_amd64.deb
Checksums-Sha256: 
 56e3e4b94e3e3ec8edcb1eb8b4c4953f4bf657463e1bf9d0a9639964a929b5dd 3317 postgresql-9.3_9.3.3-2.dsc
 c2e9f4e324d9509c801803cfd80773d7160ee235e1d2c63f90db9557b025d695 27264 postgresql-9.3_9.3.3-2.debian.tar.xz
 6db35dc9f9d7f25c5532bceeda78cea8205efc5af21f46f89afbddfa8b89794d 161446 libpq-dev_9.3.3-2_amd64.deb
 6a90fab0195d7f5235a21684609bedff5d46bfaf93c6346d7313ec4151c77b22 123348 libpq5_9.3.3-2_amd64.deb
 b4a9926d2ade033a78b16d2b7a34b04c1b24ffa8738518c8d5f5438b2ba2679a 80014 libecpg6_9.3.3-2_amd64.deb
 03eba4bee8d524d01b9e5f92c630b6c9462d4ed81587a97613847f7ec98b4c56 216264 libecpg-dev_9.3.3-2_amd64.deb
 7761ec6b015fae068e03d38c57581ed1cb9d85b0d189a3b31db94ce2fb4fee43 17642 libecpg-compat3_9.3.3-2_amd64.deb
 6eb10c98a1a0b3e3a8f5721792e41167dc0f9805d1413582c9cb457f0613c95d 39330 libpgtypes3_9.3.3-2_amd64.deb
 72cc5dc781cdf5bf21a397cea2cbbbfff4b6689c9788c94a04aeb1370bf140aa 3425210 postgresql-9.3_9.3.3-2_amd64.deb
 f68e35a2bee28cf325e6647ca02e86e82243f0f53bc83c58dfadc871d69744ea 7097730 postgresql-9.3-dbg_9.3.3-2_amd64.deb
 98e8d20fdcb038ea4c4b121fd117f3d31582f6996972ff1a203b73131f85f754 1030094 postgresql-client-9.3_9.3.3-2_amd64.deb
 90cb80c9e499e4e47facf98e2496e68f1cfa1e9422993c63970692f6a149e9e1 603882 postgresql-server-dev-9.3_9.3.3-2_amd64.deb
 463407b8552a718b7f7d0993b9a7deae866922ccb5d2ef7e2c733beb3d2f7a4d 1740472 postgresql-doc-9.3_9.3.3-2_all.deb
 a02ed1dd8143c4ff25129e3c19c7cd00117f28366fb3cd67c23bb199dea43c8f 402902 postgresql-contrib-9.3_9.3.3-2_amd64.deb
 f39600818501314aad25834d16919d4e48451aea5005bc023b6c8163d9329bd0 56552 postgresql-plperl-9.3_9.3.3-2_amd64.deb
 158a67e3c8493eeff3066f26734d8d45d5b93f93236c0d0cd15dbf6f7302ffd7 45652 postgresql-plpython-9.3_9.3.3-2_amd64.deb
 f71f5c83787a860b181c0cf9dc4ab8199d34bce49ee34e64895ae245027f3781 45650 postgresql-plpython3-9.3_9.3.3-2_amd64.deb
 fbcfcbb32ca49ce561ff32ca1ef098feaeba145eb19fe02a0f2c3a557c52a602 31800 postgresql-pltcl-9.3_9.3.3-2_amd64.deb
Files: 
 9d572d9d69e37caa907f503f06f56b05 3317 database optional postgresql-9.3_9.3.3-2.dsc
 737fd2f6488e0fe03c4d664e031a4fbe 27264 database optional postgresql-9.3_9.3.3-2.debian.tar.xz
 914c7a00c103617f7c45a49c921b8538 161446 libdevel optional libpq-dev_9.3.3-2_amd64.deb
 9d0d4ac2f104362461e1c4dbf161a233 123348 libs optional libpq5_9.3.3-2_amd64.deb
 54eab9e0ff0357ee40632f03cd752620 80014 libs optional libecpg6_9.3.3-2_amd64.deb
 976aba78d623ff1c5ba0a898b02422ab 216264 libdevel optional libecpg-dev_9.3.3-2_amd64.deb
 f3d064d95bb8866176c3f10728a9e26e 17642 libs optional libecpg-compat3_9.3.3-2_amd64.deb
 7941fa820ba35de2e1b4a6ba61d94ac6 39330 libs optional libpgtypes3_9.3.3-2_amd64.deb
 2ac2aa99b9e60b3c5fb1abbfd0d3a963 3425210 database optional postgresql-9.3_9.3.3-2_amd64.deb
 be2906b9a6710ae7c64bcb6fd3da63d4 7097730 debug extra postgresql-9.3-dbg_9.3.3-2_amd64.deb
 8a0f472100ebba38158da2da8a5e5a7c 1030094 database optional postgresql-client-9.3_9.3.3-2_amd64.deb
 ed87013a5eed5cc488443d152c5bf5fb 603882 libdevel optional postgresql-server-dev-9.3_9.3.3-2_amd64.deb
 050e133fa0da66e20bb836b5a6704268 1740472 doc optional postgresql-doc-9.3_9.3.3-2_all.deb
 14379fec48d9ff2900badd72a74d5d03 402902 database optional postgresql-contrib-9.3_9.3.3-2_amd64.deb
 a0504c7399c34062147cfad56f41dbf6 56552 database optional postgresql-plperl-9.3_9.3.3-2_amd64.deb
 6e204f416247592df83cc59291845c30 45652 database optional postgresql-plpython-9.3_9.3.3-2_amd64.deb
 fc12386113a320417667dc67d03bc96d 45650 database optional postgresql-plpython3-9.3_9.3.3-2_amd64.deb
 573eed691852b33989ffc15cc8e6f2e9 31800 database optional postgresql-pltcl-9.3_9.3.3-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTIE+LAAoJEExaa6sS0qeuP38P/2/yMRzdfJ228Zqnr86sYZpe
5GTQ2yMzyd6Y7KUQtqkL6lrbN+3BgvkE4ZBRFZI3cLzpzGHHy9u70zTu46roEm1t
3RVmNaP/k8tqlA+x6mIBfLMqQkH92EwvDyVkhplOErHFDQxroLp1qWPTSLf4tyHj
pml5ndSBmt0i0Xyd5BKzR2vnq7WJ9ucPrwyhFqAK1YGp7mujiC5UqXRRz6SKkhRX
hPVugQC+sRHHdVFXa01+JJZq5vAukCUtXfHMdT85mrviqoFPNz7Eo8fi0T19JUpG
1rVTze07KfnjbghV8GcpbdTC3+4/JQZGIY8aQAxIuBD7tDDAJVfcDUBZZ+kufpHe
CcpHBoGLuD1PHxUatNMQNmPdOz5J9v7ZQLkiVQ7fpNHYGk5TlhfmdTNJsTxggtis
FAUF+XyjZwCVOnfT5NVtFhvIkxUPjbu4JzrngQY2OP/gtDO1gkH6/hpC6ElFBL+J
dcREwAdBE7dWpCdeiw5USbd2uUfjGrKeRG3wXer3KXb187w5O84dDR+dgp8zDOaf
FZ2fxWSez/4pbIqYgwOWCbkVqhxK6q044IHT8g9Rcu4LygQCEpNuHKL9ku8qYX85
hmU77wFXINaMblCSyhVpJZy+krzT3cv2FTKEXpVTcMnRPPFlwMpPMZFwxPl8Z1Hf
R4l3kuTHP+Hh6StXpFV/
=ZLqr
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Sun, 16 Mar 2014 14:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Sun, 16 Mar 2014 14:06:04 GMT) (full text, mbox, link).


Message #41 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Joachim Breitner <nomeata@debian.org>
To: nick.rudnick@googlemail.com
Cc: 741803@bugs.debian.org, 314427@bugs.debian.org
Subject: hsql-postgresql imports
Date: Sun, 16 Mar 2014 15:03:54 +0100
[Message part 1 (text/plain, inline)]
Control: tag 741803 + upstream confirmed

Dear Nick,

hsql-postgresql started to fail to build on Debian because the header
file postgres.h was removed from libpq-dev. According to
https://bugs.debian.org/314427, this is a file that should only be used
for server-side programming and hence was removed from libpq-dev;
clients should only use these header files, it seems:

/usr/include/postgresql/libpq-events.h
/usr/include/postgresql/libpq-fe.h
/usr/include/postgresql/libpq/libpq-fs.h
/usr/include/postgresql/pg_config_ext.h
/usr/include/postgresql/pg_config.h
/usr/include/postgresql/pg_config_manual.h
/usr/include/postgresql/pg_config_os.h
/usr/include/postgresql/postgres_ext.h

Could you look into this issue and possibly release a new version of
hsql-postgresql that uses them?

Thanks,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Mon, 17 Mar 2014 07:39:09 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Mon, 17 Mar 2014 07:39:09 GMT) (full text, mbox, link).


Message #46 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Joachim Breitner <nomeata@debian.org>, 314427@bugs.debian.org
Cc: nick.rudnick@googlemail.com, 741803@bugs.debian.org
Subject: Re: [Pkg-postgresql-public] Bug#314427: hsql-postgresql imports
Date: Mon, 17 Mar 2014 08:32:16 +0100
[Message part 1 (text/plain, inline)]
Joachim Breitner [2014-03-16 15:03 +0100]:
> hsql-postgresql started to fail to build on Debian because the header
> file postgres.h was removed from libpq-dev. According to
> https://bugs.debian.org/314427, this is a file that should only be used
> for server-side programming and hence was removed from libpq-dev;
> clients should only use these header files, it seems:

That's correct.

If there are legitimate reason why this client-side application needs
a server-side header, the package could grow a build dependency on
postgresql-server-dev-9.3 to at least make this fact explicit and fix
the FTBFS in the short term.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Mon, 17 Mar 2014 10:09:05 GMT) (full text, mbox, link).


Message #49 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Christoph Berg <myon@debian.org>
To: Martin Pitt <mpitt@debian.org>, 314427@bugs.debian.org
Cc: Joachim Breitner <nomeata@debian.org>, nick.rudnick@googlemail.com, 741803@bugs.debian.org
Subject: Re: Bug#314427: [Pkg-postgresql-public] Bug#314427: hsql-postgresql imports
Date: Mon, 17 Mar 2014 11:05:06 +0100
[Message part 1 (text/plain, inline)]
Re: Martin Pitt 2014-03-17 <20140317073216.GB3050@piware.de>
> > hsql-postgresql started to fail to build on Debian because the header
> > file postgres.h was removed from libpq-dev. According to
> > https://bugs.debian.org/314427, this is a file that should only be used
> > for server-side programming and hence was removed from libpq-dev;
> > clients should only use these header files, it seems:

Hi,

I've had a look at the haskell-hsql-postgresql source - the place
where it reads postgres.h and catalog/pg_type.h is where it defines
the mapping from haskell datatype -> PostgreSQL datatype. As the
package isn't just a client, but an interface driver (apparently using
the "binary" wire protocol), it's ok to make it depend on the server
headers.

Unfortunately there's not really a good place where else to pull this
information from. Maybe http://libpqtypes.esilo.com/ would help, but
this isn't packaged yet, and would require rewriting hsql-pg.

> If there are legitimate reason why this client-side application needs
> a server-side header, the package could grow a build dependency on
> postgresql-server-dev-9.3 to at least make this fact explicit and fix
> the FTBFS in the short term.

The OIDs of the exposed datatypes won't ever change, so B-D on
postgresql-server-dev-all is safe even if -9.3 will be replaced by
-9.4 or later in the future.

What worries me, though, is this:

Build-Conflicts:
 postgresql-server-dev-8.3,
 postgresql-server-dev-8.4

haskell-hsql-postgresql (1.7.3-2) unstable; urgency=low

  * Make postgresql-server-dev-8.[34] a Build-Conflicts (Closes: 559583)
    If this package is present at build-time, the resulting ghc-pkg info will
    reference a directory from it in Includes, causing the installation to
    fail (see #471786). But if it is not, everything goes well and we have one
    dependency less.

 -- Joachim Breitner <nomeata@debian.org>  Sat, 05 Dec 2009 17:10:34 +0100

I cannot reproduce the problem here with postgresql-server-dev-9.3
installed - the deps of the resulting .debs are the same, but I didn't
look into the package for file references in there.

B-C on packages that change name with every release seems fragile
anyway, so it would best be avoided.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Fri, 21 Mar 2014 19:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Fri, 21 Mar 2014 19:30:04 GMT) (full text, mbox, link).


Message #54 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Joachim Breitner <nomeata@debian.org>
To: Christoph Berg <myon@debian.org>
Cc: Martin Pitt <mpitt@debian.org>, 314427@bugs.debian.org, nick.rudnick@googlemail.com, 741803@bugs.debian.org
Subject: Re: Bug#314427: hsql-postgresql imports
Date: Fri, 21 Mar 2014 20:27:32 +0100
[Message part 1 (text/plain, inline)]
Hi,

Am Montag, den 17.03.2014, 11:05 +0100 schrieb Christoph Berg:
> The OIDs of the exposed datatypes won't ever change, so B-D on
> postgresql-server-dev-all is safe even if -9.3 will be replaced by
> -9.4 or later in the future.

thanks. I added the B-D.

> What worries me, though, is this:
> 
> Build-Conflicts:
>  postgresql-server-dev-8.3,
>  postgresql-server-dev-8.4
> 
> haskell-hsql-postgresql (1.7.3-2) unstable; urgency=low
> 
>   * Make postgresql-server-dev-8.[34] a Build-Conflicts (Closes: 559583)
>     If this package is present at build-time, the resulting ghc-pkg info will
>     reference a directory from it in Includes, causing the installation to
>     fail (see #471786). But if it is not, everything goes well and we have one
>     dependency less.
> 
>  -- Joachim Breitner <nomeata@debian.org>  Sat, 05 Dec 2009 17:10:34 +0100
> 
> I cannot reproduce the problem here with postgresql-server-dev-9.3
> installed - the deps of the resulting .debs are the same, but I didn't
> look into the package for file references in there.

Installing the new package will yield a warning
Warning: include-dirs: /usr/include/postgresql/9.3/server doesn't exist or isn't a directory
but not an error any more, so I think this is fine.

Uploading right now.

Thanks for your help, Christoph,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Reply sent to Joachim Breitner <nomeata@debian.org>:
You have taken responsibility. (Fri, 21 Mar 2014 19:36:04 GMT) (full text, mbox, link).


Notification sent to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer. (Fri, 21 Mar 2014 19:36:04 GMT) (full text, mbox, link).


Message #59 received at 314427-close@bugs.debian.org (full text, mbox, reply):

From: Joachim Breitner <nomeata@debian.org>
To: 314427-close@bugs.debian.org
Subject: Bug#314427: fixed in haskell-hsql-postgresql 1.8.2-3
Date: Fri, 21 Mar 2014 19:33:25 +0000
Source: haskell-hsql-postgresql
Source-Version: 1.8.2-3

We believe that the bug you reported is fixed in the latest version of
haskell-hsql-postgresql, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 314427@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Breitner <nomeata@debian.org> (supplier of updated haskell-hsql-postgresql package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 21 Mar 2014 20:22:38 +0100
Source: haskell-hsql-postgresql
Binary: libghc-hsql-postgresql-dev libghc-hsql-postgresql-prof libghc-hsql-postgresql-doc
Architecture: source all amd64
Version: 1.8.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Changed-By: Joachim Breitner <nomeata@debian.org>
Description: 
 libghc-hsql-postgresql-dev - PostgreSQL driver of the HSQL library for GHC
 libghc-hsql-postgresql-doc - API documentation of the hsql-postgresql library for Haskell
 libghc-hsql-postgresql-prof - PostgreSQL driver of the HSQL library for GHC; profiling librarie
Closes: 314427
Changes: 
 haskell-hsql-postgresql (1.8.2-3) unstable; urgency=low
 .
   * Adjust watch file to new hackage layout
   * Depend on postgresql-server-dev-9.3, and remove Build-Conflict on
     postgresql-server-dev-8.{3,4}, it seems that these are not needed any more
     (Closes: 314427)
Checksums-Sha1: 
 7992b5861305ba077136c36ceadd76bbc58326fa 1818 haskell-hsql-postgresql_1.8.2-3.dsc
 4f0663fb0851113107baa4d6888de3df4a109f23 3424 haskell-hsql-postgresql_1.8.2-3.debian.tar.xz
 9812b3bd98d7020671019022a9109002333d9023 40360 libghc-hsql-postgresql-doc_1.8.2-3_all.deb
 1a4a13f38dc0634aed9fd5d943538e162ef62dd9 34880 libghc-hsql-postgresql-dev_1.8.2-3_amd64.deb
 0634b78e1186063194631253a0220b024e5de8c3 36218 libghc-hsql-postgresql-prof_1.8.2-3_amd64.deb
Checksums-Sha256: 
 e203dece913b557b08406543ee77f366f20f2e2d6e0c45b63edd69d79f72893c 1818 haskell-hsql-postgresql_1.8.2-3.dsc
 6c286d5f6335fc69a1d47832a1dc54cc563b3600ec76ae4a00408d25fb3f9850 3424 haskell-hsql-postgresql_1.8.2-3.debian.tar.xz
 0ff9e68e59e65cef2acab270d971d7561f09b6ae539dbf5afb93704b25e1af0d 40360 libghc-hsql-postgresql-doc_1.8.2-3_all.deb
 d71d8fddb500eff77ee0ace3dae0ea9cc7e08432caf6f2c28c3ef3c1ae9cc75c 34880 libghc-hsql-postgresql-dev_1.8.2-3_amd64.deb
 0f856d6f77347e90d478122ba7baee4f93c83b65aded1153238a38de3ff54cb5 36218 libghc-hsql-postgresql-prof_1.8.2-3_amd64.deb
Files: 
 c081153f91cd9101af6132d3ccdb165a 1818 haskell extra haskell-hsql-postgresql_1.8.2-3.dsc
 b001a54b3d474c4c5c376a09b94bbd75 3424 haskell extra haskell-hsql-postgresql_1.8.2-3.debian.tar.xz
 812dabb93bb076e53dc97030bc5270d5 40360 doc extra libghc-hsql-postgresql-doc_1.8.2-3_all.deb
 aa046cbcfc6958cbadd2a3e3f1ba7d05 34880 haskell extra libghc-hsql-postgresql-dev_1.8.2-3_amd64.deb
 8a1c89b93596f45e33c67e7049ddb6a8 36218 haskell extra libghc-hsql-postgresql-prof_1.8.2-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMskq0ACgkQ9ijrk0dDIGx3xgCgng3/F94GIAKE+fwCqfiUbz9V
j9QAniZLn1OctS9feADMoqut6AvBohz+
=wwJq
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Fri, 21 Mar 2014 20:33:09 GMT) (full text, mbox, link).


Acknowledgement sent to Nick Rudnick <nick.rudnick@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Fri, 21 Mar 2014 20:33:09 GMT) (full text, mbox, link).


Message #64 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Nick Rudnick <nick.rudnick@gmail.com>
To: Joachim Breitner <nomeata@debian.org>
Cc: Christoph Berg <myon@debian.org>, Martin Pitt <mpitt@debian.org>, 314427@bugs.debian.org, Nick Rudnick <nick.rudnick@googlemail.com>, 741803@bugs.debian.org
Subject: Re: Bug#314427: hsql-postgresql imports
Date: Fri, 21 Mar 2014 21:31:03 +0100
[Message part 1 (text/plain, inline)]
Hi all,

this weekend, finally, I have plenty of time to adapt hsql-postgresql.

Thanks to everybody from my side, too. :-)


2014-03-21 20:27 GMT+01:00 Joachim Breitner <nomeata@debian.org>:

> Hi,
>
> Am Montag, den 17.03.2014, 11:05 +0100 schrieb Christoph Berg:
> > The OIDs of the exposed datatypes won't ever change, so B-D on
> > postgresql-server-dev-all is safe even if -9.3 will be replaced by
> > -9.4 or later in the future.
>
> thanks. I added the B-D.
>
> > What worries me, though, is this:
> >
> > Build-Conflicts:
> >  postgresql-server-dev-8.3,
> >  postgresql-server-dev-8.4
> >
> > haskell-hsql-postgresql (1.7.3-2) unstable; urgency=low
> >
> >   * Make postgresql-server-dev-8.[34] a Build-Conflicts (Closes: 559583)
> >     If this package is present at build-time, the resulting ghc-pkg info
> will
> >     reference a directory from it in Includes, causing the installation
> to
> >     fail (see #471786). But if it is not, everything goes well and we
> have one
> >     dependency less.
> >
> >  -- Joachim Breitner <nomeata@debian.org>  Sat, 05 Dec 2009 17:10:34
> +0100
> >
> > I cannot reproduce the problem here with postgresql-server-dev-9.3
> > installed - the deps of the resulting .debs are the same, but I didn't
> > look into the package for file references in there.
>
> Installing the new package will yield a warning
> Warning: include-dirs: /usr/include/postgresql/9.3/server doesn't exist or
> isn't a directory
> but not an error any more, so I think this is fine.
>
> Uploading right now.
>
> Thanks for your help, Christoph,
> Joachim
>
>
> --
> Joachim "nomeata" Breitner
> Debian Developer
>   nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
>   JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
>
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Sat, 22 Mar 2014 13:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Slávek Banko <slavek.banko@axis.cz>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Sat, 22 Mar 2014 13:03:05 GMT) (full text, mbox, link).


Message #69 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Slávek Banko <slavek.banko@axis.cz>
To: 314427@bugs.debian.org
Subject: libpq-dev is now broken
Date: Sat, 22 Mar 2014 13:45:52 +0100
Hi all,

include file postgres_fe.h users common/fe_memutils.h, but this is not 
included in libpq-dev. Include file common/fe_memutils.h is in 
postgresql-server-dev, because it uses on palloc.h.

It is necessary that postgres_fe.h used common/fe_memutils.h?
How to solve the "fe" Includes depends on the server?
It is necessary to re-open this bug?

Thanks
-- 
Slavek Banko



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>:
Bug#314427; Package libpq-dev. (Sat, 29 Mar 2014 20:45:10 GMT) (full text, mbox, link).


Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>. (Sat, 29 Mar 2014 20:45:10 GMT) (full text, mbox, link).


Message #74 received at 314427@bugs.debian.org (full text, mbox, reply):

From: Joachim Breitner <nomeata@debian.org>
To: Nick Rudnick <nick.rudnick@gmail.com>
Cc: Christoph Berg <myon@debian.org>, Martin Pitt <mpitt@debian.org>, 314427@bugs.debian.org
Subject: Re: Bug#314427: hsql-postgresql imports
Date: Sat, 29 Mar 2014 21:42:50 +0100
[Message part 1 (text/plain, inline)]
Dear Nick,

sorry for the delay, I was on holidays. I compared your proposed 1.8.3
with 1.8.2, and found that you replaced constants from header files
found in postgresql-server-dev-9.3 by the numbers they represent.

I was able to solve the problem by build-depending on
postgresql-server-dev-9.3, so we (Debian) do not require you to do that
change.

It is up to you which variant you prefer: Less magic numbers in your
code, but your users will have to install
postgresql-server-dev-<some-version> before building the package, or the
change that you proposed as 1.8.3. From my point of view, either works
fine.

Thanks,
Joachim


Am Sonntag, den 23.03.2014, 09:03 +0100 schrieb Nick Rudnick:
> Dear all,
> 
> 
> the update attached seems to work for me – for you too??
> 
> 
> If yes, it can be put to Hackage.
> 
> 
> Cheers, Nick
> 
> 
> 2014-03-21 21:31 GMT+01:00 Nick Rudnick <nick.rudnick@gmail.com>:
>         Hi all,
>         
>         
>         this weekend, finally, I have plenty of time to adapt
>         hsql-postgresql.
>         
>         
>         Thanks to everybody from my side, too. :-)
>         
>         
>         2014-03-21 20:27 GMT+01:00 Joachim Breitner
>         <nomeata@debian.org>:
>         
>                 Hi,
>                 
>                 Am Montag, den 17.03.2014, 11:05 +0100 schrieb
>                 Christoph Berg:
>                 > The OIDs of the exposed datatypes won't ever change,
>                 so B-D on
>                 > postgresql-server-dev-all is safe even if -9.3 will
>                 be replaced by
>                 > -9.4 or later in the future.
>                 
>                 thanks. I added the B-D.
>                 
>                 > What worries me, though, is this:
>                 >
>                 > Build-Conflicts:
>                 >  postgresql-server-dev-8.3,
>                 >  postgresql-server-dev-8.4
>                 >
>                 > haskell-hsql-postgresql (1.7.3-2) unstable;
>                 urgency=low
>                 >
>                 >   * Make postgresql-server-dev-8.[34] a
>                 Build-Conflicts (Closes: 559583)
>                 >     If this package is present at build-time, the
>                 resulting ghc-pkg info will
>                 >     reference a directory from it in Includes,
>                 causing the installation to
>                 >     fail (see #471786). But if it is not, everything
>                 goes well and we have one
>                 >     dependency less.
>                 >
>                 >  -- Joachim Breitner <nomeata@debian.org>  Sat, 05
>                 Dec 2009 17:10:34 +0100
>                 >
>                 > I cannot reproduce the problem here with
>                 postgresql-server-dev-9.3
>                 > installed - the deps of the resulting .debs are the
>                 same, but I didn't
>                 > look into the package for file references in there.
>                 
>                 Installing the new package will yield a warning
>                 Warning:
>                 include-dirs: /usr/include/postgresql/9.3/server
>                 doesn't exist or isn't a directory
>                 but not an error any more, so I think this is fine.
>                 
>                 Uploading right now.
>                 
>                 Thanks for your help, Christoph,
>                 Joachim
>                 
>                 
>                 --
>                 Joachim "nomeata" Breitner
>                 Debian Developer
>                   nomeata@debian.org | ICQ# 74513189 | GPG-Keyid:
>                 4743206C
>                   JID: nomeata@joachim-breitner.de |
>                 http://people.debian.org/~nomeata
>         
>         
> 
> 

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 27 Apr 2014 07:29:45 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 16 10:14:50 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.