Richard W.M. Jones
2014-Aug-12 14:42 UTC
Re: [Libguestfs] issue when building/making package from git
On Tue, Aug 12, 2014 at 04:38:11PM +0200, arnaud gaboury wrote:> > --2014-08-12 16:16:57-- https://aur.archlinux.org/packages/ba/bash/bash.tar.gz > > Resolving aur.archlinux.org (aur.archlinux.org)... 5.9.250.164, > > 2a01:4f8:160:3033::2 > > Connecting to aur.archlinux.org > > (aur.archlinux.org)|5.9.250.164|:443... connected. > > HTTP request sent, awaiting response... 404 Not Found > > 2014-08-12 16:16:58 ERROR 404: Not Found. > > > > supermin: set -e > > umask 0000 > > cd '/tmp/supermindfc4ec.tmpdir/qjcjfqo9' > > wget 'https://aur.archlinux.org/packages/ba/bash/bash.tar.gz' > > tar xf 'bash.tar.gz' > > cd 'bash' > > /usr/bin/makepkg > > mv 'bash'-*.pkg.tar.xz '/tmp/supermindfc4ec.tmpdir/qjcjfqo9' > > : command failed, see earlier errors > > > > > i am not an expert, but I do not understand why supermin is looking at > the URL : https://aur.archlinux.org/packages/ba/bash/bash.tar.gzIt doesn't. If you look at the function I mentioned in the previous email, it only tries the AUR if the core package is not found (or more precisely, failed to be downloaded for some reason). However since all the pacman commands are failing because of `error: failed to update core (unable to lock database)', it tries to download the package from the AUR. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Richard W.M. Jones
2014-Aug-12 14:45 UTC
Re: [Libguestfs] issue when building/making package from git
On Tue, Aug 12, 2014 at 03:42:58PM +0100, Richard W.M. Jones wrote:> However since all the pacman commands are failing because of > `error: failed to update core (unable to lock database)', it tries to > download the package from the AUR.Apparently this: https://wiki.manjaro.org/index.php?title=Pacman_troubleshooting#.22Unable_to_lock_database.22_Error Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
arnaud gaboury
2014-Aug-12 14:48 UTC
Re: [Libguestfs] issue when building/making package from git
same test errors on my other arch box ( a very clean one) when running make check for supermin
arnaud gaboury
2014-Aug-12 14:52 UTC
Re: [Libguestfs] issue when building/making package from git
> > Apparently this: > > https://wiki.manjaro.org/index.php?title=Pacman_troubleshooting#.22Unable_to_lock_database.22_Error >I didn't mentioned it, but I already ran # rm /var/lib/pacman/db.lck I even tried building with make -j1 just in case some other thread was locking the DB. In fact, some process during the build is already locking the DB.