Your message dated Mon, 21 Mar 2005 03:47:11 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300289: fixed in hfsplus 1.0.4-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; 18 Mar 2005 19:25:20 +0000
>From [EMAIL PROTECTED] Fri Mar 18 11:25:20 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 1DCN5z-00007H-00; Fri, 18 Mar 2005 11:25:20 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DCN5q-0004Gj-Uw; Fri, 18 Mar 2005 20:25:17 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: hfsplus: FTBFS (ppc64/gcc-4.0): invalid lvalue in increment
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 18 Mar 2005 20:25:17 +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: hfsplus
Severity: normal
Tags: patch

When building 'hfsplus' on ppc64 with gcc-4.0,
I get the following error:

btree.c:86: error: invalid lvalue in increment
btree.c:87: error: invalid lvalue in increment
btree.c:88: error: invalid lvalue in increment
btree.c:89: error: invalid lvalue in increment
btree.c:90: error: invalid lvalue in increment
btree.c:91: error: invalid lvalue in increment
btree.c:92: error: invalid lvalue in increment
btree.c:93: error: invalid lvalue in increment
btree.c:94: error: invalid lvalue in increment
btree.c:97: error: invalid lvalue in increment
btree.c:99: error: invalid lvalue in increment
make[4]: *** [btree.lo] Error 1
make[4]: Leaving directory `/hfsplus-1.0.4/libhfsp/src'

With the attached patch 'hfsplus' can be compiled
on ppc64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/hfsplus-1.0.4/libhfsp/src/swab.h ./libhfsp/src/swab.h
--- ../tmp-orig/hfsplus-1.0.4/libhfsp/src/swab.h        2005-03-18 
19:51:47.198933593 +0100
+++ ./libhfsp/src/swab.h        2005-03-18 19:50:04.403589114 +0100
@@ -48,25 +48,25 @@
 
 #define bswabU16(val) val
 
-#define bswabU16_inc(ptr) (*((UInt16*) (ptr))++)
+#define bswabU16_inc(ptr) ptr = (UInt16*)ptr + 1
 /* Only available as a GCC extension, but required on sparc due to
    alignment issues in some of the on-disk structs */
 #if defined(__GNUC__) && defined(__sparc__)
 #define bswabU32_inc(ptr) ({                   \
        unsigned char *c = (char*)ptr;          \
-       ((UInt32 *)ptr)++;                      \
+       ptr = ((UInt32 *)ptr) + 1;              \
        ((c[0] << 24)+(c[1] << 16)+(c[2] << 8)+c[3]);})
 #define bswabU64_inc(ptr) ({                   \
        unsigned char *c = (char*)ptr;          \
        UInt64 val = 0;                         \
        int i = 0;                              \
-       ((UInt64 *)ptr)++;                      \
+       ptr = ((UInt64 *)ptr) + 1;              \
        while (i < 8)                           \
                val += (c[i] << (8*(7-i++)));   \
        val;})
 #else
-#define bswabU32_inc(ptr) (*((UInt32*) (ptr))++)
-#define bswabU64_inc(ptr) (*((UInt64*) (ptr))++)
+#define bswabU32_inc(ptr) ptr = (UInt32*)ptr + 1
+#define bswabU64_inc(ptr) ptr = (UInt64*)ptr + 1
 #endif
 
 #define bstoreU16_inc(ptr, val) *((UInt16*) (ptr)) = val; ptr = (UInt16*)ptr + 
1

---------------------------------------
Received: (at 300289-close) by bugs.debian.org; 21 Mar 2005 08:54:25 +0000
>From [EMAIL PROTECTED] Mon Mar 21 00:54:25 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 1DDIg4-0001vr-00; Mon, 21 Mar 2005 00:54:24 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DDIZ5-0006eS-00; Mon, 21 Mar 2005 03:47:11 -0500
From: Jens Schmalzing <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#300289: fixed in hfsplus 1.0.4-8
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 21 Mar 2005 03:47:11 -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: hfsplus
Source-Version: 1.0.4-8

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

hfsplus_1.0.4-8.diff.gz
  to pool/main/h/hfsplus/hfsplus_1.0.4-8.diff.gz
hfsplus_1.0.4-8.dsc
  to pool/main/h/hfsplus/hfsplus_1.0.4-8.dsc
hfsplus_1.0.4-8_powerpc.deb
  to pool/main/h/hfsplus/hfsplus_1.0.4-8_powerpc.deb
libhfsp-dev_1.0.4-8_powerpc.deb
  to pool/main/h/hfsplus/libhfsp-dev_1.0.4-8_powerpc.deb
libhfsp0_1.0.4-8_powerpc.deb
  to pool/main/h/hfsplus/libhfsp0_1.0.4-8_powerpc.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.
Jens Schmalzing <[EMAIL PROTECTED]> (supplier of updated hfsplus 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: Mon, 21 Mar 2005 09:22:38 +0100
Source: hfsplus
Binary: libhfsp-dev libhfsp0 hfsplus
Architecture: source powerpc
Version: 1.0.4-8
Distribution: unstable
Urgency: low
Maintainer: Jens Schmalzing <[EMAIL PROTECTED]>
Changed-By: Jens Schmalzing <[EMAIL PROTECTED]>
Description: 
 hfsplus    - tools to access HFS+ formatted volumes
 libhfsp-dev - library to access HFS+ formatted volumes
 libhfsp0   - shared library to access HFS+ formatted volumes
Closes: 300289
Changes: 
 hfsplus (1.0.4-8) unstable; urgency=low
 .
   * Added another small patch by Andreas Jochens, fixing a build error
     with version 4.0 of gcc on ppc64 (closes: Bug#300289).
Files: 
 49ced592a2ec1df55c5179ba5062db95 635 otherosfs optional hfsplus_1.0.4-8.dsc
 ee7bc0dd5721ef80c747a9e9c3fd4296 19498 otherosfs optional 
hfsplus_1.0.4-8.diff.gz
 d5c12288e07b7b13cd9b489b76e4361b 41188 libs optional 
libhfsp0_1.0.4-8_powerpc.deb
 85954859dd07b95028403644dd32dec1 57170 otherosfs optional 
hfsplus_1.0.4-8_powerpc.deb
 49372a30fea00a47adbceaa45cf20f9d 52180 libdevel optional 
libhfsp-dev_1.0.4-8_powerpc.deb

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

iD8DBQFCPoWwqYZgyBJFIH4RArKHAKCPM3u/L+gYmrcoBOdKH6Z5lfZsMQCeJLwc
pzNFWdDcy/l1cisJjHWKG4g=
=O4cw
-----END PGP SIGNATURE-----


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

Reply via email to