Sign in to follow this  
Followers 0
dieé

Compiling Cyanogenmod 10 Problem

25 posts in this topic

Hello. I try compiling CM10 for Skate and I got the impression that something is going bad; it gets that error when compiling:


[email protected]:~$ cd ~/building/cyanogenmod/jellybean

[email protected]:~/building/cyanogenmod/jellybean$ ./vendor/cm/get-prebuilts

% Total % Received % Xferd Average Speed Time Time	 Time Current

								 Dload Upload Total Spent Left Speed

100 142 100 142 0	 0 138	 0 0:00:01 0:00:01 --:--:-- 183

100 320k 100 320k 0	 0 76912	 0 0:00:04 0:00:04 --:--:-- 69361

Archive: ./vendor/cm/proprietary/Term.apk

inflating: ./vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so

[email protected]:~/building/cyanogenmod/jellybean$ source build/envsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/armv7-a/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including device/zte/blade2/vendorsetup.sh

including device/zte/skate/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

[email protected]:~/building/cyanogenmod/jellybean$ lunch cm_skate-userdebug

Looking for dependencies

Dependencies file not found, bailing out.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=cm_skate

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv6-vfp

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.0.0-27-generic-x86_64-with-Ubuntu-11.10-oneiric

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/home/diee/building/cyanogenmod/jellybean/out

============================================

[email protected]:~/building/cyanogenmod/jellybean$ make -j4 bacon

make: *** No hay ninguna regla para construir el objetivo «bacon». Alto.

[email protected]:~/building/cyanogenmod/jellybean$

make: *** There is no rule to build this target «bacon». Stop.

Can someone help me?

Thank you.

Edited by dieé
0

Share this post


Link to post
Share on other sites

Just to check, what repo are you using?

0

Share this post


Link to post
Share on other sites

I'm using this repo:


https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

and this local_manifest:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

  <!-- CM removals -->

  <remove-project name="CyanogenMod/android_build" />

  <remove-project name="CyanogenMod/android_external_libncurses" />

  <remove-project name="CyanogenMod/android_hardware_qcom_media" />

  <remove-project name="CyanogenMod/android_frameworks_av" />

  <remove-project name="CyanogenMod/android_frameworks_base" />

  <remove-project name="CyanogenMod/android_frameworks_native" />

  <remove-project name="CyanogenMod/android_vendor_cm" />

  <project name="ColdFusionX/android_build" path="build" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_external_libncurses" path="external/libncurses" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_hardware_qcom_media" path="hardware/qcom/media" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_frameworks_av" path="frameworks/av" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_frameworks_base" path="frameworks/base" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_frameworks_native" path="frameworks/native" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_vendor_cm" path="vendor/cm" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_device_zte_skate" path="device/zte/skate" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_device_zte_blade2" path="device/zte/blade2" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_device_zte_msm7x27-common" path="device/zte/msm7x27-common" remote="github" revision="jellybean" />

  <project name="ColdFusionX/android_kernel_zte_msm7x27" path="kernel/zte/msm7x27" remote="github" revision="jellybean" />

  <project name="ColdFusionX/proprietary_vendor_zte" path="vendor/zte" revision="jellybean" />

</manifest>

I think you mean to the first. Right?

0

Share this post


Link to post
Share on other sites

Use the one in the CFX2 thread if you want to build CM10

0

Share this post


Link to post
Share on other sites

I have used the local_manifest from tilal's github and the repo from a Cm10 tutorial.

0

Share this post


Link to post
Share on other sites

Use the repo as well. Everything is ready for Skate there

0

Share this post


Link to post
Share on other sites

Do you have /device/zte/msm7x27-common?

Also vendor/zte/skate?

Edited by razzmataz1478
0

Share this post


Link to post
Share on other sites

Yes, i have both folders.

post-975481-0-43726500-1353878367_thumb.

post-975481-0-63566900-1353878378_thumb.

0

Share this post


Link to post
Share on other sites

Go in ColdFusionX repo and grab the cm.dependencies file that was deleted from the skate device repo a few days ago. Add it to your repo and try again.

0

Share this post


Link to post
Share on other sites

Now i get this:


[email protected]:~/building/cyanogenmod/jellybean$ lunch cm_skate-userdebug

Looking for dependencies

Traceback (most recent call last):

  File "build/tools/roomservice.py", line 183, in <module>

    fetch_dependencies(repo_path)

  File "build/tools/roomservice.py", line 160, in fetch_dependencies

    dependencies = json.loads(dependencies_file.read())

  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads

    return _default_decoder.decode(s)

  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode

    obj, end = self.scan_once(s, idx)

ValueError: Expecting : delimiter: line 3 column 11 (char 18)

** Don't have a product spec for: 'cm_skate'

** Do you have the right repo manifest?

0

Share this post


Link to post
Share on other sites

With cm.dependencies file?

When it comes up with something like Traceback it means the syntax of a file is wrong.

0

Share this post


Link to post
Share on other sites

Whit this cm.dependencies :


[

{

	 "repository": "zte-kernel-msm7x27",

	 "target_path": "kernel/zte/zte-kernel-msm7x27",

"branch": "jellybean"

},

{

	 "repository": "android_device_zte_msm7x27-common",

	 "target_path": "device/zte/msm7x27-common",

"branch": "jellybean"

},

]

ok, just a come... I will tell you. Thanks!

Edited by dieé
0

Share this post


Link to post
Share on other sites

Just the same.

I get this.


[email protected]:~/building/cyanogenmod/jellybean$ repo sync

... A new repo command ( 1.18) is available.

... You should upgrade soon:

    cp /home/diee/building/cyanogenmod/jellybean/.repo/repo/repo /home/diee/bin/repo

fatal: Couldn't find remote ref refs/heads/jellybean

Fetching projects:  37% (119/321)  fatal: Couldn't find remote ref refs/heads/jellybean

Fetching projects:  89% (286/321)  error: Cannot fetch CyanogenMod/zte-kernel-msm7x27

Fetching projects:  90% (289/321) 

error: Exited sync due to fetch errors

[email protected]:~/building/cyanogenmod/jellybean$  vendor/cm/get-prebuilts

  % Total    % Received % Xferd  Average Speed   Time    Time	 Time  Current

								 Dload  Upload   Total   Spent    Left  Speed

100   142  100   142    0	 0    197	  0 --:--:-- --:--:-- --:--:--   268

100  320k  100  320k    0	 0   199k	  0  0:00:01  0:00:01 --:--:--  549k

Archive:  vendor/cm/proprietary/Term.apk

  inflating: vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so 

[email protected]:~/building/cyanogenmod/jellybean$ export USE_CCACHE=1 CM_EXPERIMENTAL=1 CM_EXTRAVERSION=[yourname]

[email protected]:~/building/cyanogenmod/jellybean$

[email protected]:~/building/cyanogenmod/jellybean$ . build/envsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/armv7-a/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including device/zte/blade2/vendorsetup.sh

including device/zte/skate/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

[email protected]:~/building/cyanogenmod/jellybean$ lunch cm_skate-userdebug

Looking for dependencies

Adding dependencies to manifest

CyanogenMod/android_device_zte_msm7x27-common already exists

Syncing dependencies

... A new repo command ( 1.18) is available.

... You should upgrade soon:

    cp /home/diee/building/cyanogenmod/jellybean/.repo/repo/repo /home/diee/bin/repo

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=cm_skate

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv6-vfp

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.0.0-27-generic-x86_64-with-Ubuntu-11.10-oneiric

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/home/diee/building/cyanogenmod/jellybean/out

============================================

[email protected]:~/building/cyanogenmod/jellybean$ make bacon -j4

make: *** No hay ninguna regla para construir el objetivo «bacon».  Alto.

[email protected]:~/building/cyanogenmod/jellybean$

0

Share this post


Link to post
Share on other sites

Can you translate the make error to English for me? Can't be bothered with Spanish at this time :)

0

Share this post


Link to post
Share on other sites

make: *** There is no rule to build this target «bacon». Stop.

0

Share this post


Link to post
Share on other sites


<remote name="github"

               fetch="https://github.com/" />

Add this to the top of your local manifest and sync again.

0

Share this post


Link to post
Share on other sites

?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote name="github"

fetch="https://github.com/" />

<!-- CM removals -->

<remove-project name="CyanogenMod/android_build" />

<remove-project name="CyanogenMod/android_external_libncurses" />

<remove-project name="CyanogenMod/android_hardware_qcom_media" />

<remove-project name="CyanogenMod/android_frameworks_av" />

<remove-project name="CyanogenMod/android_frameworks_base" />

<remove-project name="CyanogenMod/android_frameworks_native" />

<remove-project name="CyanogenMod/android_vendor_cm" />

<project name="ColdFusionX/android_build" path="build" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_external_libncurses" path="external/libncurses" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_hardware_qcom_media" path="hardware/qcom/media" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_frameworks_av" path="frameworks/av" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_frameworks_base" path="frameworks/base" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_frameworks_native" path="frameworks/native" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_vendor_cm" path="vendor/cm" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_device_zte_skate" path="device/zte/skate" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_device_zte_blade2" path="device/zte/blade2" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_device_zte_msm7x27-common" path="device/zte/msm7x27-common" remote="github" revision="jellybean" />

<project name="ColdFusionX/android_kernel_zte_msm7x27" path="kernel/zte/msm7x27" remote="github" revision="jellybean" />

<project name="ColdFusionX/proprietary_vendor_zte" path="vendor/zte" revision="jellybean" />

</manifest>

This give me errors...

0

Share this post


Link to post
Share on other sites

You were closest when you had your setup on the first post. Revert to that and then do

. build/*.sh

brunch skate

make -j4

And see if it works.

0

Share this post


Link to post
Share on other sites
You were closest when you had your setup on the first post. Revert to that and then do

. build/*.sh

brunch skate

make -j4

And see if it works.

What does brunch do? I guess I could Google it but....

0

Share this post


Link to post
Share on other sites

The same.. this is frustrating


[email protected]:~/building/cyanogenmod/jellybean$ . build/*.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/armv7-a/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including device/zte/blade2/vendorsetup.sh

including device/zte/skate/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

[email protected]:~/building/cyanogenmod/jellybean$ brunch skate

including vendor/cm/vendorsetup.sh

Looking for dependencies

Dependencies file not found, bailing out.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=cm_skate

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv6-vfp

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.0.0-27-generic-x86_64-with-Ubuntu-11.10-oneiric

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/home/diee/building/cyanogenmod/jellybean/out

============================================

make: *** No hay ninguna regla para construir el objetivo «bacon».  Alto.  (make: *** There is no rule to build this target «bacon». Stop.)

[email protected]:~/building/cyanogenmod/jellybean$ make -j4

make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.  (make: *** It wasn't especified any target and didn't found any Makfile. Stop.

[email protected]:~/building/cyanogenmod/jellybean$

0

Share this post


Link to post
Share on other sites

Why don't you have a makefile in the root directory? That's your issue.

0

Share this post


Link to post
Share on other sites

I've only sync with the repository, without root access. I have to create a file or move it?

Sorry for my english xd

0

Share this post


Link to post
Share on other sites
Why don't you have a makefile in the root directory? That's your issue.

It's happening in the blade2 CM10 thread as well. No rule to make target...

0

Share this post


Link to post
Share on other sites

Then, where is my problem? Or the problem isn't my?

0

Share this post


Link to post
Share on other sites

Instead of using brunch try this:

. build/envsetup.sh

lunch (then type the number of your device) and hit enter

make otapackage (bacon is the cm package for otapackage)

Other wise try a fresh repo sync as this fixed my problem when I got the "no rule to make target bacon" error.

0

Share this post


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
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.