[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#298311: marked as done (new ldd breaks initrd-tools on amd64)



Your message dated Tue, 17 May 2005 17:15:37 +0200
with message-id <20050517151537.GD12806@sputnik.stro.at>
and subject line Bug#298311: new ldd breaks initrd-tools on amd64
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; 6 Mar 2005 16:09:16 +0000
>From harald.dunkel@t-online.de Sun Mar 06 08:09:16 2005
Return-path: <harald.dunkel@t-online.de>
Received: from mailout10.sul.t-online.com [194.25.134.21] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D7yJf-0007IO-00; Sun, 06 Mar 2005 08:09:16 -0800
Received: from fwd31.aul.t-online.de 
	by mailout10.sul.t-online.com with smtp 
	id 1D7yIG-0000FS-02; Sun, 06 Mar 2005 17:07:48 +0100
Received: from [192.168.1.10] (Z4Rd6EZJreuKgu23s+5A28uFh8bGBL8rwJigwvAZsMtjcY7bObv8QP@[80.146.126.46]) by fwd31.sul.t-online.de
	with esmtp id 1D7yIF-0GtgKu0; Sun, 6 Mar 2005 17:07:47 +0100
Message-ID: <422B2ACE.3040409@t-online.de>
Date: Sun, 06 Mar 2005 17:07:42 +0100
From: Harald Dunkel <harald.dunkel@t-online.de>
User-Agent: Debian Thunderbird 1.0 (X11/20050119)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
CC: ekonijn@xs4all.nl
Subject: new ldd breaks initrd-tools on amd64
X-Enigmail-Version: 0.90.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig7ABBCFC981C8575A7DAF867D"
X-ID: Z4Rd6EZJreuKgu23s+5A28uFh8bGBL8rwJigwvAZsMtjcY7bObv8QP
X-TOI-MSGID: 4a3fafa7-3088-462d-a571-aa149eee4318
Delivered-To: submit@bugs.debian.org
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7ABBCFC981C8575A7DAF867D
Content-Type: multipart/mixed;
 boundary="------------000203020509030605020705"

This is a multi-part message in MIME format.
--------------000203020509030605020705
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: initrd-tools
Version: 0.1.77


As noted by Erik the ldd of glibc 2.3.3 provides a new output
format breaking mkinitrd:

# mkinitrd -o /boot/initrd.img-2.6.11 2.6.11
cpio:   /lib/ld-linux-x86-64.so.2 (0x0000002a95556000): No such file or directory


Seems that this new output format has already been included
for libc6 2.3.2.ds1-20.0.0.2.gcc4 on amd64 (gcc-3.4).


Attached you can find a patch.


Regards

Harri

--------------000203020509030605020705
Content-Type: text/plain;
 name="mkinitrd.new_ldd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mkinitrd.new_ldd.patch"

--- /u/harri/initrd-tools/initrd-tools-0.1.77/mkinitrd	2005-01-23 19:37:41.000000000 +0100
+++ mkinitrd	2005-03-06 16:57:41.933283835 +0100
@@ -1181,7 +1181,16 @@
 			add_command $i
 		done
 		exec 3>&-
-		< tmp2 sed 's/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/'
+		< tmp2 awk '
+			/[[:blank:]]*.*=>[[:blank:]]*\/[^[:blank:]]*.*/ {
+				print $3;
+				next;
+			};
+			/[[:blank:]]*\/[^[:blank:]]*.*/ {
+				print $1;
+				next;
+			};
+			'

 		echo /dev/console
 		echo /dev/null

--------------000203020509030605020705--

--------------enig7ABBCFC981C8575A7DAF867D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCKyrSUTlbRTxpHjcRAgABAJ9lKYwq8PqRsG6BqckB3Tjiv9BQogCfVCtr
Za1mieHjmFRqlfZ2JL5NxXA=
=Xmzv
-----END PGP SIGNATURE-----

--------------enig7ABBCFC981C8575A7DAF867D--

---------------------------------------
Received: (at 298311-done) by bugs.debian.org; 17 May 2005 15:15:42 +0000
>From max@stro.at Tue May 17 08:15:42 2005
Return-path: <max@stro.at>
Received: from baikonur.stro.at [213.239.196.228] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DY3nK-0001zO-00; Tue, 17 May 2005 08:15:42 -0700
Received: from sputnik (stallburg.stro.at [128.131.216.190])
	by baikonur.stro.at (Postfix) with ESMTP id ECB3B5C010;
	Tue, 17 May 2005 17:15:36 +0200 (CEST)
Received: from max by sputnik with local (Exim 4.50)
	id 1DY3nF-0000nH-RC; Tue, 17 May 2005 17:15:37 +0200
Date: Tue, 17 May 2005 17:15:37 +0200
From: maximilian attems <debian@sternwelten.at>
To: 298311-done@bugs.debian.org
Cc: ekonijn@xs4all.nl
Subject: Re: Bug#298311: new ldd breaks initrd-tools on amd64
Message-ID: <20050517151537.GD12806@sputnik.stro.at>
References: <422B2ACE.3040409@t-online.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <422B2ACE.3040409@t-online.de>
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 298311-done@bugs.debian.org
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: 

On Sun, 06 Mar 2005, Harald Dunkel wrote:

> Package: initrd-tools
> Version: 0.1.77
> 
> 
> As noted by Erik the ldd of glibc 2.3.3 provides a new output
> format breaking mkinitrd:
> 
> # mkinitrd -o /boot/initrd.img-2.6.11 2.6.11
> cpio:   /lib/ld-linux-x86-64.so.2 (0x0000002a95556000): No such file or 
> directory
> 
> 
> Seems that this new output format has already been included
> for libc6 2.3.2.ds1-20.0.0.2.gcc4 on amd64 (gcc-3.4).
> 
 
this bug should also have been fixed with the initrd-tools 0.1.79
upload, if the pain subsist please reopen.

thanks for your feedback.

--
maks



Reply to: