[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Here's my terminal session:

administrator@Ryan-MacBook:~/WORKING_DIRECTORY$ source envsetup.sh

bash: envsetup.sh: No such file or directory

administrator@Ryan-MacBook:~/WORKING_DIRECTORY$ source build/envsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-mips/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/generic/mini-emulator-x86/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

administrator@Ryan-MacBook:~/WORKING_DIRECTORY$ add_lunch_combo cm_p6601-userdebug

administrator@Ryan-MacBook:~/WORKING_DIRECTORY$ lunch

You're building on Linux

Lunch menu... pick a combo:

1. aosp_arm64-eng	76. cm_klte-userdebug

2. aosp_arm-eng	77. cm_kltevzw-userdebug

3. aosp_mips64-eng	78. cm_ks01lte-userdebug

4. aosp_mips-eng	79. cm_l01f-userdebug

5. aosp_x86_64-eng	80. cm_l900-userdebug

6. aosp_x86-eng	81. cm_lettuce-userdebug

7. cm_a5dwg-userdebug	82. cm_ls990-userdebug

8. cm_acclaim-userdebug	83. cm_lt03lte-userdebug

9. cm_angler-userdebug	84. cm_lux-userdebug

10. cm_apollo-userdebug	85. cm_m8d-userdebug

11. cm_bacon-userdebug	86. cm_m8-userdebug

12. cm_bullhead-userdebug	87. cm_maguro-userdebug

13. cm_cancro-userdebug	88. cm_mako-userdebug

14. cm_che10-userdebug	89. cm_manta-userdebug

15. cm_cherry-userdebug	90. cm_maserati-userdebug

16. cm_clark-userdebug	91. cm_mint-userdebug

17. cm_condor-userdebug	92. cm_mondrianwifi-userdebug

18. cm_crackling-userdebug	93. cm_mt2-userdebug

19. cm_d2att-userdebug	94. cm_n3-userdebug

20. cm_d2spr-userdebug	95. cm_n5100-userdebug

21. cm_d2tmo-userdebug	96. cm_n5110-userdebug

22. cm_d2vzw-userdebug	97. cm_n5120-userdebug

23. cm_d800-userdebug	98. cm_nicki-userdebug

24. cm_d801-userdebug	99. cm_odin-userdebug

25. cm_d802-userdebug	100. cm_oneplus2-userdebug

26. cm_d803-userdebug	101. cm_oneplus3-userdebug

27. cm_d850-userdebug	102. cm_onyx-userdebug

28. cm_d851-userdebug	103. cm_osprey-userdebug

29. cm_d852-userdebug	104. cm_otus-userdebug

30. cm_d855-userdebug	105. cm_P024-userdebug

31. cm_deb-userdebug	106. cm_p6601-userdebug

32. cm_dogo-userdebug	107. cm_peregrine-userdebug

33. cm_ether-userdebug	108. cm_pollux-userdebug

34. cm_f400-userdebug	109. cm_pollux_windy-userdebug

35. cm_falcon-userdebug	110. cm_quark-userdebug

36. cm_find7s-userdebug	111. cm_r5-userdebug

37. cm_find7-userdebug	112. cm_r7plus-userdebug

38. cm_flounder_lte-userdebug	113. cm_roth-userdebug

39. cm_flounder-userdebug	114. cm_sambar-userdebug

40. cm_flo-userdebug	115. cm_serrano3gxx-userdebug

41. cm_g2m-userdebug	116. cm_serranoltexx-userdebug

42. cm_gts210ltexx-userdebug	117. cm_shamu-userdebug

43. cm_gts210wifi-userdebug	118. cm_shieldtablet-userdebug

44. cm_h811-userdebug	119. cm_sprout4-userdebug

45. cm_h815-userdebug	120. cm_sprout8-userdebug

46. cm_hammerhead-userdebug	121. cm_spyder-userdebug

47. cm_ham-userdebug	122. cm_surnia-userdebug

48. cm_hayabusa-userdebug	123. cm_t0lte-userdebug

49. cm_hiaeuhl-userdebug	124. cm_targa-userdebug

50. cm_hiaeul-userdebug	125. cm_thea-userdebug

51. cm_himaul-userdebug	126. cm_thor-userdebug

52. cm_himawl-userdebug	127. cm_titan-userdebug

53. cm_huashan-userdebug	128. cm_tomato-userdebug

54. cm_i605-userdebug	129. cm_toroplus-userdebug

55. cm_i9100-userdebug	130. cm_toro-userdebug

56. cm_i925-userdebug	131. cm_tsubasa-userdebug

57. cm_i9300-userdebug	132. cm_umts_spyder-userdebug

58. cm_jag3gds-userdebug	133. cm_v400-userdebug

59. cm_jagnm-userdebug	134. cm_v410-userdebug

60. cm_jalebi-userdebug	135. cm_victara-userdebug

61. cm_jflteatt-userdebug	136. cm_vs985-userdebug

62. cm_jfltespr-userdebug	137. cm_w5-userdebug

63. cm_jfltetmo-userdebug	138. cm_w7-userdebug

64. cm_jfltevzw-userdebug	139. cm_wt88047-userdebug

65. cm_jfltexx-userdebug	140. cm_xt897-userdebug

66. cm_kenzo-userdebug	141. cm_yuga-userdebug

67. cm_kipper-userdebug	142. cm_Z008-userdebug

68. cm_kiwi-userdebug	143. cm_Z00A-userdebug

69. cm_kltechnduo-userdebug	144. cm_Z00L-userdebug

70. cm_kltechn-userdebug	145. cm_Z00T-userdebug

71. cm_klteduos-userdebug	146. m_e_arm-userdebug

72. cm_kltedv-userdebug	147. mini_emulator_arm64-userdebug

73. cm_kltekdi-userdebug	148. mini_emulator_mips-userdebug

74. cm_kltespr-userdebug	149. mini_emulator_x86_64-userdebug

75. cm_klteusc-userdebug	150. mini_emulator_x86-userdebug

Which would you like? [aosp_arm-eng] 106

Looking for dependencies

Dependencies file not found, bailing out.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

CM_VERSION=13.0-20160830-UNOFFICIAL-p6601

TARGET_PRODUCT=cm_p6601

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a7

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-36-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=MOB30Z

OUT_DIR=/home/administrator/WORKING_DIRECTORY/out

============================================

administrator@Ryan-MacBook:~/WORKING_DIRECTORY$ make p6601

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

CM_VERSION=13.0-20160830-UNOFFICIAL-p6601

TARGET_PRODUCT=cm_p6601

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a7

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-36-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=MOB30Z

OUT_DIR=/home/administrator/WORKING_DIRECTORY/out

============================================

"ebtables is disabled on this build"

packages/apps/AudioFX/tests/Android.mk:26: *** SIGNING MODIOFX WITH TEST KEY ***

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/root/res/images/charger/battery_fail.png'

find: ‘dummy’: No such file or directory

build/core/Makefile:46: warning: overriding recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/system/etc/permissions/android.software.live_wallpaper.xml'

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.

find: ‘bootable/recovery-twrp/res-xhdpi’: No such file or directory

No private recovery resources for TARGET_DEVICE p6601

build/core/tasks/kernel.mk:186: **********************************************************

build/core/tasks/kernel.mk:187: * Kernel source found, but no configuration was defined *

build/core/tasks/kernel.mk:188: * Please add the TARGET_KERNEL_CONFIG variable to your *

build/core/tasks/kernel.mk:189: * BoardConfig.mk file *

build/core/tasks/kernel.mk:190: **********************************************************

build/core/tasks/kernel.mk:361: warning: overriding recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/kernel'

build/core/Makefile:46: warning: ignoring old recipe for target '/home/administrator/WORKING_DIRECTORY/out/target/product/p6601/kernel'

make: *** No rule to make target 'p6601'. Stop.

#### make failed to build some targets (52 seconds) ####

When I run it with p6601, cm_p6601, and cm_p6601-userdebug it all does the same thing.