Your message dated Tue, 26 Apr 2005 05:47:18 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#280310: fixed in hfsutils 3.2.6-8
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; 8 Nov 2004 17:23:08 +0000
>From [EMAIL PROTECTED] Mon Nov 08 09:23:08 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c203201.adsl.hansenet.de (localhost.localdomain) 
[213.39.203.201] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CRDER-0004IG-00; Mon, 08 Nov 2004 09:23:07 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CRDGi-0005k9-Jg; Mon, 08 Nov 2004 18:25:28 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: hfsutils: FTBFS (amd64/gcc-3.4): Please use '#include <errno.h>' 
instead of 'extern int errno;'
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 08 Nov 2004 18:25:28 +0100
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: hfsutils
Severity: normal
Tags: patch

When building 'hfsutils' on amd64 with gcc-3.4 I get the following error:

gcc -Llibhfs hfssh.o tclhfs.o crc.o binhex.o copyin.o copyout.o charset.o 
darray.o dlist.o dstring.o glob.o suid.o version.o  \
        -lhfs  -L/usr/lib -ltcl8.3 -ldl  -lieee -lm  -o hfssh
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: BFD 2.15 assertion fail ../../bfd/elflink.c:6081
make[1]: *** [hfssh] Error 1
make[1]: Leaving directory `/hfsutils-3.2.6'

With the attached patch 'hfsutils' can be compiled on amd64 using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/hfsutils-3.2.6/binhex.c ./binhex.c
--- ../tmp-orig/hfsutils-3.2.6/binhex.c 1998-09-18 22:56:22.000000000 +0000
+++ ./binhex.c  2004-11-04 15:06:17.913586968 +0000
@@ -38,8 +38,6 @@
 
 const char *bh_error = "no error";
 
-extern int errno;
-
 # define ERROR(code, str)      (bh_error = (str), errno = (code))
 
 static FILE *file;                     /* input/output file */
diff -urN ../tmp-orig/hfsutils-3.2.6/copyin.c ./copyin.c
--- ../tmp-orig/hfsutils-3.2.6/copyin.c 1998-11-02 22:08:25.000000000 +0000
+++ ./copyin.c  2004-11-04 15:06:31.973449544 +0000
@@ -48,8 +48,6 @@
 
 const char *cpi_error = "no error";
 
-extern int errno;
-
 # define ERROR(code, str)      (cpi_error = (str), errno = (code))
 
 # define MACB_BLOCKSZ  128
diff -urN ../tmp-orig/hfsutils-3.2.6/copyout.c ./copyout.c
--- ../tmp-orig/hfsutils-3.2.6/copyout.c        1998-04-11 08:26:54.000000000 
+0000
+++ ./copyout.c 2004-11-04 15:06:41.784957968 +0000
@@ -49,8 +49,6 @@
 
 const char *cpo_error = "no error";
 
-extern int errno;
-
 # define ERROR(code, str)      (cpo_error = (str), errno = (code))
 
 # define MACB_BLOCKSZ  128
diff -urN ../tmp-orig/hfsutils-3.2.6/hcwd.c ./hcwd.c
--- ../tmp-orig/hfsutils-3.2.6/hcwd.c   1998-04-11 08:26:56.000000000 +0000
+++ ./hcwd.c    2004-11-04 15:06:56.217763848 +0000
@@ -43,8 +43,6 @@
 static int mtabsz = 0, nmounts = 0;
 static int curvol = -1, dirty = 0;
 
-extern int errno;
-
 /*
  * NAME:       addent()
  * DESCRIPTION:        insert mount entry into table
diff -urN ../tmp-orig/hfsutils-3.2.6/hfsutil.h ./hfsutil.h
--- ../tmp-orig/hfsutils-3.2.6/hfsutil.h        1998-04-11 08:26:57.000000000 
+0000
+++ ./hfsutil.h 2004-11-04 15:07:27.707976608 +0000
@@ -19,7 +19,7 @@
  * $Id: hfsutil.h,v 1.8 1998/04/11 08:26:57 rob Exp $
  */
 
-extern int errno;
+#include <errno.h>
 
 # define ERROR(code, str)      (hfs_error = (str), errno = (code))
 
diff -urN ../tmp-orig/hfsutils-3.2.6/libhfs/libhfs.h ./libhfs/libhfs.h
--- ../tmp-orig/hfsutils-3.2.6/libhfs/libhfs.h  1998-11-02 22:09:02.000000000 
+0000
+++ ./libhfs/libhfs.h   2004-11-04 15:05:36.494883568 +0000
@@ -22,7 +22,7 @@
 # include "hfs.h"
 # include "apple.h"
 
-extern int errno;
+#include <errno.h>
 
 # define ERROR(code, str)  \
     do { hfs_error = (str), errno = (code); goto fail; } while (0)
diff -urN ../tmp-orig/hfsutils-3.2.6/librsrc/librsrc.h ./librsrc/librsrc.h
--- ../tmp-orig/hfsutils-3.2.6/librsrc/librsrc.h        1998-04-11 
08:27:19.000000000 +0000
+++ ./librsrc/librsrc.h 2004-11-04 15:04:55.910053400 +0000
@@ -21,7 +21,7 @@
 
 # include "rsrc.h"
 
-extern int errno;
+#include <errno.h>
 
 # define ERROR(code, str)  \
     do { rsrc_error = (str), errno = (code); goto fail; } while (0)
diff -urN ../tmp-orig/hfsutils-3.2.6/tclhfs.c ./tclhfs.c
--- ../tmp-orig/hfsutils-3.2.6/tclhfs.c 1998-11-02 22:08:32.000000000 +0000
+++ ./tclhfs.c  2004-11-04 15:04:12.253690176 +0000
@@ -29,6 +29,7 @@
 
 # include <stdio.h>
 # include <stdlib.h>
+# include <errno.h>
 # include <string.h>
 # include <ctype.h>
 # include <limits.h>
@@ -44,8 +45,6 @@
 # include "suid.h"
 # include "version.h"
 
-extern int errno;
-
 # define ERROR(code, str)      (hfs_error = (str), errno = (code))
 
 # define SIZE(type, n)         ((size_t) (sizeof(type) * (n)))

---------------------------------------
Received: (at 280310-close) by bugs.debian.org; 26 Apr 2005 09:59:33 +0000
>From [EMAIL PROTECTED] Tue Apr 26 02:59:33 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 1DQMqr-0006WD-00; Tue, 26 Apr 2005 02:59:33 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DQMf0-0000WZ-00; Tue, 26 Apr 2005 05:47:18 -0400
From: Matej Vela <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#280310: fixed in hfsutils 3.2.6-8
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 26 Apr 2005 05:47:18 -0400
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: 3

Source: hfsutils
Source-Version: 3.2.6-8

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

hfsutils-tcltk_3.2.6-8_i386.deb
  to pool/main/h/hfsutils/hfsutils-tcltk_3.2.6-8_i386.deb
hfsutils_3.2.6-8.diff.gz
  to pool/main/h/hfsutils/hfsutils_3.2.6-8.diff.gz
hfsutils_3.2.6-8.dsc
  to pool/main/h/hfsutils/hfsutils_3.2.6-8.dsc
hfsutils_3.2.6-8_i386.deb
  to pool/main/h/hfsutils/hfsutils_3.2.6-8_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.
Matej Vela <[EMAIL PROTECTED]> (supplier of updated hfsutils 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, 26 Apr 2005 11:35:02 +0200
Source: hfsutils
Binary: hfsutils-tcltk hfsutils
Architecture: source i386
Version: 3.2.6-8
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Matej Vela <[EMAIL PROTECTED]>
Description: 
 hfsutils   - Tools for reading and writing Macintosh volumes
 hfsutils-tcltk - Tcl/Tk interfaces for reading and writing Macintosh volumes
Closes: 174469 261565 280310 302937
Changes: 
 hfsutils (3.2.6-8) unstable; urgency=low
 .
   * QA upload.
   * Package is orphaned (see #303264); set maintainer to Debian QA Group.
   * Include <errno.h> instead of declaring errno on our own (patch by
     Andreas Jochens).  Closes: #280310.
   * Link to tcl8.4/tk8.4.
   * Switch to debhelper.
   * Remove trailing dot from short description.  Closes: #174469.
   * debian/copyright: List copyright holder.  Closes: #302937.
   * debian/rules: Force make not to re-run autoconf.
   * Move xhfs from /usr/X11R6/bin to /usr/bin.
   * Replace /usr/share/doc/hfsutils-tcltk with a symlink to hfsutils.
   * Drop /usr/doc symlink.  Closes: #261565.
   * Conforms to Standards version 3.6.1.
Files: 
 5dafafb7f2fc081c5afca9489a00cc4c 607 otherosfs extra hfsutils_3.2.6-8.dsc
 97016daabf1bb24535d1157f02066a7c 4314 otherosfs extra hfsutils_3.2.6-8.diff.gz
 1870eb7ca97d0ff3e4121fb3da981f17 72922 otherosfs extra 
hfsutils_3.2.6-8_i386.deb
 b40f978a6f744a87e1bdb757823c74ae 105412 otherosfs extra 
hfsutils-tcltk_3.2.6-8_i386.deb

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

iD8DBQFCbgt8xBYivKllgY8RAm8bAJ471Tqi4eg3uLGGM0dr7x8o0rhLIgCfVbJH
Ep9VQwkqXWJnyG8KbA/NPZ8=
=nL0d
-----END PGP SIGNATURE-----


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

Reply via email to