User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nox4developper.blogspot.com/sitemap.xml Nox 4 developper: [Q] Help needed to build a ROM topic

[Q] Help needed to build a ROM topic






Hello Guys,
This is the first time i am building an AOSP based ROM(Resurrection Remix) from source for Samsung Galaxy S4.
I am using Ubuntu 14.04 and i also installed all the required packages mentioned in this page.
I am getting errors while building the ROM.

I typed these commands in the terminal :

Code:


  $ cd ~/RR
  $ . build/envsetup.sh && brunch i9500


Where RR is the directory in which i am working which contains the device tree, vendor repo, rom source, etc.

Here is the result :




Code:


including device/samsung/i9500/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/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
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.2
CM_VERSION=Resurrection_Remix_LP_v5.2.6-20141230-i9500
TARGET_PRODUCT=cm_i9500
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LRX22G
OUT_DIR=/home/edwin/RR/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.2
CM_VERSION=Resurrection_Remix_LP_v5.2.6-20141230-i9500
TARGET_PRODUCT=cm_i9500
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LRX22G
OUT_DIR=/home/edwin/RR/out
============================================
Checking build tools versions...
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
"ebtables is disabled on this build"
external/ffmpeg/libavcodec/Makefile:898: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/cos_tables.c'
external/ffmpeg/libavcodec/Makefile:898: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/cos_tables.c'
external/ffmpeg/libavcodec/Makefile:898: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/cos_fixed_tables.c'
external/ffmpeg/libavcodec/Makefile:898: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/cos_fixed_tables.c'
external/ffmpeg/libavcodec/Makefile:898: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/sin_tables.c'
external/ffmpeg/libavcodec/Makefile:898: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/sin_tables.c'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/cabac_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/cabac_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/cbrt_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/cbrt_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/aacps_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/aacps_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/aacsbr_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/aacsbr_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/aac_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/aac_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/dsd_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/dsd_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/dv_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/dv_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/sinewin_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/sinewin_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/mpegaudio_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/mpegaudio_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/motionpixels_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/motionpixels_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/pcm_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/pcm_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: overriding commands for target `external/ffmpeg/libavcodec/../android/include/qdm2_tables.h'
external/ffmpeg/libavcodec/Makefile:912: warning: ignoring old commands for target `external/ffmpeg/libavcodec/../android/include/qdm2_tables.h'
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `../../../hardware/samsung/cmhw': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES device/samsung/i9500/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
No private recovery resources for TARGET_DEVICE i9500
build/core/tasks/kernel.mk:63: ***************************************************************
build/core/tasks/kernel.mk:64: * Using prebuilt kernel binary instead of source              *
build/core/tasks/kernel.mk:65: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
build/core/tasks/kernel.mk:66: * Please configure your device to download the kernel        *
build/core/tasks/kernel.mk:67: * source repository to kernel/samsung/exynos5410
build/core/tasks/kernel.mk:68: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:69: * for more information                                        *
build/core/tasks/kernel.mk:70: ***************************************************************
Export includes file: system/core/libmincrypt/Android.mk -- /home/edwin/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/curlbuild.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/curl.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/curlrules.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/curlver.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/easy.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/mprintf.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/multi.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/stdcheaders.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libcurl/curl/typecheck-gcc.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/libexpat/expat.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libexpat/expat.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libexpat/expat_external.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/libpng/png.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/libpng/pngconf.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/libpng/pngusr.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libpng/png.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libpng/pngconf.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libpng/pngusr.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/selinux/selinux.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/selinux/label.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/selinux/context.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/selinux/avc.h
Header: /home/edwin/RR/out/host/linux-x86/obj/include/selinux/android.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/selinux/selinux.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/selinux/label.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/selinux/context.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/selinux/avc.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/selinux/android.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c-private.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libsonivox/eas.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libsonivox/eas_types.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libsonivox/eas_reverb.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libsonivox/jet.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libwpa_client/wpa_ctrl.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/libwpa_client/qca-vendor.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/sdk/softap/include/qsap_api.h
Header: /home/edwin/RR/out/target/product/i9500/obj/include/sdk/softap/include/qsap.h
Import includes file: /home/edwin/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
Export includes file: system/core/mkbootimg/Android.mk -- /home/edwin/RR/out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/export_includes
Export includes file: build/libs/host/Android.mk -- /home/edwin/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: /home/edwin/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/import_includes
Export includes file: build/tools/acp/Android.mk -- /home/edwin/RR/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/export_includes
make: *** No rule to make target `/home/edwin/RR/out/target/product/i9500/kernel', needed by `/home/edwin/RR/out/target/product/i9500/boot.img'.  Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/core/libmincrypt/NOTICE -- /home/edwin/RR/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt






Here is the content of vendorsetup.sh :





Code:


for combo in $(curl -s https://raw.githubusercontent.com/CyanogenMod/hudson/master/cm-build-targets | sed -e 's/#.*$//' | grep cm-11.0 | awk {'print '})
do
add_lunch_combo $combo
done






Thanks in advance.






Aucun commentaire:

Enregistrer un commentaire