[Libguestfs] issue when building/making package from git

Richard W.M. Jones rjones at redhat.com
Tue Aug 12 18:15:05 UTC 2014


On Tue, Aug 12, 2014 at 06:25:47PM +0200, arnaud gaboury wrote:
> On Tue, Aug 12, 2014 at 6:13 PM, arnaud gaboury
> <arnaud.gaboury at gmail.com> wrote:
> > On Tue, Aug 12, 2014 at 5:44 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> >>
> >> Please try my suggestions here:
> >>
> >> https://www.redhat.com/archives/libguestfs/2014-August/msg00099.html
> >>
> 
> gabx at hortensia ➤➤ ~/supermin % ./src/supermin -v -v -v --prepare
> filesystem -o /tmp/supermin.d
> supermin: version: 5.1.9
> supermin: package handler: arch/pacman
> supermin: prepare: filesystem
> supermin: packages specified on the command line:
>   - filesystem-2014.07-1.x86_64
> supermin: writing /tmp/supermin.d.lo0hjujm/packages
> 
> ...........................................
> ..........................................
> tar: /tmp/superminc81b0b.tmpdir/w3kj1dbt/*.pkg.tar.xz: Cannot open: No
> such file or directory
> 
> I can confirm the directory does not exists

The directory is deleted when the program exits.

I suggest (again) adding some printf's / commands into the program to
see what's really going on.  For example you could list out the
contents of that directory after the package is downloaded.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list