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

Git Clone URL: https://aur.archlinux.org/virt-bootstrap-git.git (read-only, click to copy)
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
Keywords: libvirt
Licenses: GPL
Conflicts: virt-bootstrap
Provides: virt-bootstrap
Submitter: 02010
Maintainer: rst0aur
Last Packager: rst0aur
Votes: 16
Popularity: 0.023410
First Submitted: 2017-09-02 00:18 (UTC)
Last Updated: 2020-07-07 14:03 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-10-14 13:45 (UTC)

Ahoj,

you need to change the build process to move away from setup.py and use python-wheel together with python-build and python-installer. See the Arch Linux wiki on python package guidelines.

==> Starting package()...
running install
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()

Regards!

rustemb commented on 2020-12-02 20:22 (UTC)

ModuleNotFoundError: No module named 'setuptools'

jimorsm commented on 2020-01-31 18:43 (UTC)

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 <alex@emobrien.com>
pkgname=virt-bootstrap-git
pkgver=r153.8a7e752
pkgrel=1
pkgdesc="A tool for creating the root filesystem of libvirt-based containers."
arch=('any')
url="https://github.com/virt-manager/virt-bootstrap"
license=('GPL')
depends=('libguestfs' 'python-libguestfs' 'skopeo' 'libvirt-sandbox' 'python' 'python-passlib')
makedepends=('python2' 'git')
provides=("virt-bootstrap")
conflicts=("virt-bootstrap")
source=('virt-bootstrap-git::git+https://github.com/virt-manager/virt-bootstrap#branch=master')
md5sums=('SKIP')


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 setup.py build
}

package() {
    cd "$srcdir/${pkgname%-VCS}"
    python setup.py 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 (UTC)

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 (UTC)

Hi @Unb0rn, this issue was resolved in https://github.com/virt-manager/virt-bootstrap/commit/a223b15938237665fe135cd710f4301ea23bf85d

Unb0rn commented on 2017-11-08 09:09 (UTC)

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 (UTC)

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 (UTC) (edited on 2017-10-21 06:20 (UTC) by 02010)

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