[Android Apps and Games] emph4tic:
Hey guys,

I wanted to try patching and compiling Paranoid Android, but ran into some problems. The ppatch script seemed to have got tripped up detecting the source tree directory (I did run the . build/envsetup.sh command prior) so I applied each script manually with the "patch -p1 < ~" commands.

Unfortunately, I ran into the following error while compiling:

Notice file: external/doclava/NOTICE -- /home/jk/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//framework/doclava.jar.txt
Install: /home/jk/android/system/out/host/linux-x86/framework/doclava.jar
Aidl: telephony-common <= frameworks/opt/telephony/src/java/com/android/internal/telephony/ISms.aidl
Aidl: telephony-common <= frameworks/opt/telephony/src/java/com/android/internal/telephony/IIccPhoneBook.aidl
logtags: /home/jk/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/EventLogTags.java <= frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags
target Java: telephony-common (/home/jk/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes)
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:153: cannot find symbol
symbol : class PrivacyPhoneProxy
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyGSMPhone(context, sCommandsInterface, sPhoneNotifier),context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:153: cannot find symbol
symbol : class PrivacyGSMPhone
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyGSMPhone(context, sCommandsInterface, sPhoneNotifier),context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:154: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "user is now using privacy GSM Phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:161: cannot find symbol
symbol : class PrivacyPhoneProxy
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyCDMALTEPhone(context, sCommandsInterface, sPhoneNotifier), context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:161: cannot find symbol
symbol : class PrivacyCDMALTEPhone
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyCDMALTEPhone(context, sCommandsInterface, sPhoneNotifier), context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:162: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "user is now using privacy CDMALTE Phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:170: cannot find symbol
symbol : class PrivacyPhoneProxy
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyCDMAPhone(context, sCommandsInterface, sPhoneNotifier), context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:170: cannot find symbol
symbol : class PrivacyCDMAPhone
location: class com.android.internal.telephony.PhoneFactory
sProxyPhone = new PrivacyPhoneProxy(new PrivacyCDMAPhone(context, sCommandsInterface, sPhoneNotifier), context);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:171: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "user is now using privacy CDMA Phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:199: cannot find symbol
symbol : class PrivacyCDMALTEPhone
location: class com.android.internal.telephony.PhoneFactory
phone = new PrivacyCDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:200: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "getCdmaPhone - returning privacy CDMALTE phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:207: cannot find symbol
symbol : class PrivacyCDMAPhone
location: class com.android.internal.telephony.PhoneFactory
phone = new PrivacyCDMAPhone(sContext, sCommandsInterface, sPhoneNotifier);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:208: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "getCdmaPhone - returning privacy cdma phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:218: cannot find symbol
symbol : class PrivacyGSMPhone
location: class com.android.internal.telephony.PhoneFactory
Phone phone = new PrivacyGSMPhone(sContext, sCommandsInterface, sPhoneNotifier);
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:219: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "getGsmPhone - returning privacy GSM phone");
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneFactory.java:230: cannot find symbol
symbol : variable PrivacyDebugger
location: class com.android.internal.telephony.PhoneFactory
PrivacyDebugger.i("PhoneFactory", "makeSipPhone() - returning privacy sip phone");
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
16 errors
make: *** [/home/jk/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41

If I remove the PDroid patches it compiles successfully.

Any ideas on what I might be the problem?