yashsingh1/xdaforums huggingface dataset:
[Android] TeckDude:
The compile was very far but then this error came:

cannot create /home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h: Read-only file system
/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h.tmp: Read-only file system
make[4]: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/.install] Error 30
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/austin/beanstalk/kernel/samsung/smdk4210'
make: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 6 [Aborted], core dumped
make: *** [/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Deleting file `/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs'
make: unlink: /home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs: Read-only file system

EDIT: Apparently my system switched too Read-only wile it was compiling? I restarted and it was back too normal. Don't know if it happens again its an issue

EDIT 2: It happened again...

EDIT 3: I must suck this is ridiculous

I got that error fixed but i getting this:

host StaticLib: libz (/home/austin/beanstalk/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
target thumb C: recovery_e2fsck <= external/e2fsprogs/e2fsck/crc32.c
target thumb C: recovery_e2fsck <= external/e2fsprogs/e2fsck/e2fsck.c
collect2: ld terminated with signal 6 [Aborted], core dumped
make: *** [/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Waiting for unfinished jobs....
INSTALL include/asm-generic (34 files)
INSTALL include/drm (15 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (4 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/rdma (6 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter (69 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/sound (8 files)
INSTALL include/video (3 files)
INSTALL include/linux/netfilter_ipv4 (14 files)
INSTALL include/xen (2 files)
INSTALL include (0 file)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (6 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/usb (9 files)
INSTALL include/linux (364 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/austin/beanstalk/kernel/samsung/smdk4210'
[Android] :
I have a question.

Since I never use "export to .ccache", would it be safe to use it and set it at the same size permanently and leave that folder alone and never touch it across multiple builds over a period of weeks or months? Or does it remove itself every time its set for a new build?

I only ask because, I really think I could use it, but I worry about read/write errors over time on my older hard drive. As I said, I never use ccache, so I know nothing about it, so any insight would be appreciated. Thanks.
[Android] sjoerd0301:
you have fixed A error, as you can see the LD (gnu linker) is terminating,

may I ask how much memory and swap you have?

the linker uses ALOT of memory..
[Android] DeathArrow:
I've ran into some issues: CM10 boots but there's no graphics:

E/memalloc( 130): /dev/pmem: Failed to open pmem device: No such file or directory
E/memalloc( 130): /dev/pmem: failed to initialize pmem area
E/gralloc ( 130): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 130): alloc(240, 320, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 130): GraphicBufferAlloc::createGraphicBuffer(w=240, h=320) failed (No such file or directory), handle=0x0
E/BufferQueue( 130): [<pid_249>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed

In board-msm7x27a_vee3.c there's this comment:

/*LGE_CHANGE_S[jyothishre.nk@lge.com]20121102:
*Migrating QCT patch to remove pmem and fmem support*/

Also, there's no other reference to pmem in the file. It seems LG removed support for pmem. How do I get around this? gralloc needs /dev/pmem and there's no /dev/pmem because LG patched the kernel...

Should I try to patch board-msm7x27a_vee3.c to use pmem or should I try to compile CM10 with ION support? If so, how do I enable ION support before compiling CM10? adreno drivers do support ION?

It's enough to add TARGET_USES_ION := true to BoardConfigCommon.mk ?

I think hardware/qcom/display/* might use only pmem in CM10. For CM10.1 I had to replace hardware/qcom/display with the one in CM10 since I had tons of compile errors...
[Android] sjoerd0301:
You definitely have to enable ion.

Check if the kernel has ion enabled by searching for _ion in your devices defconfig (located at "android source"/kernel/"vendor"/"device"/arch/arm/config/"device"_defconfig)

Then enable ion in the device config, i don't know how, but you can find it on the interwebs.
[Android] DeathArrow:
Thanks! ion is enabled in kernel, I have to enable in BoardConfig.mk.

I hope CM10 will compile with ion, and blobs will not malfunction using ion.
[Android] sjoerd0301:
Framebuffer_load

I have this error,

and it seems the framebuffer device is not been created.

has this to do with the kernel, or with gralloc?
[Android] DeathArrow:
Is there /dev/graphics/fb0 or /dev/graphics/fb1 ? It here isn't such a device, then the problem lies in the kernel I think.
[Android] sjoerd0301:
Ok, thanks, apparently It synced the wron kernel source..

it indeed was in the kernel :P

btw, does your build work already?
[Android] DeathArrow:
Really bad. It boots but screen is very, very fuzzy.

If I hit back key, screen becomes clear for fractions of seconds. I don't know what to do. I disabled vsync in build.prop and tripple buffering in kernel.

I didn't see any related error in logcat.
[Android] antonio8297:
Building for maguro bu have this error

How fix it???

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android] dastin1015:
Read OP
[Android] sjoerd0301:
It's related to ion, bad memory allocations maybe..

My device had it too, maybe you should look for another kernel source.

And also check other rom-developers' github.

And, gerrit code review for that rom..
[Android] DeathArrow:
If I take screenshots with screencap over adb, they look good. Maybe its something related to the framebuffer device?
[Android] sjoerd0301:
as i say, ion related,

as you said it might be a framebuffer alloc..

try another kernel, see if that helps
[Android] DeathArrow:
The kernel I am using is the only 3.x kernel which has most of the drivers I need.

If I use CM10 straight from build process, I can't see boot animation.

If I replace some libs (copybit, gralloc and hwcomposer) with libs from other phone, I can see bootanimation, then I have the above fuzzy screen. But that other phone might have CM built with pmem.

Should I try to replace /hardware/qcom/dispaly with another one? Should I try to disable hw vsync? Is there an easy way to disable hw vsync? (ie editing a makefile) ?
[Android] TeckDude:
virtual memory exhausted: Cannot allocate memory
make: *** [/home/austin/beanstalk/out/target/product/d710/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/Function.o] Error 1
make: *** Waiting for unfinished jobs....

Does this mean my pc didn't have enough memory?
[Android] sjoerd0301:
Virtual memory, which means a reboot will do, physical memory is your RAM.
[Android] DeathArrow:
I've rebuilt CM10, now I can't see boot animation, however after the time boot animation should end, there's a white screen. If I make the gesture to unlock and hit back or home key, I can see the wallpaper and icons. If I touch the screen, it goes white again, if I hit the back key then I can see the wallpaper again.

Nothing extraordinary in logcat.

Maybe it's related to triple buffering? How do I disable triple buffering?
[Android] sjoerd0301:
http://bit.ly/10LVDXY
[Android] DeathArrow:
How can I compile only libs in hardware/qcom/display? I want to compile gralloc, hwcomposer and copybit with different settings.
[Android] sjoerd0301:
take an old build directory, and delete gralloc, hwcomposer, and copybit from the obj directory.
[Android] sjoerd0301:
hehehe, nice!
[Android] TeckDude:
i did a reboot. same error
[Android] Kayant:
How much ram do you have??

Let's Go ^_^
[Android] TeckDude:
I am going too try on my desktop now. Hopefully that helps
[Android] sjoerd0301:
Swap is also important, use at least 4GB swap.
[Android] someone755:
Hello there!

I'm a noob that wants to compile cm10 from source.

Running 64-bit Lubuntu 12.04, I have an error. I've just begun to prepare my build environment, but I have an issue. Or issues...

After successfully getting things to install, I have an error with the atp-get command...

The package lib32readline5-dev cannot be installed, while every other package has at least 5 more packages it needs to be installed... The terminal says that it 'doesn't have any install candidate'...

Any help here? And is this even necessary?

Also, for installing the SKD, I downloaded the entire ADT package. I extracted it and found the 'sdk' folder to be the one the OP calls 'android-sdk'. Putting it to /user/someone755/ (as my username is someone755) and renaming it to 'android-sdk', I EXACTLY followed every instruction on what file to open and what to copy into it.

Yet, at the end, running the command 'android' in the terminal says that the command does not exist...? Any ideas what could have gone wrong? Or is 12.04 simply not supported?

That's all for now, and please excuse me if these questions have already been answered.

Thanks :D
[Android] Kayant:
For the lib32readline5-dev package remove it and replace it with the one from the terminal output can't remember the name......

You need to add the paths to your .bashrc and .profile before it will work....

Let's Go ^_^
[Android] DeathArrow:
Congrats! :)

Mine:
[Android] someone755:
Thanks for the reply, kayant.

What do you mean, add the path to the files? Add where?

I copied the code-thingy from the op inside the files, what more do I need?

Sorry, and thanks again :)
[Android] TeckDude:
Thankyou guys soo much!!!! I made my first BeanStalk Build!
[Android] Kayant:
You need yo add the stuff from the android sdk section in the OP.

As long as you have the added the paths like in the OP to .profile and .bashrc then the command android should work....... Make sure the paths are pointing to the correct folders there's probably what is stopping it from working.
[Android] someone755:
Thanks, but it was all correct...

Seems like the only thing the old pile of junk needed was a reboot.

I even got the missing package to install, just didn't see the notice when there were so many packages it was telling me about -.-'

Now, to the infinity of repo syncing! :D (hopefully with lubuntu, this will take a bit less time to sync) :D

P.S.

Yes, I refer to my laptop as a 'pile of junk', because it sucks.

Even though it does, it was one of the best PCs you could buy when it came out, and because it sucks for everything (besides writing; the keyboard is legendary; and playing old GTA games), I use it for tweaking Android :P I've tried this sooo many times, but it always failed... 40% of the packages didn't even want to install, but now I even have the SDK! :D

Again, thanks for all your help

You'll be hearing from me soon... Hopefully AFTER the repo sync :P

EDIT: AAAaaaaand, I was wrong. Though I didn't get an error, can somebody please explain what the 'repo sync' command really does?

It has a million lines of text, mostly with random numbers and some [new tag] lines... Also lists a lot of Android versions... So does that thing actually sync Android 4.1.2, or is it syncing every single Android version (and sub-version) that ever existed?

Thanks :P
[Android] ktempleton:
All those lines your seeing is it syncing it only pulls the branch you want into your computer and the tags for the others
[Android] someone755:
Me again... (I told you you'd be hearing from me soon :P)

Alas, I DO have an error during sync...

WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ZF1GmP/pkcs11: No such file or directory

Why and what? I guess gnome-keyring is a package, do I need it installed if it is?

I got the error at least 10 times in the first 100 lines of text...

Also, after my internet disconnected (stupid OS keeps disconnecting me from WiFi and won't reconnect -.-), I saw an error saying it can't download something for Asus Grouper... Why would it download things for the N7?

I'm really, really sorry, and thanks :)
[Android] tnpapadakos:
error building cm10-1 for ville

until today i was building each day without problems...now, today i am getting an error and build is stopping...here is log...

http://pastebin.com/WJLvidap

the problem starts when it tries to do target thumb C++: mm-vdec-omx-test <= hardware/qcom/media/

by reading it, anybody have an idea why?

i see alot of commit activity going on right now, and maybe i just have to wait, but just wondering if anyone sees anything obvious here that I'm missing
[Android] Grumpy Bastid:
Could anyone possibly point me in the right direction with this error please, I've been searching but not much luck.

Thanks in advance.

target thumb C++: libRS <= frameworks/rs/rsAdapter.cpp

target thumb C++: libRS <= frameworks/rs/rsAllocation.cpp

target thumb C++: libRS <= frameworks/rs/rsAnimation.cpp

clang: error: the claclangng co: merror: clangtphie clang: l error: ecr tohe dmcpoilelre adosne s gnnot oscuptop ormspitu 'plp-oemrfprt du =on'ee-omfsn np-uo=vneftpov 4'ns-v

ufppporvt 4'-'mf

pu=neon-vfpv4'

make: *** [/home/mike/Paranoid/out/target/product/d2usc/obj/SHARED_LIBRARIES/libRS_intermediates/rsAllocation.o] Error 1

make: *** Waiting for unfinished jobs....

make: *** [/home/mike/Paranoid/out/target/product/d2usc/obj/SHARED_LIBRARIES/libRS_intermediates/rsAdapter.o] Error 1

make: *** [/home/mike/Paranoid/out/target/product/d2usc/obj/SHARED_LIBRARIES/libRS_intermediates/rsAnimation.o] Error 1

Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Total time elapsed: 49 minutes (2940.445933338 seconds)

full log here if needed http://pastebin.com/xNU7F5JQ
[Android] sjoerd0301:
What is your system language?

Change it to english, maybe it will give a readable error..
[Android] TeckDude:
getting a kernel panic when repo syncing
[Android] bobpantsspongesquare:
I have searched this error and can see where others have had the same trouble but I have yet to see a working solution. The error is:

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-g++: cannot execute binary file

Any help is appreciated.

EDIT: Nevermind. Figured it out. Somehow I installed a 32 bit version of Ubuntu. Installed the 64 bit version and build went off without a hitch.
[Android] memnoc:
Hi, can someone explain this IN DETAILS? thanks

"What you need to do is to edit your blob to match the PRODUCT_NAME to the file name. For example with mine I have full_d710.mk therefore in this file I need to have PRODUCT_NAME to match it. Whatever error it is looking for you just need to change the PRODUCT_NAME line to match what the error shows."
[Android] Grumpy Bastid:
Weird system launguage was in english.

Tried compiling again, failed in the same spot this time it the error is readable.

target thumb C++: libRS <= frameworks/rs/rsAdapter.cpp

clang: error: the clang compiler does not support '-mfpu=neon-vfpv4'

make: *** [/home/mike/Paranoid/out/target/product/d2usc/obj/SHARED_LIBRARIES/libRS_intermediates/rsAdapter.o] Error 1

make: *** Waiting for unfinished jobs....

Full log here: http://pastebin.com/K0GXLBhg
[Android] bobpantsspongesquare:
In your device/[your manufacturer]/[your device] folder, there should be a make file ( .mk) titled full_yourdevice.mk. In that file, you'll want the line PRODUCT_NAME to match whatever the error is showing. This only applies if you are getting an error about not having a product spec for [ your device ].
[Android] memnoc:
that's the error

Which would you like? [full-eng] 12
build/core/product_config.mk:226: *** Product "full_maguro" ambiguous: matches full_maguro device/maguro/full_maguro.mk device/samsung/maguro/full_maguro.mk. Stop.

** Don't have a product spec for: 'full_maguro'
** Do you have the right repo manifest?

that's the content of the file you mentioned

# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This file is the build configuration for a full Android
# build for maguro hardware. This cleanly combines a set of
# device-specific aspects (drivers) with a device-agnostic
# product configuration (apps). Except for a few implementation
# details, it only fundamentally contains two inherit-product
# lines, full and maguro, hence its name.
#

# Get the long list of APNs
PRODUCT_COPY_FILES := device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml

# Camera
PRODUCT_PACKAGES := \
Camera \
GNexusParts

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# This is where we'd set a backup provider if we had one
#$(call inherit-product, device/sample/products/backup_overlay.mk)
# Inherit from maguro device
$(call inherit-product, device/samsung/maguro/full_maguro.mk)

# Set those variables here to overwrite the inherited values.
PRODUCT_NAME := full_maguro
PRODUCT_DEVICE := maguro
PRODUCT_BRAND := Android
PRODUCT_MODEL := Full AOSP on Maguro
PRODUCT_RESTRICT_VENDOR_FILES := false

i don't know looks like it's correct isn't it?
[Android] Black_Prince:
Deleted ...
[Android] Phil3759:
delete

Sorry, was a shell basic issue I missed
[Android] Phil3759:
delete
[Android] 241:
Compile errors

Hello,

I am new to compiling CM ROMs. I have downloaded CM10 sources. Also I have downloaded device specific files. But while compiling, it gives me nearly 6-7 errors. All the errors are segmentation fault errors. I couldn't find any solution so I am asking here.

On my first compile, it gave me segmentation fault error, i restarted the brunch command and it continued to compile. Than it gave me another error related with segmentation fault. It continued nearly 6-7 times. After that, I could get .zip file. I installed it from recovery but my wifi wasn't working. So I deleted out folder in cm10 resource folder. I have restarted again.

Now my first error is:

external/qemu/tcg/tcg.c: In function 'tcg_reg_alloc_op':
external/qemu/tcg/tcg.c:1818:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/ali/android/cm10/out/host/linux-x86/obj/STATIC_LIBRARIES/emulator64-target-arm_intermediates/tcg/tcg.o] Error 1
make: *** Waiting for unfinished jobs....

Where is the problem?

___

I am using Ubuntu 12.04 LTS x64

Processor AMD Athlon II X 640

RAM: 3.5 GB

I am trying to compile CM10
[Android] abadasstanker69:
On this step...

"6) Extract Device Proprietary Files:

Code:

$ ./extract-files.sh"

How long should it take? It's not showing a progress bar or anything once I run the command. It just sits there blinking...does it just take a while?
[Android] sjoerd0301:
A few seconds, but adb has to be installed and in your PATH
[Android] abadasstanker69:
Yeah...I'm thinking that's my issue. I have adb access. I can reboot the phone in to recovery or bootloader. For some reason when I run the extract files command it just hangs there :wtf?:
[Android] Pyro96:
Thanks for the awesome guide dastin! I'm just having one problem I added the device tree and then issued the lunch command but it didn't list my device (d710). I tried deleting the device tree and adding it again but it still isn't showing the device in the lunch menu. Any help is very much appreciated!
[Android] Chromium:
did you add your device to /vendor/pa/vendorsetup.sh ?
[Android] Pyro96:
Nope! I will try that. Thanks

How do i do that?
[Android] Chromium:
open up the vendorsetup.sh file in a text editor and add this line:

add_lunch_combo full_"yourdevicenamehere"-userdebug
[Android] Pyro96:
Sweet that worked thank you very much!
[Android] abadasstanker69:
I still can't pull my device specific info...I don't know what I'm doing wrong. I put in the command and NOTHING happens. If I sudo adb kill-server then it starts to try to pull my device infor but it can't of course because I killed the server connection. Also for some reason, when I try to access adb root it hangs as well. I have USB debugging turned on AND allow mock locations. I have the same device as Dorian (d710) so this guide SHOULD be working perfectly for me. I don't know wtf I'm doing wrong? :face palm:
[Android] Pyro96:
I had a similar problem. What version of adb are you using?
[Android] abadasstanker69:
Whatever version this tutorial installs. I didn't change anything and I don't really know how to find out what version it is. I'm a COMPLETE noob. :eek:

Sorry. I forgot. That wasn't in this tutorial. I followed this tutorial to get ADB. http://xdaforums.com/showthread.php?p=11823740#post11823740

I just followed this tutorial to change my adb version. Still no luck http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
[Android] Pyro96:
Yeah I'm a noob as well I've just been doing a bunch of research! Lol. Try "adb -version"
[Android] abadasstanker69:
Just adb version worked. 1.0.31
[Android] Pyro96:
Weird i just had to update it for it to work. Do you have root access enabled on your device?
[Android] abadasstanker69:
Yeah. It's a pretty common problem apparently. I'm reading up on it

I think I'm not getting root privelages inside ubuntu. Occasionally I can get adb shell to work but half the time, it just sits there. Blinking at me. I read this guide..http://source.android.com/source/initializing.html

It gives a different instruction block for the device names. It also mentions needing to change the user names on each line. Here it is...

"# adb protocol on passion (Nexus One)

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<username>"

I noticed on THIS tutorial, it gives somthing totally different. Here it is

"#Acer

SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"

I'm thinking that's where my issue is. I may be totally wrong...like I said I'm a noob on this, but it's my theory for now. Anyone got any other suggestions?
[Android] Pyro96:
Oh well good luck i hope you can get it resolved sorry i couldn't help
[Android] ktempleton:
I would suggest to check the permission of the extract files sh and make sure execute as a program is checked