Giter Club home page Giter Club logo

api-daemon's Introduction

This repository is organized as follows:

  • parser: the SIDL parser, producing an AST that is reused by other crates.
  • codegen: code generator for protocol buffer and Rust.
  • docs: documentation of the sidl syntax.
  • common: common Rust code shared by services.
  • daemon: the web socket daemon.
  • tcpsocket-service: a service exposing access to tcp socket endpoints.
  • libsignal-sys: FFI bindings to libsignal-protocol-c.
  • prebuilts: pre-compiled daemon for ARMv7, and other generated files for clients.
  • docker: corresponding Dockerfile.
  • ci: the collection of yamls included by .gitlab-ci.yml.
  • tests: the collection of helper crates for tests in ci.

api-daemon's People

Contributors

fabricedesre avatar gabrielesvelto avatar hansonkaios avatar ittat avatar jzhng avatar leolin12 avatar ngyihsin avatar pengding-kaios avatar seinlin avatar thinkeryzu avatar vigali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

api-daemon's Issues

Bindings fail to build when cross-compiling for armv7-unknown-linux-gnueabihf

I'm using clang and lld to cross-compile the B2G simulator for an ARM Linux machine. The API daemon fails to build because support/libsignal-sys/build.sh and third-party/breakpad_sys/build.sh only support cross-compiling for Android, but not for other targets. There should at least be the option to set the CC, CXX, CXXFLAGS and CFLAGS environment variables

After patching libsignal-sys, I get errors about breakpad such as the following:

  = note: ld.lld: error: .../api-daemon/target/armv7-unknown-linux-gnueabihf/debug/deps/libbreakpad_sys-f3889a38ba5ce939.rlib(exception_handler.o) is incompatible with elf32-littlearm
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

API Daemon issue when building kaiostech/B2G

Whenever I'm trying to build kaiostech/B2G an issue appears during the build process (build.sh)

It reaches 73% progress during compilation but the following error is issued:

[ 73% 183/248] including gonk-misc/Android.mk ... FAILED: gonk-misc/api-daemon/Android.mk: error: api-daemon: No source files specified
build/make/core/prebuilt_internal.mk:38: error: done.
17:04:48 ckati failed with: exit status 1

Reading gonk-misc/api-daemon/Android.mk I see that it tries to find some source files supposedly fetched by cargo.

But these files do not appear neither in api-daemon dir, or in mozbuild.

During ./mach bootstrap in gecko dir after chosing either option 4 ( GeckoView/Firefox for Android Artifact Mode) or 5 (GeckoView/Firefox for Android) it fetches all required sources from kaios tech repos (I updated LOCAL_NDK_BASE_URL to https://packages.preprod.kaiostech.com/ndk/android-ndk) and also downloaded mozbuild from https://packages.preprod.kaiostech.com/ndk/v7/mozbuild.tar.bz2 and extracted it to the home dir of my building environment (as it is should be located there).

I can't understand why this error keeps happening but I think I might have a clue. During ./mach bootstrap inside gecko dir, after git-cinnabar prompt, it tries to fetch code from somewhere but it can't succeed as seen here:

image

I think that the code bootstrap tries to fetch are exactly the missing source codes in gonk-misc/api-daemon/Android.mk. But I don't where to take it or how I'd by pass this bootstrap step and put these files manually in required dirs, so my build process would happen smoothly.

For complementary information, I'm using rust version 1.56.1 as recommended in here. But no matter what I do this error keeps happening. Could someone help me in explaining what am I doing wrong? I'd deeply appreciate and thanks in advance!

With my best regards, Diego Ascânio Santos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.