Your message dated Sat, 09 Jul 2005 08:47:19 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#315070: fixed in acpid 1.0.4-2
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; 20 Jun 2005 12:17:49 +0000
>From [EMAIL PROTECTED] Mon Jun 20 05:17:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d082218.adsl.hansenet.de (localhost.localdomain) [80.171.82.218] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DkLDp-00016m-00; Mon, 20 Jun 2005 05:17:49 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DkLDn-0000Ci-Nd; Mon, 20 Jun 2005 14:17:47 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: acpid: FTBFS (amd64/gcc-4.0): pointer targets in passing argument 3 of 
'accept' differ in signedness
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 20 Jun 2005 14:17:47 +0200
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: acpid
Version: 1.0.4-1
Severity: normal
Tags: patch

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

cc -Wall -Werror -g -DVERSION="\"1.0.4\""   -c -o ud_socket.o ud_socket.c
cc1: warnings being treated as errors
ud_socket.c: In function 'ud_accept':
ud_socket.c:63: warning: pointer targets in passing argument 3 of 'accept' 
differ in signedness
ud_socket.c:74: warning: pointer targets in passing argument 5 of 'getsockopt' 
differ in signedness
make[1]: *** [ud_socket.o] Error 1
make[1]: Leaving directory `/acpid-1.0.4'
make: *** [build] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/acpid-1.0.4/ud_socket.c ./ud_socket.c
--- ../tmp-orig/acpid-1.0.4/ud_socket.c 2003-11-17 22:24:58.000000000 +0100
+++ ./ud_socket.c       2005-06-20 14:14:06.000000000 +0200
@@ -58,7 +58,7 @@
        while (1) {
                int newsock = 0;
                struct sockaddr_un cliaddr;
-               int len = sizeof(struct sockaddr_un);
+               socklen_t len = sizeof(struct sockaddr_un);
 
                newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
                if (newsock < 0) {

---------------------------------------
Received: (at 315070-close) by bugs.debian.org; 9 Jul 2005 12:58:02 +0000
>From [EMAIL PROTECTED] Sat Jul 09 05:58: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 1DrEuA-0001XN-00; Sat, 09 Jul 2005 05:58:02 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DrEjn-0002c6-00; Sat, 09 Jul 2005 08:47:19 -0400
From: Cajus Pollmeier <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#315070: fixed in acpid 1.0.4-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 09 Jul 2005 08:47:19 -0400
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: 7

Source: acpid
Source-Version: 1.0.4-2

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

acpid_1.0.4-2.diff.gz
  to pool/main/a/acpid/acpid_1.0.4-2.diff.gz
acpid_1.0.4-2.dsc
  to pool/main/a/acpid/acpid_1.0.4-2.dsc
acpid_1.0.4-2_i386.deb
  to pool/main/a/acpid/acpid_1.0.4-2_i386.deb
acpid_1.0.4.orig.tar.gz
  to pool/main/a/acpid/acpid_1.0.4.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.
Cajus Pollmeier <[EMAIL PROTECTED]> (supplier of updated acpid 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,  9 Jul 2005 12:39:49 +0200
Source: acpid
Binary: acpid
Architecture: source i386
Version: 1.0.4-2
Distribution: unstable
Urgency: low
Maintainer: Cajus Pollmeier <[EMAIL PROTECTED]>
Changed-By: Cajus Pollmeier <[EMAIL PROTECTED]>
Description: 
 acpid      - Utilities for using ACPI power management
Closes: 285063 288224 290053 296865 306235 307598 315070
Changes: 
 acpid (1.0.4-2) unstable; urgency=low
 .
   * Added logrotate control file (Closes: #306235)
   * Added vietnamese debconf translations (Closes: #307598)
   * Added basque debconf translations (Closes: #296865)
   * Added italian debconf translations (Closes: #288224)
   * Fixed amd64 specific type problem (Closes: #315070)
   * Re-fixed amd64 specific type problem (Closes: #285063)
   * Fixed copyright file by adding one missing original
     author (Closes: #290053)
Files: 
 f732b72336ad5deadc7c5fb5b9ba6698 569 admin optional acpid_1.0.4-2.dsc
 3aff94e92186e99ed5fd6dcee2db7c74 23416 admin optional acpid_1.0.4.orig.tar.gz
 9b2a8bea786443d1bce41c154c6aae89 16956 admin optional acpid_1.0.4-2.diff.gz
 70dc4e5d16aa1cc7ca9ca367ade8ddb3 28844 admin optional acpid_1.0.4-2_i386.deb

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

iD8DBQFCz8KetyibJ/7Y+CYRAvv+AJ459LFOPMtUejfCz6+RAhEcrBDSoACg0daM
D/Ui6FjLuVleJNPRii8A+JY=
=fbfv
-----END PGP SIGNATURE-----


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

Reply via email to