while getting the source i get this error - Android

hi
while i followed the instruction here and i entered this code :
Code:
[email protected]:~/gingerbread$ repo init -u git://android.git.kernel.org/platform/manifest.git
and i get this error i don know whats this?
http://pastebin.com/2zfMzqYP
thanks.

Do you have git installed on your computer? The error you're getting could be because it is not installed. Make sure you've followed the initializing instructions for linux/mac.

i didnt .?

Then it might be a good idea to get git.

how??
thanks.

Related

[Q] Jenkins Data Format has changed (incompatible)

Hi all XDA members,
I have been installing the Ubuntu Phone daily updates since it started but today I got a message that I have never got before:
Device detected as grouper
Storage requirements in /data satisfied
Download set to http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current
Starting new HTTP connection (1): cdimage.ubuntu.com
--Jenkins data format has changed, incompatible--
The Jenkins bit is new to me. I am unsure how to proceed updating to the new release. Has anyone else installed the daily update today and/or knows why this error may occur and how to get it to update??
Any help appreciated as I want to continue my development on the latest install.
I will manually try and download the files and see if that helps, I will post the result once I know whether it works or not
Okay, it works when you download the images from the repo and save them in a folder.
Then open a Terminal and type:
sudo phablet-flash -b -p='/home/elvito/Downloads/phablet' -> replace path to the folder the images are stored in.
The above will do a full bootstrap however if you dont want this just remove the -b bit of the above.
I have notice tho that this error is not fixed by doing this but it helps you to install the latest image. Maybe Ubuntu are updating the repo and thats why this error comes... Fashing to the original 95 still works so I think its something that will sort itself out.
elgunvo said:
Okay, it works when you download the images from the repo and save them in a folder.
Then open a Terminal and type:
sudo phablet-flash -b -p='/home/elvito/Downloads/phablet' -> replace path to the folder the images are stored in.
The above will do a full bootstrap however if you dont want this just remove the -b bit of the above.
I have notice tho that this error is not fixed by doing this but it helps you to install the latest image. Maybe Ubuntu are updating the repo and thats why this error comes... Fashing to the original 95 still works so I think its something that will sort itself out.
Click to expand...
Click to collapse
This will fix the error locally:
https://bugs.launchpad.net/phablet-tools/+bug/1154595
You need to be super user to edit the file though.
sudo gedit /usr/bin/phablet-flash
You can probably also just wait for them to update phablet-tools with the fix.
Thanks for the info. At least it is a bug and nothing I did to corrupt my Ubuntu installation

[Q] 2 questions i cant seem to find the answer to (EDIT- I have another one)

Im building cyanogenmod 11 for the htc dna, this is my first attemt into building my own rom however I seemed unable to get a bootable zip until now.
I captured a screen.log to scan for any errors later (NO clue what im looking for in here)
So I searched the log for "waiting for unfinished jobs" because this is always what seems to happen to me and this time i was ready to find the errors. Well lucky for me every job finished so what I am wondering is does this mean that my build compiled correctly even though i have warnings like crazy in the 140000+ lines of the screen.log
as for the second question. Is there any easier eay to scan a screen.log for where the build errors are or do i just have to run through all the line blind because im not exactly sure what to look for yet (one day i plane to have more of an understanding this is just early in my rom building career.)
EDIT~!~!~!~!~!~!~
Okay new problem. When i originally synced my repo to cm11 i was on python 2.7.4 and thats how i tried the first build on this ubuntu and it failed. I updated to python 2.7.6 because every time i grabbed 2.7.5 i kept getting unsuspected End Of File errors. So I installed 2.7.6 with (sudo make install) instead of (sudo make altinstall) like some guides read (This is because when i used altinstall brunch always gets to waiting for unfinished jobs.)
What i was getting at was now that im on python 2.7.6 when i try to initialize another repo to another folder I receive this error.
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https
Click to expand...
Click to collapse
However I can repo sync my cm11 repo still just can not initialize a new repo to another directory
Any help is appreciated
hipsh0t said:
Im building cyanogenmod 11 for the htc dna, this is my first attemt into building my own rom however I seemed unable to get a bootable zip until now.
I captured a screen.log to scan for any errors later (NO clue what im looking for in here)
So I searched the log for "waiting for unfinished jobs" because this is always what seems to happen to me and this time i was ready to find the errors. Well lucky for me every job finished so what I am wondering is does this mean that my build compiled correctly even though i have warnings like crazy in the 140000+ lines of the screen.log
as for the second question. Is there any easier eay to scan a screen.log for where the build errors are or do i just have to run through all the line blind because im not exactly sure what to look for yet (one day i plane to have more of an understanding this is just early in my rom building career.)
Click to expand...
Click to collapse
There are a ton of warnings, one error (failing to build modules, which you can ignore). The last thing printed is the path to the zip. If it printed that, the build completed successfully.
To find the errors, try searching from the end for Error (capital E).
@crpalmer
Yea I just found the zip its booting as we speak.
Thanks
So excited this is finally working I been messing with Ubuntu for like 2 weeks
hipsh0t said:
Okay new problem. When i originally synced my repo to cm11 i was on python 2.7.4 and thats how i tried the first build on this ubuntu and it failed. I updated to python 2.7.6 because every time i grabbed 2.7.5 i kept getting unsuspected End Of File errors. So I installed 2.7.6 with (sudo make install) instead of (sudo make altinstall) like some guides read (This is because when i used altinstall brunch always gets to waiting for unfinished jobs.)
What i was getting at was now that im on python 2.7.6 when i try to initialize another repo to another folder I receive this error.
However I can repo sync my cm11 repo still just can not initialize a new repo to another directory
Click to expand...
Click to collapse
I'm not expert so crpalmer or someone may be able to tell you more directly. But here is a few things:
Did you install SSL for python?
Code:
$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
$ sudo apt-get install libssl-dev
Try reinstalling Python. I installed it the simple way and its working fine for my builds.
Code:
$ sudo apt-get install python
What repo were you trying to initialize?
tes4p00ner said:
I'm not expert so crpalmer or someone may be able to tell you more directly. But here is a few things:
Did you install SSL for python?
Code:
$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
$ sudo apt-get install libssl-dev
Try reinstalling Python. I installed it the simple way and its working fine for my builds.
Code:
$ sudo apt-get install python
What repo were you trying to initialize?
Click to expand...
Click to collapse
It was every repo and I tried the normal way I must have started from a fresh Ubuntu install once every few days figuring out where I went wrong. I'm going to check on the ssl for Python. So far this is the furthest I've made it. One built cm11 rom and I'm only learning more every day I research
EDIT------------
[email protected]:~$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
[sudo] password for jk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0.1-4ubuntu5.3' for 'libssl1.0.0' was not found
Click to expand...
Click to collapse
Im trying to make sure my precise repos are in place for apt-get however im still getting this message.

[Q] i need a hand building from source please.

Hello guys, first of all let me clarify that im a noob, but what the hell. i decided making my first steps into android development,
so i decided first of all i ll try make a build of my favorite rom (pacman rom) from their source.
im following this guide : http://opensourcegangster.com/blog/...d-your-own-cyanogenmod-custom-rom-from-source
and the videoguide related to it : http://www.youtube.com/watch?v=GAyxypK7_K8
but obviously replacing the cyanogenmod github used in the guide by pacman's github.
well lets get started, i set up a virtual machine using virtual box and ubuntu, and i got till step 5 without issues.
its repo sync time, i initiallise the repo, start repo sync, and here is the first problem i encountered.
at 32% more or less, i starting getting errors(couldnt resolve host,url return error 403,could fetch something) finally after a few minutes the repo sync ends with the message " stop sync due to fetching errors". looking up on the internet i found a way to solve this.instead of using repo sync. i had used repo sync -f . this makes the repo continues syncing although fetch errors.with this modification repo sync finish correctly
the first question is: is this well done or my source ll be incomplete because of those thing it couldnt fetch?.in case its not well done what should i do?.
once i solved this doubt i ll continue explaining other problems i had after this one.
thanks a lot guys

Error while syncing CM11 source code

The screenshot is attached! Got this error after the download was complete!
Syncing work tree: 58% (268/462) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
Anyone has any idea what can be wrong? Or any solution?
shahrukhqasim said:
The screenshot is attached! Got this error after the download was complete!
Syncing work tree: 58% (268/462) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
Anyone has any idea what can be wrong? Or any solution?
Click to expand...
Click to collapse
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
matt4321 said:
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
Click to expand...
Click to collapse
I have tried that too -f gives some other error in fetching some project. I have deleted everything and restarted. I hope error will disappear. Its so huge download anyway. And yes, its my first time trying to get code. Wanted to start development.
shahrukhqasim said:
I have tried that too -f gives some other error in fetching some project. I have deleted everything and restarted. I hope error will disappear. Its so huge download anyway. And yes, its my first time trying to get code. Wanted to start development.
Click to expand...
Click to collapse
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
matt4321 said:
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
Click to expand...
Click to collapse
Here in our country, internet connection is slow. It took like 3 days last time to sync all the code. I am doing it again. I'll keep in touch! I am very much hopeful I won't run into any problems this time. Thanks!
matt4321 said:
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
Click to expand...
Click to collapse
Found the issue. It had something to do with the file system. Some error occurred. A directory was not accessible neither could delete nor read. I checked the file system from windows. It was actually an NTFS drive. I mount it on Ubuntu. Then I was able to delete it and now started from scratch.
I wanted to ask if it is OK to use NTFS file system? Or it might cause some issues like if file names become very long or any other issue?
matt4321 said:
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
Click to expand...
Click to collapse
how can i resolve this
Syncing work tree: 59% (277/469) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
repo init also not working how can resolve this

LineageOS breakfast error

I'm trying to breakfast my device but I'm getting "don't have product spec for lineage_devicename" try adding it to room service.xml and I did it in .repo/local manifests/roomservice.xml but still I getting that error. I tried removing the files and syncing the repo again. Thanks in advance.

Categories

Resources