[Verizon Droid Incredible 2] alochmst98:
When I run "make -j4 bacon" it ends up stopping because of a duplicate GPS error. Chilly mentioned that there would be such an error and said to "just delete the file in case." Which file? The one in GPS or the one in GPS legacy?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140315-UNOFFICIAL-vivow
TARGET_PRODUCT=cm_vivow
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=scorpion
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-18-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/slinkwyde/CM11/android/system/out
============================================
/home/slinkwyde/CM11/android/system/out/target/product/vivow/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/obj/include/qcom/display/copybit_priv.h'
build/core/base_rules.mk:134: *** hardware/qcom/gps/librpc: MODULE.TARGET.STATIC_LIBRARIES.librpc already defined by hardware/qcom/gps-legacy/loc_api/librpc. Stop.

I noticed that GPS-legacy was specifically mentioned in Chilly's local_manifest.xml, so I guessed that the one in gps-legacy was the one needed for the Incredible 2. I thus moved "hardware/qcom/gps/librpc/" completely outside of the working directory (to /home/slinkwyde). That got rid of the error for duplicate librpc, but then I got another duplicate GPS error (for hardware/qcom/gps/loc_api/libloc_api-rpc). I did the same thing, and then got the third and last duplicate GPS error (for hardware/qcom/gps/loc_api/libloc_api).

After getting rid of the three duplicate GPS errors, it progressed further but then stopped because there was no rule to make the target for libloc_api (because, like I said, I had moved that directory to get rid of the duplicate GPS error for it).

hardware/qcom/gps/loc_api/Android.mk:44: hardware/qcom/gps/loc_api/libloc_api-rpc/Android.mk: No such file or directory
26	hardware/qcom/gps/loc_api/Android.mk:44: hardware/qcom/gps/loc_api/libloc_api/Android.mk: No such file or directory
27	build/core/Makefile:44: warning: overriding commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/lib/hw/camera.d
efault.so'
28	build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/lib/hw/camera.d
efault.so'
29	build/core/Makefile:44: warning: overriding commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/etc/permissions
/android.software.live_wallpaper.xml'
30	build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/etc/permissions
/android.software.live_wallpaper.xml'
31	build/core/Makefile:44: warning: overriding commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/etc/permissions
/android.software.live_wallpaper.xml'
32	build/core/Makefile:44: warning: ignoring old commands for target `/home/slinkwyde/CM11/android/system/out/target/product/vivow/system/etc/permissions
/android.software.live_wallpaper.xml'
33	PRODUCT_COPY_FILES device/htc/vivow/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
34	PRODUCT_COPY_FILES device/htc/vivow/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
35	PRODUCT_COPY_FILES device/htc/vivow/dsp/audio_policy.conf:system/etc/audio_policy.conf ignored.
36	PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
37	No private recovery resources for TARGET_DEVICE vivow
38	make: *** No rule to make target `hardware/qcom/gps/loc_api/libloc_api/Android.mk'. Stop.

Now I don't know what to do. I've since rolled back my changes by moving those three files/folders back to their original locations.

[MENTION=4893336]polymath257[/MENTION], have you seen this error before?

The posts I've read in this thread are the first post, and then posts 124 through 141, the posts where polymath comes in, gets help from chilly et al, and ultimately posts the solution he found to his build/recovery problems.

I'm using a virtual machine of Lubuntu 13.10 (64-bit) and version 7 of the Oracle JDK. I used this guide and a little bit of this guide to get my environment set up and my CM repo initialized.