Jump to content


Photo

Compiling Cyanogenmod 10 Problem

- - - - -

  • Please log in to reply
24 replies to this topic

#1
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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é, 25 November 2012 - 07:58 PM.

  • 0

#2
utternoob

utternoob

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,660 posts
  • Gender:Male
  • Location:Chatham
  • Interests:Laughing at chavs, Formula 1, Football and general technology
  • Devices:Skate, OSD, GT-P1010
  • Twitter:@terrymalyon2
Just to check, what repo are you using?

  • 0
ALL GLORY TO THE HYPNOTOAD

I may not know a lot, but there are others that do. If you have a problem, just ask

Sent with magic :)

#3
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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

#4
utternoob

utternoob

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,660 posts
  • Gender:Male
  • Location:Chatham
  • Interests:Laughing at chavs, Formula 1, Football and general technology
  • Devices:Skate, OSD, GT-P1010
  • Twitter:@terrymalyon2
Use the one in the CFX2 thread if you want to build CM10

  • 0
ALL GLORY TO THE HYPNOTOAD

I may not know a lot, but there are others that do. If you have a problem, just ask

Sent with magic :)

#5
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
I have used the local_manifest from tilal's github and the repo from a Cm10 tutorial.

  • 0

#6
utternoob

utternoob

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,660 posts
  • Gender:Male
  • Location:Chatham
  • Interests:Laughing at chavs, Formula 1, Football and general technology
  • Devices:Skate, OSD, GT-P1010
  • Twitter:@terrymalyon2
Use the repo as well. Everything is ready for Skate there

  • 0
ALL GLORY TO THE HYPNOTOAD

I may not know a lot, but there are others that do. If you have a problem, just ask

Sent with magic :)

#7
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
Do you have /device/zte/msm7x27-common?
Also vendor/zte/skate?

Edited by razzmataz1478, 25 November 2012 - 09:15 PM.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#8
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
Yes, i have both folders.

Attached Files


  • 0

#9
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
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

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#10
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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

#11
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
With cm.dependencies file?

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

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#12
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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é, 25 November 2012 - 09:58 PM.

  • 0

#13
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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

#14
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
Can you translate the make error to English for me? Can't be bothered with Spanish at this time :)

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#15
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
make: *** There is no rule to build this target «bacon». Stop.

  • 0

#16
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
<remote name="github"
               fetch="https://github.com/" />

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

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#17
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
?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

#18
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
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
If you like my work or if I helped, click the Plus button.

#19
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

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

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#20
dieé

dieé

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Valencia (Spain)
  • Devices:ZTE SKATE
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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users