Code Monkey home page Code Monkey logo

asteroid's Introduction

AsteroidOS build system

AsteroidOS is a free and open-source smartwatch platform based on OpenEmbedded, libhybris and Qt5.

You can fully build a flashable image from source with the following commands, but be careful it will take several hours:

. ./prepare-build.sh <your machine id, e.g., dory>
bitbake asteroid-image

For more information report to the documentation.

Stay tuned about the project on Matrix and Twitter.

Report any problem on the project's issues tracker.

asteroid's People

Contributors

anyc avatar bencord0 avatar beroset avatar bretello avatar cavokz avatar chandlerswift avatar dodoradio avatar doomsdayrs avatar eltmosen avatar florentrevest avatar freundtech avatar ilpianista avatar jmlich avatar jrtberlin avatar magnefire avatar peterdavehello avatar r0nam1 avatar t-vk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asteroid's Issues

System requirements

Good day AsteroidOS developers!
I am really amazed with your work and would love to contribute with porting. Could you please inform about system requirements for the OS so we can choose right device for porting. I don't have an experience in porting but want to learn.
Currently I am interested in Diggro smartwaches (https://www.diggro.com/collections/all) and specifications of some of the products seems to be quite good.
I understand that it is impossible to port to some devices due to lack pinouts and other factors. Now I am trying to get more information about Diggo smartwaches.

Cannot build for dory

Debian unstable

ERROR: oe_runmake failed
ERROR: Function failed: do_configure (log file is located at /home/sylvia/Programs/asteroid/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiodata/+git5c7ddd20667e09c877cbbc48bab57942e6bd9897-r1/temp/log.do_configure.32344)
ERROR: Logfile of failure stored in: /home/sylvia/Programs/asteroid/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiodata/+git5c7ddd20667e09c877cbbc48bab57942e6bd9897-r1/temp/log.do_configure.32344
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Cannot read /home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory/usr/lib/mkspecs/oe-device-extra.pri: No such file or directory
| NOTE: make MAKEFLAGS=-j 2 OE_QMAKE_COMPILER=arm-oe-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory OE_QMAKE_CC=arm-oe-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory OE_QMAKE_CXX=arm-oe-linux-gnueabi-g++  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory OE_QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types OE_QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden OE_QMAKE_LINK=arm-oe-linux-gnueabi-g++  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory OE_QMAKE_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed OE_QMAKE_AR=arm-oe-linux-gnueabi-ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory//usr/include
| arm-oe-linux-gnueabi-g++  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory/usr/include/QtCore -I. -I/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory/usr/lib/mkspecs/linux-oe-g++ -o validator.o validator.cpp
| arm-oe-linux-gnueabi-g++  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory/usr/include/QtCore -I. -I/home/sylvia/Programs/asteroid/build/tmp-glibc/sysroots/dory/usr/lib/mkspecs/linux-oe-g++ -o storage.o storage.cpp
| In file included from storage.cpp:33:0:
| storage.cpp: In member function 'void iodata::storage::set_primary_path(const string&)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:55:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()==0, "primary path '%s' already defined", path[0].c_str()) ;
|    ^
| storage.cpp: In member function 'void iodata::storage::set_secondary_path(const string&)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:61:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()<2, "secondary path '%s' already defined", path[1].c_str()) ;
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:62:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()>0, "can't set secondary path, because primary path not set") ;
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:63:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()==1) ;
|    ^
| storage.cpp: In member function 'void iodata::storage::set_validator(const string&, const string&)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:69:3: note: in expansion of macro 'log_assert'
|    log_assert(!name.empty()) ;
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:70:3: note: in expansion of macro 'log_assert'
|    log_assert(type_validator==NULL) ;
|    ^
| storage.cpp: In member function 'void iodata::storage::set_validator(iodata::validator*, const string&)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:78:3: note: in expansion of macro 'log_assert'
|    log_assert(!name.empty()) ;
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:79:3: note: in expansion of macro 'log_assert'
|    log_assert(type_validator==NULL) ;
|    ^
| storage.cpp: In member function 'iodata::record* iodata::storage::load()':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:86:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()>0, "no path defined, where do you want to read from?") ;
|    ^
| log.h:67:70: error: unable to find string literal operator 'operator""FMT' with 'const char [11]', 'unsigned int' arguments
|  # define log_warning(FMT,ARGS...) do { fprintf(stderr, "WARNING: "FMT"\n", ## ARGS); } while(0)
|                                                                       ^
| storage.cpp:99:9: note: in expansion of macro 'log_warning'
|          log_warning("can't read '%s': %m", path_i) ;
|          ^
| log.h:67:70: error: unable to find string literal operator 'operator""FMT' with 'const char [11]', 'unsigned int' arguments
|  # define log_warning(FMT,ARGS...) do { fprintf(stderr, "WARNING: "FMT"\n", ## ARGS); } while(0)
|                                                                       ^
| storage.cpp:109:7: note: in expansion of macro 'log_warning'
|        log_warning("can't parse data in '%s': %s", path_i, message.c_str()) ;
|        ^
| log.h:67:70: error: unable to find string literal operator 'operator""FMT' with 'const char [11]', 'unsigned int' arguments
|  # define log_warning(FMT,ARGS...) do { fprintf(stderr, "WARNING: "FMT"\n", ## ARGS); } while(0)
|                                                                       ^
| storage.cpp:126:9: note: in expansion of macro 'log_warning'
|          log_warning("data in '%s' isn't valid: %s", path_i, e.info().c_str()) ;
|          ^
| log.h:73:66: error: unable to find string literal operator 'operator""FMT' with 'const char [9]', 'unsigned int' arguments
|  # define log_error(FMT,ARGS...) do { fprintf(stderr, "ERROR: "FMT"\n", ## ARGS); } while(0)
|                                                                   ^
| storage.cpp:144:5: note: in expansion of macro 'log_error'
|      log_error("no type information for data in '%s' known, give up", path_0) ;
|      ^
| log.h:73:66: error: unable to find string literal operator 'operator""FMT' with 'const char [9]', 'unsigned int' arguments
|  # define log_error(FMT,ARGS...) do { fprintf(stderr, "ERROR: "FMT"\n", ## ARGS); } while(0)
|                                                                   ^
| storage.cpp:156:5: note: in expansion of macro 'log_error'
|      log_error("no default values for data in '%s' known: %s; give up", path_0, e.info().c_str()) ;
|      ^
| storage.cpp: In member function 'int iodata::storage::save(iodata::record*)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:173:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()>0, "no path defined, where do you want to write to?") ;
|    ^
| log.h:79:72: error: unable to find string literal operator 'operator""FMT' with 'const char [12]', 'unsigned int' arguments
|  # define log_critical(FMT,ARGS...) do { fprintf(stderr, "CRITICAL: "FMT"\n", ## ARGS); } while(0)
|                                                                         ^
| storage.cpp:206:7: note: in expansion of macro 'log_critical'
|        log_critical("can't write data to '%s': %m", path_0) ;
|        ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:222:3: note: in expansion of macro 'log_assert'
|    log_assert(0<=data_source) ; // old data is on disk
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:223:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()>1) ; // secondary path is given
|    ^
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:224:3: note: in expansion of macro 'log_assert'
|    log_assert(data_source==0) ; // old data is in the primary file
|    ^
| log.h:79:72: error: unable to find string literal operator 'operator""FMT' with 'const char [12]', 'unsigned int' arguments
|  # define log_critical(FMT,ARGS...) do { fprintf(stderr, "CRITICAL: "FMT"\n", ## ARGS); } while(0)
|                                                                         ^
| storage.cpp:232:5: note: in expansion of macro 'log_critical'
|      log_critical("can't rename files: '%s'->'%s': %m", path_0, path_1) ;
|      ^
| log.h:79:72: error: unable to find string literal operator 'operator""FMT' with 'const char [12]', 'unsigned int' arguments
|  # define log_critical(FMT,ARGS...) do { fprintf(stderr, "CRITICAL: "FMT"\n", ## ARGS); } while(0)
|                                                                         ^
| storage.cpp:242:5: note: in expansion of macro 'log_critical'
|      log_critical("can't write data to '%s': %m", path_i) ;
|      ^
| log.h:79:72: error: unable to find string literal operator 'operator""FMT' with 'const char [12]', 'unsigned int' arguments
|  # define log_critical(FMT,ARGS...) do { fprintf(stderr, "CRITICAL: "FMT"\n", ## ARGS); } while(0)
|                                                                         ^
| storage.cpp:253:7: note: in expansion of macro 'log_critical'
|        log_critical("written data will be lost, because can't remove '%s': %m", path_0) ;
|        ^
| log.h:67:70: error: unable to find string literal operator 'operator""FMT' with 'const char [11]', 'unsigned int' arguments
|  # define log_warning(FMT,ARGS...) do { fprintf(stderr, "WARNING: "FMT"\n", ## ARGS); } while(0)
|                                                                       ^
| storage.cpp:263:11: note: in expansion of macro 'log_warning'
|            log_warning("can't move secondary to primary '%s' (%m), but never mind: data is saved", path_0) ;
|            ^
| storage.cpp: In member function 'bool iodata::storage::fix_files(bool)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:281:3: note: in expansion of macro 'log_assert'
|    log_assert(path.size()>0, "primary storage file not defined") ;
|    ^
| storage.cpp: In static member function 'static int iodata::storage::read_file_to_string(const char*, std::__cxx11::string&)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| storage.cpp:407:3: note: in expansion of macro 'log_assert'
|    log_assert(buffer) ;
|    ^
| In file included from validator.cpp:28:0:
| validator.cpp: In member function 'void iodata::validator::load(const iodata::record*)':
| log.h:88:29: error: unable to find string literal operator 'operator""ARGS' with 'const char [9]', 'unsigned int' arguments
|              fprintf(stderr, "ASSERT: "ARGS); \
|                              ^
| validator.cpp:312:7: note: in expansion of macro 'log_assert'
|        log_assert(n) ;
|        ^
| Makefile:392: recipe for target 'storage.o' failed
| make: *** [storage.o] Error 1
| make: *** Waiting for unfinished jobs....
| Makefile:386: recipe for target 'validator.o' failed
| make: *** [validator.o] Error 1
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_configure (log file is located at /home/sylvia/Programs/asteroid/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiodata/+git5c7ddd20667e09c877cbbc48bab57942e6bd9897-r1/temp/log.do_configure.32344)
ERROR: Task 1936 (/home/sylvia/Programs/asteroid/src/meta-asteroid/recipes-nemomobile/libiodata/libiodata_git.bb, do_configure) failed with exit code '1'

Task manager can't close apps

With the latest build when going to the task manager and doing a long press I no longer get the X over apps to close them. They dim but button does not appear.

[Smartwatch 3/tetra] Doesn't build

Started a fresh build last night 4th November, (newly installed xubuntu 16.04 in a virtual box, since building on Arch Linux doesn't work) and this morning I saw that the build has failed:

mv: cannot stat '/home/jonas/asteroid/build/tmp-glibc/work/armv7vehf-neon-oe-linux-gnueabi/libsignon-qt5/+gitAUTOINC+440587278e-r1/image/usr/lib64/': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install

Attaching log of an attempted rebuild. (mkdir -p the missing directory doesn't help)

log.do_install.3458.gz

Confusion between ext4 and ext2 rootfs on dory

HI
i have installed asteroid os lg g watch yesterday first time, i tell you I REALLY LIKE THIS OS.

  • i have many questions i hope so you help respond.
  • why dev build have ext.4 ? the official release is ext2 ?
  • i tried install asteroid os with dev build ext4 example: adb push -p /home/carlos/Downloads/asteroid-image-dory.ext4 /sdcard/linux/rootfs.ext4 ,after next step fastboot boot /home/carlos/Downloads/zImage-dtb-dory.fastboot i do not get boot ? so i changed the ext4 to ext2 using dev build after that BOOT AS WELL WITH ASTEROID . then i need help how to see or delete the rootfs.ext* created and start again with ext4 WITHOUT android wear ONLY ASTEROID OS ! ?

OTA Mechanism

The current recommended way of upgrading AsteroidOS is by reflashing the entire device from a computer. This has several limitations such as:

  • changes are hard to follow and most users tend not to upgrade their watches
  • this requires large downloads
  • this wipes user's data (some users even reported they made scripts to restore their config after every flash)
  • this takes time
  • this is simply not a future-proof solution

Hence, a proper upgrade mechanism would be very useful to have. Asteroid already includes the "opkg" manager which could be used to fetch new packages from the nightly build servers's output directory (cf. https://release.asteroidos.org/ipk/ ) However, most watches don't have direct connectivity to the internet and package managers can result in incoherent system states.

The Yocto Project details some of the problems that need to be addressed when choosing an upgrade mechanism for an embedded Linux distribution in this page: https://wiki.yoctoproject.org/wiki/System_Update The proposed solutions can also easily be integrated in OpenEmbedded, which is a plus for us.

However, those solutions usually assume direct internet connectivity while everything we have is USB or Bluetooth Low Energy connectivity.

This task will most likely require a lot of work and has already been discussed for a long time so I decided to postpone it after the v1.0 release.

We should start by investigating what would be the most appropriate upgrade mechanism for Asteroid and then come up with a proof of concept that can be:

  • usable on watches without wifi chips
  • fast and efficient (can BLE transfers guarantee correct download times?)
  • reasonably secure (signed updates?)
  • safe (we should avoid breaking everything after an unfortunate update)
  • easy to use (not requiring to boot the watch into a special mode or something)

Finished build is tiny (less than 100 bytes)

So the build finally compiled (after a couple of hours) but the end result is tiny!
I built for the sony smartwatch 3 (tetra) and I got the files that where available for download (except the one I made was ext4 instead of ext2) but the files on the website are around 300+ megabytes, while the ones I got in the end where tiny! Are they supposed to be like that? Thanks.

asteroid not boot very well last dev-build

After install dev-build 18-May-2017 asteroid like freeze in home. just accept unlock to home only. but slide to go apps settings not work, slide no work after flash. DORY

Flash userdate failed- dory

HI florent

  • i tried install asteroid-only on my watch,after all my device not boot . Only blink lg logo
  • i did with official image

root@debian-sony:/home/carlos# adb reboot bootloader
root@debian-sony:/home/carlos# fastboot flash userdata asteroid-image-dory.ext2target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
erasing 'userdata'...
OKAY [ 3.383s]
sending sparse 'userdata' 1/1 (212029 KB)...
OKAY [ 6.781s]
writing 'userdata' 1/1...
FAILED (remote: sparse image write failure)
finished. total time: 73.893s
root@debian-sony:/home/carlos# fastboot flash boot zImage-dtb-dory.fastboot
target reported max download size of 268435456 bytes
sending 'boot' (17236 KB)...
OKAY [ 0.663s]
writing 'boot'...
OKAY [ 1.268s]
finished. total time: 1.930s

Dory stay freeze in reboot

In current dev-build a issue is in reboting. After flash i need select my idiom(es) to get my idiom the watch need reboot, that's where it stays freeze.

Feature Request: 12-hour format clock

Just a minor request. My smartwatch currently doesn't really do much but tell time, and I would like to just use AsteroidOS instead of Android Wear. I'm used to a 12-hour clock format however.

Alternatively, perhaps a watch face that has both 24-hour and 12-hour time would be nice.

Does not boot on Sony SmartWatch 3

Hello,

I tried a temporary installation and after fastboot boot zImage-dtb-tetra.fastboot it just gets stuck on the "SmartWatch 3" boot screen for several minutes then reboots into Android Wear's charging mode.

ERROR: Nothing PROVIDES dory

$ bitbake asteroid-image dory
Parsing recipes: 100% |################################################################################################################################################| Time: 0:03:50
Parsing of 2036 .bb files complete (0 cached, 2036 parsed). 2744 targets, 460 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'dory'

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Happens on both my Debian and Fedora after a successful . ./prepare-build.sh, so seems to be something with the build scripts

Unable to reboot with Tetra

When using a real installation using the ext2simg method mentioned on the website, when the device is rebooted it gets stuck in a bootloop, getting no further than a screen that says "Sony Smartwatch 3" and not loading the OS. The only fix for me is to reinstall the whole OS.

Unable to build AsteroidOS

Full output after following instructions here:

(venv-2) [clayton@computer build]$ bitbake asteroid-image                                 
/media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/gcc: line 3: /media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/../common.sh: No such file or directory:  0:00:47
/media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/gcc: line 79: run_wrapped_binary: command not found                                                                      
/media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/gcc: line 3: /media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/../common.sh: No such file or directory          
ERROR: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/chroot-image.bb: Error running gcc  --version:                                         
WARNING: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/chroot-image.bb: Exception during build_dependencies for create_shar                 
WARNING: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/chroot-image.bb: Error during finalise of /media/data/clayton/src/asteroid/src/meta-s
martphone/meta-android/recipes-core/images/chroot-image.bb                                
/media/data/clayton/src/asteroid/build/tmp-glibc/hosttools/gcc: line 79: run_wrapped_binary: command not found                                                                      
ERROR: ExpansionError during parsing /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/chroot-image.bb                                          
Traceback (most recent call last):           
bb.data_smart.ExpansionError: Failure expanding variable create_shar, expression was    # copy in the template shar extractor script                                                
        cp /media/data/clayton/src/asteroid/src/oe-core/meta/files/toolchain-shar-extract.sh /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-imag
e/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neon-toolchain-nodistro.0.sh                                                                               

        rm -f /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/pre_install_command /media/data/clayton/src/asteroid/build/tmp-gl
ibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/post_install_command              

        if [ 1 -eq 1 ] ; then                
                cp /media/data/clayton/src/asteroid/src/oe-core/meta/files/toolchain-shar-relocate.sh /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/ch
root-image/1.0-r0/temp/post_install_command  
        fi                                   
        cat << "EOF" >> /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/pre_install_command                                    

EOF                                          

        cat << "EOF" >> /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/post_install_command                                   

EOF                                          
        sed -i -e '/@SDK_PRE_INSTALL_COMMAND@/r /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/pre_install_command' \         
                -e '/@SDK_POST_INSTALL_COMMAND@/r /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/temp/post_install_command' \      
                /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neon
-toolchain-nodistro.0.sh                     

        # substitute variables               
        sed -i -e 's#@SDK_ARCH@#x86_64#g' \  
                -e 's#@SDKPATH@#/usr/local/oecore-x86_64#g' \                             
                -e 's#@SDKEXTPATH@#~/asteroid_sdk#g' \                                    
                -e 's#@OLDEST_KERNEL@#2.6.32#g' \                                         
                -e 's#@REAL_MULTIMACH_TARGET_SYS@#armv7vehf-neon-oe-linux-gnueabi#g' \    
                -e 's#@SDK_TITLE@#${@d.getVar("SDK_TITLE").replace('&', '\&')}#g' \       
                -e 's#@SDK_VERSION@#nodistro.0#g' \                                       
                -e '/@SDK_PRE_INSTALL_COMMAND@/d' \                                       
                -e '/@SDK_POST_INSTALL_COMMAND@/d' \                                      
                -e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d)}#g' \                 
                /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neon
-toolchain-nodistro.0.sh                     

        # add execution permission           
        chmod +x /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neo
n-toolchain-nodistro.0.sh                    

        # append the SDK tarball             
        cat /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neon-too
lchain-nodistro.0.tar.xz >> /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-ar
mv7vehf-neon-toolchain-nodistro.0.sh         

        # delete the old tarball, we don't need it anymore                                
        rm /media/data/clayton/src/asteroid/build/tmp-glibc/work/dory-oe-linux-gnueabi/chroot-image/1.0-r0/x86_64-deploy-chroot-image-populate-sdk/oecore-x86_64-armv7vehf-neon-tool
chain-nodistro.0.tar.xz                      
 which triggered exception BBHandledException:                                            

ERROR: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb: Error running gcc  --version:                              
WARNING: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb: Exception during build_dependencies for create_shar      
WARNING: /media/data/clayton/src/asteroid/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb: Error during finalise of /media/data/clayton/src/asteroid
/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb          

Summary: There were 4 WARNING messages shown.                                             
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.               

Return to Android Wear

I have a Samsung Gear Live. I want try to port asteroid os to it, but if i want return to Android Wear is it possible?

-bash: [: -ne: unary operator expected

When running . ./prepare-build.sh, this error appears a fair bit:

$ . ./prepare-build.sh 
Cloning branch morty of https://github.com/openembedded/openembedded-core.git in src/oe-core
Cloning into 'src/oe-core'...
remote: Counting objects: 282384, done.
remote: Compressing objects: 100% (295/295), done.
remote: Total 282384 (delta 203), reused 26 (delta 26), pack-reused 282062
Receiving objects: 100% (282384/282384), 109.77 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (194305/194305), done.
Checking connectivity... done.
-bash: [: -ne: unary operator expected
Cloning branch 1.32 of https://github.com/openembedded/bitbake.git in src/oe-core/bitbake
Cloning into 'src/oe-core/bitbake'...
remote: Counting objects: 47396, done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 47396 (delta 32), reused 0 (delta 0), pack-reused 47337
Receiving objects: 100% (47396/47396), 22.74 MiB | 1.13 MiB/s, done.
Resolving deltas: 100% (31879/31879), done.
Checking connectivity... done.
-bash: [: -ne: unary operator expected
Cloning branch morty of https://github.com/openembedded/meta-openembedded.git in src/meta-openembedded
Cloning into 'src/meta-openembedded'...
remote: Counting objects: 73590, done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 73590 (delta 133), reused 3 (delta 3), pack-reused 73366
Receiving objects: 100% (73590/73590), 29.02 MiB | 623.00 KiB/s, done.
Resolving deltas: 100% (42111/42111), done.
Checking connectivity... done.
-bash: [: -ne: unary operator expected

(etc)

Edit: After this, Bitbake seems rather broken:

$ bitbake asteroid-image dory
Parsing recipes: 100% |############################################################################################################################################################################################| Time: 0:03:24
Parsing of 2036 .bb files complete (0 cached, 2036 parsed). 2744 targets, 460 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'dory'

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Smartwatch 3 build Issues

The tetra build for AsteroidOS keeps throwing this error when running "bitbake asteroid-image":

ERROR: Task do_compile in //asteroid/src/meta-tetra-hybris/recipes-kernel/linux/linux-tetra_lp-mr1.bb depends upon non-existent task do_image_complete in //asteroid/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb

I know that Asteroid OS has early support for Smartwatch 3, but am I missing something required for this to build correctly? Here is my log:

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.5"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "tetra"
DISTRO = "asteroid"
DISTRO_VERSION = "20160808-snapshot"
TUNE_FEATURES = "arm armv7a vfp neon"
TARGET_FPU = "vfp-neon"
meta-qt5 = "krogoth:460df4154eaa2e62ae077f28e5f8433e3b813f83"
meta = "jethro:a27b907dd3ad20fc60b7732c19012793aaaba2df"
meta-asteroid = "master:f87711ad01c46117c194f0894a8bd2572bc7f2bf"
meta-oe
meta-ruby
meta-xfce
meta-gnome = "jethro:8ab04afbffb4bc5184cfe0655049de6f44269990"
meta-android = "krogoth:333dc591f9493c6eff3fb60f67d01290c9ca7e2b"
meta-python
meta-filesystems = "jethro:8ab04afbffb4bc5184cfe0655049de6f44269990"
meta-tetra-hybris = "master:20b86de2bf4e3c90ecae19aa523f4601c4171944"

NOTE: Preparing RunQueue
ERROR: Task do_compile in //asteroid/src/meta-tetra-hybris/recipes-kernel/linux/linux-tetra_lp-mr1.bb depends upon non-existent task do_image_complete in //asteroid/src/meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb

Stay freeze after flash dory - only show logo

  • I experienced that in the last 2 dev build, dory stays freeze after flash only show AsteroidOS logo, To solve that problem and had to press the reset button to turn off the watch and then start up well. Only freeze first start up after flash.

Can't compile for tetra

Trying to compile for tetra on ubuntu 16.04 LTS, able to successfully compile for my phone (lineage and resurrection remix) but when I follow the steps on the website (https://asteroidos.org/wiki/building-asteroidos/) it all goes well till I run bitbakte asteroid-image. Here is the full output of what happens when I run it;

rami@Rami:~/android/asteroid/build$ bitbake asteroid-image tetra
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Failed to create a file with a long name in TMPDIR. Please use a filesystem that does not unreasonably limit filename length.
Failed to create a file with a long name in SSTATE_DIR. Please use a filesystem that does not unreasonably limit filename length.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
rami@Rami:~/android/asteroid/build$

Was going to try to compile for dory instead, but I don't own that device so that would be such a waste of my time and resources. I can you with as much information as possible to resolve the issue :)

Cadran close Settings App

In Settings App,
select "Cadran" menu close it after a frame on cadran selection page
and go back to app list.

swift 29/01/08 nightly build

Cannot asteroid on sony smartwatch 3

mester > sudo fastboot flash userdata asteroid-image-tetra.ext4
target reported max download size of 425721856 bytes
Invalid sparse file format at header magi
erasing 'userdata'...
OKAY [ 9.256s]
sending sparse 'userdata' 1/2 (410009 KB)...
OKAY [ 18.367s]
writing 'userdata' 1/2...
FAILED (remote: unknown chunk type in sparse image)
finished. total time: 27.655s

WebView?

Hello,
Do you think it would be possible to have a webview in AsteroidOS?
This would allow us to port HTML/Cordova apps.

I tried using the WebView QML type but it does not appear to be supported:

qrc:/main.qml:22:1: module "QtWebView" is not installed

Build failure due to missing mirror: git.freesmartphone.org

Part of the asteroid build system requires fetching code from git://git.freesmartphone.org. However, I am getting the following failure.

ERROR: brcm-patchram-plus-4.1.1+gitrAUTOINC+69371f6ecc-r0 do_fetch: Fetcher failure for URL: 'git://git.freesmartphone.org/utilities.git;protocol=git;branch=master'. Unable to fetch URL from any source.

Steps to reproduce

bitbake -c fetch brcm-patchram-plus

Expected results

The code is downloaded and saved locally

Actual results

See above error, DNS fails for me.

Cloning into bare repository '[blah blah]/asteroid/asteroid/build/downloads/git2/git.freesmartphone.org.utilities.git'...
fatal: Unable to look up git.freesmartphone.org (port 9418) (No address associated with hostname)

dory: vibration no longer works

I seem to recall vibration working on dory a few months back when I last tested asteroidos on my watch, but after installing the latest nightly (as of yesterday), it no longer works.

I can confirm this by running test_vibrator on the device, and nothing happening.

Build sdk fails

I was able to successfully bitbake the asteroid-image (bass) and run on the LG Urbane.

I'm now trying to build the sdk but it fails with this error. I know the docs say this is broken but just thought I'd post and see if there's any pointers to get this working. I'm interested in developing some apps. Thanks in advance.

Here's the error:

$ . ./prepare-build.sh bass
$ bitbake meta-toolchain-qt5
Loading cache: 100% |#####################################################################################################################################################| Time: 0:00:00
Loaded 2699 entries from dependency cache.
Parsing recipes: 100% |###################################################################################################################################################| Time: 0:00:01
Parsing of 2009 .bb files complete (1997 cached, 12 parsed). 2711 targets, 445 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-8.6"
TARGET_SYS        = "arm-oe-linux-gnueabi"
MACHINE           = "bass"
DISTRO            = "asteroid"
DISTRO_VERSION    = "alpha-1.0"
TUNE_FEATURES     = "arm armv7ve vfp  neon"
TARGET_FPU        = "softfp"
meta-qt5          = "krogoth:2b1871f0d139dc3caaa779a32a1931409c245a36"
meta              = "morty:c8d96b10ee3bc2eae0fd269d2564286fd0bc82ed"
meta-asteroid     = "master:d62eff58ee59287f50f266ed16745454b21d71e9"
meta-oe
meta-ruby
meta-xfce
meta-gnome        = "morty:1efa5d623bc64659b57389e50be2568b1355d5f7"
meta-android      = "morty:5476172128e1592e13e4ed7c3f8af785054bec0f"
meta-python
meta-filesystems  = "morty:1efa5d623bc64659b57389e50be2568b1355d5f7"
meta-sparrow-hybris = "master:a98035019439ffbb10a50ba96c5ace573f12096e"
meta-tetra-hybris = "master:e05573fcd910f266df8a8ddab33631fab836b6b5"
meta-bass-hybris  = "master:c52814df8f6f0a131dfb9c6a486ab4ff5205ae69"
meta-dory-hybris  = "master:21bbc30441d99c2cb2f318c29c51f4b043ab198d"

Initialising tasks: 100% |################################################################################################################################################| Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtwebkit-5.6.2+gitAUTOINC+bb43bca166-r0 do_compile: oe_runmake failed
ERROR: qtwebkit-5.6.2+gitAUTOINC+bb43bca166-r0 do_compile: Function failed: do_compile (log file is located at /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/temp/log.do_compile.17240)
ERROR: Logfile of failure stored in: /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/temp/log.do_compile.17240

Log data follows:

| offlineasm: offset extractor LLIntDesiredOffsets.h successfully generated.
| compiling /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/git/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
| In file included from /tmp/asteroid/build/tmp-glibc/sysroots/bass/usr/include/c++/6.2.0/bits/stl_algo.h:59:0,
|                  from /tmp/asteroid/build/tmp-glibc/sysroots/bass/usr/include/c++/6.2.0/algorithm:62,
|                  from /tmp/asteroid/build/tmp-glibc/sysroots/bass/usr/include/QtCore/qglobal.h:88,
|                  from /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/git/Source/WTF/wtf/Platform.h:1087,
|                  from /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/git/Source/JavaScriptCore/config.h:30,
|                  from /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/git/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
| /tmp/asteroid/build/tmp-glibc/sysroots/bass/usr/include/c++/6.2.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
|  #include_next <stdlib.h>
|                          ^
| ERROR: oe_runmake failed
| compilation terminated.
| Makefile.LLIntOffsetsExtractor:408: recipe for target '.obj/llint/LLIntOffsetsExtractor.o' failed
| make[2]: *** [.obj/llint/LLIntOffsetsExtractor.o] Error 1
| make[2]: Leaving directory '/tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/build/Source/JavaScriptCore'
| Makefile.JavaScriptCore:42: recipe for target 'sub-LLIntOffsetsExtractor-pro-make_first-ordered' failed
| make[1]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] Error 2
| make[1]: Leaving directory '/tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/build/Source/JavaScriptCore'
| Makefile:92: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed
| make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /tmp/asteroid/build/tmp-glibc/work/armv7ve-neon-oe-linux-gnueabi/qtwebkit/5.6.2+gitAUTOINC+bb43bca166-r0/temp/log.do_compile.17240)
ERROR: Task (/tmp/asteroid/src/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2360 tasks of which 1689 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /tmp/asteroid/src/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Unique USB IDs

Currently, usb-moded configures the watches' USB interface with standard Android peripherals IDs. (cf. https://github.com/AsteroidOS/meta-asteroid/blob/master/recipes-nemomobile/usb-moded/usb-moded/usb-moded/dyn-modes/developer_mode.ini#L15 )

This is not a future proof solution and we should have our own product IDs instead. However, ID ranges are expensive and unaffordable for this community.

A solution, proposed by a community member a while ago, would be to contact the OpenMoko project to get a couple of product IDs (cf. http://wiki.openmoko.org/wiki/USB_Product_IDs ) for the needs of Asteroid. I haven't taken the time to get in touch with them, but it looks like Asteroid would fill their required conditions.

qtbase-native build error

Hello,

I'm trying to run bitbake asteroid-image in 2dddb62 and I get this error:

Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 3046 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:06
Parsing of 2240 .bb files complete (2226 cached, 14 parsed). 3060 targets, 308 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "debian-9"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "tetra"
DISTRO               = "asteroid"
DISTRO_VERSION       = "alpha-1.0"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-qt5             = "5.10:0924e7a15d9ce36ef1869175cae3738071bd9edb"
meta                 = "rocko:abc7fbab2c125b247f3274ca4b29e4f858b5ae12"
meta-asteroid        = "master:3c49fd588bf8743cc93e5e88edba1ffb02602b1d"
meta-oe              
meta-multimedia      
meta-gnome           
meta-networking      = "rocko:a65c1acb1822966c3553de9fc98d8bb6be705c4e"
meta-android         = "rocko:4dc893c799951d8a9418860a6db9b3b7eed7bb49"
meta-python          
meta-filesystems     = "rocko:a65c1acb1822966c3553de9fc98d8bb6be705c4e"
meta-anthias-hybris  = "master:7e45263168efcb1696732b70204bd4fc6113c8d6"
meta-sparrow-hybris  = "master:55f5c9daf3e8e0797d9f49312e71e245f010fbe6"
meta-sprat-hybris    = "master:e64adbc6db63f7f1a90f0bdfaf8db123c3ac4a02"
meta-tetra-hybris    = "master:014b3436b930831dfaa5dd37510ebe7ac4944325"
meta-bass-hybris     = "master:248c7d5431ee2b540edbd5828ee125947f6b0de5"
meta-dory-hybris     = "master:cfa0f5c1c92dece99060c96da06f422c519a6d0b"
meta-lenok-hybris    = "master:462f80f0c45c8fdb4c37f943fbe8e3145324f8b8"
meta-swift-hybris    = "master:afd2e55dd62ef154e07afe66ee49418b51338314"
meta-wren-hybris     = "master:ef7d856fa95791bc03190ad2db704490c4ef96b1"

Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtbase-native-5.10.1+gitAUTOINC+6c6ace9d23-r0 do_configure: Configuring qt failed. PACKAGECONFIG_CONFARGS was      -sysroot /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native     -no-gcc-sysroot     -system-zlib     -qt-pcre     -no-libjpeg     -no-libpng     -no-gif     -no-accessibility     -no-cups     -no-gui     -no-qml-debug     -no-sql-mysql     -no-sql-sqlite     -no-opengl     -no-openssl     -no-xcb     -no-icu     -verbose     -release     -prefix /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr     -hostprefix /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr     -bindir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/bin     -hostbindir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/bin     -libdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -hostlibdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -headerdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/include     -archdatadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -datadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/share     -hostdatadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -docdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/share/doc     -sysconfdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/etc     -no-glib     -no-iconv     -silent     -nomake examples     -nomake tests     -no-rpath     -no-feature-linkat     -platform linux-oe-g++ 
ERROR: qtbase-native-5.10.1+gitAUTOINC+6c6ace9d23-r0 do_configure: Function failed: do_configure (log file is located at /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/temp/log.do_configure.20036)
ERROR: Logfile of failure stored in: /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/temp/log.do_configure.20036
Log data follows:
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Performing shadow build...
| Preparing build tree...
| 
| You need perl in your PATH to make a build from GIT.
| Cannot proceed.
| ERROR: Configuring qt failed. PACKAGECONFIG_CONFARGS was      -sysroot /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native     -no-gcc-sysroot     -system-zlib     -qt-pcre     -no-libjpeg     -no-libpng     -no-gif     -no-accessibility     -no-cups     -no-gui     -no-qml-debug     -no-sql-mysql     -no-sql-sqlite     -no-opengl     -no-openssl     -no-xcb     -no-icu     -verbose     -release     -prefix /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr     -hostprefix /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr     -bindir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/bin     -hostbindir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/bin     -libdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -hostlibdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -headerdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/include     -archdatadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -datadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/share     -hostdatadir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/lib     -docdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/usr/share/doc     -sysconfdir /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/recipe-sysroot-native/etc     -no-glib     -no-iconv     -silent     -nomake examples     -nomake tests     -no-rpath     -no-feature-linkat     -platform linux-oe-g++
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/pierre/www/asteroid/build/tmp-glibc/work/x86_64-linux/qtbase-native/5.10.1+gitAUTOINC+6c6ace9d23-r0/temp/log.do_configure.20036)
ERROR: Task (/home/pierre/www/asteroid/src/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 915 tasks of which 904 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/pierre/www/asteroid/src/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I'm using Debian 9.3 and I have Perl 5.24.1 installed.

I tried to build eef823e instead but I get the same error with qtbase-native 5.9.4.

Bluetooth connectivity issue

Hi on the 20-Nov build for dory there seems to be an issue with Bluetooth connection failing. After numerous attempts, it seemed to successfully pair but seems to fail then disconnect. logs show failure at negotiating services. bluetoothd also reports no cache for device address.
The link below has a gist with logs for hcitrace via btmon and journalctl logs with bluetoothd in DEBUG mode.

there is approximately one connection, pairing , and disconnect in the logs which can be found here:

https://gist.github.com/davnustratbac/e99e46c098cea85796fdb2a91b189a44

Packet dump file of same timeframe:

https://s3-eu-west-1.amazonaws.com/wireshark-bucket/journalctl-debug-bluetoothd-74-105.log

3 packet overview:

ACL Data RX: Handle 64 flags 0x02 dlen 9 #94 [hci0] 86.882368
ATT: Error Response (0x01) len 4
Read By Group Type Request (0x10)
Handle: 0x0001
Error: Unsupported Group Type (0x10)

ACL Data TX: Handle 64 flags 0x00 dlen 11 #95 [hci0] 86.882940
ATT: Read By Type Request (0x08) len 6
Handle range: 0x0001-0xffff
Attribute type: Include (0x2802)

further back in time in the logs this request may be involved :

< ACL Data TX: Handle 64 flags 0x00 dlen 11 #89 [hci0] 78.332507
ATT: Read By Group Type Request (0x10) len 6
Handle range: 0x0001-0xffff
Attribute group type: Secondary Service (0x2801)

Doubled notification

Tetra nightly image from 13.11.2017
I got a message which resulted in showing some notification from Conversations, then I got an e-mail. After that I've noticed third notification on my SW3, it was a duplicate of the first one. Powering screen off and turning it on again resolved the problem.

Dory fails to build from source

Am I the only one unable to build Dory from a fresh checkout of today?

Summary: 5 tasks failed:
  /home/cavok/devel/asteroid.git/src/meta-asteroid/recipes-nemomobile/mlite/mlite_git.bb:do_compile
  /home/cavok/devel/asteroid.git/src/meta-asteroid/recipes-nemomobile/nemo-keepalive/nemo-keepalive_git.bb:do_compile
  /home/cavok/devel/asteroid.git/src/meta-asteroid/recipes-nemomobile/libsignon-qt5/libsignon-qt5_git.bb:do_compile
  /home/cavok/devel/asteroid.git/src/meta-asteroid/recipes-nemomobile/statefs/statefs-providers_git.bb:do_compile
  /home/cavok/devel/asteroid.git/src/meta-asteroid/recipes-asteroid/asteroid-btsyncd/asteroid-btsyncd_git.bb:do_compile

How to replace Android Wear?

Hey,
First, thanks for bringing this to us, great work indeed!

I'd like to know how can I replace Android Wear with Asteroid? I want to use Asteroid as my primary OS on my watch and I don't want to have to fastboot boot every time, I have the instructions to revert back to Android Wear just in case, though I don't think I ever will.

Thanks

Easier left-to-right swipe for Back to handle circular displays (e.g. G Watch Urbane)

Sorry this might be an idiot question, but I just installed AsteroidOS Alpha 1 on G Watch Urbane (bass), but I can't figure out how back out of a menu. For instance if I got to Settings->About, then I can't figure out how to get back to settings menu, no matter how I swipe or tap the screen. There is only one phyiscal button on the watch, but all it does is turn the display off, and then when I press again, I'm back at home screen (clock). But then going back to settings, it goes directly to About screen. So I'm now unable to view anything else in the settings menu.

[Audio] Notification Sound

Some watches include a speaker (such as the prototype of Connect Watch), and can trigger sounds on notification events. A short alarm sound like this one: https://www.zapsplat.com/music/app-game-or-system-interface-alert-tone-38/ would be very helpful to make watch notifications more noticeable.

A short sound (in wav format) should be designed for AsteroidOS and made available for all under a permissive license. The best would be to actually make some kind of sheet music or midi file available for anyone to edit the file.

Can't write asteroid-image-tetra.ext4 to userdata

This happens with the latest nightly. Not sure if it happens with the latest release

sudo fastboot flash userdata '/home/espionage724/asteroid-image-tetra.ext4' 
target reported max download size of 425721856 bytes
Invalid sparse file format at header magi
erasing 'userdata'...
OKAY [  9.291s]
sending sparse 'userdata' 1/1 (369345 KB)...
OKAY [ 16.117s]
writing 'userdata' 1/1...
FAILED (remote: unknown chunk type in sparse image)
finished. total time: 25.457s

The image located here flashes fine (but doesn't work; it reboot loops). Back when I was on Android Wear, I was able to temporary-boot the latest nightly no problem.

This is for the Sony Smartwatch 3.

Building from source on a MAC

Has anyone been able to build from source on a Mac. I'd like to work on the Sony SW3 code but don't know how to / or if it's possible to get the required build dependancies. Must I use linux?

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.