Your message dated Thu, 06 Oct 2005 21:48:43 +0200 with message-id <[EMAIL PROTECTED]> and subject line squashfs: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment 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; 7 Mar 2005 12:46:18 +0000 >From [EMAIL PROTECTED] Mon Mar 07 04:46:18 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 1D8Hcn-0001FF-00; Mon, 07 Mar 2005 04:46:17 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1D8IZ7-0001IA-Un; Mon, 07 Mar 2005 14:46:33 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: squashfs: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment Message-Id: <[EMAIL PROTECTED]> Date: Mon, 07 Mar 2005 14:46:33 +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: squashfs Severity: normal Tags: patch When building 'squashfs' on amd64 with gcc-4.0, I get the following error: gcc -I. -Wall -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -c -o mksquashfs.o mksquashfs.c mksquashfs.c: In function 'mangle': mksquashfs.c:247: warning: pointer targets in passing argument 1 of 'compress2' differ in signedness mksquashfs.c:247: warning: pointer targets in passing argument 3 of 'compress2' differ in signedness mksquashfs.c: In function 'create_inode': mksquashfs.c:489: error: invalid lvalue in assignment mksquashfs.c:549: error: invalid lvalue in assignment With the attached patch 'squashfs' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/squashfs-2.0/squashfs-tools/mksquashfs.c ./squashfs-tools/mksquashfs.c --- ../tmp-orig/squashfs-2.0/squashfs-tools/mksquashfs.c 2004-07-13 19:24:23.000000000 +0200 +++ ./squashfs-tools/mksquashfs.c 2005-03-07 14:42:36.372252183 +0100 @@ -485,8 +485,8 @@ int i; squashfs_reg_inode_header *reg = &inode_header.reg, *inodep; - inodep = (squashfs_reg_inode_header *) inode = get_inode(sizeof(*reg) + - offset * sizeof(unsigned int)); + inode = get_inode(sizeof(*reg) + offset * sizeof(unsigned int)); + inodep = (squashfs_reg_inode_header *) inode; reg->mtime = buf.st_mtime; reg->file_size = byte_size; reg->start_block = start_block; @@ -546,7 +546,8 @@ return SQUASHFS_INVALID; } - inodep = (squashfs_symlink_inode_header *) inode = get_inode(sizeof(*symlink) + byte); + inode = get_inode(sizeof(*symlink) + byte); + inodep = (squashfs_symlink_inode_header *) inode; symlink->symlink_size = byte; if(!swap) memcpy((void *) inode, symlink, sizeof(*symlink)); --------------------------------------- Received: (at 298417-done) by bugs.debian.org; 6 Oct 2005 19:48:49 +0000 >From [EMAIL PROTECTED] Thu Oct 06 12:48:49 2005 Return-path: <[EMAIL PROTECTED]> Received: from mail-out.m-online.net [212.18.0.9] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1ENbjU-0008O3-00; Thu, 06 Oct 2005 12:48:49 -0700 Received: from mail.m-online.net (svr20.m-online.net [192.168.3.148]) by mail-out.m-online.net (Postfix) with ESMTP id 7130B70617 for <[EMAIL PROTECTED]>; Thu, 6 Oct 2005 21:48:12 +0200 (CEST) Received: from atari.stigge.org (ppp-62-245-162-93.mnet-online.de [62.245.162.93]) by mail.m-online.net (Postfix) with ESMTP id 0C87310C551 for <[EMAIL PROTECTED]>; Thu, 6 Oct 2005 21:48:44 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by atari.stigge.org (Postfix) with ESMTP id 27FD5100BD8E9 for <[EMAIL PROTECTED]>; Thu, 6 Oct 2005 21:48:44 +0200 (CEST) Message-ID: <[EMAIL PROTECTED]> Date: Thu, 06 Oct 2005 21:48:43 +0200 From: Roland Stigge <[EMAIL PROTECTED]> User-Agent: Debian Thunderbird 1.0.7 (X11/20051001) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: squashfs: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 The patch seems to be integrated into the latest version in Debian (1:2.1r2-0.1). Therefore, I'm closing this bug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]