[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
Just installed a few minutes ago.
Linux Mint 12 is based on Ubuntu oneiric.
Is there a fast fix for that? :D Want to compile a new build with the new theme manager :D
Thank you for this tool :)
What version do you have installed?
Code:
lithid@UbuntuLaptop:~$ dpkg -s cmcompiler-daily
Package: cmcompiler-daily
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 1065
Maintainer: lithid <long.jeremie@gmail.com>
Architecture: i386
Version: 0.4-0~5~precise1
Depends: python
Description: Cyanogenmod Compiler daily build
 Build cyanogenmod for offically supported devices (daily development builds)
Homepage: http://xdaforums.com/showthread.php?t=1415661
 

[GER]Roxxor

Senior Member
Code:
dpkg -s cmcompiler-daily
Package: cmcompiler-daily
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 1192
Maintainer: lithid <long.jeremie@gmail.com>
Architecture: i386
Version: 0.4-0~5~oneiric1
Depends: python
Description: Cyanogenmod Compiler daily build
 Build cyanogenmod for offically supported devices (daily development builds)
Homepage: http://xdaforums.com/showthread.php?t=1415661
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Code:
dpkg -s cmcompiler-daily
Package: cmcompiler-daily
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 1192
Maintainer: lithid <long.jeremie@gmail.com>
Architecture: i386
Version: 0.4-0~5~oneiric1
Depends: python
Description: Cyanogenmod Compiler daily build
 Build cyanogenmod for offically supported devices (daily development builds)
Homepage: http://xdaforums.com/showthread.php?t=1415661
Damn, must have missed that. Sorry. Fix it like this.

Code:
gksudo gedit /usr/share/cmcompiler/prog/cmcompiler.py
Change line 54 from:
cmd = "/usr/bin/cmc --sync &"
to:
cmd = "/usr/bin/compiler --sync &"
Change line 59 from:
cmd = "/usr/bin/cmc --compile &"
to:
cmd = "/usr/bin/cmcompiler --compile &"
 

jamcar

Senior Member
Aug 11, 2010
1,215
400
Orlando
ok when i type in " repo init " i get

Code:
gpg: keyring `/home/james/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/james/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/james/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Get https://android.googlesource.com/tools/repo
remote: Counting objects: 1529, done
remote: Finding sources: 100% (84/84)
remote: Total 1529 (delta 999), reused 1529 (delta 999)
Receiving objects: 100% (1529/1529), 454.54 KiB | 442 KiB/s, done.
Resolving deltas: 100% (999/999), done.
From https://android.googlesource.com/tools/repo
 * [new branch]      maint      -> origin/maint
 * [new branch]      master     -> origin/master
 * [new branch]      stable     -> origin/stable
 * [new tag]         v1.0       -> v1.0
 * [new tag]         v1.0.1     -> v1.0.1
 * [new tag]         v1.0.2     -> v1.0.2
 * [new tag]         v1.0.3     -> v1.0.3
 * [new tag]         v1.0.4     -> v1.0.4
 * [new tag]         v1.0.5     -> v1.0.5
 * [new tag]         v1.0.6     -> v1.0.6
 * [new tag]         v1.0.7     -> v1.0.7
 * [new tag]         v1.0.8     -> v1.0.8
 * [new tag]         v1.0.9     -> v1.0.9
 * [new tag]         v1.1       -> v1.1
 * [new tag]         v1.2       -> v1.2
 * [new tag]         v1.3       -> v1.3
 * [new tag]         v1.3.1     -> v1.3.1
 * [new tag]         v1.3.2     -> v1.3.2
 * [new tag]         v1.4       -> v1.4
 * [new tag]         v1.4.1     -> v1.4.1
 * [new tag]         v1.4.2     -> v1.4.2
 * [new tag]         v1.4.3     -> v1.4.3
 * [new tag]         v1.4.4     -> v1.4.4
 * [new tag]         v1.5       -> v1.5
 * [new tag]         v1.5.1     -> v1.5.1
 * [new tag]         v1.6       -> v1.6
 * [new tag]         v1.6.1     -> v1.6.1
 * [new tag]         v1.6.10    -> v1.6.10
 * [new tag]         v1.6.10.1  -> v1.6.10.1
 * [new tag]         v1.6.10.2  -> v1.6.10.2
 * [new tag]         v1.6.2     -> v1.6.2
 * [new tag]         v1.6.3     -> v1.6.3
 * [new tag]         v1.6.4     -> v1.6.4
 * [new tag]         v1.6.5     -> v1.6.5
 * [new tag]         v1.6.6     -> v1.6.6
 * [new tag]         v1.6.7     -> v1.6.7
 * [new tag]         v1.6.7.1   -> v1.6.7.1
 * [new tag]         v1.6.7.2   -> v1.6.7.2
 * [new tag]         v1.6.7.3   -> v1.6.7.3
 * [new tag]         v1.6.7.4   -> v1.6.7.4
 * [new tag]         v1.6.7.5   -> v1.6.7.5
 * [new tag]         v1.6.8     -> v1.6.8
 * [new tag]         v1.6.8.1   -> v1.6.8.1
 * [new tag]         v1.6.8.10  -> v1.6.8.10
 * [new tag]         v1.6.8.11  -> v1.6.8.11
 * [new tag]         v1.6.8.2   -> v1.6.8.2
 * [new tag]         v1.6.8.3   -> v1.6.8.3
 * [new tag]         v1.6.8.4   -> v1.6.8.4
 * [new tag]         v1.6.8.5   -> v1.6.8.5
 * [new tag]         v1.6.8.6   -> v1.6.8.6
 * [new tag]         v1.6.8.7   -> v1.6.8.7
 * [new tag]         v1.6.8.8   -> v1.6.8.8
 * [new tag]         v1.6.8.9   -> v1.6.8.9
 * [new tag]         v1.6.9     -> v1.6.9
 * [new tag]         v1.6.9.1   -> v1.6.9.1
 * [new tag]         v1.6.9.2   -> v1.6.9.2
 * [new tag]         v1.6.9.3   -> v1.6.9.3
 * [new tag]         v1.6.9.4   -> v1.6.9.4
 * [new tag]         v1.6.9.5   -> v1.6.9.5
 * [new tag]         v1.6.9.6   -> v1.6.9.6
 * [new tag]         v1.6.9.7   -> v1.6.9.7
 * [new tag]         v1.6.9.8   -> v1.6.9.8
 * [new tag]         v1.7       -> v1.7
 * [new tag]         v1.7.1     -> v1.7.1
 * [new tag]         v1.7.2     -> v1.7.2
 * [new tag]         v1.7.3     -> v1.7.3
 * [new tag]         v1.7.3.1   -> v1.7.3.1
 * [new tag]         v1.7.4     -> v1.7.4
 * [new tag]         v1.7.4.1   -> v1.7.4.1
 * [new tag]         v1.7.4.2   -> v1.7.4.2
 * [new tag]         v1.7.4.3   -> v1.7.4.3
 * [new tag]         v1.7.5     -> v1.7.5
 * [new tag]         v1.7.6     -> v1.7.6
 * [new tag]         v1.7.6.1   -> v1.7.6.1
 * [new tag]         v1.7.7     -> v1.7.7
 * [new tag]         v1.7.7.1   -> v1.7.7.1
 * [new tag]         v1.7.7.2   -> v1.7.7.2
 * [new tag]         v1.7.7.3   -> v1.7.7.3
 * [new tag]         v1.7.7.4   -> v1.7.7.4
 * [new tag]         v1.7.7.5   -> v1.7.7.5
 * [new tag]         v1.7.7.6   -> v1.7.7.6
 * [new tag]         v1.7.8     -> v1.7.8
 * [new tag]         v1.7.8.1   -> v1.7.8.1
 * [new tag]         v1.7.8.2   -> v1.7.8.2
 * [new tag]         v1.8.0     -> v1.8.0
 * [new tag]         v1.8.1     -> v1.8.1
 * [new tag]         v1.8.2     -> v1.8.2
fatal: manifest url (-u) is required.
now what?

---------- Post added at 08:31 PM ---------- Previous post was at 08:28 PM ----------

and i get this when (in CMC CLI) i hit 2 S
Code:
No File Nothing to do.
Traceback (most recent call last):
  File "/home/james/.repo/repo/main.py", line 385, in <module>
    _Main(sys.argv[1:])
  File "/home/james/.repo/repo/main.py", line 365, in _Main
    result = repo._Run(argv) or 0
  File "/home/james/.repo/repo/main.py", line 121, in _Run
    copts, cargs = cmd.OptionParser.parse_args(argv)
  File "/home/james/.repo/repo/command.py", line 44, in OptionParser
    self._Options(self._optparse)
  File "/home/james/.repo/repo/subcmds/sync.py", line 126, in _Options
    self.jobs = self.manifest.default.sync_j
  File "/home/james/.repo/repo/manifest_xml.py", line 228, in default
    self._Load()
  File "/home/james/.repo/repo/manifest_xml.py", line 263, in _Load
    b = m.GetBranch(m.CurrentBranch).merge
  File "/home/james/.repo/repo/project.py", line 557, in CurrentBranch
    b = self.work_git.GetHead()
  File "/home/james/.repo/repo/project.py", line 1909, in GetHead
    fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/home/james/.repo/manifests/.git/HEAD'

Press any key to go back to main menu...
 

[GER]Roxxor

Senior Member
Thank you, worked so far (although you mistyped row 54 ;D)
But now it says Repo script needs setup.
Here my config:
Code:
[Cmc]
device = urushi
theme = Default
branch = ics
repo_path = /home/tim/Android/Repo

Or is it my Git configuration? Do I have to be registered? Where can I change the Git config again?
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Last edited:
  • Like
Reactions: blorro

odysseus84

Senior Member
Dec 19, 2010
520
115
Solothurn
Okey:

repo-sync problem... solved
adb not runnig... solved
Now, the notification says: "error: compile error please check" ...Check what???

59d9a101-5c67-64fd.jpg




Search function didn't help this time.
So what informations do you need to help (or what can I deliver to help you?)

My setting:
Ubuntu 12.04 64bit, using the gui-version of cmcompiler.


Software is not noob-ready, but your on the right way. Thanks man. Thanks very much :)



Edit:

I did read the hole thread... still no clou.
 
Last edited:

tommytomatoe

Inactive Recognized Developer
Dec 13, 2010
6,282
6,800
34
Knoxville USA
This is outstanding lithid!

Been a minute since I checked on you and now you have a gui!

I assume its in python? I'll have to take a look and install tomorrow :)

Great work!

Sent from my PG86100 using Tapatalk 2
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Okey:

repo-sync problem... solved
adb not runnig... solved
Now, the notification says: "error: compile error please check" ...Check what???

Search function didn't help this time.
So what informations do you need to help (or what can I deliver to help you?)

My setting:
Ubuntu 12.04 64bit, using the gui-version of cmcompiler.


Software is not noob-ready, but your on the right way. Thanks man. Thanks very much :)



Edit:

I did read the hole thread... still no clou.
That error simple means there was an error while compiling. If you could, please run the cmcompiler from the terminal to catch any output from the compiling. This should indicate why its failing.

Here is the logic behind that error. Currently I have it set to run a simple shell script for compiling.

http://bazaar.launchpad.net/~long-jeremie/cmcompiler/trunk/view/head:/src/prog/scripts/build-it.sh

That script will check the exit status of the compile command. If that command comes back with anything other then 0 (meaning good), then it simply writes a file called build.failed in the .cmcompiler directory.

The compile function stops, then checks the directory for certain items.

http://bazaar.launchpad.net/~long-jeremie/cmcompiler/trunk/view/head:/src/prog/build.py

lines 47 - 54 are the list of errors that could come forward. You might have even seen some yourself. If your only getting the compile error, then your build is actually failing during the compile process and needs to be looked into.

Please gather the terminal output from running it via the terminal. Thanks!

Software is not noob-ready, but your on the right way. Thanks man. Thanks very much :)
Even noob proof software isn't noob proof. This is also in active development. Many changes are coming that will explain a lot to users who don't know what this stuff is.
 
Last edited:
  • Like
Reactions: odysseus84
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