Error building CM11 - One (M8) Q&A, Help & Troubleshooting

To anyone who has been successfully building, I cant figure out this error. I tried syncing with TheMuppets repo and using the extract files on my phone, but I keep getting this error
Code:
make: *** No rule to make target `vendor/htc/m8/proprietary/vendor/lib/libtime_genoff.so', needed by `/home/keithn/cm11/out/target/product/m8/obj/lib/libtime_genoff.so'. Stop.
Any assistance would be apreciated.

Looks to me like you haven't set up your environment properly.

Did you get it fixed.
So I am attempting to build Bean Stalk for the M8 and I am getting the same build error.
I am using Builduntu latest release, should be setup to build out of the box.
http://soupdawg.wordpress.com/2014/03/06/builduntu-install-disc-android-development-os/
Code:
make: *** No rule to make target `/home/pimpmaneaton/BS/out/target/product/m8/obj/lib/libtime_genoff.so', needed by `/home/pimpmaneaton/BS/out/target/product/m8/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so'. Stop.
I am getting the same error and have the OS updated and also gone through many of the guides that show how to set up a Ubuntu 14.04 machine up to build.
Hoping that someone might be able to shed some light on this. Thanks in advance.
EDIT: Got it figured out.........I forgot to sync vendor/htc.

You need to sync the blobs https://github.com/TheMuppets/proprietary_vendor_htc

ashyx said:
Looks to me like you haven't set up your environment properly.
Click to expand...
Click to collapse
Nothing to do with the environment. It states the issue clearly. It's missing proprietaries.

Yup you guys got it. I had them synced to the wrong location which is why I was confused about it.
Sent from my SHIELD Tablet

Related

[Q] Compiling CM on a Mac

Okay, so recently I got a wild hair to try compiling CM on my MBP, and proceeded to pull and install all of the various items described by the CM wiki here:
http://wiki.cyanogen...dible_(Mac)
I realize that it says the wiki hasn't been tested, and that it's for CM6 and OSX 10.6.5, but I figured / hoped that not too much had changed... which is apparently wrong. So here's what happens: I've got everything installed correctly as far as I can tell- Java for Mac update 4 (most current), the most current MacPorts (1.9.2), I've built a little disc image workspace (15gb, as suggested by the wiki). I've pulled down the repo, ADB'd the proprietary files from the Inc, etc. etc., all with success (i.e. no error messages and it looks clean).
Everything LOOKS okay, right? I should be able to just build this puppy and keep it movin', right? Wrong.
I follow all of the wiki instructions *exactly*, the build runs for about 20+ minutes, gives me an assertion error, and then returns me to command line (no .zip file created). No other errors anywhere that I can see- lots and lots of warnings (is that normal?) but no ERRORs. So, I figure maybe I'll try these boards and see if someone with more experience in this area has any suggestions. I briefly consulted Slayher about it and he was saying that he remembers something about Macs and "elf.h" not playing nice with Linux kernels... but things I've found by Googling say that those issues SHOULD be corrected by the most recent MacPorts.
So, again, I've followed the wiki instructions to a "T"... Twice, if you can believe that- I thought maybe I'd done something wrong the first time so I trashed my workspace and started over from scratch. Same result, the compile runs, looks the same, and then there's no "finishing message" or .zip in the /inc folder. Anyway, here is a link to the pastebin of the compile, if anyone wanted to take a look. Directly after the last line that is posted to this pastebin, it returned me to command line- I just didn't post my command line for privacy's sake. If you look at this link, line 2496 (and those above and below it) look to be of particular interest, but what do I know...
http://pastebin.com/CFRyh8ue
Anyone have any thoughts on compiling CM7 with a Mac running 10.6.6/7? Any help would be much appreciated. I'm working on getting access to an Ubuntu laptop, but again I'd really like to be able to do this on my MBP if I can.
Thanks for reading.
-x-
**EDIT: I've tried looking for help on this, including (as I mentioned) some pretty learned people (Slayher, CUViper, etc.) but I don't want to continually bug them... and my google / XDA searches haven't come up with anything so far. Again, any help would be appreciated... there's gotta be someone out there compiling CM7 on a Mac, right? Maybe?

Trying to build AOKP-JB

I am slowly trying to figure out how to create my own nightlies for AOKP and i have my environment set up, but i am still getting some errors.
I was hoping someone could look into the following pastebin entry for me.
www.pastebin.com/6hZkVEqr
I noticed something about folder src not found.
If anyone could help me out that would be great.

Debugging with GDB

Hi,
I have been working on getting an app built with NDK and I have the visual studio environment working, compiling, deploying, and debugging with my Samsung GS3. I just bought the new Nexus 7, and when I try to debug, it gives me:
Failed to attach: Failed to start debug server on device: run-as: Package 'com.biotic.appstub' is unknown.
The pulling files step seems to completely bypass then I get the above message. I have googled and not found anything particularly helpful yet. My device is now rooted as well, which also didn't help.
I can explore the storage on the Nexus and see my app there, and I can execute it manually.
Any help would be greatly appreciated!
Cheers,
Paul
Fixed!
pblagay said:
Hi,
I have been working on getting an app built with NDK and I have the visual studio environment working, compiling, deploying, and debugging with my Samsung GS3. I just bought the new Nexus 7, and when I try to debug, it gives me:
Failed to attach: Failed to start debug server on device: run-as: Package 'com.biotic.appstub' is unknown.
The pulling files step seems to completely bypass then I get the above message. I have googled and not found anything particularly helpful yet. My device is now rooted as well, which also didn't help.
I can explore the storage on the Nexus and see my app there, and I can execute it manually.
Any help would be greatly appreciated!
Cheers,
Paul
Click to expand...
Click to collapse
This is working now. I had to install an ADB rooted ROM and it worked first time!

Linux Deploy, starting VNC FAiL, starting SSH FAIL, starting dbus FAIL...help please!

Hi,
I've been trying to install Kali on my Note 2 (N7100, Firmware: N7100XXUFNE1, Android 4.4.2, rooted) with Linux Deploy 2.02-224, but when i press start I get the following errors:
starting extra/dbus ... fail
starting extra/ssh ... fail
starting graphics/vnc . fail
Android VNC, JuiceSSH and busybox is installed.
In the settings at PATH variable i have set /system/xbin und have updated the ENV.
On the SD ( 32gb, FAT32 ) is enough Space available (more than 10 gb after downloading the image).
When I push the status button , the program said i have an armv71. In the properties i have set armhf, Is this right?
when I start androidVNC it can't connect with the following error message:
VNC connection failed!
failed to connect to localost/127.0.0.1 (port 5900):connect
failed: ECONNREFUSED (connection refused)
Can someone please help me to configure this correctly to run kali on my Phone ?
If you need to know something, just ask.
thx
Bro.. I have same problem. I search google youtube.. no one cant help this problem.. im using s2 android 4.1.2 extra dbus fail vnc fail
The error occuring becuase of kernel version is very old. Try install older versions of ubuntu distrubiton. As ubuntu 12 Precise Pangorin. I tried it with kernel verson 3.0.X and worked good. You need linux kernel version 3.2.X ( I dont know totally) or later for latest version of linux distrubtions.
It works with Xenial (14.04) but doesn't work with Arch Linux (which is abrolling distro).
The failure is with dbus, ssh and vnc.
I have exactly the same issue, but my kernel version is 4.1.18
---------- Post added at 06:04 PM ---------- Previous post was at 05:55 PM ----------
m4estr001 said:
I have exactly the same issue, but my kernel version is 4.1.18
Click to expand...
Click to collapse
UPDATE:
I have solved my problem running "Configure". Hope i help You.
m4estr001 said:
I have exactly the same issue, but my kernel version is 4.1.18
---------- Post added at 06:04 PM ---------- Previous post was at 05:55 PM ----------
UPDATE:
I have solved my problem running "Configure". Hope i help You.
Click to expand...
Click to collapse
Nope.
If I try to install Arch, I always get this error:
Code:
starting extra/dbus ... fail
starting extra/ssh ... fail
starting graphics/vnc . fail
Configuration is done at the end of installation.
I also tried to run it manually with no extra luck.
The kernel version should be as new as possible under Arch.
Both Debian and Ubuntu work. But Archlinux doesn't.
I start thinking it's a bug in Archlinux for aarch64.
I think it could be an issue with the networking (but I'm not sure about the dbus).
Uqbar said:
Nope.
If I try to install Arch, I always get this error:
Code:
starting extra/dbus ... fail
starting extra/ssh ... fail
starting graphics/vnc . fail
Configuration is done at the end of installation.
I also tried to run it manually with no extra luck.
The kernel version should be as new as possible under Arch.
Both Debian and Ubuntu work. But Archlinux doesn't.
I start thinking it's a bug in Archlinux for aarch64.
I think it could be an issue with the networking (but I'm not sure about the dbus).
Click to expand...
Click to collapse
I am interested but i dont know much, let me know how you fix your problem. And good luck.
For ArchLinux there's a bug fix that will be released with the next version: there's a missing library in the installation.
I've been told by the devs to "just wait" for the new release.
I also have the same issue with my android I have tried everything but it is not working out for me please I need help this is my gmail ID [email protected] contact me if u have a solution for me thanks alot
Calex360 said:
I also have the same issue with my android I have tried everything but it is not working out for me please I need help this is my gmail ID [email protected] contact me if u have a solution for me thanks alot
Click to expand...
Click to collapse
Get the latest package from here.
IGNORE THE FAILS - JUST LEAVE IT RUNNING IT WILL INSTALL SOME TIME LATER TRUST ME I had same problems, vnc fail and dbus fail, i gave up while was looking around online....anyway i looked back at my device and about 10 mins later it was installing/retrieving Kali packages have faith...and patience it takes a while
I have Pixel C and I too was getting these errors. One usually find people in such sites or forums telling others to do some learning. But these errors are not due to bad learning. After downloading different distributions of Ubuntu and Debain almost 25-30 times. Finally I downloaded one which had no error while downloading. Yes I made sure that each line pass by without error. Even with this one when I touched Start, I got some errors relating to 'tightvnc'. Vnc veieer was again giving connection problem. I selected Configure. I ran some some lines and finally when I touched Start I got no problem and vnc viewer started LXDE (and fearing to be not called some idiot, even LXDE gave an error message, but it was resolved itself next time). I think the location from which linuxdeploy download these files is very unstable or I don't know if linuxdeploy do some intermediate processing which may be making these downloading unstable.
Only some minor alterations like, keep screen, WiFi and cpu active in Setting. I used second last Version 2.5.1-257 of Linux Deploy.. I don't think these alterations made any difference if the .img file downloaded is corrupt.
Is it resolved and does it work? Since days I try to get it running on a Fire HD tate with 14.1 LineOS with 3.0.7 kernel rooted.
If I don't get those fail errors I get chroot errors like permissions denied or no such file /bin/su/ (it's /system/bin/ in the tablet)
Try to run Debian buster or stretch. Is it possible? Any help would be greatly appreciated
I resolved the issue by remounting system to read/write.
I fixed this issue by changing architecture to arm64 (s7 edge)

Warning! Do not let anyone remotely do your phone!!

Had to edit this since my device is having issues parsing.
THIS IS MAINLY FOR VERIZON GOOGLE PIXEL XL!
As most of you know, there is a way to unlock the Verizon Google Pixel XL. Unfortunately, its done remotely by one person. I vouched for him,but, regret doing that as I may have been done wrong by him. My computer has been doing some strange things lately, uninstalling things by itself, manipulated files, programs I had installed on my computer no longer working as they were meaning that now its asking for payments to a certain email if I want it to work again. That is very odd because prior to allowing remote access, all apps and files were as normal, functioning properly. After a few attempts with questions, I got no response. I assume that he is the culprit. If you allow access do it on a dummy install of Windows or Mac. You can download a copy of Windows from Microsoft and install on a separate HDD. Do not get into a mess like i have. Please, this is for your safety. I'm not knocking everyone who does work remotely, just be careful when allowing access to your computer.
I noticed the last time I allowed this individual to do work on my phone via remote access, it was a long time,hours even, and sometimes he would block visuals of his mouse and things would begin to install, sometimes there was no movements but he was accessing everything on my computer. I used to hack things so I know how certain things are done. Once again, please be careful people.
Thanks for allowing me to say this.
epikroms said:
Okay I'm trying to build from lineage os.
Current set up: Ubuntu 14.04-64bit
8gb ram i3.... Plenty of storage space.
Okay my problem. I've been repo'ing this thing for hours.
I don't get it, they say 10gb of repo, hmmmmm I've repo'd around 35-40gb???? I erased it did a command:,
repo sync --force-sync -j8 -c
Tried from -j8 was a lot faster,but, whatever. Ok so, why is this thing building from something like 2 or 3.0 Android? What is the proper commands? Someone please help because I've followed a lot of tutorials and guides from LineageOS wikis to XDA how-to's and obviously for me nothing is going correctly. I've read the instructions over and over and over and over again and I'm doing exactly what it says but still nothing??????? This is a bit insane to be wasting a whole night and half of the day staring at a computer screen and watching tons of things being put in my repo that I absolutely have no need for. Please help. Kindly appreciated
Click to expand...
Click to collapse
The full repo you need to sync before you can start building is a lot bigger than 10GB. In my local 8.1 repo, the full size repo is about 148GB, with 84GB generated by the build itself ("out" folder). So about 64GB in download, the rest generated locally by the build system later on.
I'm happy to help answer any questions you have on building AOSP, once you have synced the repo and are running your first build.
jisoo said:
The full repo you need to sync before you can start building is a lot bigger than 10GB. In my local 8.1 repo, the full size repo is about 148GB, with 84GB generated by the build itself ("out" folder). So about 64GB in download, the rest generated locally by the build system later on.
I'm happy to help answer any questions you have on building AOSP, once you have synced the repo and are running your first build.
Click to expand...
Click to collapse
Thanks. Yeah I've gotten past the repo sync, I think mine was nearly 60gb?? Everything was going good until I got clone Android/devices/Google/Marlin -b..... Then right here I did this on the ending of the above. lineage-15.1 /devices/Google/Marlin so after putting in this last line I get errors command not found or there is nothing??? I erased all the repos and I'm starting again from nothing with that last line where it says lineage-15.1 I have tried the full lineageOS-15.1same error, tried cm-15.1, also the same what am I doing wrong?
Sorry but this is becoming way more trouble than expected. Irritation after irritation. Doesn't look like I'll be building anymore. Too time consuming and getting absolutely nowhere. I give you DEVS way more credit than before after tinkering with source. I honestly don't know how you guys can do it. I'm done
repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune. Try that
joeeboogz said:
repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune. Try that
Click to expand...
Click to collapse
Thanks man I'll give it a go when I have a chance. My problem that I was having was with the second part of the build. I can get the repo done,but, after that I'm lost?? I went to the Muppets and copied a raw file and pasted it in a text.then I go to kernel but it won't sync???? I tried a build with breakfast Marlin but get errors. I don't remember downloading or placing the roomservice.xml file. Where do I get that? Or do I have to dd extract my phone's image backup to get that? I am so lost already
epikroms said:
Thanks man I'll give it a go when I have a chance. My problem that I was having was with the second part of the build. I can get the repo done,but, after that I'm lost?? I went to the Muppets and copied a raw file and pasted it in a text.then I go to kernel but it won't sync???? I tried a build with breakfast Marlin but get errors. I don't remember downloading or placing the roomservice.xml file. Where do I get that? Or do I have to dd extract my phone's image backup to get that? I am so lost already
Click to expand...
Click to collapse
Hit me on Hangouts [email protected]
joeeboogz said:
Hit me on Hangouts [email protected]
Click to expand...
Click to collapse
Not to sure if I got it sent cause I don't ever use Hangouts but if you didn't get it mine is [email protected]

Categories

Resources