• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Compiling Cyanogenmod 10 Problem

25 posts in this topic

Posted (edited)

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


diee@q:~$ cd ~/building/cyanogenmod/jellybean

diee@q:~/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

diee@q:~/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

diee@q:~/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

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

diee@q:~/building/cyanogenmod/jellybean$ make -j4 bacon

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

diee@q:~/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

Posted

Just to check, what repo are you using?

0

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

0

Share this post


Link to post
Share on other sites

Posted (edited)

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

Posted

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

Posted

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

Posted

Now i get this:


diee@q:~/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

Posted

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

Posted (edited)

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

Posted

Just the same.

I get this.


diee@q:~/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

diee@q:~/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 

diee@q:~/building/cyanogenmod/jellybean$ export USE_CCACHE=1 CM_EXPERIMENTAL=1 CM_EXTRAVERSION=[yourname]

diee@q:~/building/cyanogenmod/jellybean$

diee@q:~/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

diee@q:~/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

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

diee@q:~/building/cyanogenmod/jellybean$ make bacon -j4

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

diee@q:~/building/cyanogenmod/jellybean$

0

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

0

Share this post


Link to post
Share on other sites

Posted


<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

Posted

?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

Posted

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

Posted

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

Posted

The same.. this is frustrating


diee@q:~/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

diee@q:~/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.)

diee@q:~/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.

diee@q:~/building/cyanogenmod/jellybean$

0

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

Posted

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

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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-2015. MoDaCo uses IntelliTxt technology.