Help : No rule to make target "bacon" - Android Q&A, Help & Troubleshooting

Hi everyone
I had post in wrong section, so repost here
I have build succefully cm9 for a MTK based device (wiko s8073), but i change my hdd, so i reinstall clean sources, but now i CAN'T build anything,
I have always make: *** No rule to make target `bacon'. Stop.
Code:
[email protected]:~/cyanogenmod9$ . build/envsetup.sh
including device/ti/panda/vendorsetup.sh
including device/wiko/s8073/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cyanogenmod9$ brunch s8073
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_s8073
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
make: *** No rule to make target `bacon'. Stop.
I also try make otapackage and make bacon alone
Code:
make: *** No rule to make target `otapackage'. Stop.
Code:
make: *** No rule to make target `bacon'. Stop.
Thanks for help

For everyone searching through Google with no solutions:
Try using this OTA package guide by Google.

Related

Trying to Build CM10 full-eng

I've successfully built cm10 from source for maguro. (Everything works nicely except the Google Talk app which keeps crashing, but I'll try to find out why later).
I'm building on OS X 10.8 (Mountain Lion), which required some changes in make files.
When trying to brunch full-eng, though, I'm getting the following:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-12.0.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `src': No such file or directory
build/core/tasks/kernel.mk:65: **********************************************************
build/core/tasks/kernel.mk:66: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:67: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:68: * BoardConfig.mk file *
build/core/tasks/kernel.mk:69: **********************************************************
make: *** No rule to make target `bacon'. Stop.
I would appreciate an insight on that.
Also - I'm trying to find a guide on the forums that will allow me to learn how to port CM10 to unsupported devices.
Thank you.
Code:
. build/envsetup.sh
lunch full-eng
mka
^Works fine.
brunch won't work on full-eng, it's intended to be used for cm_* only
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
cdesai said:
brunch won't work on full-eng, it's intended to be used for cm_* only
Click to expand...
Click to collapse
Great. Thank you for the quick response.

Need help for "make bacon"

Hi everyone
I have build succefully cm9 for a MTK based device (wiko s8073), but i change my hdd, so i reinstall clean sources, but now i CAN'T build anything,
I have always make: *** No rule to make target `bacon'. Stop.
Code:
[email protected]:~/cyanogenmod9$ . build/envsetup.sh
including device/ti/panda/vendorsetup.sh
including device/wiko/s8073/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cyanogenmod9$ brunch s8073
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_s8073
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
make: *** No rule to make target `bacon'. Stop.
I also try make otapackage and make bacon alone
Code:
make: *** No rule to make target `otapackage'. Stop.
Code:
make: *** No rule to make target `bacon'. Stop.
Thanks for help
new build command
try this... . build/envsetup.sh && brunch <your device name here> leave a space between "." and build

[Q] Help!

I'm trying to build AOSP ICS source for my device, the Samsung Galaxy Ace II X (GT-S7560M and Canadian variant of Galaxy Ace 2. My device comes with ICS 4.0.4 stock with Touchwiz UX), which is similar to the Galaxy S Duos (GT-S7562) for those of you that are having trouble finding specs. I attempted to port the device tree from the Galaxy Tab 7.7 because they have similiar specs (besides the screen size). I'm using Ubuntu 10.04 and I keep on getting this error message (in the terminal) after entering the command 'lunch kylessopen-userdebug'. I found that the device also has similar specs to the Nexus S so I executed the proprietary binary .sh files from https://developers.google.com/android/nexus/drivers#crespoimm76d (sorry having trouble with hyperlink button) because I was unable to collect proprietary files from my device (didn't work). Please help me out, it would be awesome if I could compile at the very least a partially-functional AOSP ICS build. If you need anything as a reference (ie device tree), feel free to ask for it. Thanks! Below is the message that I got in the Ubuntu 10.04 terminal:
[email protected]:~/ICS_SOURCE# lunch kylessopen-user
build/core/product_config.mk:204: *** No matches for product "kylessopen". Stop.
** Don't have a product spec for: 'kylessopen'
** Do you have the right repo manifest?
Read my SOURCE TUT WARPED420 it may help
Warped420 said:
Read my SOURCE TUT WARPED420 it may help
Click to expand...
Click to collapse
I'm getting a different error after fixing up the device tree (a bit). When I initiate the compile process ("make"), I get the following:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
build/core/main.mk:806: *** missing separator. Stop.
Click to expand...
Click to collapse
The line "build/core/main.mk:347: implicitly installing apns-conf_sdk.xml" stays for 15-30 seconds then I get the 'missing separator' message and the compile process stops. I've tried putting a separator (only works with =) at the end of line 806 in my main.mk, but then I get another missing separator message for a different line in main.mk. After putting separators at the end of a dozen or so lines, I get a different message when initiating the 'make' process:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
host Java: jsr305lib (out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/javalib.jar] Error 41
Click to expand...
Click to collapse
Attached is my main.mk (from ICS_SOURCE/build/core/) renamed to main.txt because XDA won't let me upload an .mk file. If anybody is reading this, please help me. You can either tell me what to fix, or you can modify my main.mk for me. Please help!
EDIT - NEW PROBLEM!!!
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `/usr/lib/jvm/jdk1.6.0_45/jre/lib/tools.jar', needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop.
Click to expand...
Click to collapse
I don't have a doc-comment-check-timestamp....somebody help me out?
try using ". build/envsetup.sh && brunch (name of device ) and post your results... and dont run under root #.. run under $
and u may want to check your java version, i use Oracle 6 without issues.. and did you put java and sdk in your path of the build, its all explained in my tutorial

New ROM building error.

I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android
dotmaniac said:
I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android
Click to expand...
Click to collapse
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)
espmartin said:
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)
Click to expand...
Click to collapse
Nope...
Sent from my Nexus 7 using Tapatalk
Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source
Can you post the full log?
SMillerNL said:
Can you post the full log?
Click to expand...
Click to collapse
I'll post on pastbin asap.
FYI: I get this same exact error when I build just the calc module as such:
mmm packages/apps/Calculator
Android 4.2.2/AOKP built from source
---------- Post added at 09:13 PM ---------- Previous post was at 08:55 PM ----------
Here's the full build log:
http://pastebin.com/ScKDbeej
And here's the full error when just building Calc module (pastbin too):
Code:
[LIST=1]
[*][email protected]:~/SchutzhundAOKP$ . build/envsetup.sh && lunch aokp_ace-userdebug && mmm packages/apps/Calculator
including device/htc/ace/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
make: Entering directory `/home/martin/SchutzhundAOKP'
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
PRODUCT_COPY_FILES vendor/aokp/prebuilt/bootanimation/bootanimation_480_800.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE ace
make: *** No rule to make target `/home/martin/SchutzhundAOKP/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/martin/SchutzhundAOKP/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
make: Leaving directory `/home/martin/SchutzhundAOKP'
[email protected]:~/SchutzhundAOKP$
[/LIST]
espmartin said:
Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source
Click to expand...
Click to collapse
I'm also having exactly this error. And it is really frustrating
[email protected] said:
I'm also having exactly this error. And it is really frustrating
Click to expand...
Click to collapse
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
espmartin said:
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
What do you mean by different repos? Device? Kernel? or Just Packages app?
I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
espmartin said:
I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
You mean you completely sync an another Rom?
Hey, I just ran into the same issue with no clue yet so resolve this problem. I just wondered if someone came up with a solution in the meantime and could post some information about the issue
UPDATE: I figured out at least what the problem in my case was. Apparently, removing the project "platform/development" from the manifest was not a good idea. Well, I learned my lesson.
This is the line of the local_manifest.xml which should arouse suspection:
Code:
<remove-project path="development" name="platform/development" />

AOSP 4.4 make error [*** target pattern contains no `%'.]

HI,
I've downloaded AOSP the 4.4 r1 branch. This is the first time I'm trying to build android.
I'm trying to make a device tree for GT-S7500 (samsung ace plus)
When I try to make, I receive the following error:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
TARGET_PRODUCT=aosp_trebon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=KRT16O
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/diskinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
build/core/package.mk:381: *** target pattern contains no "%". Stop.
if I look deeper in package.mk:
Line 381: $(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR)
Line 382: $(LOCAL_BUILT_MODULE): PRIVATE_PRIVATE_KEY := $(private_key)
Line 383: $(LOCAL_BUILT_MODULE): PRIVATE_CERTIFICATE := $(certificate)
If I try to echo the vars involved I receive:
$(private_key):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.pk8
$(certificate):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.x509.pem
$(SIGNAPK_JAR):
out/host/linux-x86/framework/signapk.jar
Any information will be appreciated
Thanks in advance
Marco
AOSP 4.4 KitKat for GT-S7500 experimental building with @TheWhisp Kernel
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
marco.roello said:
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Click to expand...
Click to collapse
How did you manage to get rid of the error

Categories

Resources