I am trying to build nexus 5 AOSP from nougat source 7.1.1 from AOSP github
but Im getting the following errors
Code:
[email protected]:~/bin/swi-ahmed-aosp$ sudo make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-39-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N6F26U
OUT_DIR=out
============================================
Running kati to generate build-aosp_arm.ninja...
out/build-aosp_arm.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-39-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N6F26U
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You asked for an OpenJDK based build but your version is
java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode).
************************************************************
build/core/main.mk:231: *** stop.
build/core/ninja.mk:163: recipe for target 'out/build-aosp_arm.ninja' failed
make: *** [out/build-aosp_arm.ninja] Error 1
Can anyone please help I followed the steps from google side
1. Repo init
2. Repo Sync
3. source build/envsetup.sh
4. lunch
5. Select 'bullhead' , Nexus 5X
can any one please help
I am following the instructions at: https://wiki.lineageos.org/devices/addison/build
And I get:
Running kati to generate build-lineage_addison.ninja...
Environment variable BUILD_NUMBER was modified (d9e3d5f346 => cb6897b824), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20171114_151325-UNOFFICIAL-addison
TARGET_PRODUCT=lineage_addison
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/motozplay/android/lineage/out
============================================
find: ‘/home/motozplay/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/motorola/addison/proprietary/framework/izat.xt.srv.jar', needed by '/home/motozplay/android/lineage/out/target/product/addison/obj/JAVA_LIBRARIES/izat.xt.srv_intermediates/izat.xt.srv.jar', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/motozplay/android/lineage'
#### make failed to build some targets (20 seconds) ####
[email protected]:~/android/lineage$
https://wiki.lineageos.org/extracting_blobs_from_zips.html fixed it.
Help compiling LineageOS 14 for T580 [SOLVED]
I'm trying to compile LineageOS 14 for the T580 because I always wanted to learn how but I'm running into a problem. I have synced the repo, device tree, vendor tree and kernel source. When I run...
forum.xda-developers.com
fixed it.
Hey guys,
I'm kind of familiar with flashing Custom ROM's (I know how to read Guides) but this is the first time im trying to build one myself, since I want to use "swap" and my current kernel does not support it.
I'm using Windows 10 and have set up VirtualBox with the latest LTS Ubuntu and this is the Guide I'm following: wiki.lineageos.org/devices/m8/build
I did everything as the Guide told me up to the step where I have to run "brunch m8" which results in an Error, see below for more details.
[email protected]:~/android/lineage$ brunch m8
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/htc/m8
Looking for dependencies in device/htc/m8-common
Looking for dependencies in device/htc/msm8974-common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190516-UNOFFICIAL-m8
TARGET_PRODUCT=lineage_m8
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-20-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/josha/android/lineage/out
============================================
make: Verzeichnis „/home/josha/android/lineage“ wird betreten
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190516-UNOFFICIAL-m8
TARGET_PRODUCT=lineage_m8
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-20-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/josha/android/lineage/out
============================================
Running kati to generate build-lineage_m8.ninja...
vendor/htc/m8/BoardConfigVendor.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20190516-UNOFFICIAL-m8
TARGET_PRODUCT=lineage_m8
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-20-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/josha/android/lineage/out
============================================
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: ‘/home/josha/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: Datei oder Verzeichnis nicht gefunden
build/core/Makefile:34: warning: overriding commands for target `/home/josha/android/lineage/out/target/product/m8/system/lib/hw/consumerir.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/josha/android/lineage/out/target/product/m8/system/lib/hw/consumerir.default.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/htc/m8-common/proprietary/bin/cir_fw_update', needed by '/home/josha/android/lineage/out/target/product/m8/system/bin/cir_fw_update', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Verzeichnis „/home/josha/android/lineage“ wird verlassen
#### make failed to build some targets (02:58 (mm:ss)) ####
I have no Idea what I did wrong and after googling for hours I'm hoping to find some help here.
Also I'd like to ask a general Question about ROM's and Kernels: Can I use any Kernel (for the specific device ofc) in combination with let's say LineageOS or does the Kernel need to be made explicitly for the ROM?
Thank you very much!
UPDATE:
I rechecked everything twice and noticed I didn't set an e-mail and name when i ran "repo init -u github.com/LineageOS/android.git -b cm-14.1",
also this time I extracted the proprietary blobs from installable zip instead of my phone.
And (ofc) i ran into another Error when running "brunch m8" but "LC_ALL=C brunch m8" seemed to fix it.
It's compiling now and I'll let you know tomorrow if it worked!
UPDATE 2:
Allright it looks like I did it!
I just flashed the modified kernel and everything seems to work as intended! But time will tell.
Since I'm not allowed to post links I can't share it with you here but PM me if you want and I'll give you a download link.
All I modified was setting "CONFIG_SWAP" to true.
Greetings,
Jexome
The official ROM for ocean should be available soon, but not soon enough for me. I am new to LineageOS and custom ROMs in general, but I want to learn by doing.
I have so far
repo sync of LineageOS source
breakfast ocean
after step 2, the repo for the Lineage kernel of ocean downloaded sucesfully, but I got an error at the end that said:
Code:
frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/motorola/ocean/lineag$
_ocean.mk]]: "vendor/motorola/sdm632-common/sdm632-common-vendor.mk" does not exist.
21:42:25 dumpvars failed with: exit status 1
frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/motorola/ocean/lineag$
_ocean.mk]]: "vendor/motorola/sdm632-common/sdm632-common-vendor.mk" does not exist.
21:42:26 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_ocean'
** Do you have the right repo manifest?
Can someone explain what this error means and how I can resolve it?
Many thanks.
Oh you're asking questions. I feel misled.
You need the vendor tree. Check The Muppets GitHub.
Rondeau79 said:
You need the vendor tree. Check The Muppets GitHub.
Click to expand...
Click to collapse
Ok I found what you are talking about. Now do I need to do a `repo sync` on the Muppets repo corresponding to my device's kernel? Is that what you mean by getting the vendor tree? Or do I do that but for the manifest repo instead? If so where do I put it?
Economic_Hitman said:
Ok I found what you are talking about. Now do I need to do a `repo sync` on the Muppets repo corresponding to my device's kernel? Is that what you mean by getting the vendor tree? Or do I do that but for the manifest repo instead? If so where do I put it?
Click to expand...
Click to collapse
You need to clone the vendor motorola repository.
I followed these instructions: https://wiki.lineageos.org/devices/ocean/build
However, I was unable to get the vendor files using the method described on that page. I pulled them from a github repository, as mentioned by the previous posters.
Now I just need to get the courage to install my newly-built Lineage onto my device...
Greek2me said:
I followed these instructions: https://wiki.lineageos.org/devices/ocean/build
However, I was unable to get the vendor files using the method described on that page. I pulled them from a github repository, as mentioned by the previous posters.
Now I just need to get the courage to install my newly-built Lineage onto my device...
Click to expand...
Click to collapse
Only way to learn
Greek2me said:
However, I was unable to get the vendor files using the method described on that page. I pulled them from a github repository, as mentioned by the previous posters.
Now I just need to get the courage to install my newly-built Lineage onto my device...
Click to expand...
Click to collapse
Congratulations!
My build failed, I think I don't have enough RAM.
Here's my output for brunch
Code:
$ brunch ocean
Looking for dependencies in device/motorola/ocean
Looking for dependencies in device/motorola/sdm632-common
Looking for dependencies in kernel/motorola/sdm632
kernel/motorola/sdm632 has no additional dependencies.
Looking for dependencies in external/bson
external/bson has no additional dependencies.
Looking for dependencies in system/qcom
system/qcom has no additional dependencies.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200910-UNOFFICIAL-ocean
TARGET_PRODUCT=lineage_ocean
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-47-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/motorola/ocean vendor/motorola/sdm632-common device/motorola/sdm632-common device/motorola/ocean hard$
are/qcom-caf/msm8996
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200910-UNOFFICIAL-ocean
TARGET_PRODUCT=lineage_ocean
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-47-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/motorola/ocean vendor/motorola/sdm632-common device/motorola/sdm632-common device/motorola/ocean hardw
are/qcom-caf/msm8996
============================================
[100% 140/140] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile
out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
Killed
15:39:25 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:49 (mm:ss)) ####
Economic_Hitman said:
Congratulations!
My build failed, I think I don't have enough RAM.
Here's my output for brunch
Click to expand...
Click to collapse
Maby internet problem
roadkill42 said:
Maby internet problem
Click to expand...
Click to collapse
Well, I have a 100mbps Ethernet connection, it's not the best but it's consistent. And I tried brunch 3 times and it failed at this point each time.
¯\_(⊙︿⊙)_/¯
Economic_Hitman said:
Congratulations!
My build failed, I think I don't have enough RAM.
Here's my output for brunch
Code:
$ brunch ocean
Looking for dependencies in device/motorola/ocean
Looking for dependencies in device/motorola/sdm632-common
Looking for dependencies in kernel/motorola/sdm632
kernel/motorola/sdm632 has no additional dependencies.
Looking for dependencies in external/bson
external/bson has no additional dependencies.
Looking for dependencies in system/qcom
system/qcom has no additional dependencies.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200910-UNOFFICIAL-ocean
TARGET_PRODUCT=lineage_ocean
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-47-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/motorola/ocean vendor/motorola/sdm632-common device/motorola/sdm632-common device/motorola/ocean hard$
are/qcom-caf/msm8996
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200910-UNOFFICIAL-ocean
TARGET_PRODUCT=lineage_ocean
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-47-generic-x86_64-Ubuntu-18.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/motorola/ocean vendor/motorola/sdm632-common device/motorola/sdm632-common device/motorola/ocean hardw
are/qcom-caf/msm8996
============================================
[100% 140/140] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile
out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
Killed
15:39:25 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:49 (mm:ss)) ####
Click to expand...
Click to collapse
I tried running brunch in a tty3 session without GUI interface so I could save RAM.
When I reran brunch I tried limiting the number of threads by doing
Code:
mka bacon -j2
and even
Code:
make bacon -j2
but I got the same result.
I checked verbose.log.gz and it was the same error as my post above, simply that
Code:
out/soong/build.ninja
failed and was killed, but no more detail, like which line or call it failed on.
According to Someone On Reddit
make -j N does not work as intended in the same way mka -j N does not work. Both do actually spawn only N parallel build processes but these in turn spawn dependency build processes with -j $(nproc --all)
Click to expand...
Click to collapse
Hello there,
I have to admit that this is my second thread, but it seems that my question is well too complicated to be answered. If this is the case, please tell me how i can ask "better".
1st thread without answer I've found: https://forum.xda-developers.com/android/help/semi-ported-brunch-tiare-failed-bacon-t3968087
2nd: https://forum.xda-developers.com/ch...ageos-14-1-t3551484/post82213275#post82213275
3rd / mine: https://forum.xda-developers.com/android/help/android-build-failed-bacon-t4187229
So my build ends with FAILED:bacon.
Code:
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20201106-UNOFFICIAL-nx616j
TARGET_PRODUCT=lineage_nx616j
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Linux-Mint-20
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/nubia/sdm845-common device/nubia/sdm845-common hardware/qcom-caf/sdm845
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20201106-UNOFFICIAL-nx616j
TARGET_PRODUCT=lineage_nx616j
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Linux-Mint-20
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/nubia/sdm845-common device/nubia/sdm845-common h
ardware/qcom-caf/sdm845
============================================
[100% 545/545] build bacon
FAILED: bacon
/bin/bash -c "(ln -f out/target/product/nx616j/lineage-17.1-20201106-UNOFFICIAL
-nx616j.zip ) && (md5sum out/target/product/nx616j/lineage-17.1-20201106-UNOFFIC
IAL-nx616j.zip | sed \"s|out/target/product/nx616j/||\" > out/target/product/nx6
16j/lineage-17.1-20201106-UNOFFICIAL-nx616j.zip.md5sum ) && (echo \"Package Comp
lete: out/target/product/nx616j/lineage-17.1-20201106-UNOFFICIAL-nx616j.zip\" >&
2 )"
ln: cannot create hard link from 'out/target/product/nx616j/lineage-17.1-2020110
6-UNOFFICIAL-nx616j.zip' to './lineage-17.1-20201106-UNOFFICIAL-nx616j.zip': No
such file or directory
19:18:14 ninja failed with: exit status 1
#### failed to build some targets (4 seconds) ####
I'm getting the same error here, i remake my tree and still getting error. But this only happen with 64bits build , 32bits working normal. You fixed ?
thanks for help !!
Hey, sorry for the late reply.
I searched for quite some time as most sites regarding android builds are pretty hidden. I assumed that bacon was the codename to build, which meant that i was building for oneplus one instead of Nubia X. But bacon is the standard variable for lunch, so "breakfast nx616j" will setup the environment and "lunch bacon" will build what you have just set up. Alternatively, you can run "brunch nx616j" which is everything in one step.
So the part that is more insteresting is the one below "FAILED: bacon" from there you'll see which problem it's having alltogether. In my case there were some bugs including makefiles so it skipped some steps and thought it was ready with building when it really was quite the opposite.
Regards