Your message dated Sun, 17 Jul 2011 08:54:33 +0000
with message-id <e1qin7r-0001vn...@franck.debian.org>
and subject line Bug#633829: fixed in libpthread-workqueue 0.8.2-1
has caused the Debian Bug report #633829,
regarding libpthread-workqueue: FTBFS: src/posix/manager.c:343:134: error: 
comparison between signed and unsigned integer expressions 
[-Werror=sign-compare]
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
633829: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633829
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libpthread-workqueue
Version: 0.8.1-1
Severity: serious
Tags: patch

Hi,

libpthread-workqueue FTBFS on some architecture.
  https://buildd.debian.org/status/package.php?p=libpthread-workqueue
  http://buildd.debian-ports.org/status/package.php?p=libpthread-workqueue

-----
checking for err.h.. yes
Creating config.h
Creating config.mk
   dh_auto_build
make[1]: Entering directory
`/build/buildd-libpthread-workqueue_0.8.1-1-armel-LQB520/libpthread-workqueue-0.8.1'
/usr/bin/cc -c -o src/api.o -Wall -Wextra -Werror -D_XOPEN_SOURCE=600
-D__EXTENSIONS__ -D_GNU_SOURCE -std=c99 -I./include -I./src -g -O2
-fpic -fvisibility=hidden -pthread src/api.c
/usr/bin/cc -c -o src/posix/manager.o -Wall -Wextra -Werror
-D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -D_GNU_SOURCE -std=c99
-I./include -I./src -g -O2 -fpic -fvisibility=hidden -pthread
src/posix/manager.c
src/posix/manager.c: In function 'worker_main':
src/posix/manager.c:343:134: error: comparison between signed and
unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors

make[1]: *** [src/posix/manager.o] Error 1
make[1]: Leaving directory
`/build/buildd-libpthread-workqueue_0.8.1-1-armel-LQB520/libpthread-workqueue-0.8.1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
-----

I made patch which revise this problem. Could you apply this patch?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- a/src/posix/manager.c       2011-07-14 06:30:21.000000000 +0000
+++ b/src/posix/manager.c       2011-07-14 06:11:12.000000000 +0000
@@ -340,7 +340,7 @@  
                     ts_now.tv_nsec = ts_start.tv_nsec;

                     // Spin until we get an item or PWQ_SPIN_USEC microseconds passes
-                    while (!witem && (((ts_now.tv_sec - ts_start.tv_sec) * 1000000) + (((ts_now.tv_nsec - ts_start.tv_nsec) / 1000)) <= PWQ_SPIN_USEC))
+                    while (!witem && ((unsigned int)((ts_now.tv_sec - ts_start.tv_sec) * 1000000) + (((ts_now.tv_nsec - ts_start.tv_nsec) / 1000))) <= PWQ_SPIN_USEC)
                     {   
                         witem = wqlist_scan(&queue_priority);
                         if (!witem)

--- End Message ---
--- Begin Message ---
Source: libpthread-workqueue
Source-Version: 0.8.2-1

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

libpthread-workqueue-dev_0.8.2-1_amd64.deb
  to main/libp/libpthread-workqueue/libpthread-workqueue-dev_0.8.2-1_amd64.deb
libpthread-workqueue0_0.8.2-1_amd64.deb
  to main/libp/libpthread-workqueue/libpthread-workqueue0_0.8.2-1_amd64.deb
libpthread-workqueue_0.8.2-1.debian.tar.gz
  to main/libp/libpthread-workqueue/libpthread-workqueue_0.8.2-1.debian.tar.gz
libpthread-workqueue_0.8.2-1.dsc
  to main/libp/libpthread-workqueue/libpthread-workqueue_0.8.2-1.dsc
libpthread-workqueue_0.8.2.orig.tar.gz
  to main/libp/libpthread-workqueue/libpthread-workqueue_0.8.2.orig.tar.gz



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 633...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Heily <m...@heily.com> (supplier of updated libpthread-workqueue 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sat, 16 Jul 2011 22:13:33 -0400
Source: libpthread-workqueue
Binary: libpthread-workqueue-dev libpthread-workqueue0
Architecture: source amd64
Version: 0.8.2-1
Distribution: unstable
Urgency: low
Maintainer: Mark Heily <m...@heily.com>
Changed-By: Mark Heily <m...@heily.com>
Description: 
 libpthread-workqueue-dev - thread pool library (development files)
 libpthread-workqueue0 - thread pool library
Closes: 633829
Changes: 
 libpthread-workqueue (0.8.2-1) unstable; urgency=low
 .
   * New upstream version.
   * Fix FTBFS: use time_t instead of unsigned int (Closes: #633829)
   * Prevent a lintian warning caused by 'Author(s)' in debian/copyright
Checksums-Sha1: 
 236b85262a1cf86818dbea66f9c078749f26e00f 1209 libpthread-workqueue_0.8.2-1.dsc
 d0e93be84d1f23e2711743382801881ec413752c 45360 
libpthread-workqueue_0.8.2.orig.tar.gz
 9ff41c9c68aa871f4f2b35ef8968712316ef71e5 2704 
libpthread-workqueue_0.8.2-1.debian.tar.gz
 6b0b5ad842c4ea9c6e561d9bc10513aea3f83efd 9366 
libpthread-workqueue-dev_0.8.2-1_amd64.deb
 b8ee5766e046dae15fc6c76bf5c73b117a0cc6cc 15682 
libpthread-workqueue0_0.8.2-1_amd64.deb
Checksums-Sha256: 
 b8fdbe00634ec711eb54613b01d2ac96115a79ec76d8dc8e8ed969da1a78d2b1 1209 
libpthread-workqueue_0.8.2-1.dsc
 b2bbdcb9c33547275ac0c9938ac93210879ee4f975c6427f86eac5b3d5d5ec86 45360 
libpthread-workqueue_0.8.2.orig.tar.gz
 94425bea4459810f57b26671cd6c05f2fcb0df5d850e00becff70024bd0ea523 2704 
libpthread-workqueue_0.8.2-1.debian.tar.gz
 ae0800a3cfcad1b34be90f821aefb58bc2f0ac45e0aa4d3156a8257b52b27e9e 9366 
libpthread-workqueue-dev_0.8.2-1_amd64.deb
 ef929db835de814438d16189bf6d45d74e7cb7a8b482f6b2c1c25a6f1e5eee50 15682 
libpthread-workqueue0_0.8.2-1_amd64.deb
Files: 
 612510916bdc209e7328f692da016299 1209 libs extra 
libpthread-workqueue_0.8.2-1.dsc
 20a31adf78d205a801ad5d9b19ee33a0 45360 libs extra 
libpthread-workqueue_0.8.2.orig.tar.gz
 3b3f3c1b29104cb197c6071b0ced6ee3 2704 libs extra 
libpthread-workqueue_0.8.2-1.debian.tar.gz
 4dddded5abf421ba673856fd00e5fd79 9366 libdevel extra 
libpthread-workqueue-dev_0.8.2-1_amd64.deb
 4e198f1a9e3d75fc1db79aed96ba8714 15682 libs extra 
libpthread-workqueue0_0.8.2-1_amd64.deb

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

iD8DBQFOIps1zWFP1/XWUWkRApt8AJ4naSPhnhTei9wTfWGUsbsvnNtyCwCfZ4Ne
zm31rsRQp/gZOCdHyoIr9qU=
=AcrH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to