i cloned le8 and tried to build for WE2:
Code
lutz@libreelec:/develop$ git clone https://github.com/LibreELEC/LibreELEC.tv.git -b libreelec-8.0 libreelec-8.0
lutz@libreelec:/develop$ cd libreelec-8.0/
lutz@libreelec:/develop/libreelec-8.0$
lutz@libreelec:/develop/libreelec-8.0$ PROJECT=WeTek_Play_2 ARCH=aarch64 make image
.....
I am getting permissions-errors:
Code
...
/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -I. -I../../lib -I/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib -march=armv8-a+crc+fp+simd -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+fp+simd -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -DHAVE_CONFIG_H -march=armv8-a+crc+fp+simd -mtune=cortex-a53 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -DDEBUG -o uuid_time \
/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid_time.c ../../lib/libuuid.a
../../util/subst -t -f ../../util/subst.conf /develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid.3.in uuid.3
../../util/subst -t -f ../../util/subst.conf /develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid_clear.3.in uuid_clear.3
../../util/subst -t -f ../../util/subst.conf /develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid_compare.3.in uuid_compare.3
../../util/subst -t -f ../../util/subst.conf /develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid_copy.3.in uuid_copy.3
../../util/subst -t -f ../../util/subst.conf /develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/lib/uuid/uuid_generate.3.in uuid_generate.3
uuid_generate.3.new: Permission denied
make[3]: *** [Makefile:421: uuid_generate.3] Error 1
make[3]: Leaving directory '/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/.aarch64-libreelec-linux-gnueabi-init/lib/uuid'
make[2]: *** [Makefile:395: all-libs-recursive] Error 1
make[2]: Leaving directory '/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/.aarch64-libreelec-linux-gnueabi-init'
make[1]: *** [Makefile:319: all] Error 2
make[1]: Leaving directory '/develop/libreelec-8.0/build.LibreELEC-WeTek_Play_2.aarch64-8.0-devel/e2fsprogs-1.42.13/.aarch64-libreelec-linux-gnueabi-init'
Makefile:12: die Regel für Ziel „image“ scheiterte
make: *** [image] Fehler 1
lutz@libreelec:/develop/libreelec-8.0$
Display More
It's quite weird - the mentioned files are having read-only for the user and are not writeable - it seems that they are created with wrong permissions on cloning/downloading. I tried to bypass this with "chmod ug+w -R libreelec-8.0" on the whole structure - but that ends in other issues on permissions....
umask ist "0002" - which should be correct - at least when creating a file it gets permissions "rw-rw-r--"
what is wrong?
Build-System is Ubuntu LTS 16.04 in VM