Your message dated Sun, 20 Mar 2005 19:47:27 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297876: fixed in xfsprogs 2.6.26-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; 3 Mar 2005 11:03:15 +0000
>From [EMAIL PROTECTED] Thu Mar 03 03:03:15 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 1D6o6t-0001eq-00; Thu, 03 Mar 2005 03:03:15 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D6p3D-0002ns-Jf; Thu, 03 Mar 2005 13:03:31 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xfsprogs: FTBFS (amd64/gcc-4.0): static declaration of 'progname' 
follows non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 13:03:31 +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 gcc-4.0,
I get the following error:

xfs_mkfile.c:42: error: static declaration of 'progname' follows non-static 
declaration
../include/xfs/libxfs.h:125: error: previous declaration of 'progname' was here
make[2]: *** [xfs_mkfile.o] Error 1

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

Regards
Andreas Jochens

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-03 11:31:00.117417829 +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++;
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-03 11:23:47.000000000 +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

---------------------------------------
Received: (at 297876-close) by bugs.debian.org; 21 Mar 2005 00:56:08 +0000
>From [EMAIL PROTECTED] Sun Mar 20 16:56:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DDBDD-0002pI-00; Sun, 20 Mar 2005 16:56:07 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DDB4p-0007Yy-00; Sun, 20 Mar 2005 19:47:27 -0500
From: Nathan Scott <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297876: fixed in xfsprogs 2.6.26-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 20 Mar 2005 19:47:27 -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: 
X-CrossAssassin-Score: 2

Source: xfsprogs
Source-Version: 2.6.26-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.26-1_i386.deb
  to pool/main/x/xfsprogs/xfslibs-dev_2.6.26-1_i386.deb
xfsprogs-udeb_2.6.26-1_i386.udeb
  to pool/main/x/xfsprogs/xfsprogs-udeb_2.6.26-1_i386.udeb
xfsprogs_2.6.26-1.dsc
  to pool/main/x/xfsprogs/xfsprogs_2.6.26-1.dsc
xfsprogs_2.6.26-1.tar.gz
  to pool/main/x/xfsprogs/xfsprogs_2.6.26-1.tar.gz
xfsprogs_2.6.26-1_i386.deb
  to pool/main/x/xfsprogs/xfsprogs_2.6.26-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: Tue, 08 Mar 2005 16:56:35 +1100
Source: xfsprogs
Binary: xfsprogs-udeb xfslibs-dev xfsprogs
Architecture: source i386
Version: 2.6.26-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: 295397 297876
Changes: 
 xfsprogs (2.6.26-1) unstable; urgency=low
 .
   * New upstream release.
   * Man page updates (closes: #295397)
   * Fix compilation with gcc version 4 (closes: #297876)
   * Switch build dependency from readline4 to readline5.
Files: 
 b2d3e688e9690731fb2eb5aa1fecd7a1 573 admin optional xfsprogs_2.6.26-1.dsc
 fadf2bc4e532992719a73cc07479faca 834084 admin optional xfsprogs_2.6.26-1.tar.gz
 a9b45d52f5c9fa3b31f2fcdbda96860d 888230 admin optional 
xfsprogs_2.6.26-1_i386.deb
 2c62c9c0883a6f1ceebb164b053b5ff2 253576 libdevel extra 
xfslibs-dev_2.6.26-1_i386.deb
 d18677ee5c544e2b86c473c933509cec 123908 debian-installer optional 
xfsprogs-udeb_2.6.26-1_i386.udeb

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

iD8DBQFCPhSlm8fl3HSIa2MRAtPkAJwLnsY9JK1aOFEf3A0y1tuKN9xGjACgl65+
+PxEpgOugzNbxC4p+sjDJOU=
=Nr5R
-----END PGP SIGNATURE-----


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

Reply via email to