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

Git Clone URL: https://aur.archlinux.org/virt-bootstrap-git.git (read-only)
Package Base: virt-bootstrap-git
Description: A tool for creating the root filesystem of libvirt-based containers.
Upstream URL: https://github.com/virt-manager/virt-bootstrap
Licenses: GPL
Conflicts: virt-bootstrap
Provides: virt-bootstrap
Submitter: 02010
Maintainer: rst0aur
Last Packager: 02010
Votes: 5
Popularity: 0.070453
First Submitted: 2017-09-02 00:18
Last Updated: 2017-10-22 03:19

Latest Comments

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 https://github.com/virt-manager/virt-bootstrap/commit/a223b15938237665fe135cd710f4301ea23bf85d

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/virt_bootstrap.py", line 335, in main
progress_cb=args.status_only)
File "/usr/lib/python2.7/site-packages/virtBootstrap/virt_bootstrap.py", line 149, in bootstrap
progress=prog).unpack(dest)
File "/usr/lib/python2.7/site-packages/virtBootstrap/sources/docker_source.py", line 83, in __init__
self.retrieve_layers_info()
File "/usr/lib/python2.7/site-packages/virtBootstrap/sources/docker_source.py", 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
or
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 "setup.py", line 39, in <module>
import virtBootstrap
File "src/virtBootstrap/__init__.py", line 198, in <module>
from virtBootstrap.virt_bootstrap import bootstrap
File "src/virtBootstrap/virt_bootstrap.py", line 36, in <module>
from virtBootstrap import sources
File "src/virtBootstrap/sources/__init__.py", line 26, in <module>
from virtBootstrap.sources.file_source import FileSource
File "src/virtBootstrap/sources/file_source.py", line 27, in <module>
from virtBootstrap import utils
File "src/virtBootstrap/utils.py", line 37, in <module>
import passlib.hosts
ImportError: No module named passlib.hosts
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build virt-bootstrap-git package(s)

Tried to pip install passlib-didn't help.