Package Base Details: anbox-git

Git Clone URL: (read-only, click to copy)
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 124
Popularity: 4.06
First Submitted: 2017-04-12 21:41
Last Updated: 2019-05-14 18:21

Pinned Comments

irtimmer commented on 2018-01-19 10:35

WARNING: Before you go ahead and install Anbox on your system, please keep in mind that Anbox is not yet stable. Not every feature is working well yet. You will find bugs, see crashes and unexpected problems. As this is a Git package, patches should go upstream as they will not be bundled with the package.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

satcom886 commented on 2019-05-24 11:29

Please update the PKGBUILD, so it works with 5.1.x kernels. It seems binder_linux does not build.

WhyNotHugo commented on 2019-05-22 07:50

Apply this patch to PKGBUILD for this to build under the latest kernel:

diff --git a/PKGBUILD b/PKGBUILD
index b3196f9..52d29b5 100644
@@ -17,6 +17,7 @@ source=("git+"
+        ''
@@ -26,6 +27,7 @@ sha256sums=('SKIP'
+            'SKIP'

 pkgver() {
@@ -42,6 +44,9 @@ prepare() {
   # Don't build tests
   truncate -s 0 cmake/FindGMock.cmake
   truncate -s 0 tests/CMakeLists.txt
+  cd "$srcdir/anbox-modules"
+  patch -p0 binder/binder.c < ../19.patch

 build() {

zethex commented on 2019-05-15 09:40

Cannot find kernel modules after installing. Modprobe outputs that it cannot find the modules "binder_linux" and "ashmem_linux". On next boot systemd shows failed "Load Kernel Modules". Most likely because it also cannot find the modules.

JJK commented on 2019-05-12 19:31

For some reason after installing, ashmem is working, while binder is not working.

 ls -l /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
crw-rw-rw- 1 root root 10, 56 May 12 21:11 /dev/ashmem
systemd-modules-load[281]: Inserted module 'ashmem_linux'
systemd-modules-load[281]: Failed to find module 'binder_linux'

HiJack88 commented on 2019-05-08 02:26

I can answer yochananmarqos back on this. gmock & libdwarf are not needed in order to build the package here.

montefuscolo's proposal made the package compiling fine on my build system again, so that should be enough of a PKGBUILD update.

yochananmarqos commented on 2019-05-03 14:37

I had to install gmock & libdwarf to get r1096.ea2b7a3 to build. They need to be added to make dependencies.

montefuscolo commented on 2019-05-01 12:43

As of May 1th, it works only by changing cmake line in build section on PKGBUILD and adding -Wno-error=missing-field-initializers to DCMAKE_CXX_FLAGS.

build() {
  mkdir -p "$srcdir/${_pkgname}/build"
  cd "$srcdir/${_pkgname}/build"

  cmake .. -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-Wno-error=missing-field-initializers -Wno-error=implicit-fallthrough" -DCMAKE_BUILD_TYPE=Release

freenestor commented on 2019-03-30 00:18

@danisantos got the same error. How to fix this?

In file included from /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/skeleton/application_manager.cpp:20: /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::start(uint64_t)’: /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h:33:56: error: missing initializer for member ‘sd_bus_vtable::<unnamed union>::<unnamed struct>::features’ [-Werror=missing-field-initializers] v.x.start = decltype(v.x.start){sizeof(sd_bus_vtable)}; ^ /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::method_o(const char, const char, const char, sd_bus_message_handler_t, size_t, uint64_t)’: /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h:52:79: error: missing initializer for member ‘sd_bus_vtable::<unnamed union>::<unnamed struct>::names’ [-Werror=missing-field-initializers] v.x.method = decltype(v.x.method){member, signature, result, handler, offset}; ^ /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::signal(const char, const char, uint64_t)’: /tmp/yaourt-tmp-aart/aur-anbox-git/src/anbox/src/anbox/dbus/sd_bus_helpers.h:67:54: error: missing initializer for member ‘sd_bus_vtable::<unnamed union>::<unnamed struct>::names’ [-Werror=missing-field-initializers] v.x.signal = decltype(v.x.signal){member, signature}; ^ cc1plus: all warnings being treated as errors make[2]: [src/CMakeFiles/anbox-core.dir/build.make:466: src/CMakeFiles/anbox-core.dir/anbox/dbus/skeleton/application_manager.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1970: src/CMakeFiles/anbox-core.dir/all] Error 2 make: ** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build anbox-git.

HiJack88 commented on 2019-03-28 20:23

@dlin and @eri:

thanks for your patches. anbox package builds fine now. :)

Unforturnately anbox container manager runs into an error at startup:

$ sudo /usr/bin/anbox container-manager --daemon --privileged -data-path=/var/lib/anbox [ 2019-03-28 17:14:30] [container_manager.cpp:119@operator()] boost::filesystem::create_directories: Invalid argument

anbox package version is 1:r1063.d521e28-1 as of March 28th, 2019 boost package version is 1.69.0-1

Have you got any idea of what's goin wrong here?

Thx and best regards

dlin commented on 2019-03-26 23:23

Here is my patched PKGBUILD for downloading Firenox89/anbox's patch for protobuf 3.7.0-1.