[Moto G Q&A, Help & Troubleshooting] jared.leto:
I am trying to compile paranoid android I keep running into the following errors::

target Java: ThemesProvider (/home/sam/paranoid/out/target/common/obj/APPS/ThemesProvider_intermediates/classes)
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:29: error: cannot find symbol
import android.content.res.ThemeChangeRequest.RequestType;
^
symbol: class RequestType
location: class ThemeChangeRequest
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:36: error: cannot find symbol
import android.provider.ThemesContract.ThemesColumns.InstallState;
^
symbol: class InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:31: error: cannot find symbol
import android.content.res.ThemeChangeRequest.RequestType;
^
symbol: class RequestType
location: class ThemeChangeRequest
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:108: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, isProcessing ? InstallState.INSTALLING :
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:108: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, isProcessing ? InstallState.INSTALLING :
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:109: error: cannot find symbol
InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:132: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, isProcessing ? InstallState.INSTALLING :
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:132: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, isProcessing ? InstallState.INSTALLING :
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:133: error: cannot find symbol
InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:174: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE,
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:175: error: cannot find symbol
isProcessing ? InstallState.UPDATING : InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:175: error: cannot find symbol
isProcessing ? InstallState.UPDATING : InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:207: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE,
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:208: error: cannot find symbol
isProcessing ? InstallState.UPDATING : InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:208: error: cannot find symbol
isProcessing ? InstallState.UPDATING : InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:248: error: cannot find symbol
builder.setRequestType(RequestType.THEME_REMOVED);
^
symbol: variable RequestType
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java:364: error: cannot find symbol
builder.setRequestType(RequestType.THEME_UPDATED);
^
symbol: variable RequestType
location: class ThemePackageHelper
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:443: error: cannot find symbol
ThemesColumns.INSTALL_STATE + " INTEGER DEFAULT " +
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:444: error: cannot find symbol
ThemesColumns.InstallState.UNKNOWN +
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:390: error: cannot find symbol
ThemesTable.TABLE_NAME, ThemesColumns.INSTALL_STATE,
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:391: error: cannot find symbol
ThemesColumns.InstallState.UNKNOWN);
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:396: error: cannot find symbol
ThemesColumns.INSTALL_STATE, ThemesColumns.InstallState.INSTALLED));
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:396: error: cannot find symbol
ThemesColumns.INSTALL_STATE, ThemesColumns.InstallState.INSTALLED));
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:471: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, ThemesColumns.InstallState.INSTALLED);
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java:471: error: cannot find symbol
values.put(ThemesColumns.INSTALL_STATE, ThemesColumns.InstallState.INSTALLED);
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:157: error: cannot find symbol
if (values.containsKey(ThemesColumns.INSTALL_STATE)) {
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:158: error: cannot find symbol
int state = values.getAsInteger(ThemesColumns.INSTALL_STATE);
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:159: error: cannot find symbol
processPreviews = state == ThemesColumns.InstallState.INSTALLING;
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:309: error: cannot find symbol
if (values.containsKey(ThemesColumns.INSTALL_STATE)) {
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:310: error: cannot find symbol
int newState = values.getAsInteger(ThemesColumns.INSTALL_STATE);
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:311: error: cannot find symbol
if (newState == ThemesColumns.InstallState.INSTALLED) {
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:312: error: cannot find symbol
if (oldInstallState == ThemesColumns.InstallState.INSTALLING) {
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:314: error: cannot find symbol
} else if (oldInstallState == ThemesColumns.InstallState.UPDATING) {
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/ThemesProvider.java:557: error: cannot find symbol
builder.setRequestType(RequestType.THEME_REMOVED);
^
symbol: variable RequestType
location: class ThemesProvider.VerifyInstalledThemesThread
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:68: error: cannot find symbol
String[] projection = new String[] { ThemesColumns.INSTALL_STATE };
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:74: error: cannot find symbol
int state = ThemesColumns.InstallState.UNKNOWN;
^
symbol: variable InstallState
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:77: error: cannot find symbol
state = c.getInt(c.getColumnIndex(ThemesColumns.INSTALL_STATE));
^
symbol: variable INSTALL_STATE
location: class ThemesColumns
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:90: error: cannot find symbol
Intent intent = new Intent(ThemesContract.Intent.ACTION_THEME_INSTALLED,
^
symbol: variable Intent
location: class ThemesContract
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:91: error: cannot find symbol
Uri.fromParts(ThemesContract.Intent.URI_SCHEME_PACKAGE, pkgName, null));
^
symbol: variable Intent
location: class ThemesContract
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:101: error: cannot find symbol
Intent intent = new Intent(ThemesContract.Intent.ACTION_THEME_UPDATED,
^
symbol: variable Intent
location: class ThemesContract
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:102: error: cannot find symbol
Uri.fromParts(ThemesContract.Intent.URI_SCHEME_PACKAGE, pkgName, null));
^
symbol: variable Intent
location: class ThemesContract
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:112: error: cannot find symbol
Intent intent = new Intent(ThemesContract.Intent.ACTION_THEME_REMOVED,
^
symbol: variable Intent
location: class ThemesContract
packages/providers/ThemesProvider/src/org/cyanogenmod/themes/provider/util/ProviderUtils.java:113: error: cannot find symbol
Uri.fromParts(ThemesContract.Intent.URI_SCHEME_PACKAGE, pkgName, null));
^
symbol: variable Intent
location: class ThemesContract
43 errors
build/core/java.mk:343: recipe for target '/home/sam/paranoid/out/target/common/obj/APPS/ThemesProvider_intermediates/classes-full-debug.jar' failed
make: *** [/home/sam/paranoid/out/target/common/obj/APPS/ThemesProvider_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Preparing output jar [/home/sam/paranoid/out/target/common/obj/APPS/SharedStorageBackup_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/sam/paranoid/out/target/common/obj/APPS/SharedStorageBackup_intermediates/classes.jar]

./rom-build.sh: line 142: bc: command not found
./rom-build.sh: line 142: bc: command not found
Total time elapsed: minutes ( seconds)

Does anybody know how to fix this? Can somebody please explain the procedure?

Thanks.