Package Details: virt-bootstrap-git r110.9e6a003-1

Git Clone URL: (read-only, click to copy)
Package Base: virt-bootstrap-git
Description: A tool for creating the root filesystem of libvirt-based containers.
Upstream URL:
Keywords: libvirt
Licenses: GPL
Conflicts: virt-bootstrap
Provides: virt-bootstrap
Submitter: 02010
Maintainer: rst0aur
Last Packager: rst0aur
Votes: 10
Popularity: 0.000897
First Submitted: 2017-09-02 00:18
Last Updated: 2020-07-07 14:03

Latest Comments

rustemb commented on 2020-12-02 20:22

ModuleNotFoundError: No module named 'setuptools'

jimorsm commented on 2020-01-31 18:43

hello, dependence python2-passlib is now not available, I have tried to modify the PKGBUILD to avoid it. here is my PKGBUILD

# Maintainer: Alex O'Brien <>
pkgdesc="A tool for creating the root filesystem of libvirt-based containers."
depends=('libguestfs' 'python-libguestfs' 'skopeo' 'libvirt-sandbox' 'python' 'python-passlib')
makedepends=('python2' 'git')

pkgver() {
    cd "$srcdir/${pkgname%-VCS}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

build() {
    cd "$srcdir/${pkgname%-VCS}"
    python build

package() {
    cd "$srcdir/${pkgname%-VCS}"
    python install --prefix=$pkgdir
    mkdir $pkgdir/usr
    mv $pkgdir/bin $pkgdir/usr/
    mv $pkgdir/lib $pkgdir/usr/
    mv $pkgdir/share $pkgdir/usr/

curiosity commented on 2018-06-21 16:25

currently fails to build due to changes in rpc. Now has new dependency rpcsvc-proto, but even with that installed, rpc isn't found. Building the libvirt-sandbox dependency, the build fails, so virt-boostrap never starts building.

rst0aur commented on 2018-02-28 00:06

Hi @Unb0rn, this issue was resolved in

Unb0rn commented on 2017-11-08 09:09

Unable to import from docker images.
virt-bootstrap docker://fedora ~/tmp
WARNING : All extracted files will be owned by the current unprivileged user.
Traceback (most recent call last):
File "/usr/bin/virt-bootstrap", line 11, in <module>
load_entry_point('virt-bootstrap==1.0.0', 'console_scripts', 'virt-bootstrap')()
File "/usr/lib/python2.7/site-packages/virtBootstrap/", line 335, in main
File "/usr/lib/python2.7/site-packages/virtBootstrap/", line 149, in bootstrap
File "/usr/lib/python2.7/site-packages/virtBootstrap/sources/", line 83, in __init__
File "/usr/lib/python2.7/site-packages/virtBootstrap/sources/", line 99, in retrieve_layers_info
layers_list = self.manifest['layers']
KeyError: 'layers'

Unb0rn commented on 2017-10-23 07:01

1) I've already tried and it did work. But there was a problem (maybe a bug) with the resulting binary-it was unable to import from docker image with KeyError: "layers"

2) If I try to install it now-it still fails due to dependencies problem-
Hivex won't compile due to:
"hivex_c.c:52:1: error: static declaration of 'caml_raise_with_args' follows non-static declaration
caml_raise_with_args (value tag, int nargs, value args[])"

Because of it, libguestfs won't install, and virt-botostrap depends on libguestfs

3) Tried to build virt-bootstap with python3, but libguestfs-python3 is rather outdated, and placing a new version in PKGBUILD and replacing SHA512 does not help...

02010 commented on 2017-10-21 06:19

Update with fixed dependencies is incoming; in the meantime, try:
pip2 install passlib
sudo pacman -S python2-passlib

Unb0rn commented on 2017-10-19 08:22

Not compiling now-looks like some dependencies problem.

==> Starting build()...
Traceback (most recent call last):
File "", line 39, in <module>
import virtBootstrap
File "src/virtBootstrap/", line 198, in <module>
from virtBootstrap.virt_bootstrap import bootstrap
File "src/virtBootstrap/", line 36, in <module>
from virtBootstrap import sources
File "src/virtBootstrap/sources/", line 26, in <module>
from virtBootstrap.sources.file_source import FileSource
File "src/virtBootstrap/sources/", line 27, in <module>
from virtBootstrap import utils
File "src/virtBootstrap/", line 37, in <module>
import passlib.hosts
ImportError: No module named passlib.hosts
==> ERROR: A failure occurred in build().
:: failed to build virt-bootstrap-git package(s)

Tried to pip install passlib-didn't help.