Package Details: libvirt-sandbox 0.8.0-6

Git Clone URL: https://aur.archlinux.org/libvirt-sandbox.git (read-only, click to copy)
Package Base: libvirt-sandbox
Description: An application sandbox toolkit
Upstream URL: http://sandbox.libvirt.org/
Licenses: LGPL
Submitter: ackalker
Maintainer: dreieck
Last Packager: dreieck
Votes: 6
Popularity: 0.000000
First Submitted: 2015-10-28 10:52 (UTC)
Last Updated: 2023-08-01 11:24 (UTC)

Latest Comments

1 2 3 Next › Last »

FabioLolix commented on 2026-08-12 20:21 (UTC)

For LZMA it need need xz-static (AUR pkgbuild) but that need to be build without LTO (options=(!lto)) otherwise fail to build


For the records the package that depends on this had the last commit on 2022/07, is github archived since 2026/04 and had this unsolved issue with selinux on Arch https://github.com/virt-manager/virt-bootstrap/issues/12

FabioLolix commented on 2026-08-12 14:20 (UTC)

I have just tested this pkgbuild and don't need pod2man

About zlib.a, the package zlib-static have been created on 2026-03, it is co-installable with zlib since it is only the static lib

License should be LGPL-2.1-or-later


If you are away you can add me as co-maintainer so I can fix the things with a minimal patch in your style even later today


About the warning; there are still several of them and you can replaces:

  ## Silence warnings that are due to old codebase.
  _no_cc_warnings=(
    #'address'
    #'attribute-warning'
    'deprecated-declarations'
    #'format-security'
    #'strict-aliasing'
    'unused-result'
  )
  _CFLAGSAPPEND=''
  for _no_cc_warn in "${_no_cc_warnings[@]}"; do
    _CFLAGSAPPEND+=" -Wno-error=${_no_cc_warn} -Wno-${_no_cc_warn}"
  done
  CFLAGS+=" ${_CFLAGSAPPEND}"
  CXXFLAGS+=" ${_CFLAGSAPPEND}"
  export CFLAGS
  export CXXFLAGS

With:

  # This disable showing all warning
  export CFLAGS+=" -w"
  export CXXFLAGS+=" -w"

Which is more effective


About LZMA, very likely need xz-static (AUR pkgbuild) however there are other issues by enabling it

dreieck commented on 2026-08-11 10:14 (UTC)

@a821: Thanks for the notice. I will check in a few weeks, currently on travel.

Please do not file a deletion request just because of pod2man issue when I am still willing to check for it, just not now.

a821 commented on 2026-08-11 07:35 (UTC)

@dreieck: Does this package still needs pod2man? just FYI someone requested deletion for it, see this thread.

dreieck commented on 2026-02-03 13:34 (UTC)

The static .a library has now been dropped from zlib as well.

If this package needs it, it should depend on a separate, to-be-created, package zlib-staticlib or so that provides the zlib.a file.

Regards!

dreieck commented on 2025-05-14 14:09 (UTC)

Ahoj @RAMChYLD,

Having some issues building.

I see the same.

Apparently zlib-ng with zlib-ng-compat is not being recognized as a usable zlib. Is this supposed to be correct?

Seems that a static library (.a) is needed, which is not installed by zlib-ng or zlib-ng-compat. Only dynamic librarys (.so) are installed.

So you have to go with zlib then.

RAMChYLD commented on 2025-05-01 14:02 (UTC) (edited on 2025-05-01 14:05 (UTC) by RAMChYLD)

Having some issues building.

Apparently zlib-ng with zlib-ng-compat is not being recognized as a usable zlib. Is this supposed to be correct?


checking for fgetfilecon in -lselinux... yes
checking for library containing xdrmem_create... -ltirpc
checking where to find <rpc/rpc.h>... -I/usr/include/tirpc
checking for static LIBC... yes
checking for static LZMA... no
yes
checking for static ZLIB... no
configure: error: static ZLIB is required in order to build virt-sandbox-init-qemu
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libvirt-sandbox-exit status 4
==> Making package: virt-bootstrap-git r153.8a7e752-1 (Thu May  1 22:03:34 2025)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> libvirt-sandbox
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: virt-bootstrap-git-exit status 8
 -> Failed to install the following packages. Manual intervention is required:

looking for conflicting packages...
:: zlib-1:1.3.1-2 and zlib-ng-compat-2.2.4-1 are in conflict. Remove zlib-ng-compat? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: zlib-1:1.3.1-2 and zlib-ng-compat-2.2.4-1 are in conflict

dreieck commented on 2023-08-01 11:21 (UTC) (edited on 2023-08-01 11:21 (UTC) by dreieck)

Ahoj @patlefort,

Thanks for the fixup, it also works for me.
Fix is added to the PKGBUILD.

But I still have to set --without-lzma, otherwise I get linking failure with

/usr/bin/ld: cannot find -llzma: No such file or directory

if anyone has an idea how to fix it, please report here.

Regards!

patlefort commented on 2023-08-01 00:09 (UTC)

It can be worked around with the following patch to the PKGBUILD (to disable lzma):

diff --git a/PKGBUILD b/PKGBUILD
index b580557..4ff9cea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
 url="http://sandbox.libvirt.org/"
 license=('LGPL')
 depends=('libvirt-glib' 'libselinux' 'cpio')
-makedepends=('gobject-introspection' 'intltool' 'pod2man' 'rpcsvc-proto' 'xz-static')
+makedepends=('gobject-introspection' 'intltool' 'pod2man' 'rpcsvc-proto')
 optdepends=('dhclient: for sandbox network configuration using DHCP')
 source=(
     http://libvirt.org/sources/sandbox/$pkgname-$pkgver.tar.gz{,.asc}
@@ -30,6 +30,7 @@ prepare() {
   cd "$srcdir/$pkgname-$pkgver"
   patch -Np1 -i "${srcdir}/0001-builder-Use-prefix-to-identify-lib-path.patch"
   patch -Np1 -i "${srcdir}/0002-Use-boot-vmlinuz-linux-as-default-kernel-path.patch"
+  sed -i 's/as_fn_error $? "static LZMA is required/###/' 'configure'
 }

 build() {

As to why it's failing, I don't know yet. I can't link a simple test program like the configure script is trying to do so maybe something is wrong in the xz-static package.

dreieck commented on 2023-07-31 22:35 (UTC) (edited on 2023-07-31 23:00 (UTC) by dreieck)

Somehow it fails with

configure: error: static LZMA is required in order to build virt-sandbox-init-qemu

Even if xz-static is installed. Even with --disable-lzma.

If anyone has an idea how to fix it, please comment.

This package is BROKEN for now.