FTBFS: broken postgresql header include
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-sasl2 (Debian) |
Fix Released
|
Unknown
|
|||
cyrus-sasl2 (Ubuntu) |
Invalid
|
High
|
Martin Pitt |
Bug Description
Automatically imported from Debian bug report #315177 http://
In Debian Bug tracker #315177, Frank Lichtenheld (djpig) wrote : tagging 315177 | #1 |
In Debian Bug tracker #315177, Frank Lichtenheld (djpig) wrote : Re: Bug#315177: FTBFS: broken postgresql header include | #2 |
On Mon, Jun 20, 2005 at 08:26:52AM -0700, Matt Kraai wrote:
> diff -ruN cyrus-sasl-
> --- cyrus-sasl-
> +++ cyrus-sasl-
> @@ -180,7 +180,7 @@
> #endif /* HAVE_MYSQL */
>
> #ifdef HAVE_PGSQL
> -#include <libpq-fe.h>
> +#include <postgresql/
>
> static void *_pgsql_open(char *host, char *port, int usessl,
> const char *user, const char *password,
Hmm, I guess the "correct" fix would be to fix configure.in to detect
this path (easiest with pg_config --includedir probably)
Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://
Debian Bug Importer (debzilla) wrote : | #3 |
Automatically imported from Debian bug report #315177 http://
Debian Bug Importer (debzilla) wrote : | #4 |
Message-Id: <email address hidden>
Date: Mon, 20 Jun 2005 08:26:52 -0700
From: Matt Kraai <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: broken postgresql header include
--=====
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Content-
Package: cyrus-sasl2
Severity: serious
Justification: no longer builds from source
cyrus-sasl2 fails to include libpq-fe.h, which causes it to fail to
build:
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/
-c -o sql.lo `test -f 'sql.c' || echo './'`sql.c; \
then mv -f ".deps/sql.Tpo" ".deps/sql.Plo"; \
else rm -f ".deps/sql.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/
sql.c:183:33: postgresql/
sql.c: In function `_pgsql_open':
sql.c:189: error: `PGconn' undeclared (first use in this function)
sql.c:189: error: (Each undeclared identifier is reported only once
sql.c:189: error: for each function it appears in.)
sql.c:189: error: `conn' undeclared (first use in this function)
sql.c:247: warning: implicit declaration of function `PQconnectdb'
sql.c:250: warning: implicit declaration of function `PQstatus'
sql.c:250: error: `CONNECTION_OK' undeclared (first use in this function)
sql.c:251: warning: implicit declaration of function `PQerrorMessage'
sql.c: In function `_pgsql_
sql.c:260: warning: implicit declaration of function `PQescapeString'
sql.c: In function `_pgsql_exec':
sql.c:266: error: `PGresult' undeclared (first use in this function)
sql.c:266: error: `result' undeclared (first use in this function)
sql.c:268: error: `ExecStatusType' undeclared (first use in this function)
sql.c:268: error: syntax error before "status"
sql.c:271: warning: implicit declaration of function `PQexec'
sql.c:274: error: `status' undeclared (first use in this function)
sql.c:274: warning: implicit declaration of function `PQresultStatus'
sql.c:275: error: `PGRES_COMMAND_OK' undeclared (first use in this function)
sql.c:277: warning: implicit declaration of function `PQclear'
sql.c:280: error: `PGRES_TUPLES_OK' undeclared (first use in this function)
sql.c:283: warning: implicit declaration of function `PQresStatus'
sql.c:289: warning: implicit declaration of function `PQntuples'
sql.c:304: warning: implicit declaration of function `PQgetvalue'
sql.c:304: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
sql.c:304: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
sql.c:304: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
sql.c:304: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
sql.c: In function `_...
Debian Bug Importer (debzilla) wrote : | #5 |
Message-Id: <email address hidden>
Date: Sun, 7 Aug 2005 01:38:30 +0200
From: Frank Lichtenheld <email address hidden>
To: <email address hidden>
Subject: tagging 315177
# Automatically generated email from bts, devscripts version 2.9.4
tags 315177 patch
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Sun, 7 Aug 2005 15:03:56 +0200
From: Frank Lichtenheld <email address hidden>
To: Matt Kraai <email address hidden>, <email address hidden>
Subject: Re: Bug#315177: FTBFS: broken postgresql header include
On Mon, Jun 20, 2005 at 08:26:52AM -0700, Matt Kraai wrote:
> diff -ruN cyrus-sasl-
> --- cyrus-sasl-
> +++ cyrus-sasl-
> @@ -180,7 +180,7 @@
> #endif /* HAVE_MYSQL */
>
> #ifdef HAVE_PGSQL
> -#include <libpq-fe.h>
> +#include <postgresql/
>
> static void *_pgsql_open(char *host, char *port, int usessl,
> const char *user, const char *password,
Hmm, I guess the "correct" fix would be to fix configure.in to detect
this path (easiest with pg_config --includedir probably)
Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://
Martin Pitt (pitti) wrote : | #7 |
I fixed this long ago in Ubuntu.
In Debian Bug tracker #315177, Steve Langasek (vorlon) wrote : | #8 |
severity 322128 important
severity 315177 important
merge 322128 315177
thanks
The changes to the postgresql header path have been reverted, so this bug no
longer causes build failures. It would still be a good idea to update
cyrus-sasl2 to use pg_config to determine the header path, since AIUI the
header path will eventually change again; it's just not an RC bug at this
point.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Wed, 24 Aug 2005 19:39:23 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: FTBFS: broken postgresql header include
--/0U0QBNx7JIUZLHm
Content-Type: text/plain; charset=us-ascii
Content-
Content-
severity 322128 important
severity 315177 important
merge 322128 315177
thanks
The changes to the postgresql header path have been reverted, so this bug no
longer causes build failures. It would still be a good idea to update
cyrus-sasl2 to use pg_config to determine the header path, since AIUI the
header path will eventually change again; it's just not an RC bug at this
point.
Thanks,
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
--/0U0QBNx7JIUZLHm
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDDS9bKN6
IRvSNvvqv4K3GPi
=G7Zo
-----END PGP SIGNATURE-----
--/0U0QBNx7JIUZ
In Debian Bug tracker #315177, Steve Langasek (vorlon) wrote : cyrus-sasl2: NMU patch for multiple bugs | #10 |
tags 345737 patch
tags 345880 patch
thanks
Hi Dima, Henrique,
I've prepared an NMU to fix the krb4 dependency in cyrus-sasl2, and also to
update to libmysqlclient15 and future-proof the package against the
anticipated changes in postgresql -dev packages (bug #315177). The
changelog entry is as follows:
cyrus-sasl2 (2.1.19-1.8) unstable; urgency=medium
* Non-maintainer upload.
* Medium-urgency upload for RC bugfixes.
* Rebuild against current heimdal packages, dropping the build-dependency
on the obsolete and soon-to-be-removed krb4 package; also drop the
(misnamed) libsasl2-
Closes: #345737, 345880.
* Drop mention of KERBEROS_V4 in the libsasl2 package description.
* Build against libmysqlclient15 instead of the obsolete libmysqlclient10
for libsasl2-
* debian/
Use pg-config --includedir in configure.in, so that cyrus-sasl2 continues
to build when the postgresql include path changes as the postgresql
maintainers are planning to do; and adjust the include path in
plugins/sql.c accordingly. Closes: #315177.
-- Steve Langasek <email address hidden> Sat, 7 Jan 2006 04:18:58 -0800
The full patch is attached; the package will be uploading to incoming
shortly.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
In Debian Bug tracker #315177, Steve Langasek (vorlon) wrote : Fixed in NMU of cyrus-sasl2 2.1.19-1.8 | #11 |
tag 315177 + fixed
tag 345737 + fixed
tag 345880 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 7 Jan 2006 04:18:58 -0800
Source: cyrus-sasl2
Binary: libsasl2 libsasl2-
Architecture: source i386
Version: 2.1.19-1.8
Distribution: unstable
Urgency: medium
Maintainer: Dima Barsky <email address hidden>
Changed-By: Steve Langasek <email address hidden>
Description:
libsasl2 - Authentication abstraction library
libsasl2-dev - Development files for authentication abstraction library
libsasl2-modules - Pluggable Authentication Modules for SASL
libsasl2-
libsasl2-
sasl2-bin - Programs for manipulating the SASL users database
Closes: 315177 345737 345880
Changes:
cyrus-sasl2 (2.1.19-1.8) unstable; urgency=medium
.
* Non-maintainer upload.
* Medium-urgency upload for RC bugfixes.
* Rebuild against current heimdal packages, dropping the build-dependency
on the obsolete and soon-to-be-removed krb4 package; also drop the
(misnamed) libsasl2-
Closes: #345737, 345880.
* Drop mention of KERBEROS_V4 in the libsasl2 package description.
* Build against libmysqlclient15 instead of the obsolete libmysqlclient10
for libsasl2-
* debian/
Use pg-config --includedir in configure.in, so that cyrus-sasl2 continues
to build when the postgresql include path changes as the postgresql
maintainers are planning to do; and adjust the include path in
plugins/sql.c accordingly. Closes: #315177.
Files:
824688c5186359
1f356931959d64
668c20e136c687
5f91943e014166
cd845b256d622d
92978868e9868d
cb6b302765bc25
4c1b27b8d0bcba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDv9ftKN6
DuSxTGNuNBtO37o
=kbxP
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #12 |
Message-ID: <email address hidden>
Date: Sat, 7 Jan 2006 06:51:48 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>, <email address hidden>,
<email address hidden>
Subject: cyrus-sasl2: NMU patch for multiple bugs
--8NvZYKFJsRX2Djef
Content-Type: multipart/mixed; boundary=
Content-
--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii
Content-
Content-
tags 345737 patch
tags 345880 patch
thanks
Hi Dima, Henrique,
I've prepared an NMU to fix the krb4 dependency in cyrus-sasl2, and also to
update to libmysqlclient15 and future-proof the package against the
anticipated changes in postgresql -dev packages (bug #315177). The
changelog entry is as follows:
cyrus-sasl2 (2.1.19-1.8) unstable; urgency=3Dmedium
* Non-maintainer upload.
* Medium-urgency upload for RC bugfixes.
* Rebuild against current heimdal packages, dropping the build-dependency
on the obsolete and soon-to-be-removed krb4 package; also drop the
(misnamed) libsasl2-
Closes: #345737, 345880.
* Drop mention of KERBEROS_V4 in the libsasl2 package description.
* Build against libmysqlclient15 instead of the obsolete libmysqlclient10
for libsasl2-
* debian/
Use pg-config --includedir in configure.in, so that cyrus-sasl2 continu=
es
to build when the postgresql include path changes as the postgresql
maintainers are planning to do; and adjust the include path in
plugins/sql.c accordingly. Closes: #315177.
-- Steve Langasek <email address hidden> Sat, 7 Jan 2006 04:18:58 -0800
The full patch is attached; the package will be uploading to incoming
shortly.
Thanks,
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://
--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -u cyrus-sasl2-
--- cyrus-sasl2-
+++ cyrus-sasl2-
@@ -35,7 +35,6 @@
dh_testdir
dh_movefiles -plibsasl2
dh_movefiles -plibsasl2-
- dh_movefiles -plibsasl2-
dh_movefiles -plibsasl2-
dh_movefiles
touch $@
@@ -93,7 +92,7 @@
cd saslauthd; \
$(AUTOTOOLS); \
cd ..; \
- ./configure --prefix=3D/usr --sysconfdir=3D/etc --mandir=
--with-
--with-ldap --enable-sql --enable-ntlm --enable-static --enable-
--enable-krb4)
+ ./configure --prefix=3D/usr --sysconfdir=3D/etc --mandir=
--with-
--with-ldap --enable-sql --enable-ntlm --enable-static --enable-
=20
touch $@
=20
reverted:
--- cyrus-sasl2-
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Sat, 07 Jan 2006 07:17:12 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Cc: Steve Langasek <email address hidden>, Dima Barsky <email address hidden>
Subject: Fixed in NMU of cyrus-sasl2 2.1.19-1.8
tag 315177 + fixed
tag 345737 + fixed
tag 345880 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 7 Jan 2006 04:18:58 -0800
Source: cyrus-sasl2
Binary: libsasl2 libsasl2-
Architecture: source i386
Version: 2.1.19-1.8
Distribution: unstable
Urgency: medium
Maintainer: Dima Barsky <email address hidden>
Changed-By: Steve Langasek <email address hidden>
Description:
libsasl2 - Authentication abstraction library
libsasl2-dev - Development files for authentication abstraction library
libsasl2-modules - Pluggable Authentication Modules for SASL
libsasl2-
libsasl2-
sasl2-bin - Programs for manipulating the SASL users database
Closes: 315177 345737 345880
Changes:
cyrus-sasl2 (2.1.19-1.8) unstable; urgency=medium
.
* Non-maintainer upload.
* Medium-urgency upload for RC bugfixes.
* Rebuild against current heimdal packages, dropping the build-dependency
on the obsolete and soon-to-be-removed krb4 package; also drop the
(misnamed) libsasl2-
Closes: #345737, 345880.
* Drop mention of KERBEROS_V4 in the libsasl2 package description.
* Build against libmysqlclient15 instead of the obsolete libmysqlclient10
for libsasl2-
* debian/
Use pg-config --includedir in configure.in, so that cyrus-sasl2 continues
to build when the postgresql include path changes as the postgresql
maintainers are planning to do; and adjust the include path in
plugins/sql.c accordingly. Closes: #315177.
Files:
824688c5186359
1f356931959d64
668c20e136c687
5f91943e014166
cd845b256d622d
92978868e9868d
cb6b302765bc25
4c1b27b8d0bcba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDv9ftKN6
DuSxTGNuNBtO37o
=kbxP
-----END PGP SIGNATURE-----
In Debian Bug tracker #315177, Roberto C. Sanchez (roberto-connexer) wrote : add pending tags | #14 |
tags 274087 pending
tags 344686 pending
tags 362511 pending
tags 245818 pending
tags 276637 pending
tags 285605 pending
tags 332703 pending
tags 336485 pending
tags 345880 pending
tags 357527 pending
tags 379846 pending
tags 248333 pending
tags 315177 pending
tags 324288 pending
tags 361937 pending
tags 242184 pending
tags 256808 pending
tags 202836 pending
tags 262339 pending
tags 265751 pending
tags 275498 pending
tags 276849 pending
tags 368370 pending
tags 282775 pending
tags 321760 pending
tags 205859 pending
tags 348685 pending
tags 286285 pending
tags 314724 pending
tags 316404 pending
tags 328879 pending
tags 296449 pending
tags 257306 pending
tags 310438 pending
tags 365183 pending
tags 327749 pending
tags 302280 pending
tags 365287 pending
tags 354413 pending
tags 254298 pending
tags 300710 pending
tags 287313 pending
tags 392571 pending
tags 211156 pending
tags 251735 pending
tags 257181 pending
tags 274402 pending
tags 190658 pending
thanks
--
Roberto C. Sanchez
http://
http://
In Debian Bug tracker #315177, Fabian Fagerholm (fabbe-debian) wrote : Bug#315177: fixed in cyrus-sasl-2.1 2.1.22-0~pre01 | #15 |
Source: cyrus-sasl-2.1
Source-Version: 2.1.22-0~pre01
We believe that the bug you reported is fixed in the latest version of
cyrus-sasl-2.1, which is due to be installed in the Debian FTP archive:
cyrus-sasl-
to pool/main/
cyrus-sasl-
to pool/main/
cyrus-sasl-
to pool/main/
cyrus-sasl-
to pool/main/
cyrus-sasl-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2-
to pool/main/
libsasl2_
to pool/main/
sasl2-bin_
to pool/main/
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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fabian Fagerholm <email address hidden> (supplier of updated cyrus-sasl-2.1 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 <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 19 Oct 2006 23:26:02 +0300
Source: cyrus-sasl-2.1
Binary: libsasl2-2 cyrus-sasl-2.1-bin libsasl2 libsasl2-2-dev sasl2-bin libsasl2-dev libsasl2-
Architecture: source i386 all
Version: 2.1.22-0~pre01
Distribution: ex...
Changed in cyrus-sasl2: | |
status: | Fix Committed → Fix Released |
# Automatically generated email from bts, devscripts version 2.9.4
tags 315177 patch