Your message dated Wed, 19 Oct 2005 22:39:25 +1000 with message-id <[EMAIL PROTECTED]> and subject line removed from unstable 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; 16 Jul 2004 21:35:27 +0000 >From [EMAIL PROTECTED] Fri Jul 16 14:35:27 2004 Return-path: <[EMAIL PROTECTED]> Received: from c147165.adsl.hansenet.de (localhost) [213.39.147.165] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BlaMZ-0006RK-00; Fri, 16 Jul 2004 14:35:27 -0700 Received: from aj by localhost with local (Exim 4.34) id 1BlaMX-000643-QE; Fri, 16 Jul 2004 23:35:25 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: scandetd: FTBFS with gcc-3.4: parse error before string constant Message-Id: <[EMAIL PROTECTED]> Date: Fri, 16 Jul 2004 23:35:25 +0200 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (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_2004_03_25 X-Spam-Level: Package: scandetd Severity: normal Tags: patch When building 'scandetd' with gcc-3.4 I get the following error: make[1]: Entering directory `/scandetd-1.2.0' cc -O2 -Wall -g -c -o scandetd.o scandetd.c scandetd.c: In function `make_subject': scandetd.c:205: warning: dereferencing type-punned pointer will break strict-aliasing rules scandetd.c: In function `action': scandetd.c:435: error: parse error before string constant scandetd.c: In function `main': scandetd.c:665: error: parse error before string constant scandetd.c:667: error: parse error before string constant make[1]: *** [scandetd.o] Error 1 make[1]: Leaving directory `/scandetd-1.2.0' make: *** [build-stamp] Error 2 With the attached patch 'scandetd' can be compiled using gcc-3.4. Regards Andreas Jochens diff -urN ../tmp-orig/scandetd-1.2.0/config.c ./config.c --- ../tmp-orig/scandetd-1.2.0/config.c 2001-01-04 00:10:46.000000000 +0100 +++ ./config.c 2004-07-16 23:27:13.775658016 +0200 @@ -87,7 +87,7 @@ else for(p = s; !valid_sep(*p) && *p != '\n' ; p++) ; if(p == s) return 1; v->svalue = realloc((char *)v->svalue, (p - s) * sizeof (char) + 1); - if(!v->svalue) errx(1, __FUNCTION__ ": cannot allocate memory. Exiting."); + if(!v->svalue) errx(1, "%s: cannot allocate memory. Exiting.", __func__); bzero(v->svalue, p - s + 1); strncpy(v->svalue, s, p - s); return 0; @@ -115,7 +115,7 @@ i = 10 * i + *(p++) - '0'; count++; *v->iivalue = realloc(*v->iivalue, (count + 1) * sizeof(int)); - if(!*v->iivalue) errx(1, __FUNCTION__ ": cannot allocate memory. Exiting"); + if(!*v->iivalue) errx(1, "%s: cannot allocate memory. Exiting", __func__); c = *v->iivalue; *(c+count-1) = i; for(; *p == ' ' || *p == '\t'; p++); @@ -134,7 +134,7 @@ { struct config_host *p; p = calloc(1, sizeof *p); - if(!p) errx(1, __FUNCTION__ ": cannot allocate memory. Aborting"); + if(!p) errx(1, "%s: cannot allocate memory. Aborting", __func__); INIT_LIST_HEAD(&p->src.ports); INIT_LIST_HEAD(&p->dst.ports); addto_list(p, *l); @@ -171,7 +171,7 @@ NEXT_VALUE: get_val(&i, &s); pr = calloc(1, sizeof *pr); - if(!pr) errx(1, __FUNCTION__ ": cannot allocate memory. Aborting"); + if(!pr) errx(1, "%s: cannot allocate memory. Aborting", __func__); pr->start_port = i; pr->end_port = i; addto_list(pr, t->ports); diff -urN ../tmp-orig/scandetd-1.2.0/scandetd.c ./scandetd.c --- ../tmp-orig/scandetd-1.2.0/scandetd.c 2001-02-25 23:22:39.000000000 +0100 +++ ./scandetd.c 2004-07-16 23:22:12.194829048 +0200 @@ -432,7 +432,7 @@ h = allocate(&was, ap->ip.ip_src.s_addr, prot); if(!h) { - syslog(LOG_ERR, __FUNCTION__ ": internal error"); + syslog(LOG_ERR, "%s: internal error", __func__); exit(1); } if (was) goto UPDATE_DATA; @@ -662,9 +662,9 @@ p = getpwnam(i); if ((s = socket(AF_INET, SOCK_RAW, 6)) == -1) - errx(1, __FUNCTION__ ": Cannot open TCP raw socket. Exiting."); + errx(1, "%s: Cannot open TCP raw socket. Exiting.", __func__); if ((su = socket(AF_INET, SOCK_RAW, 17)) == -1) - errx(1, __FUNCTION__ ": Cannot open UDP raw socket. Exiting."); + errx(1, "%s: Cannot open UDP raw socket. Exiting.", __func__); fcntl(s, F_SETFL, O_NONBLOCK); fcntl(su, F_SETFL, O_NONBLOCK); openlog("scandetd", LOG_NDELAY, syslog_facility); --------------------------------------- Received: (at 259839-done) by bugs.debian.org; 19 Oct 2005 12:39:31 +0000 >From [EMAIL PROTECTED] Wed Oct 19 05:39:31 2005 Return-path: <[EMAIL PROTECTED]> Received: from crumbs.ertius.org [67.18.176.136] (postfix) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1ESDEB-0002dP-00; Wed, 19 Oct 2005 05:39:31 -0700 Received: from ooder.vpn.ertius.org (ooder.vpn.ertius.org [10.10.0.1]) by crumbs.ertius.org (Postfix) with ESMTP id 8DFBD714D3; Wed, 19 Oct 2005 22:39:30 +1000 (EST) Received: by ooder.vpn.ertius.org (Postfix, from userid 1000) id 8C54B78113; Wed, 19 Oct 2005 22:39:25 +1000 (EST) Date: Wed, 19 Oct 2005 22:39:25 +1000 From: Rob Weir <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: removed from unstable Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline User-Agent: Mutt/1.5.9i 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-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 3 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable scandetd has been removed from unstable (http://packages.qa.debian.org/s/scandetd/news/1.html). -rob --=20 Insight, foresight, moresight...the clock on the wall says a quarter-past m= idnight. --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVj59vQ+DhR5zt80RAqhLAJ9r5XY7fba588mbT2MU4BzMvqZLggCcCmZu Co88MdLV7Gh3bFvAv942Dfo= =zE0o -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]