[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301420: marked as done (newspost: FTBFS (amd64/gcc-4.0): conflicting types for '_nntp_post')

Your message dated Fri, 25 Mar 2005 17:32:18 -0500
with message-id <E1DExLm-0003y1-00@newraff.debian.org>
and subject line Bug#301420: fixed in newspost 2.1.1-4
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; 25 Mar 2005 19:48:05 +0000
>From aj@andaco.de Fri Mar 25 11:48:04 2005
Return-path: <aj@andaco.de>
Received: from c158007.adsl.hansenet.de (localhost.localdomain) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DEumq-00046W-00; Fri, 25 Mar 2005 11:48:04 -0800
Received: from aj by localhost.localdomain with local (Exim 4.50)
	id 1DEumn-0007k5-F0; Fri, 25 Mar 2005 20:48:01 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: newspost: FTBFS (amd64/gcc-4.0): conflicting types for '_nntp_post'
Message-Id: <E1DEumn-0007k5-F0@localhost.localdomain>
Date: Fri, 25 Mar 2005 20:48:01 +0100
Delivered-To: submit@bugs.debian.org
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

Package: newspost
Severity: normal
Tags: patch

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

gcc -O2 -Wall   -c -o nntp.o nntp.c
nntp.c: In function 'nntp_post':
nntp.c:81: warning: implicit declaration of function '_nntp_post'
nntp.c: At top level:
nntp.c:109: error: conflicting types for '_nntp_post'
nntp.c:109: note: an argument type that has a default promotion can't match an empty parameter name list declaration
nntp.c:81: error: previous implicit declaration of '_nntp_post' was here
make[3]: *** [nntp.o] Error 1
make[3]: Leaving directory `/newspost-2.1.1/base'

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

Andreas Jochens

diff -urN ../tmp-orig/newspost-2.1.1/base/nntp.c ./base/nntp.c
--- ../tmp-orig/newspost-2.1.1/base/nntp.c	2005-03-25 20:41:28.638247703 +0100
+++ ./base/nntp.c	2005-03-25 20:41:21.836522991 +0100
@@ -26,6 +26,10 @@
 *** Public Routines
+int _nntp_post(const char *subject, newspost_data *data, 
+	      const char *buffer, long length,
+	      boolean no_ui_updates);
 boolean nntp_logon(newspost_data *data) {
 	char buffer[STRING_BUFSIZE];

Received: (at 301420-close) by bugs.debian.org; 25 Mar 2005 22:56:48 +0000
>From katie@ftp-master.debian.org Fri Mar 25 14:56:48 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DExjU-0001ne-00; Fri, 25 Mar 2005 14:56:48 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DExLm-0003y1-00; Fri, 25 Mar 2005 17:32:18 -0500
From: Anibal Monsalve Salazar <anibal@debian.org>
To: 301420-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#301420: fixed in newspost 2.1.1-4
Message-Id: <E1DExLm-0003y1-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 25 Mar 2005 17:32:18 -0500
Delivered-To: 301420-close@bugs.debian.org
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

Source: newspost
Source-Version: 2.1.1-4

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

  to pool/main/n/newspost/newspost_2.1.1-4.diff.gz
  to pool/main/n/newspost/newspost_2.1.1-4.dsc
  to pool/main/n/newspost/newspost_2.1.1-4_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 301420@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Anibal Monsalve Salazar <anibal@debian.org> (supplier of updated newspost 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sat, 26 Mar 2005 08:52:25 +1100
Source: newspost
Binary: newspost
Architecture: source i386
Version: 2.1.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Anibal Monsalve Salazar <anibal@debian.org>
 newspost   - Usenet binary autoposter
Closes: 301420
 newspost (2.1.1-4) unstable; urgency=low
   * QA Upload.
   * Fixed "FTBFS (amd64/gcc-4.0): conflicting types for '_nntp_post'",
     closes: #301420. Patch by Andreas Jochens <aj@andaco.de>.
 68037062809e9f9f1fb35ca878c27a34 571 news optional newspost_2.1.1-4.dsc
 45f2ef1f7c8d011f35bd3865d0c706ad 3017 news optional newspost_2.1.1-4.diff.gz
 74ba1d72c17a4f76f6761ec96284f254 39852 news optional newspost_2.1.1-4_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: