arnaud gaboury
2014-Aug-12 16:13 UTC
Re: [Libguestfs] issue when building/making package from git
On Tue, Aug 12, 2014 at 5:44 PM, Richard W.M. Jones <rjones@redhat.com> wrote:> > Please try my suggestions here: > > https://www.redhat.com/archives/libguestfs/2014-August/msg00099.html >:: Synchronizing package databases... core is up to date extra is up to date community 2.3 MiB 3.07M/s 00:01 [#############################################################################] 100% multilib is up to date resolving dependencies... Packages (1): filesystem-2014.07-1 Total Download Size: 0.00 MiB :: Proceed with download? [Y/n] (1/1) checking keys in keyring [#############################################################################] 100% (1/1) checking package integrity [#############################################################################] 100% tar: /tmp/supermin34d87b.tmpdir/oizchddm/*.pkg.tar.xz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now supermin: umask 0000 for f in '/tmp/supermin34d87b.tmpdir/oizchddm'/*.pkg.tar.xz; do tar -xf "$f" -C '/tmp/supermin34d87b.tmpdir/prepare.d'; done : command failed, see earlier errors
arnaud gaboury
2014-Aug-12 16:25 UTC
Re: [Libguestfs] issue when building/making package from git
On Tue, Aug 12, 2014 at 6:13 PM, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:> On Tue, Aug 12, 2014 at 5:44 PM, Richard W.M. Jones <rjones@redhat.com> wrote: >> >> Please try my suggestions here: >> >> https://www.redhat.com/archives/libguestfs/2014-August/msg00099.html >>gabx@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
Richard W.M. Jones
2014-Aug-12 18:15 UTC
Re: [Libguestfs] issue when building/making package from git
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@gmail.com> wrote: > > On Tue, Aug 12, 2014 at 5:44 PM, Richard W.M. Jones <rjones@redhat.com> wrote: > >> > >> Please try my suggestions here: > >> > >> https://www.redhat.com/archives/libguestfs/2014-August/msg00099.html > >> > > gabx@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 existsThe 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