Your message dated Sun, 13 Nov 2005 09:17:14 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#298414: fixed in smtpfeed 1.19-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; 7 Mar 2005 12:05:21 +0000
>From [EMAIL PROTECTED] Mon Mar 07 04:05:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D8Gz9-00050c-00; Mon, 07 Mar 2005 04:05:20 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D8HvP-0004iJ-DD; Mon, 07 Mar 2005 14:05:31 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: smtpfeed: FTBFS (amd64/gcc-4.0): invalid storage class for function 
'newmx'
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 07 Mar 2005 14:05:31 +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: smtpfeed
Severity: normal
Tags: patch

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

dns.c:1767: error: invalid storage class for function 'newmx'
dns.c:1771: warning: implicit declaration of function 'newmx'
dns.c:1772: warning: assignment makes pointer from integer without a cast
dns.c: At top level:
dns.c:1839: error: conflicting types for 'newmx'
dns.c:1771: error: previous implicit declaration of 'newmx' was here
dns.c: In function 'getmxrr':
dns.c:2218: warning: label 'formaterror' defined but not used
dns.c:1991: warning: label 'retry' defined but not used
dns.c: At top level:
dns.c:2225: warning: return type defaults to 'int'
dns.c: In function 'show_query':
dns.c:2241: warning: 'return' with no value, in function returning non-void
dns.c:2251: warning: 'return' with no value, in function returning non-void
dns.c:2261: warning: 'return' with no value, in function returning non-void
dns.c:2272: warning: 'return' with no value, in function returning non-void
dns.c:2281: warning: 'return' with no value, in function returning non-void
make[1]: *** [dns.o] Error 1
make[1]: Leaving directory `/smtpfeed-1.19'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/smtpfeed-1.19/dns.c ./dns.c
--- ../tmp-orig/smtpfeed-1.19/dns.c     2003-08-20 07:13:03.000000000 +0200
+++ ./dns.c     2005-03-07 14:00:41.497669377 +0100
@@ -79,6 +79,13 @@
 # define RES_INSECURE1 0x00000400      /* type 1 security disabled */
 #endif
 
+static int query_domain();
+static int process_query();
+static int make_query();
+static void got_answer();
+static void remove_query();
+static struct mx* newmx(char *name, int pref, int weight, struct domain *dp, 
long opt);
+
 int
 pregetmx(dl)
 struct domain *dl;
@@ -87,7 +94,6 @@
        char **map_arg;
        long stime, etime;
        int n;
-       static int query_domain(), process_query();
 #ifdef INET6
        SockAddr dsin;  /* dummy */
 #endif
@@ -353,7 +359,6 @@
 int type;
 {
        struct dns_stat *qrp, **hashp;
-       static int make_query();
 
        qrp = hash_query_lookup(name, &hashp);
        if (qrp == NULL) {
@@ -396,7 +401,6 @@
        u_char buf[MAXPACKET];
        int n;
        struct query_chain *qchain;
-       static int process_query();
 
        switch (type) {
          case T_MX:
@@ -591,8 +595,6 @@
        char nbuf[MAXDNAME+1];
        struct dns_stat *qrp;
        int pending;
-       static void got_answer();
-       static void remove_query();
 
        if (sync == 0 && cnf.cquery_max != 0
         && query_chain_count >= cnf.cquery_max)
@@ -1764,7 +1766,6 @@
 #endif
                                        {
                                                struct mx *gwmxp;
-                                               static struct mx* newmx();
 
                                                if (cnf.debug & DEBUG_DNS)
                                                log(LOG_DEBUG, "setting 
protocol gateway as first MX");

---------------------------------------
Received: (at 298414-close) by bugs.debian.org; 13 Nov 2005 17:26:45 +0000
>From [EMAIL PROTECTED] Sun Nov 13 09:26:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EbLTe-0003Kx-Tl; Sun, 13 Nov 2005 09:17:14 -0800
From: Fumitoshi UKAI <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#298414: fixed in smtpfeed 1.19-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 13 Nov 2005 09:17:14 -0800
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: smtpfeed
Source-Version: 1.19-2

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

smtpfeed_1.19-2.diff.gz
  to pool/main/s/smtpfeed/smtpfeed_1.19-2.diff.gz
smtpfeed_1.19-2.dsc
  to pool/main/s/smtpfeed/smtpfeed_1.19-2.dsc
smtpfeed_1.19-2_i386.deb
  to pool/main/s/smtpfeed/smtpfeed_1.19-2_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.
Fumitoshi UKAI <[EMAIL PROTECTED]> (supplier of updated smtpfeed 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: Mon, 14 Nov 2005 01:59:08 +0900
Source: smtpfeed
Binary: smtpfeed
Architecture: source i386
Version: 1.19-2
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <[EMAIL PROTECTED]>
Changed-By: Fumitoshi UKAI <[EMAIL PROTECTED]>
Description: 
 smtpfeed   - SMTP feed -- SMTP Fast Exploding External Deliver for Sendmail
Closes: 298414
Changes: 
 smtpfeed (1.19-2) unstable; urgency=low
 .
   * Apply patch by Andreas Jochens to build with gcc-4.0 (Closes: #298414).
   * install smtpfeed.8 instead of debian/smtpfeed.8
Files: 
 0fb57fb82d75c0c2d2bd9f4e30802080 563 mail extra smtpfeed_1.19-2.dsc
 e197f80a8eab01242a8079813bbe463c 9334 mail extra smtpfeed_1.19-2.diff.gz
 81a06e8d08a00c3929a9ba96f26d44be 78334 mail extra smtpfeed_1.19-2_i386.deb

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

iD8DBQFDd3Kh9D5yZjzIjAkRAsTUAKC4ON4J1WnPKU3MZ9uU4eTE3fkKoACfT+YY
2QuyImrKF7BgZ9CYuLfCFAg=
=vRTf
-----END PGP SIGNATURE-----


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

Reply via email to