Package Details: anbox-git 1:r880.69e75c9-1

Git Clone URL: https://aur.archlinux.org/anbox-git.git (read-only)
Package Base: anbox-git
Description: Running Android in a container
Upstream URL: http://anbox.io/
Licenses: GPL3
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 105
Popularity: 2.341015
First Submitted: 2017-04-12 21:41
Last Updated: 2018-06-19 17:20

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 currently is ALPHA level software. Not every feature is supposed to work or work well yet. You will find bugs, see crashes and unexpected problems. As this is a Git packages, patches should go upstream as they will not be bundled with this package.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

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.

https://github.com/dlintw/myaur/blob/master/anbox-git/PKGBUILD

eri commented on 2019-03-25 12:50

@HiJack88

https://github.com/Firenox89/anbox/commit/62fe2144a1d56fc10eb19a0335a7f4e6d875c2b0

This patch seems to work.

HiJack88 commented on 2019-03-24 18:34

Hi all, build fail with error log given below. Protobuf is v 3.7.0-1 on an up to date Arch Linux.

Cheers.

Scanning dependencies of target anbox-core [ 45%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/android/ip_config_builder.cpp.o [ 45%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/application/database.cpp.o [ 45%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/android/intent.cpp.o [ 45%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/application/launcher_storage.cpp.o [ 46%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/audio/server.cpp.o [ 46%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/bridge/android_api_stub.cpp.o 46%] Building CXX object src/CMakeFiles/anbox-core.dir/anbox/bridge/platform_api_skeleton.cpp.o /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp: In member function ‘virtual void anbox::bridge::AndroidApiStub::launch(const anbox::android::Intent&, const anbox::graphics::Rect&, const anbox::wm::Stack::Id&)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp:107:25: error: ‘NewCallback’ is not a member of ‘google::protobuf’ google::protobuf::NewCallback(this, &AndroidApiStub::application_launched, ^~~~~~~~~~~ /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp: In member function ‘void anbox::bridge::AndroidApiStub::set_focused_task(const int32_t&)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp:141:43: error: ‘NewCallback’ is not a member of ‘google::protobuf’ google::protobuf::NewCallback( ^~~~~~~~~~~ /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp: In member function ‘void anbox::bridge::AndroidApiStub::remove_task(const int32_t&)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp:170:43: error: ‘NewCallback’ is not a member of ‘google::protobuf’ google::protobuf::NewCallback( ^~~~~~~~~~~ /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp: In member function ‘void anbox::bridge::AndroidApiStub::resize_task(const int32_t&, const anbox::graphics::Rect&, const int32_t&)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/android_api_stub.cpp:208:43: error: ‘NewCallback’ is not a member of ‘google::protobuf’ google::protobuf::NewCallback( ^~~~~~~~~~~ make[2]: [src/CMakeFiles/anbox-core.dir/build.make:128: src/CMakeFiles/anbox-core.dir/anbox/bridge/android_api_stub.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp: In member function ‘void anbox::bridge::PlatformApiSkeleton::set_clipboard_data(const anbox::protobuf::bridge::ClipboardData, anbox::protobuf::rpc::Void, google::protobuf::Closure)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp:54:7: error: invalid use of incomplete type ‘class google::protobuf::Closure’ done->Run(); ^~ In file included from /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp:18: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.h:26:7: note: forward declaration of ‘class google::protobuf::Closure’ class Closure; ^~~~~~~ /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp: In member function ‘void anbox::bridge::PlatformApiSkeleton::get_clipboard_data(const anbox::protobuf::rpc::Void, anbox::protobuf::bridge::ClipboardData, google::protobuf::Closure)’: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp:66:7: error: invalid use of incomplete type ‘class google::protobuf::Closure’ done->Run(); ^~ In file included from /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.cpp:18: /tmp/yaourt-tmp-user/aur-anbox-git/src/anbox/src/anbox/bridge/platform_api_skeleton.h:26:7: note: forward declaration of ‘class google::protobuf::Closure’ class Closure; ^~~~~~~ make[2]: [src/CMakeFiles/anbox-core.dir/build.make:141: src/CMakeFiles/anbox-core.dir/anbox/bridge/platform_api_skeleton.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 .

WhyNotHugo commented on 2019-03-22 18:33

These changes to the PKGBUILD make sure this patch is included:

 prepare() {
   cd "$srcdir/${_pkgname}"

+  git remote rm protobuf || true
+  git remote add -f protobuf git@github.com:Firenox89/anbox.git
+  git merge protobuf/master
+
   # Don't build tests

kainonergon commented on 2019-03-22 11:08

PR hasn't been merged yet: https://github.com/anbox/anbox/pull/1079

For now the package can be built from this fork: https://github.com/Firenox89/anbox

WhyNotHugo commented on 2019-03-19 21:02

@kainonergon: There's a patch upstream that fixes this:

https://github.com/anbox/anbox/issues/1071#issuecomment-473049375

Can we get this merged into the PKGBUILD?

kainonergon commented on 2019-03-19 12:58

It doesn't build with protobuf 3.7.0-1, but builds OK with 3.6.1.3-1.

hdk5 commented on 2019-03-19 07:57

-DCMAKE_CXX_FLAGS="-Wno-error=missing-field-initializers" is required for cmake command on 51st line in PKGBUILD