when i try to compile the cyanogenmod 14 I get this error:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/lge/bullhead/proprietary/app/atfwd/atfwd.apk', needed by '/home/spartaco/android/system/out/target/product/bullhead/obj/APPS/atfwd_intermediates/package.apk', missing and no known rule to make it
build/core/ninja.mk:148: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/home/spartaco/android/system"
#### make failed to build some targets (03:03 (mm:ss)) ####
Someone have any idea about how to fix this? Sorry for my bad English.
I've solved the problem a lot of time ago but I don't know how to delete the answer, ?
Inviato dal mio Nexus 5x utilizzando Tapatalk
Related
Don't know if this is the right place to post this. But I'm trying to build cm12.1 for my tmobile note 4. I'm using a imac running os x 10.11 (el capitan). I'm getting the following error about the macosx-version-min. Has anyone seen this? I've got updates that include 10.10 and 10.11 version is the build/core/combo/HOST_darwin_x86*.mk files. I've also add 10.10 and 10.11 to mac_sdk_versions_supported in build/core/combo/mac_version.mk. Not sure where else to look.
$brunch trltetmo
....
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256_ec.o] Error 1
This was output running 'brunch trltetmo'.
Solved this issue by switching to 10.9 mac osx sdk. I also had to add this link:
ln -s /usr/lib/crt1.10.6.o /Developer/SDKs/MacOSX10.9.sdk/usr/lib/crt1.10.6.o.
Finally got my first cm12.1 build completed for tmobile note 4 on a new iMac. It boots and am running it now. Guess I can try again to build cm13 soon. cm13 gave me more problems.
Anyone successfully ported ?
sent from moto g2014 with cm13
I'm working on it
help me?
Linux Lounge said:
I'm working on it
Click to expand...
Click to collapse
please help me !
i'm trying to port an lenovo vibe k5 (A6020I36) to ubuntu touch and i'm geting trouble with the variable of the compiler.
can you help me?
i found the source code from the system direct from manufactor and now i'm try to compile the kernel to be able to use ubuntu touch all 415 variable are now ready to ubuntu,but show msg of error
this is the msg:
/home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel/arch/x86/Makefile:111: CONFIG_X86_X32 enabled but no binutils support
make[2]: Nada a ser feito para `all'.
make[2]: Nada a ser feito para `relocs'.
Using /home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel as source for kernel
GEN /home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel/out/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
aarch64-linux-android-gcc: No such file or directory
Is your PATH set correctly?
make[2]: ** [kernel/bounds.s] Erro 2
make[1]: ** [prepare0] Erro 2
make: ** [sub-make] Erro 2
adres21858 said:
please help me !
i'm trying to port an lenovo vibe k5 (A6020I36) to ubuntu touch and i'm geting trouble with the variable of the compiler.
can you help me?
i found the source code from the system direct from manufactor and now i'm try to compile the kernel to be able to use ubuntu touch all 415 variable are now ready to ubuntu,but show msg of error
this is the msg:
/home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel/arch/x86/Makefile:111: CONFIG_X86_X32 enabled but no binutils support
make[2]: Nada a ser feito para `all'.
make[2]: Nada a ser feito para `relocs'.
Using /home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel as source for kernel
GEN /home/anderson/Downloads/lenovo_vibe_k5_osc_201604/kernel/out/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
aarch64-linux-android-gcc: No such file or directory
Is your PATH set correctly?
make[2]: ** [kernel/bounds.s] Erro 2
make[1]: ** [prepare0] Erro 2
make: ** [sub-make] Erro 2
Click to expand...
Click to collapse
same pb resolved by using gcc from cm14.1
export PATH=$PATH:/home/xxxxxx/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/
I have been building Lineage for the HTC One A9 (hiaeuhl) since cyanogenmod shut down. About a week ago I started getting the below error:
Code:
/system/out/target/common/obj/APPS/FlipFlap_intermediates/src/R.stamp || exit 32; done ) && (touch /media/steve/hard_disk/android/system/out/target/common/obj/APPS/FlipFlap_intermediates/src/R.stamp )"
ERROR: resource directory 'packages/apps/FlipFlap/../../../packages/resources/devicesettings/res' does not exist
[ 86% 43518/50094] Building with Jack: /media/steve/hard_disk/android/system/out/target/common/obj/APPS/Dialer_intermediates/with-local/classes.dex
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/media/steve/hard_disk/android/system'
#### make failed to build some targets (02:14:47 (hh:mm:ss)) ####
Any ideas how I can integrate the FlipFlap package or otherwise alleviate? According to wikipedia FlipFlap is a flipcover application developed by the LineageOS team.
First of all: it is the very first time for me that I am "near" compiling Android myself. So noob here, not dev.
Here the error I get: it seems to me I miss a Manifest.Java file, but repo sync went well. Any hint?
Code:
javac: file not found: /home/uncledan/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/home/uncledan/android/system"
#### make failed to build some targets (11:01 (mm:ss)) ####
Full session: http://pastebin.com/raw/bJ1mGizc
UncleDan said:
First of all: it is the very first time for me that I am "near" compiling Android myself. So noob here, not dev.
Here the error I get: it seems to me I miss a Manifest.Java file, but repo sync went well. Any hint?
Code:
javac: file not found: /home/uncledan/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/home/uncledan/android/system"
#### make failed to build some targets (11:01 (mm:ss)) ####
Full session: http://pastebin.com/raw/bJ1mGizc
Click to expand...
Click to collapse
I would recommend that you check out the Lineage's github page for the i9300 and compare.
https://github.com/LineageOS/android_device_samsung_i9300
Peace and Love!
Peace and Love!
~Ringo Starr~
Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
********************************************
**IF I WAS HELPFUL IN ANY WAY THEN**
**PLZ THANK ME WITH A THUMBS UP!**
********************************************
Ibuprophen said:
I would recommend that you check out the Lineage's github page for the i9300 and compare.
https://github.com/LineageOS/android_device_samsung_i9300
Peace and Love!
Peace and Love!
~Ringo Starr~
Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
********************************************
**IF I WAS HELPFUL IN ANY WAY THEN**
**PLZ THANK ME WITH A THUMBS UP!**
********************************************
Click to expand...
Click to collapse
Well, as my wife crashed the S3, I started all over ore One Plus One I am trying to get: removed folder android/system, recreated, new repo sync and all the rest.
Guess what? Error in the same exact file... I cannot figure out what is wrong :crying: Another little hint?
Code:
javac: file not found: /home/uncledan/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/home/uncledan/android/system"
#### make failed to build some targets (32:35 (mm:ss)) ####
Full console session.
I have been building LineageOS 15.1 for Samsung S6 and S6 Edge for a while without any real issues.
I am using my own 'zero' repo's that are duplicates of the ones available on the official LineageOS github repo with a few local fixes.
My build environment is an Ubuntu 16.04 VM. The build tools recently forced me to upgrade to Python 3.6.3 which I had to install manually.
Since then the build fails whilst compiling the Exynos7420 Kernel. The error message seems to vary but its always at the Exynos7420 kernel part.
I am building with my own certificates so the script is a little different from a standard LineageOS build:
Code:
source build/envsetup.sh
breakfast zeroltexx
mka target-files-package dist otatools
The last lines of the output and the error I got the last time:
Code:
[ 0% 2/93156] Generated: (/home/andy/android...ut/target/product/zeroltexx/android-info.txt)
FAILED: /home/andy/android/lineage/out/target/product/zeroltexx/android-info.txt
/bin/bash -c "(build/tools/check_radio_versions.py ) && (echo \"board=universal7420\" > /home/andy/android/lineage/out/target/product/zeroltexx/android-info.txt )"
File "build/tools/check_radio_versions.py", line 56
print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key)
^
SyntaxError: invalid syntax
[ 0% 7/93156] Building Kernel Config
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
GEN /home/andy/android/lineage/out/target/product/zeroltexx/obj/KERNEL_OBJ/Makefile
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
arch/arm64/configs/lineageos_zeroltexx_defconfig:624:warning: override: reassigning to symbol INET_DIAG
#
# configuration written to .config
#
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
GEN /home/andy/android/lineage/out/target/product/zeroltexx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
ninja: build stopped: subcommand failed.
19:27:22 ninja failed with: exit status 1
#### failed to build some targets (08:22 (mm:ss)) ####
Any pointers as to how I debug this? It must be something to do with the upgrade to python 3.6.3, however I am not skilled in the arts of scripting...
Cheers
Andy
If I clean everything out of the /out folder and re-run the commands it always fails at the same point:
Code:
FIPS : Generating hmac of fmp and updating vmlinux...
HMAC-SHA256(builtime_bytes.bin)= 5d384fe6b55f757aa0ef31391e8cbb5ffb947cd886235203f2690988f879aec8
FIPS : Generating hmac of crypto and updating vmlinux...
HMAC-SHA256(builtime_bytes.bin)= d6e18e7da3d688cd63ab5598991c05bd4c538f71d383fbe7e9f668f23d1e040a
OBJCOPY arch/arm64/boot/Image
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
Building DTBs
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for 'dtbs'.
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
Building Kernel Modules
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
GEN /home/andy/android/lineage/out/target/product/zeroltexx/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
Using /home/andy/android/lineage/kernel/samsung/exynos7420 as source for kernel
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
CALL /home/andy/android/lineage/kernel/samsung/exynos7420/scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
Building modules, stage 2.
MODPOST 0 modules
/home/andy/android/lineage/kernel/samsung/exynos7420/scripts/Makefile.fwinst:45: target '/lib/firmware/tsp_stm/stm_z1.fw' given more than once in the same rule
/home/andy/android/lineage/kernel/samsung/exynos7420/scripts/Makefile.fwinst:45: target '/lib/firmware/abov/abov_valley.fw' given more than once in the same rule
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
ninja: build stopped: subcommand failed.
23:05:52 ninja failed with: exit status 1
#### failed to build some targets (17:53 (mm:ss)) ####
Anyone?
ADB100 said:
If I clean everything out of the /out folder and re-run the commands it always fails at the same point:
Code:
FIPS : Generating hmac of fmp and updating vmlinux...
HMAC-SHA256(builtime_bytes.bin)= 5d384fe6b55f757aa0ef31391e8cbb5ffb947cd886235203f2690988f879aec8
FIPS : Generating hmac of crypto and updating vmlinux...
HMAC-SHA256(builtime_bytes.bin)= d6e18e7da3d688cd63ab5598991c05bd4c538f71d383fbe7e9f668f23d1e040a
OBJCOPY arch/arm64/boot/Image
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
Building DTBs
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for 'dtbs'.
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
Building Kernel Modules
make: Entering directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
GEN /home/andy/android/lineage/out/target/product/zeroltexx/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
Using /home/andy/android/lineage/kernel/samsung/exynos7420 as source for kernel
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
CALL /home/andy/android/lineage/kernel/samsung/exynos7420/scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
Building modules, stage 2.
MODPOST 0 modules
/home/andy/android/lineage/kernel/samsung/exynos7420/scripts/Makefile.fwinst:45: target '/lib/firmware/tsp_stm/stm_z1.fw' given more than once in the same rule
/home/andy/android/lineage/kernel/samsung/exynos7420/scripts/Makefile.fwinst:45: target '/lib/firmware/abov/abov_valley.fw' given more than once in the same rule
make: Leaving directory '/home/andy/android/lineage/kernel/samsung/exynos7420'
ninja: build stopped: subcommand failed.
23:05:52 ninja failed with: exit status 1
#### failed to build some targets (17:53 (mm:ss)) ####
Anyone?
Click to expand...
Click to collapse
I know it's old, but did you manage to solve it?
I have the same problem