Your message dated Mon, 21 Mar 2005 16:40:53 -0500 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #300299, regarding pork: FTBFS (amd64/gcc-4.0): array type has incomplete element type 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 300299-forwarded) by bugs.debian.org; 21 Mar 2005 21:40:53 +0000 >From [EMAIL PROTECTED] Mon Mar 21 13:40:53 2005 Return-path: <[EMAIL PROTECTED]> Received: from sojourner.alienhosting.com [216.40.217.206] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DDUdo-0002me-00; Mon, 21 Mar 2005 13:40:52 -0800 Received: from [0.0.0.0] (utopia.ccs.neu.edu [129.10.116.73]) (authenticated bits=0) by sojourner.alienhosting.com (8.12.11/8.12.11) with ESMTP id j2LLenJ9015081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Mar 2005 15:40:50 -0600 Message-ID: <[EMAIL PROTECTED]> Date: Mon, 21 Mar 2005 16:40:53 -0500 From: Ari Pollak <[EMAIL PROTECTED]> User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: [Fwd: Bug#300299: pork: fix for compile error on amd64/gcc-4.0] X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------030908020609040204000403" 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=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: This is a multi-part message in MIME format. --------------030908020609040204000403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------030908020609040204000403 Content-Type: message/rfc822; name="Bug#300299: pork: FTBFS (amd64/gcc-4.0): array type has incomplete elementtype" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Bug#300299: pork: FTBFS (amd64/gcc-4.0): array type has incomplete elementtype" Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 24129 invoked by uid 531); 18 Mar 2005 15:24:45 -0500 Received: from unknown (HELO master.debian.org) (146.82.138.7) by discovery.alienhosting.com with SMTP; 18 Mar 2005 15:24:45 -0500 Received: from ari by master.debian.org with local (Exim 3.35 1 (Debian)) id 1DCO1U-0002zo-00; Fri, 18 Mar 2005 14:24:44 -0600 X-Mail-Format-Warning: Bad RFC2822 header formatting in >From ari Fri Mar 18 14:24:39 2005 Received: from spohr.debian.org [128.193.0.4] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DCO1O-0002vJ-00; Fri, 18 Mar 2005 14:24:38 -0600 Received: from debbugs by spohr.debian.org with local (Exim 3.35 1 (Debian)) id 1DCNvk-0002zK-00; Fri, 18 Mar 2005 12:18:48 -0800 X-Loop: [EMAIL PROTECTED] Subject: Bug#300299: pork: FTBFS (amd64/gcc-4.0): array type has incomplete element type Reply-To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Resent-From: Andreas Jochens <[EMAIL PROTECTED]> Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Ari Pollak <[EMAIL PROTECTED]> Resent-Date: Fri, 18 Mar 2005 20:18:40 UTC Resent-Message-ID: <[EMAIL PROTECTED]> X-Debian-PR-Message: report 300299 X-Debian-PR-Package: pork X-Debian-PR-Keywords: patch Received: via spool by [EMAIL PROTECTED] id=B.11111767048861 (code B ref -1); Fri, 18 Mar 2005 20:18:40 UTC Received: (at submit) by bugs.debian.org; 18 Mar 2005 20:11:44 +0000 Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DCNot-0002Ii-00; Fri, 18 Mar 2005 12:11:43 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1DCNor-0003DI-Vj; Fri, 18 Mar 2005 21:11:42 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Message-Id: <[EMAIL PROTECTED]> Date: Fri, 18 Mar 2005 21:11:41 +0100 Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-master.debian.org_2003_11_25 (1.212-2003-09-23-exp) on master.debian.org X-Spam-Status: No, hits=-4.9 required=4.0 tests=BAYES_00 autolearn=ham version=2.60-master.debian.org_2003_11_25 X-Spam-Level: Resent-Sender: Ari Pollak <[EMAIL PROTECTED]> Package: pork Severity: normal Tags: patch When building 'pork' on amd64 with gcc-4.0, I get the following error: if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I. -I../.. -I../missing -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -g -O2 -MT pork_irc.o -MD -MP -MF ".deps/pork_irc.Tpo" \ -c -o pork_irc.o `test -f 'pork_irc.c' || echo './'`pork_irc.c; \ then mv -f ".deps/pork_irc.Tpo" ".deps/pork_irc.Po"; \ else rm -f ".deps/pork_irc.Tpo"; exit 1; \ fi In file included from ../pork_imwindow.h:18, from pork_irc.c:34: ../pork_set.h:150: error: array type has incomplete element type make[4]: *** [pork_irc.o] Error 1 make[4]: Leaving directory `/pork-0.99.7/src/irc' With the attached patch 'pork' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/pork-0.99.7/src/pork_set.h ./src/pork_set.h --- ../tmp-orig/pork-0.99.7/src/pork_set.h 2004-12-05 08:58:29.000000000 +0100 +++ ./src/pork_set.h 2005-03-18 21:07:38.970589133 +0100 @@ -147,8 +147,6 @@ #define OPT_FORMAT_OFFSET OPT_FORMAT_ACTION_RECV -extern struct global_var global_var[OPT_NUM_OPTS]; - /* ** Per-window options. */ @@ -184,6 +182,8 @@ } val; }; +extern struct global_var global_var[OPT_NUM_OPTS]; + struct window_opts { union { u_int32_t i; --------------030908020609040204000403-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]