Bug#239066: marked as done (mkbimage: syntax error calling losetup)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 29 Apr 2004 14:48:14 -0700


Your message dated Thu, 29 Apr 2004 17:32:04 -0400
with message-id <E1BJJ8W-00006z-00@newraff.debian.org>
and subject line Bug#239066: fixed in grub 0.94+cvs20040429-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 2004 17:34:42 +0000
>From ydirson@altern.org Sat Mar 20 09:34:42 2004
Return-path: <ydirson@altern.org>
Received: from ipoutme5.wanadoo.fr (mwinf1001.wanadoo.fr) [193.252.22.21] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B4kMs-0000lG-00; Sat, 20 Mar 2004 09:34:42 -0800
Received: from bylbo.nowhere.earth (APuteaux-115-1-2-66.w193-251.abo.wanadoo.fr [193.251.62.66])
	by mwinf1001.wanadoo.fr (SMTP Server) with ESMTP
	id 0BCF11C00175; Sat, 20 Mar 2004 18:34:11 +0100 (CET)
Received: from dwitch by bylbo.nowhere.earth with local (Exim 3.36 #1 (Debian))
	id 1B4kNM-0006fF-00; Sat, 20 Mar 2004 18:35:12 +0100
Date: Sat, 20 Mar 2004 18:35:12 +0100
From: Yann Dirson <dirson@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mkbimage: syntax error calling losetup
Message-ID: <20040320173511.GA25508@bylbo.nowhere.earth>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.53
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Yann Dirson <ydirson@altern.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level: 

Package: grub
Version: 0.93+cvs20031021-8
Severity: normal
Tags: patch

$offset must contain an integer, but at some point gets assigned "-o <realvalue>"
resulting in calling "losetup -o -o <realvalue>", which fails.

--- /bin/mkbimage       2003-08-09 14:19:43.000000000 +0200
+++ mkbimage    2004-03-20 18:21:01.000000000 +0100
@@ -345,7 +345,7 @@
 
 
 EOT
-  offset="-o $(($sectors * $block_size))" 
+  offset="$(($sectors * $block_size))" 
   type_option=
 else
   offset="0"

-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>

---------------------------------------
Received: (at 239066-close) by bugs.debian.org; 29 Apr 2004 21:38:11 +0000
>From katie@ftp-master.debian.org Thu Apr 29 14:38:11 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BJJER-00036r-00; Thu, 29 Apr 2004 14:38:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BJJ8W-00006z-00; Thu, 29 Apr 2004 17:32:04 -0400
From: Robert Millan <rmh@debian.org>
To: 239066-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#239066: fixed in grub 0.94+cvs20040429-1
Message-Id: <E1BJJ8W-00006z-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 29 Apr 2004 17:32:04 -0400
Delivered-To: 239066-close@bugs.debian.org
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=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: grub
Source-Version: 0.94+cvs20040429-1

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

grub-disk_0.94+cvs20040429-1_all.deb
  to pool/main/g/grub/grub-disk_0.94+cvs20040429-1_all.deb
grub-doc_0.94+cvs20040429-1_all.deb
  to pool/main/g/grub/grub-doc_0.94+cvs20040429-1_all.deb
grub_0.94+cvs20040429-1.diff.gz
  to pool/main/g/grub/grub_0.94+cvs20040429-1.diff.gz
grub_0.94+cvs20040429-1.dsc
  to pool/main/g/grub/grub_0.94+cvs20040429-1.dsc
grub_0.94+cvs20040429-1_i386.deb
  to pool/main/g/grub/grub_0.94+cvs20040429-1_i386.deb
grub_0.94+cvs20040429.orig.tar.gz
  to pool/main/g/grub/grub_0.94+cvs20040429.orig.tar.gz



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 239066@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated grub 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 29 Apr 2004 21:15:59 +0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.94+cvs20040429-1
Distribution: unstable
Urgency: low
Maintainer: Grub-Devel <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 154534 216875 239066 242319 245350
Changes: 
 grub (0.94+cvs20040429-1) unstable; urgency=low
 .
   * New upstream snapshot. (Closes: #245350)
     - patches/*.diff: Resync.
     - Syntax fixes in mkbimage. Thanks Yann Dirson. (Closes: #239066, #242319)
     - Includes CDROM support (at last!). (Closes: #154534)
     - Fixes for kernel of FreeBSD 5.x. (Closes: #216875)
   * Migrating to automake 1.8.
     - control (Build-Depends): s/1.7/1.8/g
     - rules: Ditto.
Files: 
 9e71572a348004d9abb8a4b332bef7a4 826 admin optional grub_0.94+cvs20040429-1.dsc
 1cd0191b636b8733c1d4a7d05749fa68 892804 admin optional grub_0.94+cvs20040429.orig.tar.gz
 a31f7ae80d8b023dd31d872dbabec509 44005 admin optional grub_0.94+cvs20040429-1.diff.gz
 e1712bbbde7ff83b2528066707a04a8b 349196 admin optional grub_0.94+cvs20040429-1_i386.deb
 1347f1ac4e6430d949862aedb86a4d74 521166 admin optional grub-disk_0.94+cvs20040429-1_all.deb
 ceab76ed39d8ce3440e9d1a0ad6d0cda 249356 doc optional grub-doc_0.94+cvs20040429-1_all.deb

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

iD8DBQFAkXElC19io6rUCv8RAjl/AJ9c6U2ldXweWM763FVg5rOalEGvwgCghKt0
eFzL55VXZK7g/nq2IUC5A3k=
=rLSN
-----END PGP SIGNATURE-----