Problem when building Android O Preview 3

901 views
Skip to first unread message

Larry Tsai

unread,
Jul 11, 2017, 2:41:06 PM7/11/17
to Android Building
Hi,

I am trying to build android-o-preview-3 for Nexus Player, but it fails at the very beginning while loading Android.bp of each module.

The building log shows two errors:
error: frameworks/rs/cpu_ref/Android.bp:1:1: "libRSCpuRef" depends on undefined module "libblas"
error: frameworks/base/media/jni/Android.bp:1:1: "libmedia_jni" depends on undefined module "libexif"

My building sequences follows the instruction at:

It works on AOSP KK/L/M/N, but now it fails at O preview. Here is the whole log:

============================================
PLATFORM_VERSION_CODENAME=O
PLATFORM_VERSION=O
TARGET_PRODUCT=aosp_fugu
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=silvermont
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.1.4-040104-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
============================================
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp out/soong/.minibootstrap/build.ninja.in
[4/4] cp out/soong/.bootstrap/bin/bpglob
[496/497] glob vendor/*/*/Android.bp
[45/46] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build  -t -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: frameworks/base/media/jni/Android.bp:1:1: "libmedia_jni" depends on undefined module "libexif"
[46/46] soong_build docs out/soong/.bootstrap/docs/soong_build.html
FAILED: out/soong/.bootstrap/docs/soong_build.html
out/soong/.bootstrap/bin/soong_build  -t -b out/soong --docs out/soong/.bootstrap/docs/soong_build.html ./Android.bp
error: frameworks/rs/cpu_ref/Android.bp:1:1: "libRSCpuRef" depends on undefined module "libblas"
error: frameworks/base/media/jni/Android.bp:1:1: "libmedia_jni" depends on undefined module "libexif"
ninja: build stopped: subcommand failed.
00:15:47 soong failed with: exit status 1
make: *** [run_soong_ui] Error 1


Am I missed some new sequence introduced by new build system blueprint?


Best Regards,
Larry

PeterK

unread,
Jul 11, 2017, 8:07:27 PM7/11/17
to Android Building
android-o-preview-3 is not a full release and is not buildable. From the announcement "This preview is not a full platform update and only for reference."

Pete.

胡泊洋

unread,
Aug 5, 2017, 3:40:02 PM8/5/17
to Android Building
Did U fix this issue?
I meet same problem...

在 2017年7月12日星期三 UTC+8上午2:41:06,Larry Tsai写道:

Glenn Kasten

unread,
Aug 5, 2017, 3:47:46 PM8/5/17
to Android Building

As mentioned by PeterK on July 11, android-o-preview-3 is not a full release and is not buildable. 


From the announcement "This preview is not a full platform update and only for reference." 

Reply all
Reply to author
Forward
0 new messages