Package Base Details: anbox-git

Git Clone URL: https://aur.archlinux.org/anbox-git.git (read-only)
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 116
Popularity: 4.608624
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 ... Next › Last »

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
  make
}

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