[email protected]
[Top] [All Lists]

Bug#286435: marked as forwarded (indent: FTBFS (amd64/gcc-4.0): )

Subject: Bug#286435: marked as forwarded indent: FTBFS (amd64/gcc-4.0):
From: Debian Bug Tracking System
Date: Mon, 20 Dec 2004 03:48:12 -0800
Your message dated Mon, 20 Dec 2004 12:41:23 +0100 (CET)
with message-id <[email protected]>
has caused the Debian Bug report #286435,
regarding indent: FTBFS (amd64/gcc-4.0): 
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(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 286435-forwarded) by bugs.debian.org; 20 Dec 2004 11:43:00 +0000
>From [email protected] Mon Dec 20 03:43:00 2004
Return-path: <[email protected]>
Received: from pizarro.unex.es [] (postfix)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CgLwK-0007Za-00; Mon, 20 Dec 2004 03:43:00 -0800
Received: from localhost (almendralejo.unex.es [])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id DCF10A1D08; Mon, 20 Dec 2004 12:42:58 +0100 (CET)
Received: from pizarro.unex.es ([])
        by localhost (emilio []) (amavisd-new, port 10024)
        with ESMTP id 22911-06; Mon, 20 Dec 2004 12:43:21 +0100 (CET)
Received: from cantor.unex.es (cantor.unex.es [])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id E4300A1D03; Mon, 20 Dec 2004 12:42:57 +0100 (CET)
Date: Mon, 20 Dec 2004 12:41:23 +0100 (CET)
From: Santiago Vila <[email protected]>
To: [email protected]
Cc: [email protected], Andreas Jochens <[email protected]>
Subject: Bug#286435: indent: FTBFS (amd64/gcc-4.0):  (fwd)
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es
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=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2004_03_25


I received this from the Debian bug system.
It seems the indent package fails to build from source when using gcc 4.0.
[ Please keep the Cc: lines when replying. Thanks ].

---------- Forwarded message ----------
From: Andreas Jochens <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: Mon, 20 Dec 2004 11:10:58 +0100
Subject: Bug#286435: indent: FTBFS (amd64/gcc-4.0): 
Resent-Sender: Santiago Vila <[email protected]>

Package: indent
Severity: normal
Tags: patch

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

gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I. -I.. -I. -I. 
-I../intl    -g -Wall -O2 -c `test -f 'output.c' || echo './'`output.c
In file included from output.c:22:
output.h:51: warning: type defaults to 'int' in declaration of 
output.c:26: error: static declaration of 'output' follows non-static 
indent.h:100: error: previous declaration of 'output' was here

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

Andreas Jochens

diff -urN ../tmp-orig/indent-2.2.9/src/output.c ./src/output.c
--- ../tmp-orig/indent-2.2.9/src/output.c       2002-12-12 18:36:49.000000000 
+++ ./src/output.c      2004-12-20 10:30:47.547161480 +0100
@@ -23,7 +23,7 @@
 RCSTAG_CC ("$Id: output.c,v 1.5 2002/12/12 17:36:49 david Exp $");
-static FILE            * output       = NULL;
+FILE* output = NULL;
 static BOOLEAN           inhibited    = 0;
 static buf_break_st_ty * buf_break_list = NULL;

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

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#286435: marked as forwarded (indent: FTBFS (amd64/gcc-4.0): ), Debian Bug Tracking System <=