Your message dated Wed, 27 Jul 2005 21:47:13 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#319564: fixed in flow-tools 1:0.68-3
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; 23 Jul 2005 02:09:21 +0000
>From [EMAIL PROTECTED] Fri Jul 22 19:09:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from zoot.lafn.org [206.117.18.6] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1Dw9S5-0000QJ-00; Fri, 22 Jul 2005 19:09:21 -0700
Received: from localhost.localdomain 
(pool-71-104-165-253.lsanca.dsl-w.verizon.net [71.104.165.253])
        (authenticated bits=0)
        by zoot.lafn.org (8.13.1/8.13.1) with ESMTP id j6N29K8u034204
        (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO)
        for <[EMAIL PROTECTED]>; Fri, 22 Jul 2005 19:09:20 -0700 (PDT)
        (envelope-from [EMAIL PROTECTED])
Received: from kraai by localhost.localdomain with local (Exim 4.52)
        id 1Dvymf-0000re-2l
        for [EMAIL PROTECTED]; Fri, 22 Jul 2005 07:45:53 -0700
Date: Fri, 22 Jul 2005 07:45:53 -0700
From: Matt Kraai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: FTBFS: Cannot find postgresql header
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="St7VIuEGZ6dlpu13"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on 
zoot.lafn.org
X-Virus-Status: Clean
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=-2.4 required=4.0 tests=BAYES_00,DATE_IN_PAST_06_12 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--St7VIuEGZ6dlpu13
Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e"
Content-Disposition: inline


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

Package: flow-tools
Version: 0.68-2
Severity: serious
Tags: patch

flow-tools fails to build because it cannot find libpq-fe.h:

> source=3D'flow-export.c' object=3D'flow_export-flow-export.o' libtool=3Dn=
o \
> depfile=3D'.deps/flow_export-flow-export.Po' tmpdepfile=3D'.deps/flow_exp=
ort-flow-export.TPo' \
> depmode=3Dgcc3 /bin/sh ../depcomp \
> gcc -I./../lib -L./../lib  -I. -I. -I../lib    -L/usr/lib/mysql -I/usr/in=
clude/mysql -L/usr/lib -I/usr/include/postgresql -g -Wall -c -o flow_export=
-flow-export.o `test -f 'flow-export.c' || echo './'`flow-export.c
> flow-export.c:65:22: error: libpq-fe.h: No such file or directory
> flow-export.c:69:1: warning: "DB_DEFAULT_DBPORT" redefined
> flow-export.c:56:1: warning: this is the location of the previous definit=
ion
> flow-export.c: In function 'format3':
> flow-export.c:700: warning: assignment makes integer from pointer without=
 a cast
> flow-export.c: In function 'format5':
> flow-export.c:872: error: 'PGconn' undeclared (first use in this function)
> flow-export.c:872: error: (Each undeclared identifier is reported only on=
ce
> flow-export.c:872: error: for each function it appears in.)
> flow-export.c:872: error: 'conn' undeclared (first use in this function)
> flow-export.c:873: error: 'PGresult' undeclared (first use in this functi=
on)
> flow-export.c:873: error: 'res' undeclared (first use in this function)
> flow-export.c:913: warning: implicit declaration of function 'PQsetdbLogi=
n'
> flow-export.c:915: warning: implicit declaration of function 'PQstatus'
> flow-export.c:915: error: 'CONNECTION_BAD' undeclared (first use in this =
function)
> flow-export.c:916: warning: implicit declaration of function 'PQerrorMess=
age'
> flow-export.c:937: warning: implicit declaration of function 'PQexec'
> flow-export.c:938: warning: implicit declaration of function 'PQresultSta=
tus'
> flow-export.c:938: error: 'PGRES_COMMAND_OK' undeclared (first use in thi=
s function)
> flow-export.c:939: warning: implicit declaration of function 'PQclear'
> flow-export.c:950: warning: implicit declaration of function 'PQfinish'

The attached patch fixes this problem.

--=20
Matt

--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: quoted-printable

diff -u flow-tools-0.68/debian/patches/02_postgre flow-tools-0.68/debian/pa=
tches/02_postgre
--- flow-tools-0.68/debian/patches/02_postgre
+++ flow-tools-0.68/debian/patches/02_postgre
@@ -38,7 +38,7 @@
  if test $ac_cv_lib_pq_PQsetdbLogin =3D yes; then
 =20
 -      PGSQLCFLAGS=3D"-L$WHERE_PGSQL/lib -I$WHERE_PGSQL/include/pgsql"
-+      PGSQLCFLAGS=3D"-L$WHERE_PGSQL/lib -I$WHERE_PGSQL/include/postgresql"
++      PGSQLCFLAGS=3D"-L$WHERE_PGSQL/lib -I$WHERE_PGSQL/include/postgresql=
/8.0"
        PGSQLLIB=3D"-lpq"
        cat >>confdefs.h <<\_ACEOF
  #define HAVE_PGSQL 1

--cNdxnHkX5QqsyA0e--

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

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

iD8DBQFC4QagfNdgYxVXvBARAsfUAJ49QwafvRoLtvnhvwelUrZDVFThPQCeJMm4
LS94dbVTwArWb03LFvN3pXg=
=fv8a
-----END PGP SIGNATURE-----

--St7VIuEGZ6dlpu13--

---------------------------------------
Received: (at 319564-close) by bugs.debian.org; 28 Jul 2005 05:39:35 +0000
>From [EMAIL PROTECTED] Wed Jul 27 22:39:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1Dy0Ib-0006ui-00; Wed, 27 Jul 2005 21:47:13 -0700
From: Radu Spineanu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#319564: fixed in flow-tools 1:0.68-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 27 Jul 2005 21:47:13 -0700
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: flow-tools
Source-Version: 1:0.68-3

We believe that the bug you reported is fixed in the latest version of
flow-tools, which is due to be installed in the Debian FTP archive:

flow-tools-dev_0.68-3_i386.deb
  to pool/main/f/flow-tools/flow-tools-dev_0.68-3_i386.deb
flow-tools_0.68-3.diff.gz
  to pool/main/f/flow-tools/flow-tools_0.68-3.diff.gz
flow-tools_0.68-3.dsc
  to pool/main/f/flow-tools/flow-tools_0.68-3.dsc
flow-tools_0.68-3_i386.deb
  to pool/main/f/flow-tools/flow-tools_0.68-3_i386.deb
libcflow-perl_0.68-3_i386.deb
  to pool/main/f/flow-tools/libcflow-perl_0.68-3_i386.deb



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 PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Radu Spineanu <[EMAIL PROTECTED]> (supplier of updated flow-tools 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 PROTECTED])


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

Format: 1.7
Date: Sat, 23 Jul 2005 13:55:12 +0300
Source: flow-tools
Binary: libcflow-perl flow-tools flow-tools-dev
Architecture: source i386
Version: 1:0.68-3
Distribution: unstable
Urgency: low
Maintainer: Radu Spineanu <[EMAIL PROTECTED]>
Changed-By: Radu Spineanu <[EMAIL PROTECTED]>
Description: 
 flow-tools - collects and processes NetFlow data
 flow-tools-dev - development files for flow-tools
 libcflow-perl - perl module for analyzing raw IP flow files written by cflowd
Closes: 319564
Changes: 
 flow-tools (1:0.68-3) unstable; urgency=low
 .
   * Change build-dep from postgresql-dev to libpq-dev and
     modified the old pgsql patch to use pg_config (closes: #319564)
   * Policy bumped to 3.6.2, no changes.
Files: 
 3c6f961bdeeed0e159f03f3a175b2202 815 net optional flow-tools_0.68-3.dsc
 4019562e9f0001a5cc171e3cdebfa55c 12759 net optional flow-tools_0.68-3.diff.gz
 6a13ab589d969676dd629e4c08c821b3 1105128 net optional 
flow-tools_0.68-3_i386.deb
 7081859f14ca51233f7e275940c1dae9 189980 libdevel optional 
flow-tools-dev_0.68-3_i386.deb
 157b230f01b2d5175ca24e4181587d75 50876 perl optional 
libcflow-perl_0.68-3_i386.deb

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

iD8DBQFC6F2qgY5NIXPNpFURAqjvAKClulqmW+4du4rNXxEjTQ6I72ux1ACeKy1D
c1Ur43Iz8wYHCfr9Rab0ljc=
=Fy+v
-----END PGP SIGNATURE-----


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

Reply via email to