[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gr8tech:
Did you recently upgrade to Ubuntu 13.10? Also, did you update to the new version of repo? I had the same exact issue after updating my system last night. I also did a complete wipe and redownloaded the repo as you did. Then I had to run the "android" command and update and reinstall all the build tools. After dealing with bad repo sync issues and cleaning up corrupted files, I moved on to a post that looks a little more recent for Android 4.3.1 building than our Project Rookie thread to see if I could get a build going.

I followed this guide from this post: http://xdaforums.com/showthread.php?p=46600323&styleid=18 but modified it to be samsung and skyrocket respectively. I also removed all java 6 versions and updated to Oracle java 7 as this post says to use (haven't checked or tried openjdk yet, so I can't report on it). Once you get to the part about the kernel, I just issued the command to the "Working_Directory/kernel/samsung/msm8660-common" folder. After that I went back to the instructions from our Project Rookie thread and the build looked like it was starting to run again, but after a point, I am getting an error like your's.

target thumb C++: liboverlay <= hardware/qcom/display-caf/liboverlay/overlay.cpp
In file included from hardware/qcom/display-caf/libhwcomposer/hwc_utils.h:32:0,
from hardware/qcom/display-caf/libexternal/external.cpp:33:
hardware/qcom/display-caf/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(uint32_t)':
hardware/qcom/display-caf/liboverlay/overlayUtils.h:481:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
target thumb C++: liboverlay <= hardware/qcom/display-caf/liboverlay/overlayUtils.cpp
make: *** [/home/gr8tech/CM10.2/out/target/product/skyrocket/obj/SHARED_LIBRARIES/libexternal_intermediates/external.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/display-caf/liboverlay/overlay.h:33:0,
from hardware/qcom/display-caf/liboverlay/overlay.cpp:30:
hardware/qcom/display-caf/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(uint32_t)':
hardware/qcom/display-caf/liboverlay/overlayUtils.h:481:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
In file included from hardware/qcom/display-caf/liboverlay/overlayUtils.cpp:36:0:
hardware/qcom/display-caf/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(uint32_t)':
hardware/qcom/display-caf/liboverlay/overlayUtils.h:481:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
make: *** [/home/gr8tech/CM10.2/out/target/product/skyrocket/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlay.o] Error 1
hardware/qcom/display-caf/liboverlay/overlayUtils.cpp: In function 'int overlay::utils::getMdpFormat(int)':
hardware/qcom/display-caf/liboverlay/overlayUtils.cpp:118:20: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
hardware/qcom/display-caf/liboverlay/overlayUtils.cpp: In function 'int overlay::utils::getHALFormat(int)':
hardware/qcom/display-caf/liboverlay/overlayUtils.cpp:173:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
make: *** [/home/gr8tech/CM10.2/out/target/product/skyrocket/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayUtils.o] Error 1
gr8tech@gr8tech-MacBookPro:~/CM10.2$

:eek::(:eek::(:confused::confused::confused::confused::confused: