Jump to content

Hi,

 

So recently I have been trying to build a custom lineage OS ROM for the Oneplus one (bacon), I was wondering whether anyone knew how to fix the error in my screenshot? Thanks in advance :)   Text version below:  

ben@ben-ThinkCentre-A70:~/android/lineage$ brunch bacon
including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/oneplus/bacon
Looking for dependencies in device/oppo/msm8974-common
Looking for dependencies in device/oppo/common
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
Looking for dependencies in kernel/oppo/msm8974
kernel/oppo/msm8974 has no additional dependencies.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190323-UNOFFICIAL-bacon
TARGET_PRODUCT=lineage_bacon
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-4.18.0-16-generic-x86_64-Ubuntu-18.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190305.002
OUT_DIR=/home/ben/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
TARGET_USE_SDCLANG=true
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190323-UNOFFICIAL-bacon
TARGET_PRODUCT=lineage_bacon
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-4.18.0-16-generic-x86_64-Ubuntu-18.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190305.002
OUT_DIR=/home/ben/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
TARGET_USE_SDCLANG=true
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: error: 'vendor/oneplus/bacon/proprietary/vendor/firmware/cpp_firmware_v1_2_0.fw', needed by '/home/ben/android/lineage/out/target/product/bacon/system/vendor/firmware/cpp_firmware_v1_2_0.fw', missing and no known rule to make it
16:07:37 ninja failed with: exit status 1

#### failed to build some targets (19 seconds) ####


 

Screenshot from 2019-03-23 16-37-19.png

Regards,

Ben Cooper,

CEO

Link to comment
Share on other sites

Link to post
Share on other sites

The build system needs a file and can't find it or knows how to build it.   Most likely you need to download and place the firmware file where it's looking for it. 

 

Edit: that is assuming you've configured things correctly

"Anger, which, far sweeter than trickling drops of honey, rises in the bosom of a man like smoke."

Link to comment
Share on other sites

Link to post
Share on other sites

ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: error: 'vendor/oneplus/bacon/proprietary/vendor/firmware/cpp_firmware_v1_2_0.fw', needed by '/home/ben/android/lineage/out/target/product/bacon/system/vendor/firmware/cpp_firmware_v1_2_0.fw', missing and no known rule to make it
17:42:40 ninja failed with: exit status 1

#### failed to build some targets (15 seconds) ####

Also getting this error, I can locate the file needed but the folder where it wants it to be placed is read-only?

Regards,

Ben Cooper,

CEO

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×