arnaud gaboury
2014-Aug-12 11:44 UTC
Re: [Libguestfs] issue when building/making package from git
[This email is either empty or too large to be displayed at this time]
Richard W.M. Jones
2014-Aug-12 12:27 UTC
Re: [Libguestfs] issue when building/making package from git
A couple of problems here. Your perl binary segfaults:> checking for Sys::Virt... ./configure: line 59541: 30146 Segmentation > fault $PERL -M$pm -e1 1>&5 2>&1 > no--- supermin looks good ...> supermin: writing supermin.d.xmx7q6hl/packages > supermin: after resolving dependencies there are 99 packages:... until you get to here and then everything goes wrong:> :: Synchronizing package databases... > error: failed to update core (unable to lock database) > error: failed to update extra (unable to lock database) > error: failed to update community (unable to lock database) > error: failed to update multilib (unable to lock database) > error: failed to synchronize any databases > error: failed to init transaction (unable to lock database) > error: could not lock database: Permission deniedSo this is the primary problem you need to fix. I suspect that you could fix this by running the following command as before the build: sudo pacman -Sy This is (sort of) a bug, but IIRC pacman just doesn't let us have a local per-user copy of the package database so there's not much we can do about it in supermin. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
arnaud gaboury
2014-Aug-12 12:53 UTC
Re: [Libguestfs] issue when building/making package from git
> > I suspect that you could fix this by running the following command as > before the build: > > sudo pacman -SyI always sue -Syu to install packages, and I already installed/reinstalled some packages today. Now one thing comes to my mind : lots of pacman stuff are NOT in the usal place. $ cat /etc/pacman.conf ----------------------------------- [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / DBPath = /var/lib/pacman CacheDir = /drawer/pacman/pkg #CacheDir = /var/cache/pacman/pkg #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = auto ------------------------------------------ Could this unusual dir be the cause of this issue ??