I am a novice and trying to build master branch for Google Pixel since few days. Every time I am encountering error, such as
*[ 58% 572/975] including system/sepolicy/Android.mk ...* *system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version* *[100% 975/975] writing build rules ...* *FAILED: * *build/make/core/Makefile:28: error: overriding commands for target `out/target/product/sailfish/system/lib/libclcore_neon.bc', previously defined at build/make/core/base_rules.mk:414* *20:51:27 ckati failed with: exit status 1* Following are the steps I have used in latest build attempt: 1. Downloaded the source code using following command: repo init -u https://android.googlesource.com/platform/manifest 2. Downloaded following binaries: Pixel binaries for Android (PPR2.181005.003) from https://developers.google.com/android/drivers 3. Extracted the binaries in working directory 4. *source build/envsetup.sh* 5. *lunch aosp_sailfish-user* 6. *time make -j24* Since I have new working directory and downloaded the source code in it, therefore I did not run *make clobber* command. I have also used *make clobber* during previous build attempts. I have also tried with *make -j4*, however, same error remains. Android documentation says "You can download official binaries for the supported devices running tagged AOSP release branches from Google's drivers. These binaries add access to additional hardware capabilities with non-open source code. *To build the AOSP master branch, use the Binaries Preview instead. When building the master branch for a device, use the binaries for the most recent numbered release or with the most recent date.*". Therefore, I have also tried with *preview binaries* also. Am I doing anything wrong here? *I am not sure about my choice of binaries*. Pleas help! -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
