From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Wilson Subject: Re: fsimage - no such file Date: Tue, 19 Jun 2012 09:10:39 -0700 Message-ID: <20120619161039.GB4296@US-SEA-R8XVZTX> References: <4B45B535F7F6BE4CB1C044ED5115CDDEED66156583@LONPMAILBOX01.citrite.net> <1340103453.24176.7.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mohammad Hedayati Cc: Thanos Makatos , "xen-devel@lists.xensource.com" , Ian Campbell , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Tue, Jun 19, 2012 at 04:19:27AM -0700, Mohammad Hedayati wrote: > > # Node ID 6eabee6807b48c72bcc35a28170f0729500def85 > > # Parent =A080c0677f0f8370a4542aab81ab93380b0dab25db > > imported patch debian-lib-dir.patch > > > > diff -r 80c0677f0f83 -r 6eabee6807b4 config/StdGNU.mk > > --- a/config/StdGNU.mk =A0Wed Jun 13 09:27:53 2012 +0100 > > +++ b/config/StdGNU.mk =A0Wed Jun 13 09:27:53 2012 +0100 > > @@ -34,7 +34,7 @@ BINDIR =3D $(PREFIX)/bin > > =A0INCLUDEDIR =3D $(PREFIX)/include > > =A0LIBLEAFDIR =3D lib > > =A0LIBLEAFDIR_x86_32 =3D lib > > -LIBLEAFDIR_x86_64 ?=3D lib64 > > +LIBLEAFDIR_x86_64 ?=3D lib > > =A0LIBDIR =3D $(PREFIX)/$(LIBLEAFDIR) > > =A0LIBDIR_x86_32 =3D $(PREFIX)/$(LIBLEAFDIR_x86_32) > > =A0LIBDIR_x86_64 =3D $(PREFIX)/$(LIBLEAFDIR_x86_64) > > > > Can you try a fresh build with this applied and see if that helps. > I have applied this patch. I think libfsimage is somehow not being > affected with this. Yet, linking /usr/lib64/fs -> /usr/lib/fs solves > the problem. libfsimage is going to blindly look in /usr/lib64 on non-Itanium 64-bit Linux platforms. See tools/libfsimage/common/fsimage_plugin.c:134 #if defined(FSIMAGE_FSDIR) if (fsdir =3D=3D NULL) fsdir =3D FSIMAGE_FSDIR; #elif defined(__sun__) if (fsdir =3D=3D NULL) fsdir =3D "/usr/lib/fs"; if (sizeof(void *) =3D=3D 8) isadir =3D "64/"; #elif defined(__ia64__) if (fsdir =3D=3D NULL) fsdir =3D "/usr/lib/fs"; #else if (fsdir =3D=3D NULL) { if (sizeof(void *) =3D=3D 8) fsdir =3D "/usr/lib64/fs"; else fsdir =3D "/usr/lib/fs"; } #endif Matt