Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
myfluxi
Old
#3031  
Senior Member
Thanks Meter 1448
Posts: 255
Join Date: Jun 2011
Entropy512's latest kernel commit seems to break repo sync. Maybe it's just me but at least worth checking:

Code:
error.GitError: CyanogenMod/android_kernel_samsung_smdk4210 rev-list ('^720d8be0f074baef99293fd9829e40968c61e4eb', 'HEAD', '--'): fatal: bad object 720d8be0f074baef99293fd9829e40968c61e4eb
 
golcheck
Old
(Last edited by golcheck; 24th April 2012 at 03:58 PM.)
#3032  
golcheck's Avatar
Senior Member
Thanks Meter 59
Posts: 315
Join Date: Jan 2010
Location: Edinburgh

 
DONATE TO ME
Weird thing. I was building cm9 and it finished unexpectedly without the target:

Code:
LD [M] fs/cifs/cifs.ko
make[1]: Leaving directory `/root/android/system/kernel/samsung/smdk4210'
make -C kernel/samsung/smdk4210 O=/root/android/system/out/target/product/galaxys2/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=/root/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- modules_install
make[1]: Entering directory `/root/android/system/kernel/samsung/smdk4210'
INSTALL drivers/net/wireless/bcmdhd/dhd.ko
INSTALL drivers/samsung/fm_si4709/Si4709_driver.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
DEPMOD 3.0.28-CM-gaaa0e0b
make[1]: Leaving directory `/root/android/system/kernel/samsung/smdk4210'
mdpath=`find out/target/product/galaxys2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i out/target/product/galaxys2/system/lib/modules/; done; fi
mdpath=`find out/target/product/galaxys2/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
Elapsed: 62 min(s) 26 sec(s)
I didn't get any errors or warnings. It finished just like that. Any ideas?

Edit:

Ok, I found some errors:

Code:
symbol : class Camera
location: package android.graphics
import android.graphics.Camera;
^
frameworks/base/core/java/android/view/View.java:2093: cannot find symbol
symbol : class Camera
location: class android.view.View.TransformationInfo
private Camera mCamera = null;
^
frameworks/base/media/java/android/media/CamcorderProfile.java:19: cannot find symbol
symbol : class Camera
location: package android.hardware
import android.hardware.Camera;
^
frameworks/base/media/java/android/media/CamcorderProfile.java:20: package android.hardware.Camera does not exist
import android.hardware.Camera.CameraInfo;
^
frameworks/base/media/java/android/media/CameraProfile.java:19: cannot find symbol
symbol : class Camera
location: package android.hardware
import android.hardware.Camera;
^
frameworks/base/media/java/android/media/CameraProfile.java:20: package android.hardware.Camera does not exist
import android.hardware.Camera.CameraInfo;
^
frameworks/base/media/java/android/media/MediaRecorder.java:19: cannot find symbol
symbol : class Camera
location: package android.hardware
import android.hardware.Camera;
^
frameworks/base/media/java/android/media/MediaRecorder.java:129: cannot find symbol
symbol : class Camera
location: class android.media.MediaRecorder
public native void setCamera(Camera c);
^
frameworks/base/core/java/android/view/View.java:7112: cannot find symbol
symbol : class Camera
location: class android.view.View
info.mCamera = new Camera();
^
frameworks/base/core/java/android/view/View.java:7201: cannot find symbol
symbol : class Camera
location: class android.view.View
info.mCamera = new Camera();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:230: cannot find symbol
symbol : variable Camera
location: class android.media.CamcorderProfile
int numberOfCameras = Camera.getNumberOfCameras();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:231: cannot find symbol
symbol : class CameraInfo
location: class android.media.CamcorderProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:231: cannot find symbol
symbol : class CameraInfo
location: class android.media.CamcorderProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:233: cannot find symbol
symbol : variable Camera
location: class android.media.CamcorderProfile
Camera.getCameraInfo(i, cameraInfo);
^
frameworks/base/media/java/android/media/CamcorderProfile.java:234: cannot find symbol
symbol : variable CameraInfo
location: class android.media.CamcorderProfile
if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
^
frameworks/base/media/java/android/media/CamcorderProfile.java:297: cannot find symbol
symbol : variable Camera
location: class android.media.CamcorderProfile
int numberOfCameras = Camera.getNumberOfCameras();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:298: cannot find symbol
symbol : class CameraInfo
location: class android.media.CamcorderProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:298: cannot find symbol
symbol : class CameraInfo
location: class android.media.CamcorderProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CamcorderProfile.java:300: cannot find symbol
symbol : variable Camera
location: class android.media.CamcorderProfile
Camera.getCameraInfo(i, cameraInfo);
^
frameworks/base/media/java/android/media/CamcorderProfile.java:301: cannot find symbol
symbol : variable CameraInfo
location: class android.media.CamcorderProfile
if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
^
frameworks/base/media/java/android/media/CameraProfile.java:58: cannot find symbol
symbol : variable Camera
location: class android.media.CameraProfile
int numberOfCameras = Camera.getNumberOfCameras();
^
frameworks/base/media/java/android/media/CameraProfile.java:59: cannot find symbol
symbol : class CameraInfo
location: class android.media.CameraProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CameraProfile.java:59: cannot find symbol
symbol : class CameraInfo
location: class android.media.CameraProfile
CameraInfo cameraInfo = new CameraInfo();
^
frameworks/base/media/java/android/media/CameraProfile.java:61: cannot find symbol
symbol : variable Camera
location: class android.media.CameraProfile
Camera.getCameraInfo(i, cameraInfo);
^
frameworks/base/media/java/android/media/CameraProfile.java:62: cannot find symbol
symbol : variable CameraInfo
location: class android.media.CameraProfile
if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
and then:

Code:
25 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
The Following User Says Thank You to golcheck For This Useful Post: [ Click to Expand ]
 
RagingHarry
Old
#3033  
Senior Member
Thanks Meter 38
Posts: 127
Join Date: Jan 2012
Location: Havelte
@golcheck Pleas use the code tags around the logs to wrap it up bit

Code:
... [ code] [/code ] ....
One says it's a bit of a bad habbit another said it's a good quality, but I definitely got ORD.

Phone: Xperia T @ [JDQ39][4.2.2] CM 10.1 (latest/Kanged)
Tablet: TF300TG @ CleanROM Inheritance 33 | JB 10.4.4.25

Out of use:
Samsung Galaxy S II
Samsung Galaxy S
Samsung Omnia I & II

 
Entropy512
Old
(Last edited by Entropy512; 24th April 2012 at 03:39 PM.)
#3034  
Elite Recognized Developer
Thanks Meter 20795
Posts: 11,493
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by myfluxi View Post
Entropy512's latest kernel commit seems to break repo sync. Maybe it's just me but at least worth checking:

Code:
error.GitError: CyanogenMod/android_kernel_samsung_smdk4210 rev-list ('^720d8be0f074baef99293fd9829e40968c61e4eb', 'HEAD', '--'): fatal: bad object 720d8be0f074baef99293fd9829e40968c61e4eb
Weird... Try nuking and repaving the repo. (Edit: Just the kernel one)

I hate this new inline kernel building stuff... freaking pain in the ass...
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
golcheck
Old
(Last edited by golcheck; 24th April 2012 at 06:46 PM.)
#3035  
golcheck's Avatar
Senior Member
Thanks Meter 59
Posts: 315
Join Date: Jan 2010
Location: Edinburgh

 
DONATE TO ME
link to the content of local_manifest.xml doesn't work (http://pastie.org/3642839). Could anyone PM me the content?
 
thracemerin
Old
#3036  
thracemerin's Avatar
Recognized Contributor
Thanks Meter 3447
Posts: 4,097
Join Date: Oct 2011
Location: Ottawa
Quote:
Originally Posted by golcheck View Post
link to content of local_manifest.xml doesn't work (http://pastie.org/3642839). Could anyone PM me the content?
Nevermind, I misunderstood what you were saying.
 
myfluxi
Old
#3037  
Senior Member
Thanks Meter 1448
Posts: 255
Join Date: Jun 2011
Quote:
Originally Posted by Entropy512 View Post
Weird... Try nuking and repaving the repo. (Edit: Just the kernel one)

I hate this new inline kernel building stuff... freaking pain in the ass...
Yeah, I fixed it quickly. Just wanted to report the error, just in case it was a systematic one (guess it was random then ).
 
RagingHarry
Old
(Last edited by RagingHarry; 25th April 2012 at 10:53 PM.)
#3038  
Senior Member
Thanks Meter 38
Posts: 127
Join Date: Jan 2012
Location: Havelte
Quote:
Originally Posted by golcheck View Post
link to the content of local_manifest.xml doesn't work (http://pastie.org/3642839). Could anyone PM me the content?
From pastie.org

Quote:
Sorry, Pastie is offline.

pastie.org was DDOSed twice last night. To protect it's network and other customers Rails Machine has decided to no longer host and sponsor the site.

I did not see this coming and did not expect my hosting company to just pull the plug so quickly.

I'm in the middle of RailsConf 2012 right now but working on a migration plan to deal with this.

Hang in there, we'll be back.
----------------------------------------------------
I really feel bad about this. I'm just a single person running the site free of charge. I make a very minimal amount of monthly income from the ads. Probably just enough to cover hosting now that I don't have a sponsor.

I guess this is just one of the downsides of running a large, popular site, but it's very frustrating. If anyone feels like they have the expertise to help (with DDOS stuff) please feel to reach out and contact me.
seems that for now some othe site is needed to use.
One says it's a bit of a bad habbit another said it's a good quality, but I definitely got ORD.

Phone: Xperia T @ [JDQ39][4.2.2] CM 10.1 (latest/Kanged)
Tablet: TF300TG @ CleanROM Inheritance 33 | JB 10.4.4.25

Out of use:
Samsung Galaxy S II
Samsung Galaxy S
Samsung Omnia I & II

 
codeworkx
Old
#3039  
codeworkx's Avatar
Elite Recognized Developer - OP
Thanks Meter 38654
Posts: 4,903
Join Date: Nov 2010

 
DONATE TO ME
correct local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="CyanogenMod/android_device_samsung_galaxys2" path="device/samsung/galaxys2" remote="github" />
  <project name="CyanogenMod/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="ics" />
  <project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="ics">
    <copyfile dest="build.sh" src="samsung/build.sh" />
  </project>
  <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
</manifest>
Sent from my Galaxy Nexus using XDA
^^ this is my personal opinion and can't be taken as a official statement from the CyanogenMod team.
--------------------------------------------------------------------------------------------------------------------------------------------------
CyanogenMod Developer | FreeXperia Team
Twitter: http://twitter.com/codeworkx | FreeXperia Project Website | IRC: #freexperia @ irc.freenode.net

Current devices:
Google Nexus 4: 3.4.y, CWM6, CM10.1
HTC One: 3.4.y, CWM6, CM10.1
Sony Xperia Tablet Z: 3.4.y, CWM6, CM10.1
Sony Xperia Z: 3.4.y, CWM6, CM10.1
Sony Xperia V: 3.4.y, CWM6, CM10.1
Sony Xperia T: 3.4.y, CWM6, CM10.1
Samsung Galaxy Note II LTE GT-N7105: 3.0.y, CWM6, CM10.1
Samsung Galaxy S III GT-I9300: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 10.1" GT-P5100: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 7" GT-P3100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100G: 3.0.y, CWM6, CM10.1

Dead devices:
Google Galaxy Nexus, HTC Desire HD, LG Optimus 2X, Samsung Galaxy S, HTC Dream (G1)

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots: http://imgur.com/a/pyS99#0 | Downloads: https://sourceforge.net/projects/bbqlinux/files/ | IRC: #bbqlinux @ irc.freenode.net
The Following 5 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
imfloflo
Old
#3040  
imfloflo's Avatar
Senior Moderator
Thanks Meter 707
Posts: 2,823
Join Date: Apr 2007
Location: Clermont-Ferrand, France

 
DONATE TO ME
Can't receive emoji on lastest fitsnugl nightly 0422
Nexus 4 (CM10.1) - Nexus 7 (CM10.1) - Galaxy Nexus (CM10.1) - HP Touchpad (CM9) - Nexus One (CM7.2) - HTC HD2 (CM9)
XDA-developers Senior Moderator - Twitter.com ImFloFlo


 
Post Reply+
Tags
alpha build, android 4.0, best sgs2 rom ever, bitte nicht stören codeworkx, cm9, cm9sgs2, development thread, epic winning, for experienced users, ics, not for user questions or discussion, schreiben sie keine scheiße, use the 'thanks' buttons - don't spam noobz0rz
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...