qt-x11-free: FTBFS: Cannot find postgresql server headers

Bug #20878 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
qt-x11-free (Debian)
Fix Released
Unknown
qt-x11-free (Ubuntu)
Invalid
High
Adam Conrad

Bug Description

Automatically imported from Debian bug report #326457 http://bugs.debian.org/326457

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #326457 http://bugs.debian.org/326457

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 03 Sep 2005 05:10:13 -0700
From: Daniel Schepler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: qt-x11-free: FTBFS: Cannot find postgresql server headers

Package: qt-x11-free
Severity: serious
Version: 3:3.3.4-7

From my build log, with postgresql packages from current unstable:

...
g++ -c -pipe -I/usr/include/mysql -I/usr/include/freetype2 -I/usr/include/postgresql -fno-exceptions -Wall -W -O2 -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -I/tmp/buildd/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I.moc/release-shared/ -o .obj/qsql_psql.o ../../../../src/sql/drivers/psql/qsql_psql.cpp
../../../../src/sql/drivers/psql/qsql_psql.cpp:50:22: error: postgres.h: No such file or directory
../../../../src/sql/drivers/psql/qsql_psql.cpp:57:29: error: catalog/pg_type.h: No such file or directory
../../../../src/sql/drivers/psql/qsql_psql.cpp: In function 'QVariant::Type qDecodePSQLType(int)':
../../../../src/sql/drivers/psql/qsql_psql.cpp:127: error: 'BOOLOID' was not declared in this scope
...
make[4]: *** [.obj/qsql_psql.o] Error 1
make[4]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src/sqldrivers/psql'
make[3]: *** [sub-psql] Error 2
make[3]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src/sqldrivers'
make[2]: *** [sub-sqldrivers] Error 2
make[2]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src'
make[1]: *** [sub-plugins] Error 2
make[1]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4'
make: *** [libqt-stamp] Error 2

You can probably fix this by adding postgresql-server-dev-8.0 to the
Build-Depends and adding -I`pg_config --includedir-server` to the
include flags.

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

--
Daniel Schepler "Please don't disillusion me. I
<email address hidden> haven't had breakfast yet."
                                 -- Orson Scott Card

Revision history for this message
In , Christopher Martin (christopher-martin) wrote : Re: Bug#326457: qt-x11-free: FTBFS: Cannot find postgresql server headers

tags 326457 pending
stop

On September 3, 2005 08:10, Daniel Schepler wrote:
> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7
>
> >From my build log, with postgresql packages from current unstable:

<snip>

> You can probably fix this by adding postgresql-server-dev-8.0 to the
> Build-Depends and adding -I`pg_config --includedir-server` to the
> include flags.

Yes, the postgresql package moved some headers around recently. I fixed this
in an as-of-yet-not-uploaded revision by adding "-I`pg_config
--includedir`/8.0", but no new build-depends.

Cheers,
Christopher Martin

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 3 Sep 2005 18:12:43 -0400
From: Christopher Martin <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#326457: qt-x11-free: FTBFS: Cannot find postgresql server headers

--nextPart30441509.9Or1vDFJfb
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

tags 326457 pending
stop

On September 3, 2005 08:10, Daniel Schepler wrote:
> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7
>
> >From my build log, with postgresql packages from current unstable:

<snip>

> You can probably fix this by adding postgresql-server-dev-8.0 to the
> Build-Depends and adding -I`pg_config --includedir-server` to the
> include flags.

Yes, the postgresql package moved some headers around recently. I fixed thi=
s=20
in an as-of-yet-not-uploaded revision by adding "-I`pg_config=20
=2D-includedir`/8.0", but no new build-depends.

Cheers,
Christopher Martin

--nextPart30441509.9Or1vDFJfb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Christopher Martin <email address hidden>

iD8DBQBDGh/dU+gWW+vtsysRAt8AAJ9W0bBrL/kUtSv5beObIKL4OwXhuACgnYWm
rsNPTrTkUcJxEq74nuo3Yeo=
=Buzs
-----END PGP SIGNATURE-----

--nextPart30441509.9Or1vDFJfb--

Revision history for this message
In , Dato Simó (dato) wrote :

* Daniel Schepler [Sat, 03 Sep 2005 05:10:13 -0700]:

> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7

> >From my build log, with postgresql packages from current unstable:

  This should no longer be the case with libpq-dev 8.0.3-15. We'll close
  the bug when we check that's the case for real.

  Cheers,

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
    Listening to: Astrud - La boda

Aim for the impossible and you will achieve the improbable.

Revision history for this message
In , Christopher Martin (chrsmrtn-gmail) wrote :

On September 3, 2005 08:10, Daniel Schepler wrote:
> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7
>
> >From my build log, with postgresql packages from current unstable:

I can confirm that Qt now builds again with the latest (fixed) postgresql
package in unstable.

Cheers,
Christopher Martin

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 6 Sep 2005 01:07:13 +0200
From: Adeodato =?utf-8?B?U2ltw7M=?= <email address hidden>
To: Daniel Schepler <email address hidden>, <email address hidden>
Subject: Re: Bug#326457: qt-x11-free: FTBFS: Cannot find postgresql server headers

* Daniel Schepler [Sat, 03 Sep 2005 05:10:13 -0700]:

> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7

> >From my build log, with postgresql packages from current unstable:

  This should no longer be the case with libpq-dev 8.0.3-15. We'll close
  the bug when we check that's the case for real.

  Cheers,

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
    Listening to: Astrud - La boda

Aim for the impossible and you will achieve the improbable.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 5 Sep 2005 19:55:33 -0400
From: Christopher Martin <email address hidden>
To: <email address hidden>
Subject: Re: Bug#326457: qt-x11-free: FTBFS: Cannot find postgresql server headers

On September 3, 2005 08:10, Daniel Schepler wrote:
> Package: qt-x11-free
> Severity: serious
> Version: 3:3.3.4-7
>
> >From my build log, with postgresql packages from current unstable:

I can confirm that Qt now builds again with the latest (fixed) postgresql
package in unstable.

Cheers,
Christopher Martin

Revision history for this message
Adam Conrad (adconrad) wrote :

Not a bug for us, QT builds fine (just did so yesterday on all arches)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.