[Android Apps and Games] kaizokan:
Build log

kaizokan@ubuntu1:~$ mkdir -p ~/bin
kaizokan@ubuntu1:~$ mkdir -p ~/android/system
kaizokan@ubuntu1:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22889 100 22889 0 0 102k 0 --:--:-- --:--:-- --:--:-- 163k
kaizokan@ubuntu1:~$ chmod a+x ~/bin/repo
kaizokan@ubuntu1:~$ export PATH=${PATH}:~/bin
kaizokan@ubuntu1:~$
kaizokan@ubuntu1:~$ cd ~/android/system/
kaizokan@ubuntu1:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1

Your identity is: h <test@test.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/kaizokan/android/system
kaizokan@ubuntu1:~/android/system$
kaizokan@ubuntu1:~/android/system$ cd ~/android/system
kaizokan@ubuntu1:~/android/system$ cd ~/android/system/build ; git checkout . ; git clean -df
Removing target/product/security/privacy.x509.pem
kaizokan@ubuntu1:~/android/system/build$ cd ~/android/system/libcore ; git checkout . ; git clean -df
Removing luni/src/main/java/java/lang/PrivacyInputStream.java
Removing luni/src/main/java/java/lang/PrivacyProcessManager.java
kaizokan@ubuntu1:~/android/system/libcore$ cd ~/android/system/frameworks/base ; git checkout . ; git clean -df
Removing Android.mk.orig
Removing core/java/android/hardware/Camera.java.orig
Removing core/java/android/provider/Settings.java.orig
Removing privacy/
Removing services/java/com/android/server/PrivacyTelephonyRegistry.java
Removing services/java/com/android/server/SystemServer.java.orig
kaizokan@ubuntu1:~/android/system/frameworks/base$ cd ~/android/system/frameworks/opt/telephony ; git checkout . ; git clean -df
Removing src/java/android/privacy/
kaizokan@ubuntu1:~/android/system/frameworks/opt/telephony$ cd ~/android/system/packages/apps/Mms ; git checkout . ; git clean -df
kaizokan@ubuntu1:~/android/system/packages/apps/Mms$ rm -rf ~/android/system/packages/apps/PDroidAgent
kaizokan@ubuntu1:~/android/system/packages/apps/Mms$ cd ~/android/system
kaizokan@ubuntu1:~/android/system$ repo abandon pdroid
error: no project has branch pdroid
kaizokan@ubuntu1:~/android/system$ repo sync
Fetching projects: 0% (1/360) remote: Counting objects: 14, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 5), reused 3 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_packages_apps_Camera
a9ef43f..f3188c8 cm-10.1 -> github/cm-10.1
Fetching projects: 5% (18/360) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 3), reused 4 (delta 2)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_packages_apps_CMUpdater
bbf7987..9b4f3bc cm-10.1 -> github/cm-10.1
Fetching projects: 8% (29/360) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 5 (delta 3), reused 3 (delta 1)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_packages_apps_LockClock
7e77483..4ff0a67 cm-10.1 -> github/cm-10.1
Fetching projects: 10% (36/360) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 3), reused 5 (delta 3)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_packages_apps_DSPManager
76bfa0b..20bd342 cm-10.1 -> github/cm-10.1
Fetching projects: 21% (76/360) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 3), reused 5 (delta 3)
Unpacking objects: 100% (5/5), done.packing objects: 40% (2/5)
From git://github.com/CyanogenMod/android_packages_apps_Calculator
02ec8d1..ea3b154 cm-10.1 -> github/cm-10.1
Fetching projects: 56% (202/360) remote: Counting objects: 11, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 6 (delta 4), reused 6 (delta 4)
Unpacking objects: 100% (6/6), done.
From git://github.com/CyanogenMod/Superuser
0a99cad..bc52d17 cm-10.1 -> github/cm-10.1
Fetching projects: 99% (357/360) ^Z
[1]+ Stopped repo sync
kaizokan@ubuntu1:~/android/system$ kill %1

[1]+ Stopped repo sync
kaizokan@ubuntu1:~/android/system$ repo sync -l
Syncing work tree: 100% (359/359), done.

[1]+ Terminated repo sync
kaizokan@ubuntu1:~/android/system$ cd ~/android/systemkaizokan@ubuntu1:~/android/system$ /build"; git checkout -b pdroid;
> cd ~/android/system/build; git checkout -b pdroid;
> cd ~/android/systemlibcore; git checkout -b pdroid;
> cd ~/android/system/packages/apps/Mms; git checkout -b pdroid;
> cd ~/android/system/frameworks/base; git checkout -b pdroid;
> cd ~/android/system/frameworks/opt/telephony; git checkout -b pdroid;
> cd ~/android/system
> patch -p1 < ~/android/ppatches/CM10.1_build.patch
> ^C
kaizokan@ubuntu1:~/android/system$ ^C
kaizokan@ubuntu1:~/android/system$ cd ~/android/system/build; git checkout -b pdroid;
Switched to a new branch 'pdroid'
kaizokan@ubuntu1:~/android/system/build$ cd ~/android/systemlibcore; git checkout -b pdroid;
bash: cd: /home/kaizokan/android/systemlibcore: No such file or directory
fatal: git checkout: branch pdroid already exists
kaizokan@ubuntu1:~/android/system/build$ cd ~/android/system/packages/apps/Mms; git checkout -b pdroid;
Switched to a new branch 'pdroid'
kaizokan@ubuntu1:~/android/system/packages/apps/Mms$ cd ~/android/system/frameworks/base; git checkout -b pdroid;
Switched to a new branch 'pdroid'
kaizokan@ubuntu1:~/android/system/frameworks/base$ cd ~/android/system/frameworks/opt/telephony; git checkout -b pdroid;
Switched to a new branch 'pdroid'
kaizokan@ubuntu1:~/android/system/frameworks/opt/telephony$ cd ~/android/system
kaizokan@ubuntu1:~/android/system$ patch -p1 < ~/android/ppatches/CM10.1_build.patch
patching file build/core/pathmap.mk
patching file build/target/product/core.mk
patching file build/target/product/security/privacy.x509.pem
kaizokan@ubuntu1:~/android/system$ patch -p1 < ~/android/ppatches/CM10.1_framework.patch
patching file frameworks/base/Android.mk
Hunk #2 succeeded at 217 (offset 3 lines).
Hunk #3 succeeded at 243 (offset 3 lines).
Hunk #4 succeeded at 283 (offset 3 lines).
Hunk #5 succeeded at 332 (offset 3 lines).
Hunk #6 succeeded at 341 (offset 3 lines).
patching file frameworks/base/core/java/android/app/ActivityManagerNative.java
patching file frameworks/base/core/java/android/app/ContextImpl.java
patching file frameworks/base/core/java/android/app/Instrumentation.java
patching file frameworks/base/core/java/android/content/ContentResolver.java
patching file frameworks/base/core/java/android/content/ContextWrapper.java
patching file frameworks/base/core/java/android/hardware/Camera.java
Hunk #8 succeeded at 1290 (offset 6 lines).
patching file frameworks/base/core/java/android/net/ConnectivityManager.java
patching file frameworks/base/core/java/android/net/NetworkInfo.java
patching file frameworks/base/core/java/android/net/RouteInfo.java
patching file frameworks/base/core/java/android/os/SystemProperties.java
patching file frameworks/base/core/java/android/provider/Settings.java
Hunk #4 succeeded at 3620 (offset 7 lines).
Hunk #5 succeeded at 3699 (offset 7 lines).
patching file frameworks/base/core/java/android/speech/srec/MicrophoneInputStream.java
patching file frameworks/base/media/java/android/media/AudioRecord.java
patching file frameworks/base/media/java/android/media/MediaRecorder.java
patching file frameworks/base/preloaded-classes
patching file frameworks/base/privacy/java/android/privacy/IPrivacySettingsManager.aidl
patching file frameworks/base/privacy/java/android/privacy/PrivacyCache.java
patching file frameworks/base/privacy/java/android/privacy/PrivacyFileObserver.java
patching file frameworks/base/privacy/java/android/privacy/PrivacyNotificationHandler.java
patching file frameworks/base/privacy/java/android/privacy/PrivacyPersistenceAdapter.java
patching file frameworks/base/privacy/java/android/privacy/PrivacySettings.aidl
patching file frameworks/base/privacy/java/android/privacy/PrivacySettings.java
patching file frameworks/base/privacy/java/android/privacy/PrivacySettingsManager.java
patching file frameworks/base/privacy/java/android/privacy/PrivacySettingsManagerService.java
patching file frameworks/base/privacy/java/android/privacy/PrivacyWatchDog.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyAccountManager.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyActivityManagerService.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyConnectivityManager.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyContentResolver.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyCursor.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyLocationManager.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyTelephonyManager.java
patching file frameworks/base/privacy/java/android/privacy/surrogate/PrivacyWifiManager.java
patching file frameworks/base/privacy/java/android/privacy/utilities/PrivacyConstants.java
patching file frameworks/base/privacy/java/android/privacy/utilities/PrivacyDebugger.java
patching file frameworks/base/privacy/java/android/privacy/utilities/ResolveHelper.java
patching file frameworks/base/services/java/com/android/server/am/BroadcastQueue.java
patching file frameworks/base/services/java/com/android/server/net/NetworkPolicyManagerService.java
patching file frameworks/base/services/java/com/android/server/PrivacyTelephonyRegistry.java
patching file frameworks/base/services/java/com/android/server/SystemServer.java
Hunk #1 succeeded at 80 (offset 1 line).
Hunk #2 succeeded at 250 (offset 1 line).
Hunk #3 succeeded at 306 (offset 1 line).
Hunk #4 succeeded at 1133 (offset 21 lines).
patching file frameworks/base/services/java/com/android/server/TelephonyRegistry.java
patching file frameworks/base/services/java/com/android/server/ThrottleService.java
patching file frameworks/base/telephony/java/android/telephony/PhoneStateListener.java
patching file frameworks/base/telephony/java/android/telephony/ServiceState.java
patching file frameworks/base/wifi/java/android/net/wifi/WifiInfo.java
patching file frameworks/opt/telephony/src/java/android/privacy/surrogate/PrivacyCDMALTEPhone.java
patching file frameworks/opt/telephony/src/java/android/privacy/surrogate/PrivacyCDMAPhone.java
patching file frameworks/opt/telephony/src/java/android/privacy/surrogate/PrivacyGSMPhone.java
patching file frameworks/opt/telephony/src/java/android/privacy/surrogate/PrivacyPhoneProxy.java
patching file frameworks/opt/telephony/src/java/android/privacy/surrogate/PrivacySipPhone.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CDMAPhone.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/RuimSmsInterfaceManager.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/GSMPhone.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SimSmsInterfaceManager.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneBase.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/SipPhoneFactory.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/SipPhone.java
patching file frameworks/opt/telephony/src/java/com/android/internal/telephony/SMSDispatcher.java
kaizokan@ubuntu1:~/android/system$ patch -p1 < ~/android/ppatches/CM10.1_libcore.patch
patching file libcore/luni/src/main/java/java/lang/PrivacyInputStream.java
patching file libcore/luni/src/main/java/java/lang/PrivacyProcessManager.java
patching file libcore/luni/src/main/java/java/lang/ProcessManager.java
kaizokan@ubuntu1:~/android/system$ patch -p1 < ~/android/ppatches/CM10.1_Mms.patch
patching file packages/apps/Mms/src/com/android/mms/transaction/HttpUtils.java
kaizokan@ubuntu1:~/android/system$ patch -p1 < ~/android/ppatches/CM10.1_PDAgent.patch
patching file packages/apps/PDroidAgent/AndroidManifest.xml
patching file packages/apps/PDroidAgent/Android.mk
patching file packages/apps/PDroidAgent/CleanSpec.mk
patching file packages/apps/PDroidAgent/README.md
patching file packages/apps/PDroidAgent/res/values/strings.xml
patching file packages/apps/PDroidAgent/src/com/privacy/pdroidagent/PrivacyReceiver.java
kaizokan@ubuntu1:~/android/system$ . build /envsetup.sh && brunch i9100
bash: .: build: is a directory
kaizokan@ubuntu1:~/android/system$ . build/envsetup.sh && brunch i9100
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
including vendor/cm/vendorsetup.sh
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20130522-UNOFFICIAL-i9100
TARGET_PRODUCT=cm_i9100
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.0.0-32-generic-x86_64-with-Ubuntu-11.10-oneiric
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/kaizokan/android/system/out
============================================

make: *** No rule to make target `bacon'. Stop.
kaizokan@ubuntu1:~/android/system$

I did look at http://wiki.cyanogenmod.org/w/Build_for_i9100 Thats how i started and build a previous rom without this error.