yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] lbxmobbin_1:
error

getting this error any help in fixing this will be appreciated

Gyp action: third_party_WebKit_Source_core_core_generated_gyp_make_core_generated_target_HTMLElementLookupTrie (out/target/product/shamu/obj/GYP/shared_intermediates/blink/core/HTMLElementLookupTrie.cpp)

mkdir -p /home/lbxmobbin/AOSP/out/target/product/shamu/obj/GYP/shared_intermediates/blink/core; cd external/chromium_org/third_party/WebKit/Source/core; python ../build/scripts/rule_bison.py css/parser/CSSGrammar.y "/home/lbxmobbin/AOSP/out/target/product/shamu/obj/GYP/shared_intermediates/blink/core" bison

Traceback (most recent call last):

File "../build/scripts/rule_bison.py", line 82, in <module>

returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])

File "/usr/lib/python2.7/subprocess.py", line 493, in call

return Popen(*popenargs, **kwargs).wait()

File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

make: *** [out/target/product/shamu/obj/GYP/shared_intermediates/blink/core/CSSGrammar.cpp] Error 1

#### make failed to build some targets (02:53:17 (hh:mm:ss)) ####
[Nexus 6  General] mmcneil:
[MENTION=5526655]fhem[/MENTION], [MENTION=1050103]sykopompos[/MENTION]

I'd like to use the vendor folders from sykopompos as well; I've changed the directory to match my rom, ie. vendor/myrom, and I've changed all references in the .mk files to reflect that. When I attempted to build, the first error I got was that common.mk was missing from the products folder. I created a symlink from configs/common.mk into the products folder. My build was able to complete. After flashing the rom, I couldnt get past the "Checking connection" phase of the initial setup. I didnt have this issue prior to pulling the folders. When I remove the folders, the problem goes away. Am I missing something? Thanks to you both.

Mike
[Nexus 6  General] sykopompos:
Just reboot and it will let you connect through
[Nexus 6  General] mmcneil:
[MENTION=1050103]sykopompos[/MENTION], thanks for the quick reply. If you don't mind me asking, what causes this problem? I don't have this issue when flashing ROM's from other developers. Just trying to learn ;)

Thanks again!

Mike
[Nexus 6  General] sykopompos:
I've seen it across all Roms, the google apps are funky on 5.1 in general and it is like they have a hard time with the server (I noticed if I remove the backup fix, they go through no problem though)
[Nexus 6  General] mmcneil:
[MENTION=1050103]sykopompos[/MENTION]; thanks again. Two more dumb questions and I'm done for the day:

1. What is the "backup fix" you are referring to?

2. There's nothing left me to do do in order to use the rom vendor folders I pulled from The-Ancile-Project/vendor_frank ? Should be pretty much plug-n-play, minus a few adjustments, correct?

Mike
[Nexus 6  General] sykopompos:
Backup and restore. You will see it in vendor overlay and that is the google apps backup and restore.

Pretty much plug and play after that
[Nexus 6  General] fhem:
this i think LOL https://github.com/fwhem/platform_v...ages/SettingsProvider/res/values/defaults.xml

Im still fixing mine I got something strange going on. I may need to ask sykopompos for help if i can't figure it out
[Nexus 6  General] sykopompos:
So that means I should run away and hide, right?
[Nexus 6  General] fhem:
LMAO You can run but please don't hide!!!!!! hahaha
[Nexus 6  General] lbxmobbin_1:
Finally finish building my first AOSP using Ubuntu 12.04

Thanks [MENTION=426561]scrosler[/MENTION] for your guide and for helping me out now to customize it
[Nexus 6  General] mmcneil:
[MENTION=2736147]lbxmobbin_1[/MENTION]; congrats on your first build.

Mike
[Nexus 6  General] lbxmobbin_1:
Thanks and I've done builds and Roms before but never messed with aosp myself but got the hang of it
[Nexus 6  General] fhem:
Got mine fixed finally. I am so stupid LOL. I am only building N6 and N9 for my own use if interested here -> https://github.com/fwhem/platform_manifest

Includes busybox, supersu, and adaway thanks [MENTION=631273]Chainfire[/MENTION], [MENTION=3667193]GROGG88[/MENTION], [MENTION=426561]scrosler[/MENTION] & [MENTION=1050103]sykopompos[/MENTION]

Hey syko - I still need some help. I included all this stuff https://github.com/fwhem/platform_vendor_noobbuilds/tree/NOOBBUILDS/prebuilts/common/system but I'm really not sure what I got . LOL eg> 50-simpleaosp.sh and the bin dir stuff.
[Nexus 6  General] sykopompos:
That's for backup tool for the googley apps. You need matching commits for it in system/core and build for it to work
[Nexus 6  General] fhem:
thanks I'll probably just drop those for now. BTW I liked the way you moved all the fingerprints to common.mk ------ Not lazy very smart :D:good:
[Nexus 6  General] sykopompos:
I got tired of updating them one by one. I'll eventually move them into their own make file to clean it up some more
[Nexus 6  General] mmcneil:
[MENTION=1050103]sykopompos[/MENTION], I'm looking to integrate RRO v2 into my builds, Matt (DespairFactor) told me I should hit you up about finding the necessary commits. Would you mind helping me out? I'll be pretty much ready for release once I have that working.

Thanks,

Mike
[Nexus 6  General] fhem:
[MENTION=1623684]mmcneil[/MENTION] These are the ones i was using with 5.0.2_r1 and had working . I think these are all the primary ones. I am having trouble resolving the merge conflicts on 5.1 but I will get it LOL

https://github.com/fwhem/platform_frameworks_base1/commits/RRO

https://github.com/fwhem/platform_packages_apps_Settings/commits/RRO

https://github.com/fwhem/platform_packages_apps_Contacts/commits/RRO

https://github.com/fwhem/platform_packages_apps_ContactsCommon/commits/RRO

https://github.com/fwhem/platform_packages_apps_Dialer/commits/RRO

https://github.com/fwhem/platform_packages_apps_InCallUI/commits/RRO

[MENTION=1050103]sykopompos[/MENTION] I know there are more Type 2 commits but not sure what is needed and what works on pure aosp rom w/o including other commits.
[Nexus 6  General] sykopompos:
Damn Matt passing off to me ?

You can just update the prebuilt kernel in source (remember case sensitive and need to be named the same thing as the prebuilt kernel) and then merge in your changes in the device tree
[Nexus 6  General] sykopompos:
That looks about right for 5.1
[Nexus 6  General] mmcneil:
[MENTION=5526655]fhem[/MENTION], Thanks for this!!! One thing I noticed is that you seemed to have reverted all of the RRO related commits. Is there a particular reason for that? Will the initial commits work for RRO 2?

[MENTION=1050103]sykopompos[/MENTION], Thanks for always providing support bro.

Mike
[Nexus 6  General] sykopompos:
Sorry, I was busy earlier so I didn't get to look through them. Chroma-aosp has the updated rro commits along with the ancile project (my personal repo for Frank) to cherry pick the merge conflicts for 5.1
[Nexus 6  General] mmcneil:
Thanks syko, I appreciate it. I was able to find them all in the ancile project :good: I also wanted to let you know that I did this:

<?xml version="1.0" encoding="utf-8"?>

<resources>

<!-- <bool name="def_backup_enabled">true</bool>

<string name="def_backup_transport">com.google.android.backup/.BackupTransportService</string> -->

</resources>

to vendor/outqast/overlays/common/frameworks/base/packages/SettingsProvider/res/values/default.xml , but it didn't have any effect on the "checking connection status" lag at the initial setup of the ROM ;) Rebooting, as you said earlier, does resolve the problem but I'm hoping to find a more "permanent" solution lol. If you, or anyone else, can think of anything , please let me know. [MENTION=1050103]sykopompos[/MENTION] and [MENTION=5526655]fhem[/MENTION], thanks for all of your help.

Mike
[Nexus 6  General] sykopompos:
I've been trying to find a fix for that for awhile now
[Nexus 6  General] mmcneil:
I'll keep digging. Regarding RRO, do I need to add the RRO v1 commits then add the RRO v2 commits after?

Thanks,

Mike
[Nexus 6  General] sykopompos:
Yes. The rro type 1 stuff is the official fixes to rro from Sony, the type 2 stuff is additional on top of rro for layers
[Nexus 6  General] mmcneil:
Thanks syko.

Mike
[Nexus 6  General] fhem:
The Type 1 were ok but I had issues resolving the merge commits on the type 2 (I'm still learning that art hahaha). So I just reverted all the Type 2 until I got a chance to look at them more closely. Now thanks to [MENTION=1050103]sykopompos[/MENTION] we got some clean cherry-picks to use. Hard reset and cherry-pick ------ no one will ever see my dumbness..........:o:D:angel:
[Nexus 6  General] fhem:
Ok I really am old noob and I can't figure this out.......... for the type 2 commits both chroma and frank add chroma_colors.xml's rather then edit the stock colors.xml. Why is this done vs just editing the stock? I'm trying to learn. :confused::confused::good:
[Nexus 6  General] lbxmobbin_1:
Hey I have a problem if anyone can help out well I built my own aosp from source and everythings working so far except when I make a call I can't hear anything unless I put it in speaker mode but if its off speaker mode I can't hear anything thru the top so any help will be appreciated to fix this thanks
[Nexus 6  General] fhem:
If you are using the Nexus vendor binaries they are incomplete you may want to try these they worked for me https://github.com/Chroma-Aosp/vendor_moto_shamu
[Nexus 6  General] lbxmobbin_1:
Thanks will try that next I'm building fresh build with vendor files from rascorlo if that doesn't work will definetlt try those again thanks for you help

Also is that why gapps aren't working because vendor files are incomplete? If that's a diff issue than I just need that one fixed and I can continue working on my own build
[Nexus 6  General] fhem:
this -> http://xdaforums.com/showpost.php?p=59868802&postcount=372
[Nexus 6  General] lbxmobbin_1:
Thanks and its more of as when I click on playstore it for closes right away so I will try that and then a logcst later
[Nexus 6  General] chrischriswtf:
Ok, so I'm still running the build I made a couple weeks ago, and it's been working perfectly so far. I noticed a new release of 5.1 is out (r5), how would I update my local project files to reflect the new source without overwriting the changes I've made to fix things like DRM and VoLTE?

Also, I'm interested in putting my local project files on GitHub, to work with them on there. I've created an empty repository on github for my rom, how should I go about adding all of my project files into it? I've never used github before, so I'm very much a noob to all of this.
[Nexus 6  General] fhem:
not much of change they will pull in w/o touching your changes.

http://www.androidpolice.com/androi....0_r3-to-android-5.1.0_r5-AOSP-changelog.html
[Nexus 6  General] mmcneil:
[MENTION=5526655]fhem[/MENTION], [MENTION=1050103]sykopompos[/MENTION], what are the steps to merge 5.1.0_r5 into the 5.1.0_r5 source, without losing all of my commits? I'm thinking:

git add remote

git fetch

git merge ??

Thanks,

Mike
[Nexus 6  General] fhem:
I use ----> git pull <url> <tag> for my local github repos and then push to github. I then update my git hub manifest and then repo sync my local build directory. Not surre if this how the pros do it but this how an old noob does it and it works for me. LOL hope this helps. https://github.com/fwhem/platform_manifest

forgot ---> also should change fingerprint in vendor directory
[Nexus 6  General] mmcneil:
[MENTION=5526655]fhem[/MENTION], so you saying to 'git pull' in each of the local repos, push to github and then repo sync with an updated manifest? I'm just curious as to why you'd repo sync after you've already pulled in the r_5 stuff.

Thanks,

Mike
[Nexus 6  General] fhem:
I only ----- git pull ----- the repos i have modded (I assume all your mods are pulled from your github repos) --- only the ones I have on github. If there are merge conflicts with the git pull then they need to be resovled and commited to save your mods. All others are stock aosp and untouched by me. I do the repo sync to assure that I pick up all changes LOL belt and suspenders maybe :D. As I said this is how I do it ----- self taught ----- not sure how the pros do it.
[Nexus 6  General] rockinroyle:
Hello. I've been tinkering around with aosp and have been stuck with a non fully functioning build. I'm looking for clarification if possible? Am I understanding correctly to use sykopompos' vendor files from github in lieu of the proprietary binaries from googles site or are they an accompaniment to the self extracting binaries? My build suffers from no mobile data and I'm curious if thats why?
[Nexus 6  General] fhem:
I am using these alone no need for the self extracting binaries ------- https://github.com/Chroma-Aosp/vendor_moto_shamu You can check my setup here ---------- https://github.com/fwhem/platform_vendor_moto_shamu
[Nexus 6  General] rockinroyle:
Thanks for that fhem. On another note, I'm trying to set up my Github so I can have some files that I can edit and then pull in to local working dir by creating a manifest which adds what I want from my repo and removes the stock aosp equivilant. I've never developed anything and there may be files from others' repos I'd like to pull in as well? For instance I initially cherry picked ayysir's commit in 2nd thread post and compiled. Its my understanding that when I next do repo sync that I will need to cherry pick again or is that inaccurate? Further I would ultimately like to just have it done through repo sync command by adding to the manifest I make but being I'm an electrician and never developed software ever, is this bad practice? I mostly don't want to take someone else's stuff and not give them credit for it or worse have it show on github as authored by me when it wasn't? Also on another note, I get 404 error on that link to ayysir's commit for Netflix YouTube fix? Is that even needed? Sorry for so many questions. I'm reading up about git and repo so I can get this right before I really dive in. Anyone else that has input they can share would be appreciated as well thanks. :D
[Nexus 6  General] fhem:
WOW!! LOL Where to start. Read, read, troll github, lots of trial and error. I'm still very new at this -self taught. So here we go.

1. Yes you they will be overwritten. I keep all my mods on my github repos and then update those and resovle merge conflcts when pulling in aosp bumps. http://xdaforums.com/showthread.php?t=2763236

2. Look at these default manifests: https://github.com/fwhem/platform_manifest , https://github.com/grogg/manifest, https://github.com/craigacgomez/platform_manifest They will give you anidea of how to set up your github.

3. All cherry picks carry the origin with them so no worry about taking credit as long as you keep them on github. Just credit and thank all whose comitts you used. Too many to name LOL

4. I use that ayysir comitt here it is https://github.com/fwhem/platform_build1/commit/f350715c2b2ef854f438b38abb0a028a17ce62da as you can see that comitt originated with cyanogen and he thanks beanstown106 of xda LOL

One step at a time ---- just like rewiring an old house :good::D

Hope this helps.
[Nexus 6  General] rockinroyle:
Extremely helpful yes! :thumbup: thank you very much! Yes its true most of my time is spent lurking and referencing to the aosp build guide and the book progit. I've been compiling straight from ROM sour e for about a year and want to go further now that more things are clear to me bit also even though learning as a hobby o want to learn properly and establish a good workflow. Thank you so much and if you ever in need of electrical advice by all means pm me! :cool:
[Nexus 6  General] fhem:
No problem. Anytime you want to talk hit me up on pm. Always glad to help. I am sure I can learn from you also.
[Nexus 6  General] prdog1:
He just needs the infamous Fred Notes. :rolleyes::p:cool:
[Nexus 6  General] brymaster5000:
Thanks Scott for this.
[Nexus 6  General] Logix:
how exactly...
[Nexus 6  General] fhem:
Download the zip and extract the files to vendor/moto/shamu/ in your build directory. They replace the google binaries in the tree. just make sure the files are in the right dir vendor/moto/shamu/ no more directories in between.
[Nexus 6  General] Logix:
just what i needed thank you!
[Nexus 6  General] Logix:
anyone explain the process of updating the vendor blobs? i:confused::highfive:
[Nexus 6  General] fhem:
Don't the chroma ones work for you?
[Nexus 6  General] GrayBoltWolf:
In post 2, how to fix Netflix and YouTube is a 404 [MENTION=426561]scrosler[/MENTION]
[Nexus 6  General] pyrogoggles:
Hello. I'm attempting to install the necessary packages on Ubuntu 14.04.2 LTS, and I get this error:

The following packages have unmet dependencies:
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Originally, I ignored this, but then realized that ccache also does not work, when I attempt to set up the disk size given to it.

Thanks, if you help.
[Nexus 6  General] fhem:
Please see post 432 above --- item no. 4. Thanks

---------- Post added at 03:18 AM ---------- Previous post was at 03:06 AM ----------

Did you try this ?
[Nexus 6  General] GrayBoltWolf:
Ah, there it is. ;)
[Nexus 6  General] fhem:
I'm atually trying to figure that out myself. Sykopmpos built the ones on chroma using stock images. I believe he used the LMY47E factory images and binaries. I think he pulled the vendor info from the phone and comapred the extracted binaries and then assembled what we see on chroma. He went dark before we could get him to teach us how he did it. I am using those chroma binaries with the latest aosp version and they work. I am on verizon. You can look here. All help on this subject is very welcome and much needed. I am working on trying to duplicate his vendor blobs.

got it you can follow what he did here vendor blobs
[Nexus 6  General] Scott:
Because [MENTION=5526655]fhem[/MENTION] is taking over this thread I am closing it.

Find the new thread here: http://xdaforums.com/showthread.php?t=2974055
[Nexus 6  General] Scott:
Corrected new thread: http://xdaforums.com/nexus-6/general/guide-building-aosp-nexus-6-continued-t3122987
[Nexus 6  General] Xileforce:
Great....I just installed lubuntu 14.10....still having repo sync issues though :/ I do repo sync -f and it seems to work but I worry that its just skipping files that it has issues with. I see a lot of "cannot resolve hostname" errors too. Anyways its still syncing so I'll give it a shot when its done and see if I have more luck on lubuntu. BTW I am on a virtual machine.
[Nexus 6  General] hondajohn88:
Is it necessary to run repo init every time before repo sync? Or does it automatically point to the last repo init for the working directory?

Also, for some reason, even though I'm in the AOSP directory, when I repo sync it puts all the files in my Home directory. How do I change that? I followed a few other guides earlier for AOSP builds, and after stumbling around for a while I finally got things set up right (mostly probably), and repo sync populates the proper directory for that (I use WORKING_DIRECTORY). I also managed to get a working ROM from that one, so now I'm trying to figure out a little bit of the deeper stuff from here, but finding the locations of all the files to mod, and how to mod them, is an interesting challenge.

I appreciate your time and effort to provide help to those of us who want to learn to do this stuff...it's awesome of you!

Thanks :)
[Nexus 6  General] Scott:
Thats so wierd. Very wierd. Could your ISP be capping you? The Rep is huge of course.

If you have the repopulate in your home directory more than likley you ran repo init in the home directory and did not realize it. I have done it many times myself.

If you want to confirm, with whatever file manager you use on your PC, view hidden files and you will see the .repo folder and in it will be the AOSP manifest.
[Nexus 6  General] hondajohn88:
If you have the repopulate in your home directory more than likley you ran repo init in the home directory and did not realize it. I have done it many times myself.

If you want to confirm, with whatever file manager you use on your PC, view hidden files and you will see the .repo folder and in it will be the AOSP manifest.[/QUOTE]

Thanks for the quick reply. I must have done the repo at one point in the home directory. There is a .repo folder in the AOSP dircetory, but I also found one in the Home directory, so I deleted that one and now the repo is initialized in the AOSP folder. Thank you very much! :)
[Nexus 6  General] Scott:
Dont worry, you wont make any mistakes that I have not already. Thats why I put this guide together. I wanted it to be as simple and straight forward as possible.
[Nexus 6  General] Xileforce:
yay! i got it to start compiling, but then it says this:

make: *** [out/target/product/shamu/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsElement.o] Error 1

2 errors generated.

build/core/binary.mk:618: recipe for target 'out/target/product/shamu/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsAllocation.o' failed

make: *** [out/target/product/shamu/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsAllocation.o] Error 1

2 errors generated.

build/core/binary.mk:618: recipe for target 'out/target/product/shamu/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsContext.o' failed

make: *** [out/target/product/shamu/obj/SHARED_LIBRARIES/libRSSupport_intermediates/rsContext.o] Error 1

#### make failed to build some targets (02:40 (mm:ss)) ####

there's a lot more above that. any ideas?
[Nexus 6  General] Scott:
Let me ask you this... What processor are you building on? Is it an i3, i5, i7 AMD, etc?

But yes, you are getting closer!
[Nexus 6  General] RolluS:
Hi crossler,

Thank for this great guide.

I never build a rom but would need to apply a patch: https://code.google.com/p/seek-for-android/wiki/EapSimAka

Do you think it is possible with 5.0 please?
[Nexus 6  General] Scott:
I dont see why not. It looks like a special authentication that I have not seen before.

But it also looks like whoever wrote that code included a download for everyone to use.

Worse case scenario... It doesnt work and you have to figure it out.

Adding any commits outside of this guide is not supported by me... But you sure can give it a try!
[Nexus 6  General] RolluS:
Thank ;)

Edit:

Actually, I've checked the code on Gerrit, and it should already been there: https://android-review.googlesource.com/#/q/eap-sim

but... this is not working, probably a problem with rild then :(

OK, Reading the code documentation: https://android.googlesource.com/pl...+/android-wear-5.0.0_r1/wpa_supplicant/README

I should build with these options...

I'm going to set a build environment up ;)
[Nexus 6  General] Xileforce:
I'm running it on a haswell i5 4670k. I was messing with the make files and compiler flags earlier but I thought I put them back to normal. Is there a way to reset the files I changed back to stock? I tried deleting them and re syncing but it didnt re download them
[Nexus 6  General] EmptyGODFATHER:
Thanks for the help! I found the file and that did the trick for me, another back burner question is where are the ringtones and notification sounds stored? I searched through pretty much every directory but didn't find anything pertaining to those sounds except for in the out folder under system after i run the make command.

---------- Post added at 11:42 AM ---------- Previous post was at 11:41 AM ----------

How much ram do you have?