[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] asphodeli:
Trouble building CM11 from sources

Hi,

I'm practicing how to build CM11 from scratch for urushi so that I can move on to porting CM to another phone, and I followed this guide through, but it seems that there's a problem the build process:

target thumb C++: libstagefright_amrnbenc <= frameworks/av/media/libstagefright/codecs/amrnb/enc/src/sp_enc.cpp
target thumb C++: libstagefright_amrnbenc <= frameworks/av/media/libstagefright/codecs/amrnb/enc/src/spreproc.cpp
target thumb C++: libstagefright_amrnbenc <= frameworks/av/media/libstagefright/codecs/amrnb/enc/src/spstproc.cpp
target thumb C++: libstagefright_amrnbenc <= frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ton_stab.cpp
Gyp timestamp: /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/net_net_resources_gyp_intermediates/net_resources.stamp
Gyp timestamp: /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/webkit_webkit_resources_gyp_intermediates/webkit_resources.stamp
Gyp timestamp: /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/skia_skia_library_gyp_intermediates/skia_library.stamp
Gyp action: Generating icui18n shim headers. (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/shim_headers/icui18n/target/third_party/icu/source/i18n/unicode/basictz.h)
Gyp action: Generating icuuc shim headers. (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/shim_headers/icuuc/target/third_party/icu/source/common/unicode/brkiter.h)
Gyp timestamp: /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/ui_base_strings_ui_strings_gyp_intermediates/ui_strings.stamp
Gyp timestamp: /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/ui_ui_jni_headers_gyp_intermediates/ui_jni_headers.stamp
Gyp action: Generating JNI bindings from /home/daffodilistic/android/system/prebuilts/sdk/17/android.jar/android/view/Surface.class (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Import includes file: /home/daffodilistic/android/system/out/target/product/urushi/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/import_includes
Export includes file: external/chromium_org/GypAndroid.linux-arm.mk -- /home/daffodilistic/android/system/out/target/product/urushi/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/export_includes
Gyp action: Generating /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/DebuggerScriptSource.h from ../bindings/v8/DebuggerScript.js (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/DebuggerScriptSource.h)
Gyp action: Generating /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InjectedScriptCanvasModuleSource.h from inspector/InjectedScriptCanvasModuleSource.js (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InjectedScriptCanvasModuleSource.h)
Gyp action: Generating /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InjectedScriptSource.h from inspector/InjectedScriptSource.js (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InjectedScriptSource.h)
Gyp action: Generating /home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InspectorOverlayPage.h from inspector/InspectorOverlayPage.html (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InspectorOverlayPage.h)
Gyp action: Validate inspector protocol for backwards compatibility and generate version file (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InspectorProtocolVersion.h)
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1070, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1066, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 1001, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 512, in CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Gyp action: Generating Inspector instrumentation code from InspectorInstrumentation.idl (/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/blink/InspectorCanvasInstrumentationInl.h)
make: *** [/home/daffodilistic/android/system/out/target/product/urushi/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Error 1
make: *** Waiting for unfinished jobs....
[daffodilistic@localhost system]$ uname -a
Linux localhost.localdomain 3.11.10-100.fc18.x86_64 #1 SMP Mon Dec 2 20:28:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[daffodilistic@localhost system]$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
[daffodilistic@localhost system]$

Am I missing some files or the repo is out of sync? :confused: