how to make roms?

Search This thread

Marado

Senior Member
Jan 28, 2015
296
119
Putas
downloaded ubertc arm-linux-androideabi-4.9 toolchain and unzipped to ~/android/los17/ubertc/

Code:
[email protected]:~/android/los17/kernel/oneplus/onyx
$ export ARCH=arm
[email protected]:~/android/los17/kernel/oneplus/onyx
$ export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/
[email protected]:~/android/los17/kernel/oneplus/onyx
$ make onyx_defconfig
#
# configuration written to .config
#
[email protected]:~/android/los17/kernel/oneplus/onyx
$ make -j16
make: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: Command not found
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/bin/sh: 1: /home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/gcc: not found
make[2]: *** [scripts/Makefile.build:308: scripts/mod/empty.o] Error 127
make[1]: *** [scripts/Makefile.build:443: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:531: scripts] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/android/los17/kernel/oneplus/onyx
$

export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/
that´s wrong...
you should have bin folder inside ubertc folder.

export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/bin/arm-linux-androideabi-
like this.:good:
 

psychem

Senior Member
Oct 18, 2011
1,288
336
export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/arm-linux-androideabi/
that´s wrong...
you should have bin folder inside ubertc folder.

export CROSS_COMPILE=/home/thinkmachine/android/los17/ubertc/bin/arm-linux-androideabi-
like this.:good:

Code:
$ make -j16
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/home/thinkmachine/android/los17/ubertc/bin/../libexec/gcc/arm-linux-androideabi/4.9.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
make[2]: *** [scripts/Makefile.build:308: scripts/mod/empty.o] Error 1
make[1]: *** [scripts/Makefile.build:443: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:531: scripts] Error 2
make: *** Waiting for unfinished jobs....
 

Marado

Senior Member
Jan 28, 2015
296
119
Putas
Code:
$ make -j16
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/home/thinkmachine/android/los17/ubertc/bin/../libexec/gcc/arm-linux-androideabi/4.9.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
make[2]: *** [scripts/Makefile.build:308: scripts/mod/empty.o] Error 1
make[1]: *** [scripts/Makefile.build:443: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:531: scripts] Error 2
make: *** Waiting for unfinished jobs....

come on.... just google the errors instead of asking everything....

sudo apt-get update
sudo apt-get install libmpfr4
And then when it said that libmpfr4 was already at its latest version, just to be sure:
sudo apt-get install --reinstall libmpfr4
 

psychem

Senior Member
Oct 18, 2011
1,288
336
come on.... just google the errors instead of asking everything....

sudo apt-get update
sudo apt-get install libmpfr4
And then when it said that libmpfr4 was already at its latest version, just to be sure:
sudo apt-get install --reinstall libmpfr4

there are so many solutions to every error, some work some don't.
i installed libmpfr4-dev package, that was the only one available in synaptic, it didn't work. apt-get gave below results.

Code:
$ sudo apt-get install libmpfr4
[sudo] password for thinkmachine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmpfr4

the machine already has libmpfr6 installed.
 
Last edited:

Marado

Senior Member
Jan 28, 2015
296
119
Putas
there are so many solutions to every error, some work some don't.
i installed libmpfr4-dev package, that was the only one available in synaptic, it didn't work. apt-get gave below results.

Code:
$ sudo apt-get install libmpfr4
[sudo] password for thinkmachine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmpfr4

the machine already has libmpfr6 installed.

Try this:
sudo apt-get update -y
sudo apt-get install -y libmpfr4

if dont work create a simbolic link..
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4

and recompile...
 

psychem

Senior Member
Oct 18, 2011
1,288
336
Try this:
sudo apt-get update -y
sudo apt-get install -y libmpfr4

if dont work create a simbolic link..
sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4

and recompile...

symbolic link worked but same problem while compiling kernel

Code:
  LD      drivers/usb/gadget/g_android.o
  LD      drivers/usb/gadget/built-in.o
make[1]: *** [scripts/Makefile.build:443: drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
  LD      drivers/staging/prima/wlan.o
  LD      drivers/staging/prima/built-in.o
  LD      drivers/staging/built-in.o
make: *** [Makefile:979: drivers] Error 2
 

psychem

Senior Member
Oct 18, 2011
1,288
336
@YumeMichi a recent commit was causing kernel build error. i fixed it by deleting the commit.

now getting an error.

Code:
[ 79% 57731/72760] build out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_f
FAILED: out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
/bin/bash -c "(m4 --fatal-warnings -s     system/sepolicy/vendor/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/qcom/sepolicy-legacy/common/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/qcom/sepolicy-legacy/msm8974/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/qcom/sepolicy-legacy/test/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/qcom/sepolicy-legacy/legacy-common/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/lineage/sepolicy/qcom/vendor/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/oneplus/onyx/sepolicy/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl    device/lineage/sepolicy/common/vendor/file_contexts  out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl > out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp ) && re(out/host/linux-x86/bin/checkfc out/target/product/onyx/obj/ETC/sepolicy_intermediates/sepolicy out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp ) && (out/host/linux-x86/bin/fc_sort out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts )"
libsepol.context_from_record: type sysfs_disk_stat is not defined
libsepol.context_from_record: could not create context structure
out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp: line 1001 has invalid context u:object_r:sysfs_disk_stat:s0
libsepol.context_from_record: type sysfs_disk_stat is not defined
libsepol.context_from_record: could not create context structure
out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp: line 1001 has invalid context u:object_r:sysfs_disk_stat:s0
Error: could not load context file from out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp
13:20:33 ninja failed with: exit status 1

#### failed to build some targets (55:37 (mm:ss)) ####
 
Last edited:

psychem

Senior Member
Oct 18, 2011
1,288
336

added
genfscon sysfs /devices/soc.0/f9824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/stat u:eek:bject_r:sysfs_disk_stat:s0

Code:
genfscon proc /touchpanel      u:object_r:proc_touchpanel:s0
genfscon proc /tri-state-key   u:object_r:proc_touchpanel:s0
genfscon proc /s1302           u:object_r:proc_touchpanel:s0
genfscon sysfs /devices/soc.0/f9824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/stat u:object_r:sysfs_disk_stat:s0

error
Code:
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200112-UNOFFICIAL-psychem-onyx
TARGET_PRODUCT=lineage_onyx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.7-antix.1-amd64-smp-x86_64-Debian-GNU/Linux-10-(buster)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ1B.191205.011
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8974
============================================
wildcard(out/target/product/onyx/clean_steps.mk) was changed, regenerating...
$(shell date -u +%Y%m%d) was changed, regenerating...
[ 98% 11310/11430] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[ 43% 11450/26466] build out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy
FAILED: out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy
/bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/checkpolicy -M -c 		30 -o out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ]; then 		echo \"==========\" 1>&2; 		echo \"ERROR: permissive domains not allowed in user builds\" 1>&2; 		echo \"List of invalid domains:\" 1>&2; 		cat out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; 		exit 1; 		fi ) && (mv out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp out/target/product/onyx/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
device/lineage/sepolicy/common/dynamic/genfs_contexts:2:ERROR 'type sysfs_disk_stat is not defined or is an attribute' at token 'genfscon' on line 86691:
#line 1 "device/lineage/sepolicy/common/dynamic/genfs_contexts"
genfscon proc /sys/kernel/deny_new_usb u:object_r:proc_deny_new_usb:s0
checkpolicy:  error(s) encountered while parsing configuration
[ 43% 11460/26466] //external/conscrypt:conscrypt-nojarjar javac [linux_glibc common]
1 warning
[ 43% 11461/26466] Building Kernel Config
make: Entering directory '/home/thinkmachine/android/los171/kernel/oneplus/onyx'
  GEN     /home/thinkmachine/android/los171/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/thinkmachine/android/los171/kernel/oneplus/onyx'
make: Entering directory '/home/thinkmachine/android/los171/kernel/oneplus/onyx'
  GEN     /home/thinkmachine/android/los171/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/thinkmachine/android/los171/kernel/oneplus/onyx'
12:56:49 ninja failed with: exit status 1

#### failed to build some targets (01:00 (mm:ss)) ####
 

psychem

Senior Member
Oct 18, 2011
1,288
336
@YumeMichi
doing a fresh build, getting this error

Code:
[ 98% 78144/79535] R8: out/target/common/obj/APPS/Shell_intermediates/dex/classes.dex
Warning: Library class android.os.BugreportManager$DumpstateListener extends program class android.os.IDumpstateListener$Stub
Warning: Library class android.os.BugreportManager$DumpstateListener extends program class android.os.IDumpstateListener$Stub
[ 98% 78529/79535] Target Java: out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.j
FAILED: out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar
/bin/bash -c "(rm -f out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar ) && (rm -rf out/target/common/obj/APPS/Dialer_intermediates/classes out/target/common/obj/APPS/Dialer_intermediates/anno ) && (mkdir -p out/target/common/obj/APPS/Dialer_intermediates/ ) && (mkdir -p out/target/common/obj/APPS/Dialer_intermediates/classes out/target/common/obj/APPS/Dialer_intermediates/anno ) && (out/soong/host/linux-x86/bin/zipsync -d out/target/common/obj/APPS/Dialer_intermediates/srcjars -l out/target/common/obj/APPS/Dialer_intermediates/srcjar-list -f \"*.java\"  out/target/common/obj/APPS/Dialer_intermediates/aapt2.srcjar ) && (if [ -s out/target/common/obj/APPS/Dialer_intermediates/java-source-list -o -s out/target/common/obj/APPS/Dialer_intermediates/srcjar-list ] ; then out/soong/host/linux-x86/bin/soong_javac_wrapper  prebuilts/jdk/jdk9/linux-x86/bin/javac -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath \"\" -g -XDskipDuplicateBridges=true -XDstringConcat=inline -encoding UTF-8   -bootclasspath out/target/common/obj/JAVA_LIBRARIES/core.platform.api.stubs_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/updatable_media_stubs_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar  -classpath out/target/common/obj/JAVA_LIBRARIES/dialer-auto-value-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/com.android.vcard_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-animal-sniffer-annotations-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-commons-io-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-dagger2-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-disklrucache-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-gifdecoder-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-glide-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-all-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-context-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-core-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-okhttp-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-protobuf-lite-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-stub-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-j2objc-annotations-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-javax-annotation-api-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-javax-inject-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-libshortcutbadger-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-mime4j-core-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-mime4j-dom-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-okhttp-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-okio-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-error-prone-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-guava-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-glide-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-glide-annotation-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/dialer-zxing-target_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/libbackup_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/libphonenumber_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/volley_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/org.lineageos.platform.internal_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-lite_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-dynamic-animation_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-core-ui_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-design_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-transition_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/classes-header.jar  -d out/target/common/obj/APPS/Dialer_intermediates/classes -s out/target/common/obj/APPS/Dialer_intermediates/anno  -source 1.8 -target 1.8 -g:source,lines  -processor com.google.auto.value.processor.AutoValueProcessor,dagger.internal.codegen.ComponentProcessor,com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor,com.android.dialer.rootcomponentgenerator.RootComponentProcessor -processorpath out/host/common/obj/JAVA_LIBRARIES/dialer-auto-value_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/javapoet-prebuilt-jar_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-dagger2_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-dagger2-compiler_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-dagger2-producers_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-glide-annotation_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-glide-compiler_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-guava_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-javax-annotation-api_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-javax-inject_intermediates/classes.jar:out/host/common/obj/JAVA_LIBRARIES/dialer-rootcomponentprocessor_intermediates/classes.jar \\@out/target/common/obj/APPS/Dialer_intermediates/java-source-list \\@out/target/common/obj/APPS/Dialer_intermediates/srcjar-list || ( rm -rf out/target/common/obj/APPS/Dialer_intermediates/classes ; exit 41 ) fi ) && (prebuilts/jdk/jdk9/linux-x86/bin/jar -cf out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar     @<(find out/target/common/obj/APPS/Dialer_intermediates/classes -type f | sort | build/soong/scripts/jar-args.sh out/target/common/obj/APPS/Dialer_intermediates/classes; echo \"-C out/empty .\") )"
Note: Generating a Provider for com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl. Prefer to run the dagger processor over that class instead.
Note: [1] Wrote GeneratedAppGlideModule with: []
[ 98% 78542/79535] R8: out/target/common/obj/APPS/Snap_intermediates/dex/classes.dex
Warning: Library class androidx.core.graphics.drawable.IconCompat extends program class androidx.versionedparcelable.CustomVersionedParcelable
Warning: Library class androidx.core.app.RemoteActionCompat implements program class androidx.versionedparcelable.VersionedParcelable
Warning: Library class androidx.core.app.NotificationCompatSideChannelService$NotificationSideChannelStub extends program class android.support.v4.app.INotificationSideChannel$Stub
Warning: Library class androidx.core.graphics.drawable.IconCompat extends program class androidx.versionedparcelable.CustomVersionedParcelable
Warning: Library class androidx.core.app.RemoteActionCompat implements program class androidx.versionedparcelable.VersionedParcelable
Warning: Library class androidx.core.app.NotificationCompatSideChannelService$NotificationSideChannelStub extends program class android.support.v4.app.INotificationSideChannel$Stub
19:30:02 ninja failed with: exit status 1

#### failed to build some targets (26:32:52 (hh:mm:ss)) ####
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    https://www.google.pt/search?source...i19k1j0i22i30i19k1j0i22i10i30k1.0.f0TyAkeA2NU

    google is your friend...
    you have to learn by yourself if you have no one that teaches you... I learned myself too...

    4 essential things:
    1- rom source
    2-device tree
    3- device kernel
    4-device vendor
    2
    @YumeMichi

    one more error

    Code:
    [1036/1036] including vendor/qcom/opensource/dataservices/Android.mk ...
    [ 99% 799/800] glob bionic/libc/arch-arm/syscalls/**/*.S
    [  2% 1511/73638] Target buildinfo: /home/thinkmachine/android/li...uct/onyx/obj/ETC/system_build_prop_intermediates/build.prop
    Target buildinfo from: device/oneplus/onyx/system.prop
    [  5% 4079/73638] Yacc: ss <= external/iproute2/misc/ssfilter.y
    external/iproute2/misc/ssfilter.y: conflicts: 35 shift/reduce
    [  7% 5820/73638] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_allocation.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc 
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_allocation.c -o /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    [  7% 5822/73638] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_f16_math.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc 
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_f16_math.c -o /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    [  7% 5825/73638] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_element.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc 
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_element.c -o /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    [  7% 5826/73638] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc 
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_core.c -o /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    [  7% 5827/73638] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc 
    /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-3289846/bin/clang -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target renderscript32-linux-androideabi -fsigned-char  -Wno-deprecated -Werror  -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript frameworks/rs/driver/runtime/rs_cl.c -o /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc"
    prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
    [  7% 5831/73638] Building Kernel Config
    make: Entering directory '/home/thinkmachine/android/lineage164knew/kernel/oneplus/onyx'
      HOSTCC  scripts/basic/fixdep
      GEN     /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
      HOSTCC  scripts/kconfig/conf.o
      SHIPPED scripts/kconfig/zconf.tab.c
      SHIPPED scripts/kconfig/zconf.lex.c
      SHIPPED scripts/kconfig/zconf.hash.c
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    #
    # configuration written to .config
    #
    make: Leaving directory '/home/thinkmachine/android/lineage164knew/kernel/oneplus/onyx'
    make: Entering directory '/home/thinkmachine/android/lineage164knew/kernel/oneplus/onyx'
      GEN     /home/thinkmachine/android/lineage164knew/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
    scripts/kconfig/conf --savedefconfig=defconfig Kconfig
    make: Leaving directory '/home/thinkmachine/android/lineage164knew/kernel/oneplus/onyx'
    [  7% 5832/73638] build /home/thinkmachine/android/lineage164knew...bj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp
    WARNING: duplicate annotation of type libcore.util.NonNull
    WARNING: duplicate annotation of type libcore.util.NonNull
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/io/Writer;, IN_METHOD=in method 'append(C)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/lang/Appendable;, IN_METHOD=in method 'append(C)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
      @libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
      @libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
      @libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
      @libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
    Found class java.util.HashMap, but unable to insert @libcore.util.NonNull:
      @libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
    Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
      @libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
    Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
      @libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(1)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
    [  7% 5833/73638] build /home/thinkmachine/android/lineage164knew/out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
    ninja: build stopped: subcommand failed.
    15:30:58 ninja failed with: exit status 1
    
    #### failed to build some targets (01:04 (mm:ss)) ####
    
    [email protected]:~/android/lineage164knew
    $

    apt-get install libncurses5
    2
    @YumeMichi @Marado
    getting an error during build. how do i fix this?

    Code:
    [email protected]:~/android/lineage164knew
    $ brunch onyx
    including vendor/lineage/vendorsetup.sh
    Trying dependencies-only mode on a non-existing device tree?
    
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=9
    LINEAGE_VERSION=16.0-20191215-UNOFFICIAL-Psychem-onyx
    TARGET_PRODUCT=lineage_onyx
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=krait
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-5.4.0-antix.1-amd64-smp-x86_64-Debian-GNU/Linux-10-(buster)
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=PQ3A.190801.002
    OUT_DIR=/home/thinkmachine/android/lineage164knew/out
    PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
    ============================================
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=9
    LINEAGE_VERSION=16.0-20191215-UNOFFICIAL-Psychem-onyx
    TARGET_PRODUCT=lineage_onyx
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=krait
    HOST_ARCH=x86_64
    HOST_2ND_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-5.4.0-antix.1-amd64-smp-x86_64-Debian-GNU/Linux-10-(buster)
    HOST_CROSS_OS=windows
    HOST_CROSS_ARCH=x86
    HOST_CROSS_2ND_ARCH=x86_64
    HOST_BUILD_TYPE=release
    BUILD_ID=PQ3A.190801.002
    OUT_DIR=/home/thinkmachine/android/lineage164knew/out
    PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
    ============================================
    [1/1] /home/thinkmachine/android/lineage164knew/out/soong/.minibo...lav/android/lineage164knew/out/soong/.bootstrap/build.ninja
    [55/56] glob prebuilts/ndk/stl.bp
    [80/80] /home/thinkmachine/android/lineage164knew/out/soong/.boot...d /home/thinkmachine/android/lineage164knew/out/soong/build.ninja
    /home/thinkmachine/android/lineage164knew/out/build-lineage_onyx-cleanspec.ninja is missing, regenerating...
    /home/thinkmachine/android/lineage164knew/out/build-lineage_onyx.ninja is missing, regenerating...
    [623/1036] including system/sepolicy/Android.mk ...
    system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
    [1036/1036] including vendor/qcom/opensource/dataservices/Android.mk ...
    [ 99% 799/800] glob bionic/libc/arch-arm/syscalls/**/*.S
    [  0% 169/73638] host C: compile_ioshark <= system/extras/ioshark/compile_ioshark.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark.o 
    /bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang   	-I device/oneplus/onyx/include -I system/extras/ioshark -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/gen/EXECUTABLES/compile_ioshark_intermediates -I libnativehelper/include_jni \$(cat /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -Wa,--noexecstack -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -g -O2 -Wall -Werror -D_GNU_SOURCE -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark.d -o /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark.o system/extras/ioshark/compile_ioshark.c"
    prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    [  0% 170/73638] host C: computestats <= system/extras/app-launcher/computestats.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/computestats_intermediates/computestats.o 
    /bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang   	-I device/oneplus/onyx/include -I system/extras/app-launcher -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/computestats_intermediates -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/gen/EXECUTABLES/computestats_intermediates -I libnativehelper/include_jni \$(cat /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/computestats_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -Wa,--noexecstack -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/computestats_intermediates/computestats.d -o /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/computestats_intermediates/computestats.o system/extras/app-launcher/computestats.c"
    prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    [  0% 171/73638] host C: compile_ioshark <= system/extras/ioshark/compile_ioshark_subr.c
    FAILED: /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark_subr.o 
    /bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang   	-I device/oneplus/onyx/include -I system/extras/ioshark -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates -I /home/thinkmachine/android/lineage164knew/out/host/linux-x86/gen/EXECUTABLES/compile_ioshark_intermediates -I libnativehelper/include_jni \$(cat /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -Wa,--noexecstack -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -g -O2 -Wall -Werror -D_GNU_SOURCE -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark_subr.d -o /home/thinkmachine/android/lineage164knew/out/host/linux-x86/obj/EXECUTABLES/compile_ioshark_intermediates/compile_ioshark_subr.o system/extras/ioshark/compile_ioshark_subr.c"
    prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    apt-get install libtinfo5
    1
    what if the source hasnt been updated? like hunfatal was updating RR before LOS was updated by YM

    You can send a pm to @hunfatal, he will certainly respond your questions....
    but RR is based on lineage, so their source is synchronized. ;)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone