[CMC-GUI] [DAILY] [PPA] Cyanogenmod Compiler Daily [Depreciated]

Status
Not open for further replies.
Search This thread

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
lithid, I need a file that is preventing me building in CM7.... its a java file BluetoothMasObex.java. It's found in the build directory inside the /packages/apps/Bluetooth/src/com/android/map... the file keeps giving me a build error when compiling CM7. I need soemone with a working build directory to upload me a copy or PM me with a link to said file. I got the CMCompiler working, works great until my build error (lol).
Thanks in advance
-Mike

sent from my ASUS Transformer running 8.6.5.21 using Tapatalk
Download it from github.com/cyanogenmod

Sent from my SGH-I777 using xda premium
 

sgt. meow

Senior Member
Dec 21, 2011
4,423
2,973
25
Dhaka
hey lithid can i use this to compile roms for my x8? if so how cause i am a total noob when it comes to ubuntu...LOL. but i am willing to learn. any help is greatly appreciated.

P.S. i AM a total noob so a guide would also be helpful
thanks in advance....:confused::confused:
 

flamingblue8z

Senior Member
Jun 1, 2007
177
36
Pittsburgh
Lithid, I still can't seem to get the AOSP plugin to compile. I did a complete reinstall of my Linux VM, reinstalled all the tools you've listed for 64 and both 32/64, as well as all the tools listed by the official Android source site, and it just doesn't want to compile. I get an error saying to check my ~/.cmcrc for an invalid configuration (or something like that). I set up the repo, I sync'd it properly, and just like when I tried compiling while selecting LGE/P999 (after using the unsupported device plugin), selecting samsung/crespo comes up with that error before it even tries to do anything. I did update CMC to the latest possible version, but still no good. In fact now, it says under "Repos" that I have NONE. Odd...
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Lithid, I still can't seem to get the AOSP plugin to compile. I did a complete reinstall of my Linux VM, reinstalled all the tools you've listed for 64 and both 32/64, as well as all the tools listed by the official Android source site, and it just doesn't want to compile. I get an error saying to check my ~/.cmcrc for an invalid configuration (or something like that). I set up the repo, I sync'd it properly, and just like when I tried compiling while selecting LGE/P999 (after using the unsupported device plugin), selecting samsung/crespo comes up with that error before it even tries to do anything. I did update CMC to the latest possible version, but still no good. In fact now, it says under "Repos" that I have NONE. Odd...
Without actual errors I really don't know. What does the .cmc/cmc-config look like?

Sent from my SGH-I777 using xda premium
 

flamingblue8z

Senior Member
Jun 1, 2007
177
36
Pittsburgh
Without actual errors I really don't know. What does the .cmc/cmc-config look like?

Sent from my SGH-I777 using xda premium

My apologies... I booted up the VM again, now it's recognizing the Repo (odd...)

This is the error:

There appears to be an issue with your configuration.
Please look at /home/matt/.cmc/cmc-config.

And keep in mind, I am just using the Nexus S as a test scenario to see if I can even get it to compile with the files already available in AOSP.

Here's the cmc-config:

REPO: /home/matt/Development/AOSP
BRANCH: gingerbread
DEVICE_MAN: samsung
DEVICE_MOD: crespo
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
My apologies... I booted up the VM again, now it's recognizing the Repo (odd...)

This is the error:

There appears to be an issue with your configuration.
Please look at /home/matt/.cmc/cmc-config.

And keep in mind, I am just using the Nexus S as a test scenario to see if I can even get it to compile with the files already available in AOSP.

Here's the cmc-config:

REPO: /home/matt/Development/AOSP
BRANCH: gingerbread
DEVICE_MAN: samsung
DEVICE_MOD: crespo
I think its the first if in the compile aosp function. Put a ! In front of the -z like "! -z" let me know if that works.

Sent from my SGH-I777 using xda premium
 

johnwayne007

Senior Member
Nov 25, 2008
336
209
127.0.0.1
Samsung Galaxy S22 Ultra
I try to compile ICS for HTC Inspire, and keep getting this error. Am I missing a Step in the process or some files, i downloaded the Android SDK for android 4.0 and 4.0.3 and also the android SDK tools.

Invalid lunch combo: generate-blob-scripts.sh
No such item in brunch menu. Try 'breakfast'
There was an error while building.
Do you want to try again? (Y/n)>


Using Ubuntu 10.10

./cmcrc
-------

REPO: y
BRANCH: ics
 
Last edited:

flamingblue8z

Senior Member
Jun 1, 2007
177
36
Pittsburgh
I think its the first if in the compile aosp function. Put a ! In front of the -z like "! -z" let me know if that works.

Sent from my SGH-I777 using xda premium

That was it. Sorry, my original post, where I put the ! right next to the [ was my error, I forgot the space between the two.

Just had this little UI weirdness show up while using the unsupported device plugin, in case you are trying to squash little UI bugs.

Your device is now located \e[1;32m/home/matt/Development/AOSP/device/lge/p999\e[0m
You should be able to go and assign this manufacturer/model from
the \e[1;32mmain menu!\e[0m
Press any key to go back to main menu...




---------- Post added at 02:17 PM ---------- Previous post was at 02:09 PM ----------

I try to compile ICS for HTC Inspire, and keep getting this error. Am I missing a Step in the process or some files, i downloaded the Android SDK for android 4.0 and 4.0.3 and also the android SDK tools.

Invalid lunch combo: generate-blob-scripts.sh
No such item in brunch menu. Try 'breakfast'
There was an error while building.
Do you want to try again? (Y/n)>


Using Ubuntu 10.10

./cmcrc
-------

REPO: y
BRANCH: ics

Just the SDK & SDK tools isn't enough. Assuming you've installed the tools mentioned in the second post, and you're on 64-bit Ubuntu (according to the Android source documentation, ICS requires 64-bit), then you're choosing something wrong. Are you trying to compile CM9 or AOSP ICS?
 
Last edited:

johnwayne007

Senior Member
Nov 25, 2008
336
209
127.0.0.1
Samsung Galaxy S22 Ultra
---------- Post added at 02:17 PM ---------- Previous post was at 02:09 PM ----------



Just the SDK & SDK tools isn't enough. Assuming you've installed the tools mentioned in the second post, and you're on 64-bit Ubuntu (according to the Android source documentation, ICS requires 64-bit), then you're choosing something wrong. Are you trying to compile CM9 or AOSP ICS?


Oh I didnt know i needed 64bit Ubuntu, i got it redownloaded and am in the process of getting the tools and stuff re-downloaded and installed. I'll give it another try later tonight or tomorrow. I'll be compiling CM9 at least to start with.
 

colonel_panic

Senior Member
Oct 22, 2011
64
16
Paso Robles, CA
Hmm...SBF'd back to stock GB on my DX to get all the prop files, still a couple missing.....got farther on the build, but it still choked on one of the missing prop files. What to do?
 

GJSmith3rd

Senior Member
May 6, 2008
429
54
Chicago
OnePlus 8
Distcc - Distributed Compiler Support

Any plans to incorporate distributed compilers like Distcc? Is this something that can be done outside of and in combination with CMC?

I created a build of CyanogenMod 7 following the instructions on aorth's blog but the first build time took 4.5 hours with my hardware. This has proved to be somewhat discouraging and I haven't attempted to build since.

Distcc built in support could be very helpful for those of us with older hardware, unbearable build times and spare 64 bit boxes lying around.
 

bassgoonist

Senior Member
Feb 15, 2011
52
3
Can anyone help me with this error during compiling? I've done this with 2 other people on their computers, and for some reason when I go to do it for myself it breaks...I'm certainly not a complete noob when it comes to linux...


target SharedLib: libc (out/target/product/supersonic/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
frameworks/base/core/res/res/values-el/strings.xml:434: error: Error parsing XML: not well-formed (invalid token)
make: *** [out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Note: sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
There was an error while building.
 

ak_hepcat

Senior Member
Dec 8, 2008
53
9
Anchorage
Any plans to incorporate distributed compilers like Distcc? Is this something that can be done outside of and in combination with CMC?

I created a build of CyanogenMod 7 following the instructions on aorth's blog but the first build time took 4.5 hours with my hardware. This has proved to be somewhat discouraging and I haven't attempted to build since.

Distcc built in support could be very helpful for those of us with older hardware, unbearable build times and spare 64 bit boxes lying around.

I used the "remote" features of ADB to build on a separate box.

as long as the build box can talk to the phone over wireless, you can use ADB to connect via the network instead of via USB.

See my previous post on doing exactly this.
 
  • Like
Reactions: GJSmith3rd

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Can anyone help me with this error during compiling? I've done this with 2 other people on their computers, and for some reason when I go to do it for myself it breaks...I'm certainly not a complete noob when it comes to linux...


target SharedLib: libc (out/target/product/supersonic/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
frameworks/base/core/res/res/values-el/strings.xml:434: error: Error parsing XML: not well-formed (invalid token)
make: *** [out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Note: sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
There was an error while building.
Cool. Seems like a bad XML format

Sent from my SGH-I777 using xda premium
 

ak_hepcat

Senior Member
Dec 8, 2008
53
9
Anchorage
Can anyone help me with this error during compiling? I've done this with 2 other people on their computers, and for some reason when I go to do it for myself it breaks...I'm certainly not a complete noob when it comes to linux...


target SharedLib: libc (out/target/product/supersonic/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
frameworks/base/core/res/res/values-el/strings.xml:434: error: Error parsing XML: not well-formed (invalid token)
make: *** [out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Note: sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
There was an error while building.

Do you have a different version of java installed on that box than on the other two?
 

bassgoonist

Senior Member
Feb 15, 2011
52
3
Do you have a different version of java installed on that box than on the other two?
I have several versions of the jdk install. open jdk6 and 7, and sun jdk6. I may not have installed them in the same order...

---------- Post added at 12:02 PM ---------- Previous post was at 12:00 PM ----------

Cool. Seems like a bad XML format

Sent from my SGH-I777 using xda premium
Is that supposed to mean something to me? :confused::)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 275
    Cyanogenmod Compiler (CMC) GUI
    Build cyanogenmod with a gui.

    1ZFWd.png


    Known issues:
    - Currently no multi-threading, which means when you press sync or compile, there is no loading bar (app looks like its failing, its not.). I am working on that.
    (If you want to watch the output of the sync or compile, just open a terminal and type "cmc", I log all to the system.)
    - When locking the CMCompiler to the unity launcher you have to logout and log back in refer: ubuntu bug 916098
    - Currently there isn't great error logic and dialogs to warn you about everything. Something that is still being working on. Just run from the terminal if you have an issue that you need to report.
    - Missing make clean and make installclean. These will be added in the future.

    Found bugs to fix v0.1:
    - No "/" at the end of custom repo string path.
    - Error checking for compile start


    *Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.

    Please read:
    I have thought maybe times different ways I was going to go about this. Ads, donate version, paid app, etc. I choose to keep the project open, as that's how I roll. I do ask that if you enjoy the application that you try to donate something. This was my first gui project and took a lot of time and effort to even get it to where it is right now. I hope everyone enjoys the app as much as I enjoy working on it.

    Install:
    Note: If you are using the old ppa then look at post # 2 on how to remove it before adding this.
    Code:
    sudo apt-add-repository ppa:lithid/ppa
    sudo apt-get update

    Install daily dev builds:

    Code:
    sudo apt-get install cmcompiler-daily

    Install beta builds:

    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler-beta
    Install stable builds:
    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler
    Note: You cannot have daily and stable at the same time. You can only use either or.

    Source code | Bugs | Answers
    Build info:
    daily-builds

    Enjoy some signatures from SavocaFTW:

    Cq1ed.jpg


    IjnVz.jpg


    121EB.jpg


    You can follow me on google+ I tend to talk about it a bit on there as well.
    68
    Cyanogenmod Compiler (CMCompiler) HALP!

    Error Codes:
    Error: Need to sync first - After choosing compile, the program didn't find the needed .repo folder in your repo path. This assumes you never ran sync, so you never downloaded the code. You could have also renamed the .repo folder to something else, which would cause this error as well.
    Error: device not found - Your device was not found in the repo, might be unsupported.
    Error: Adb isn't running - First time running compile, you will need to have your phone connected and ADB running in order to pull off needed files from your phone.
    Error: Extract-files came back False - This means a script called extract-files.sh failed to pull off those needed files from your phone.
    Error: Compile error please check - This indicates that your build failed. You will need to run cmcompiler via terminal to get why.
    Error: Repo Script needs setup - You don't have the repo script installed. Install it.
    Code:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/repo
    chmod a+x ~/repo
    sudo mv ~/repo /usr/local/bin/repo
    Error: No device configured - Appears there is no device configured, just select one from the setup menu.

    Removing old ppa:
    Code:
    sudo apt-get remove cmcompiler-daily
    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:long-jeremie/ppa
    About Cmcompiler CLI
    ** If you are still using the CLI version, I have not updated it in sometime. I might get back to that but for right now the gui is my main focus. Please understand. You could always clone and make edits to the CLI here
    9
    for anyone still following, some big things are about to happen to cmc.

    https://plus.google.com/photos/103024643047948973176/albums/5731412329610445089
    7
    I know I haven't been updating the github code in a few days but that is because I have been working on a pretty decent update.

    2in8t.png


    Instead of the one interface and items branched off, this will be one unified Cyanogenmod Compiler. Each page will explain what the option is that you are choosing. If there are commands, it will show you them, this new update will actually teach you how to compile a rom without a gui, just by following the steps. This isn't just a walk through. It will be just like the old "setup" dialog I had, except with more information. I really hope you guys will enjoy the new update coming in the next few days.

    Thank you.
    6
    I have released the Beta v0.1 of the CMC GUI. Please be gentle if you run into issues. Been trying very hard to test everything I can.

    Thanks!

    READ THE OP