On Fri, Aug 12, 2011 at 12:32 AM, Richard W.M. Jones
<rjones@redhat.com> wrote:
On Thu, Aug 11, 2011 at 04:06:10PM -0700, David Konerding wrote:
> So: /bin/sh is a link to /bin/bash, it dynamic links to libc.so.6, but it
> appears libc.so.6 is missing from appliance/supermin.d/hostfiles; it looks
> to me like the libc debian package isn't downloaded during the febootstrap.
> There is in libc.so.6 file in the VM image.
[...]
> BTW, as a quick check I did:
> febootstrap --verbose --names bash libc6
> I never see the libc6 package being downloaded
> if I do
> febootstrap --verbose --names libc6
> then libc6 *is* downloaded.
(This works for me in 11.04)
febootstrap does:
apt-cache depends --recurse -i %list-of-pkgs% | grep -v '^[<[:space:]]'
eg:
apt-cache depends --recurse -i bash libc6 | grep -v '^[<[:space:]]'
Gotcha. I can confirm that
$ apt-cache depends --recurse -i bash libc6 | grep -v '^[<[:space:]]' | grep libc
is empty, while
$ apt-cache depends --recurse -i libc6 | grep -v '^[<[:space:]]' | grep libc
lists libc6.
Just to explore a bit more:
$ apt-cache depends --recurse -i bash libc6
bash
Depends: base-files
Depends: debianutils
PreDepends: dash
PreDepends: libc6
PreDepends: libncurses5
I'm going to check with our local distribution developers and see what's going on.
It then downloads each one using 'aptitude download'.
Each is then unpacked using:
dpkg-deb --fsys-tarfile %filename% | (cd %tmpdir% && tar xf -)
Does that list contain libc6?
Does 'aptitude download libc6' work?
If downloaded, does the unpacked deb contain the expected symlink?
http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_debian.ml;h=4aa7389657aedf281a6aa908984a02891de801be;hb=HEAD#l35
> You may need to force the cached appliance to be rebuilt between tests
> > by doing:
> >
> > rm -rf {/tmp,/var/tmp}/.guestfs-*
> >
> >
> Is there a similar way to clear out the files in appliance/supermin.d so i
> can re-do the package download/unpack/build img process? I have been making
> clean, then make, then make install in src/libguestfs-1.12.3.
Just:
make -C appliance clean all
should be sufficient.
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw