Your message dated Sun, 16 Jan 2005 06:20:48 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288723: fixed in xmail 1.21-1
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; 5 Jan 2005 10:58:47 +0000
>From [EMAIL PROTECTED] Wed Jan 05 02:58:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c196149.adsl.hansenet.de (localhost.localdomain) 
[213.39.196.149] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cm8sJ-0007na-00; Wed, 05 Jan 2005 02:58:47 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cm8xu-0006EK-SS; Wed, 05 Jan 2005 12:04:34 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xmail: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'unsigned int' 
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 05 Jan 2005 12:04:34 +0100
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: xmail
Severity: normal
Tags: patch

When building 'xmail' on amd64 with gcc-4.0,
I get the following error:

g++  -O2 -I. -D__UNIX__ -D__LINUX__ -D_REENTRANT=1 -D_THREAD_SAFE=1 
-DHAS_SYSMACHINE -c CTRLSvr.cpp
CTRLSvr.cpp: In function 'unsigned int CTRLClientThread(void*)':
CTRLSvr.cpp:384: error: cast from 'void*' to 'unsigned int' loses precision
make[1]: *** [CTRLSvr.o] Error 1
make[1]: Leaving directory `/xmail-1.20'
make: *** [build-stamp] Error 2

With the attached patch 'xmail' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xmail-1.20/CTRLSvr.cpp ./CTRLSvr.cpp
--- ../tmp-orig/xmail-1.20/CTRLSvr.cpp  2004-05-31 01:35:08.000000000 +0200
+++ ./CTRLSvr.cpp       2005-01-05 11:47:01.044140432 +0100
@@ -381,7 +381,7 @@
 static unsigned int CTRLClientThread(void *pThreadData)
 {
 
-       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned int) pThreadData;
+       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned long) pThreadData;
 
 ///////////////////////////////////////////////////////////////////////////////
 //  Link socket to the bufferer
diff -urN ../tmp-orig/xmail-1.20/FINGSvr.cpp ./FINGSvr.cpp
--- ../tmp-orig/xmail-1.20/FINGSvr.cpp  2004-05-31 01:35:08.000000000 +0200
+++ ./FINGSvr.cpp       2005-01-05 11:47:57.189605024 +0100
@@ -127,7 +127,7 @@
 static unsigned int FINGClientThread(void *pThreadData)
 {
 
-       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned int) pThreadData;
+       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned long) pThreadData;
 
 ///////////////////////////////////////////////////////////////////////////////
 //  Check peer IP address serivce access permissions
diff -urN ../tmp-orig/xmail-1.20/POP3Svr.cpp ./POP3Svr.cpp
--- ../tmp-orig/xmail-1.20/POP3Svr.cpp  2004-05-31 01:35:08.000000000 +0200
+++ ./POP3Svr.cpp       2005-01-05 11:48:17.409531128 +0100
@@ -193,7 +193,7 @@
 static unsigned int POP3ClientThread(void *pThreadData)
 {
 
-       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned int) pThreadData;
+       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned long) pThreadData;
 
 ///////////////////////////////////////////////////////////////////////////////
 //  Link socket to the bufferer
diff -urN ../tmp-orig/xmail-1.20/SMTPSvr.cpp ./SMTPSvr.cpp
--- ../tmp-orig/xmail-1.20/SMTPSvr.cpp  2004-05-31 01:35:08.000000000 +0200
+++ ./SMTPSvr.cpp       2005-01-05 11:48:40.121078448 +0100
@@ -309,7 +309,7 @@
 static unsigned int SMTPClientThread(void *pThreadData)
 {
 
-       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned int) pThreadData;
+       SYS_SOCKET SockFD = (SYS_SOCKET) (unsigned long) pThreadData;
 
 ///////////////////////////////////////////////////////////////////////////////
 //  Link socket to the bufferer

---------------------------------------
Received: (at 288723-close) by bugs.debian.org; 16 Jan 2005 11:23:02 +0000
>From [EMAIL PROTECTED] Sun Jan 16 03:23:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cq8Uo-0003UW-00; Sun, 16 Jan 2005 03:23:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Cq8Se-0005cb-00; Sun, 16 Jan 2005 06:20:48 -0500
From: Radu Spineanu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#288723: fixed in xmail 1.21-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 16 Jan 2005 06:20:48 -0500
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-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
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: xmail
Source-Version: 1.21-1

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

xmail-doc_1.21-1_all.deb
  to pool/main/x/xmail/xmail-doc_1.21-1_all.deb
xmail_1.21-1.diff.gz
  to pool/main/x/xmail/xmail_1.21-1.diff.gz
xmail_1.21-1.dsc
  to pool/main/x/xmail/xmail_1.21-1.dsc
xmail_1.21-1_i386.deb
  to pool/main/x/xmail/xmail_1.21-1_i386.deb
xmail_1.21.orig.tar.gz
  to pool/main/x/xmail/xmail_1.21.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Radu Spineanu <[EMAIL PROTECTED]> (supplier of updated xmail 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: Fri, 24 Dec 2004 02:39:24 +0200
Source: xmail
Binary: xmail xmail-doc
Architecture: source i386 all
Version: 1.21-1
Distribution: unstable
Urgency: low
Maintainer: Radu Spineanu <[EMAIL PROTECTED]>
Changed-By: Radu Spineanu <[EMAIL PROTECTED]>
Description: 
 xmail      - advanced, fast and reliable ESMTP/POP3 mail server
 xmail-doc  - documentation for xmail
Closes: 285975 288723
Changes: 
 xmail (1.21-1) unstable; urgency=low
 .
   * New upstream release (closes: #288723) (amd64 and gcc4)
   * Removed -oi patch, since upstream fixed it
   * Changed configuration files handling
   * Restart xmail only on initial configuration or dpkg-reconfigure
   * Added the sticky bit to the spool directories
   * Current installed version is detected in postinst automatically
   * Updated copyright information
   * Added Danish translation. Thanks to Morten Bo Johansen. (closes: #285975)
Files: 
 19137dbfbb25fdebd516324a803c0556 645 mail extra xmail_1.21-1.dsc
 c6417c5b66cd0b0bff7375767d07235b 413237 mail extra xmail_1.21.orig.tar.gz
 2315d7f9c54c08646ccdc46d4aaeaf72 26525 mail extra xmail_1.21-1.diff.gz
 f604e72451592980831c734f24094b94 164362 mail extra xmail-doc_1.21-1_all.deb
 4c7d37baefdec20f7f55033670d5b6af 215122 mail extra xmail_1.21-1_i386.deb

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

iD8DBQFB6kkupFNRmenyx0cRAnr7AKDi/il5edyrOi2KrvwUfDEpdVjGEACgoyxY
zcvtCbGc4OcdEPAxKV30Nh0=
=2avx
-----END PGP SIGNATURE-----


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

Reply via email to