Bug#314427: contains too many files

2005-12-22 Thread Martin Pitt
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 Pitthttp://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
Description: Digital signature


Bug#314427: contains too many files

2005-12-15 Thread Peter Eisentraut
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.


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



Bug#314427: contains too many files

2005-06-16 Thread Peter Eisentraut
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.


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



Bug#314427: contains too many files

2005-06-16 Thread Martin Pitt
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.hlibdevel/libpq-dev
> usr/include/postgresql/8.0/nodes/nodes.hlibdevel/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.hlibdevel/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 Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org


signature.asc
Description: Digital signature


Bug#314427: contains too many files

2005-06-16 Thread Peter Eisentraut
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.hlibdevel/libpq-dev
usr/include/postgresql/8.0/nodes/nodes.hlibdevel/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.hlibdevel/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.


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