From MAILER-DAEMON Thu Apr 12 13:11:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Hc2p2-0003XU-6c
	for mharc-bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:11:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hc2p0-0003Tf-HP
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:10:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hc2ow-0003Id-NN
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:10:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hc2ow-0003Hy-EP
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:10:54 -0400
Received: from 80-43-143-81.dynamic.dsl.as9105.com ([80.43.143.81]
	helo=bristol.purcell.id.au)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <msp@debian.org>) id 1Hc2kk-000475-IS
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:06:34 -0400
Received: from [192.168.1.219] (helo=d620.purcell.homeip.net ident=Debian-exim)
	by bristol.purcell.id.au with esmtp (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2kY-0008G3-Kj; Thu, 12 Apr 2007 18:06:29 +0100
Received: from mark by d620.purcell.homeip.net with local (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2kX-00089v-Si; Thu, 12 Apr 2007 18:06:22 +0100
From: Mark Purcell <msp@debian.org>
Organization: Debian GNU/Linux
To: bug-commoncpp@gnu.org
Date: Thu, 12 Apr 2007 18:06:17 +0100
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart7337382.fh1VAJtnr1";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200704121806.21859.msp@debian.org>
X-SA-Exim-Connect-IP: 192.168.1.219
X-SA-Exim-Rcpt-To: bug-commoncpp@gnu.org, 410219-forwarded@bugs.debian.org,
	stephan.suerken@1und1.de
X-SA-Exim-Mail-From: msp@debian.org
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
X-detected-kernel: Linux 2.6 (newer, 3)
Cc: Stephan Suerken <stephan.suerken@1und1.de>,
	410219-forwarded@bugs.debian.org
Subject: Fwd: Bug#410219 threads: isRunning() always returns true
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2007 17:10:58 -0000

--nextPart7337382.fh1VAJtnr1
Content-Type: multipart/mixed;
  boundary="Boundary-01=_KcmHGlqUwoPrboR"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_KcmHGlqUwoPrboR
Content-Type: text/plain;
  charset="ansi_x3.4-1968"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

David,

=46ind enclosed a patch to fix a problem a Debian GNU/Linux user has uncove=
red with=20
ost::Thread::isRunning()

http://bugs.debian.org/410219

Btw, we have a subscribable Package Tracking System (PTS) available at=20
http://packages.qa.debian.org/libc/libcommoncpp2.html

I would suggest that you if you subscribe the bug-commoncpp list to the Deb=
ian PTS,
you will receive notification of these bug reports as quickly as we do.

Btw,  Could I ask you to maintain the Cc: in any followup replies so they a=
re stored=20
in the BTS.

Thanks,
Mark



--Boundary-01=_KcmHGlqUwoPrboR
Content-Type: application/x-shellscript;
	name="sp_is_running_always_true.dpatch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="sp_is_running_always_true.dpatch"

#! /bin/sh /usr/share/dpatch/dpatch-run
## is_running_always_true.dpatch by Stephan Suerken <stephan.suerken@1und1.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: http://bugs.debian.org/410219

@DPATCH@
diff -urNad libcommoncpp2-1.5.6~/src/thread.cpp libcommoncpp2-1.5.6/src/thread.cpp
--- libcommoncpp2-1.5.6~/src/thread.cpp	2007-02-14 00:03:59.000000000 +0000
+++ libcommoncpp2-1.5.6/src/thread.cpp	2007-04-12 18:02:18.000000000 +0100
@@ -1033,6 +1033,7 @@
 		if(priv) {
 #ifndef	WIN32
 			priv->_jtid = priv->_tid;
+			priv->_tid = 0;
 #else
 			priv->_active = false;
 #endif

--Boundary-01=_KcmHGlqUwoPrboR--

--nextPart7337382.fh1VAJtnr1
Content-Type: application/pgp-signature

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

iD8DBQBGHmcNoCzanz0IthIRAhPRAKCOJ8Z/GCpJcAaREp6BGKHo2lDuNwCfZDz9
5dwVfb787BHfSsHE40NUP5Y=
=+WU5
-----END PGP SIGNATURE-----

--nextPart7337382.fh1VAJtnr1--



From MAILER-DAEMON Thu Apr 12 13:19:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Hc2xM-00058T-H2
	for mharc-bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:19:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hc2xK-00056U-Pn
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:19:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hc2xK-00055R-4K
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:19:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hc2xJ-000554-Id
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:19:33 -0400
Received: from 80-43-143-81.dynamic.dsl.as9105.com ([80.43.143.81]
	helo=bristol.purcell.id.au)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <msp@debian.org>) id 1Hc2t7-0007Kf-0X
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:15:13 -0400
Received: from [192.168.1.219] (helo=d620.purcell.homeip.net ident=Debian-exim)
	by bristol.purcell.id.au with esmtp (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2t3-0008Hk-FV; Thu, 12 Apr 2007 18:15:11 +0100
Received: from mark by d620.purcell.homeip.net with local (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2t2-0000Ci-TR; Thu, 12 Apr 2007 18:15:09 +0100
From: Mark Purcell <msp@debian.org>
Organization: Debian GNU/Linux
To: bug-commoncpp@gnu.org
Date: Thu, 12 Apr 2007 18:15:08 +0100
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1292794.0K6u9a7kl6";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200704121815.08882.msp@debian.org>
X-SA-Exim-Connect-IP: 192.168.1.219
X-SA-Exim-Rcpt-To: bug-commoncpp@gnu.org, 352122-forwarded@bugs.debian.org,
	absurd@schlund.de
X-SA-Exim-Mail-From: msp@debian.org
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
X-detected-kernel: Linux 2.6 (newer, 3)
Cc: Stephan A Suerken <absurd@schlund.de>, 352122-forwarded@bugs.debian.org
Subject: Fwd: Bug#352122 libcommoncpp2-dev: sha implementation missing
	(unresolved symbols)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2007 17:19:35 -0000

--nextPart1292794.0K6u9a7kl6
Content-Type: text/plain;
  charset="ansi_x3.4-1968"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

David,

=46ind enclosed an issue from a Debian GNU/Linux user regarding some unreso=
lved symbols.

http://bugs.debian.org/352122

Mark

=2D---------  Forwarded Message  ----------

Subject: libcommoncpp2-dev: sha implementation missing (unresolved symbols)
Date: Thursday 09 February 2006 20:55
=46rom: Stephan A Suerken <absurd@schlund.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: libcommoncpp2-dev                                                 =
                                                                           =
                    =20
Version: 1.3.22-1                                                          =
                                                                           =
                    =20
Severity: normal

Hi,

while in (at least) the sarge version, there is a sha.cpp, (at least)
this version lacks the file. The header "digest.h" however, still has
the declarations.

I.e., when using, for example, SHA1Digest from digest.h, this will
always lead to linking errors. Either the declarations should be
removed from the header also, or the implementation should be
restored.

Thanks,

Stephan

=2D- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-k7
Locale: LANG=3DC, LC_CTYPE=3DC (charmap=3DANSI_X3.4-1968)

Versions of packages libcommoncpp2-dev depends on:
ii  libcommoncpp2-1.3c2a          1.3.22-1   A GNU package for creating por=
tabl

libcommoncpp2-dev recommends no packages.

=2D- no debconf information
=2D-=20
Stephan A Suerken <suerken|absurd@schlund.de>
Phone: +49.721.91347-393

Schlund + Partner AG, Karlsruhe





=2D------------------------------------------------------

--nextPart1292794.0K6u9a7kl6
Content-Type: application/pgp-signature

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

iD8DBQBGHmkcoCzanz0IthIRAtixAJwJts73zAzx7VTsYAvE8uobhPj+0wCglxSf
LLAMDd7mCgCSGe/rKzbLWpM=
=XFrR
-----END PGP SIGNATURE-----

--nextPart1292794.0K6u9a7kl6--



From MAILER-DAEMON Thu Apr 12 13:25:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Hc33P-0007Vo-9W
	for mharc-bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:25:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Hc33N-0007Uy-P2
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:25:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Hc33L-0007Uk-6J
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:25:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Hc33L-0007Uh-1J
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:25:47 -0400
Received: from 80-43-143-81.dynamic.dsl.as9105.com ([80.43.143.81]
	helo=bristol.purcell.id.au)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <msp@debian.org>) id 1Hc2z8-0001Zo-Gi
	for bug-commoncpp@gnu.org; Thu, 12 Apr 2007 13:21:27 -0400
Received: from [192.168.1.219] (helo=d620.purcell.homeip.net ident=Debian-exim)
	by bristol.purcell.id.au with esmtp (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2yz-0008Ip-IJ; Thu, 12 Apr 2007 18:21:24 +0100
Received: from mark by d620.purcell.homeip.net with local (Exim 4.63)
	(envelope-from <msp@debian.org>)
	id 1Hc2yy-0005GI-BN; Thu, 12 Apr 2007 18:21:17 +0100
From: Mark Purcell <msp@debian.org>
Organization: Debian GNU/Linux
To: bug-commoncpp@gnu.org
Date: Thu, 12 Apr 2007 18:21:15 +0100
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1506598.ia1vuQUpnu";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200704121821.16135.msp@debian.org>
X-SA-Exim-Connect-IP: 192.168.1.219
X-SA-Exim-Rcpt-To: bug-commoncpp@gnu.org, 417329-forwarded@bugs.debian.org,
	tbm@cyrius.com
X-SA-Exim-Mail-From: msp@debian.org
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
X-detected-kernel: Linux 2.6 (newer, 3)
Cc: 417329-forwarded@bugs.debian.org, Martin Michlmayr <tbm@cyrius.com>
Subject: Fwd: Bug#417329: FTBFS with GCC 4.3: missing #includes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2007 17:25:49 -0000

--nextPart1506598.ia1vuQUpnu
Content-Type: text/plain;
  charset="ansi_x3.4-1968"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

David,

=46ind enclosed a patch to enable commoncpp2 to build with gcc4.3
that you might like to apply upstream.

http://bugs.debian.org/417329

Mark

=2D---------  Forwarded Message  ----------

Subject: Bug#417329: FTBFS with GCC 4.3: missing #includes
Date: Monday 02 April 2007 11:55
=46rom: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org

Package: libcommoncpp2
Version: 1.5.5-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.


> Automatic build of libcommoncpp2_1.5.5-1 on em64t by sbuild/amd64 0.53
=2E..
> mkdir .libs
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCX=
X_EXPORT_LIBRARY -D_GNU_SOURCE -I../include -MT thread.lo -MD -MP -MF .deps=
/thread.Tpo -c thread.cpp  -fPIC -DPIC -o .libs/thread.o
> thread.cpp: In member function 'void ost::MainThread::onSignal(int)':
> thread.cpp:400: error: 'exit' is not a member of 'std'
> make[2]: *** [thread.lo] Error 1

=2D-- src/thread.cpp~	2007-04-02 10:41:47.000000000 +0000
+++ src/thread.cpp	2007-04-02 10:44:43.000000000 +0000
@@ -42,8 +42,10 @@
 #include <cc++/process.h>
 #ifdef	__BORLANDC__
 #include <stdio.h>
+#include <stdlib.h>
 #else
 #include <cstdio>
+#include <cstdlib>
 #endif
 #include "private.h"
=20
=2D-- src/file.cpp~	2007-04-02 10:43:49.000000000 +0000
+++ src/file.cpp	2007-04-02 10:44:37.000000000 +0000
@@ -60,8 +60,10 @@
=20
 #ifdef	__BORLANDC__
 #include <stdio.h>
+#include <stdlib.h>
 #else
 #include <cstdio>
+#include <cstdlib>
 #endif
 #include <sys/stat.h>
 #include <cerrno>
=2D-- src/string.cpp~	2007-04-02 10:45:40.000000000 +0000
+++ src/string.cpp	2007-04-02 10:45:52.000000000 +0000
@@ -46,9 +46,11 @@
 #ifdef	__BORLANDC__
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
 #else
 #include <cstdarg>
 #include <cstdio>
+#include <cstdlib>
 #endif
=20
 #ifdef	CCXX_NAMESPACES
=2D-- src/xml.cpp~	2007-04-02 10:47:38.000000000 +0000
+++ src/xml.cpp	2007-04-02 10:48:21.000000000 +0000
@@ -50,6 +50,8 @@
 #include <syslog.h>
 #endif
=20
+#include <cstdlib>
+
 // very ugly, but saves a lot of #ifdefs. To understand this, look at
 // the private members of XMLRPC.
 #ifndef HAVE_SSTREAM

=2D-=20
Martin Michlmayr
http://www.cyrius.com/


_______________________________________________
Pkg-voip-maintainers mailing list
Pkg-voip-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers


=2D------------------------------------------------------

--nextPart1506598.ia1vuQUpnu
Content-Type: application/pgp-signature

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

iD8DBQBGHmqMoCzanz0IthIRAiRbAKCYCiSoOGNotLmpUn9fZiCnh8qn6QCeJTu6
5NqP5J0nuxwVCbioFOPsE4k=
=qFJl
-----END PGP SIGNATURE-----

--nextPart1506598.ia1vuQUpnu--



