Your message dated Thu, 31 Mar 2005 22:32:06 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300544: fixed in xfsprogs 2.6.28-1
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; 20 Mar 2005 13:30:28 +0000
>From [EMAIL PROTECTED] Sun Mar 20 05:30:28 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 1DD0Vf-00084v-00; Sun, 20 Mar 2005 05:30:27 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DD0Ve-0002aU-2f; Sun, 20 Mar 2005 14:30:26 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xfsprogs: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 20 Mar 2005 14:30:26 +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: xfsprogs
Severity: normal
Tags: patch

When building 'xfsprogs' on amd64 with the latest version of gcc-4.0,
I get the following error:

In file included from agf.c:34:
agf.h:35: error: array type has incomplete element type
agf.h:36: error: array type has incomplete element type
make[2]: *** [agf.o] Error 1
make[1]: *** [default] Error 2
make[1]: Leaving directory `/xfsprogs-2.6.20'
make: *** [built] Error 2

With the attached patch 'xfsprogs' can be compiled
on amd64 using the latest version of gcc-4.0.

This patch includes the patch from #297876.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xfsprogs-2.6.20/db/agf.h ./db/agf.h
--- ../tmp-orig/xfsprogs-2.6.20/db/agf.h        2003-04-29 08:08:41.000000000 
+0200
+++ ./db/agf.h  2005-03-20 14:09:40.230846096 +0100
@@ -30,10 +30,5 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-struct field;
-
-extern const struct field      agf_flds[];
-extern const struct field      agf_hfld[];
-
 extern void    agf_init(void);
 extern int     agf_size(void *obj, int startoff, int idx);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/agfl.h ./db/agfl.h
--- ../tmp-orig/xfsprogs-2.6.20/db/agfl.h       2003-04-29 08:08:41.000000000 
+0200
+++ ./db/agfl.h 2005-03-20 14:09:47.709409934 +0100
@@ -30,10 +30,5 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-struct field;
-
-extern const struct field      agfl_flds[];
-extern const struct field      agfl_hfld[];
-
 extern void    agfl_init(void);
 extern int     agfl_size(void *obj, int startoff, int idx);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/agi.h ./db/agi.h
--- ../tmp-orig/xfsprogs-2.6.20/db/agi.h        2003-04-29 08:08:41.000000000 
+0200
+++ ./db/agi.h  2005-03-20 14:10:22.978636714 +0100
@@ -30,10 +30,5 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-struct field;
-
-extern const struct field      agi_flds[];
-extern const struct field      agi_hfld[];
-
 extern void    agi_init(void);
 extern int     agi_size(void *obj, int startoff, int idx);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/dquot.h ./db/dquot.h
--- ../tmp-orig/xfsprogs-2.6.20/db/dquot.h      2003-04-29 08:08:43.000000000 
+0200
+++ ./db/dquot.h        2005-03-20 14:11:14.590724306 +0100
@@ -30,10 +30,4 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-struct field;
-
-extern const struct field      disk_dquot_flds[];
-extern const struct field      dqblk_flds[];
-extern const struct field      dqblk_hfld[];
-
 extern void    dquot_init(void);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/field.c ./db/field.c
--- ../tmp-orig/xfsprogs-2.6.20/db/field.c      2003-05-01 08:00:50.000000000 
+0200
+++ ./db/field.c        2005-03-20 14:10:32.658777643 +0100
@@ -54,6 +54,10 @@
 #include "dir2.h"
 #include "dir2sf.h"
 
+extern const struct field agf_flds[], agfl_flds[], agi_flds[], inode_a_flds[],
+ inode_core_flds[], inode_u_flds[], disk_dquot_flds[], dqblk_flds[],
+ inode_flds[], sb_flds[], timestamp_flds[];
+
 const ftattr_t ftattrtab[] = {
        { FLDT_AEXTNUM, "aextnum", fp_num, "%d", SI(bitsz(xfs_aextnum_t)),
          FTARG_SIGNED, NULL, NULL },
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/inode.h ./db/inode.h
--- ../tmp-orig/xfsprogs-2.6.20/db/inode.h      2003-04-29 08:08:45.000000000 
+0200
+++ ./db/inode.h        2005-03-20 14:10:06.364827331 +0100
@@ -30,13 +30,6 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-extern const struct field      inode_a_flds[];
-extern const struct field      inode_core_flds[];
-extern const struct field      inode_flds[];
-extern const struct field      inode_hfld[];
-extern const struct field      inode_u_flds[];
-extern const struct field      timestamp_flds[];
-
 extern int     fp_dinode_fmt(void *obj, int bit, int count, char *fmtstr,
                              int size, int arg, int base, int array);
 extern int     inode_a_size(void *obj, int startoff, int idx);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/sb.h ./db/sb.h
--- ../tmp-orig/xfsprogs-2.6.20/db/sb.h 2004-06-18 10:08:40.000000000 +0200
+++ ./db/sb.h   2005-03-20 14:11:29.300898990 +0100
@@ -30,11 +30,6 @@
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-struct field;
-
-extern const struct field      sb_flds[];
-extern const struct field      sb_hfld[];
-
 extern void    sb_init(void);
 extern int     sb_logcheck(void);
 extern int     sb_size(void *obj, int startoff, int idx);
diff -urN ../tmp-orig/xfsprogs-2.6.20/db/type.c ./db/type.c
--- ../tmp-orig/xfsprogs-2.6.20/db/type.c       2003-05-01 08:00:51.000000000 
+0200
+++ ./db/type.c 2005-03-20 14:10:41.960991127 +0100
@@ -64,6 +64,9 @@
 static const typ_t     *findtyp(char *name);
 static int             type_f(int argc, char **argv);
 
+extern const struct field agf_hfld[], agfl_hfld[], agi_hfld[], dqblk_hfld[], 
+ inode_hfld[], sb_hfld[];
+
 const typ_t    *cur_typ;
 
 static const cmdinfo_t type_cmd =
diff -urN ../tmp-orig/xfsprogs-2.6.20/debian/control ./debian/control
--- ../tmp-orig/xfsprogs-2.6.20/debian/control  2004-05-19 07:00:19.000000000 
+0200
+++ ./debian/control    2005-03-20 13:43:31.476264441 +0100
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Nathan Scott <[EMAIL PROTECTED]>
-Build-Depends: uuid-dev, autoconf, debhelper, gettext, libtool, 
libreadline4-dev
+Build-Depends: uuid-dev, autoconf, debhelper, gettext, libtool, 
libreadline5-dev
 Standards-Version: 3.5.9
 
 Package: xfsprogs
diff -urN ../tmp-orig/xfsprogs-2.6.20/debian/control.rej ./debian/control.rej
--- ../tmp-orig/xfsprogs-2.6.20/debian/control.rej      1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/control.rej        2005-03-20 14:08:44.206604314 +0100
@@ -0,0 +1,17 @@
+***************
+*** 2,8 ****
+  Section: admin
+  Priority: optional
+  Maintainer: Nathan Scott <[EMAIL PROTECTED]>
+- Build-Depends: uuid-dev, autoconf, debhelper, gettext, libtool, 
libreadline4-dev
+  Standards-Version: 3.5.9
+  
+  Package: xfsprogs
+--- 2,8 ----
+  Section: admin
+  Priority: optional
+  Maintainer: Nathan Scott <[EMAIL PROTECTED]>
++ Build-Depends: uuid-dev, autoconf, debhelper, gettext, libtool, 
libreadline5-dev
+  Standards-Version: 3.5.9
+  
+  Package: xfsprogs
diff -urN ../tmp-orig/xfsprogs-2.6.20/mkfile/xfs_mkfile.c ./mkfile/xfs_mkfile.c
--- ../tmp-orig/xfsprogs-2.6.20/mkfile/xfs_mkfile.c     2003-05-01 
08:00:53.000000000 +0200
+++ ./mkfile/xfs_mkfile.c       2005-03-20 14:08:41.080204643 +0100
@@ -39,13 +39,13 @@
 
 #define        MAXBUFFERSIZE   (256 * 1024)
 
-static char *progname;
+static char *progname_local;
 
 static void
 usage(void)
 {
        fprintf(stderr, _("%s: [-npv] <size> <name1> [<name2>] ...\n"),
-               progname);
+               progname_local);
        exit(2);
 }
 
@@ -63,7 +63,7 @@
        if (!platform_test_xfs_fd(fd)) {
                fprintf(stderr, _("%s: "
                        "file [\"%s\"] is not on an XFS filesystem\n"),
-                       progname, name);
+                       progname_local, name);
                return -1;
        }
        return fd;
@@ -93,7 +93,7 @@
        int oflags;
        xfs_flock64_t flck;
 
-       progname = basename(argv[0]);
+       progname_local = basename(argv[0]);
        setlocale(LC_ALL, "");
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
@@ -110,7 +110,7 @@
                                verbose++;
                                break;
                        case 'V':
-                               printf(_("%s version %s\n"), progname, VERSION);
+                               printf(_("%s version %s\n"), progname_local, 
VERSION);
                                exit(0);
                        default:
                                errflg++;

---------------------------------------
Received: (at 300544-close) by bugs.debian.org; 1 Apr 2005 03:50:42 +0000
>From [EMAIL PROTECTED] Thu Mar 31 19:50:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHDBC-0004DE-00; Thu, 31 Mar 2005 19:50:42 -0800
Received: from newraff.debian.org [208.185.25.31] (mail)
        by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHDBC-0006F8-00; Thu, 31 Mar 2005 20:50:42 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DHCtC-0000tp-00; Thu, 31 Mar 2005 22:32:06 -0500
From: Nathan Scott <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#300544: fixed in xfsprogs 2.6.28-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 31 Mar 2005 22:32:06 -0500
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: xfsprogs
Source-Version: 2.6.28-1

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

xfslibs-dev_2.6.28-1_i386.deb
  to pool/main/x/xfsprogs/xfslibs-dev_2.6.28-1_i386.deb
xfsprogs-udeb_2.6.28-1_i386.udeb
  to pool/main/x/xfsprogs/xfsprogs-udeb_2.6.28-1_i386.udeb
xfsprogs_2.6.28-1.dsc
  to pool/main/x/xfsprogs/xfsprogs_2.6.28-1.dsc
xfsprogs_2.6.28-1.tar.gz
  to pool/main/x/xfsprogs/xfsprogs_2.6.28-1.tar.gz
xfsprogs_2.6.28-1_i386.deb
  to pool/main/x/xfsprogs/xfsprogs_2.6.28-1_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.
Nathan Scott <[EMAIL PROTECTED]> (supplier of updated xfsprogs 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: Wed, 30 Mar 2005 10:52:07 +1000
Source: xfsprogs
Binary: xfsprogs-udeb xfslibs-dev xfsprogs
Architecture: source i386
Version: 2.6.28-1
Distribution: unstable
Urgency: low
Maintainer: Nathan Scott <[EMAIL PROTECTED]>
Changed-By: Nathan Scott <[EMAIL PROTECTED]>
Description: 
 xfslibs-dev - XFS filesystem-specific static libraries and headers
 xfsprogs   - Utilities for managing the XFS filesystem
 xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer 
(udeb)
Closes: 300544
Changes: 
 xfsprogs (2.6.28-1) unstable; urgency=low
 .
   * New upstream release.
   * Fix compilation with gcc version 4 (closes: #300544)
Files: 
 853921b4147d79d02ce6a39f7f8d751d 573 admin optional xfsprogs_2.6.28-1.dsc
 546b2e4f72eeafa8fe244f4673653243 835305 admin optional xfsprogs_2.6.28-1.tar.gz
 5a62059c3be9bbb60d763633928ab881 878578 admin optional 
xfsprogs_2.6.28-1_i386.deb
 8722bdebc30f6f5fb6a0a5c14b154202 249544 libdevel extra 
xfslibs-dev_2.6.28-1_i386.deb
 1ba0f9a300ff16f7d9c32d78102254ef 119600 debian-installer optional 
xfsprogs-udeb_2.6.28-1_i386.udeb

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

iD8DBQFCTLJkm8fl3HSIa2MRAhDWAJ4pGcfA8PcDcwswgAdjvAmrzwU1vACgvsU9
IUKvXMOBfkrZHjGnjVWm+jc=
=tNe/
-----END PGP SIGNATURE-----


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

Reply via email to