Hi,

My build can't find bison, but it's right there. 'repo sync' worked just 
fine.


$ lsb_release -a 

No LSB modules are available. 

Distributor ID: Ubuntu 

Description: Ubuntu 16.04.2 LTS 

Release: 16.04 

Codename: xenial


$ make clobber


$ repo init -u https://android.googlesource.com/platform/manifest -b 
android-7.1.2_r12


$ repo sync

(definitely no errors here)


$ source build/envsetup.sh


$ lunch aosp_arm-eng

============================================ 

PLATFORM_VERSION_CODENAME=REL 

PLATFORM_VERSION=7.1.2 

TARGET_PRODUCT=aosp_arm 

TARGET_BUILD_VARIANT=eng 

TARGET_BUILD_TYPE=release 

TARGET_BUILD_APPS= 

TARGET_ARCH=arm 

TARGET_ARCH_VARIANT=armv7-a 

TARGET_CPU_VARIANT=generic 

TARGET_2ND_ARCH= 

TARGET_2ND_ARCH_VARIANT= 

TARGET_2ND_CPU_VARIANT= 

HOST_ARCH=x86_64 

HOST_2ND_ARCH=x86 

HOST_OS=linux 

HOST_OS_EXTRA=Linux-4.4.0-1020-aws-x86_64-with-Ubuntu-16.04-xenial 

HOST_CROSS_OS=windows 

HOST_CROSS_ARCH=x86 

HOST_CROSS_2ND_ARCH=x86_64 

HOST_BUILD_TYPE=release 

BUILD_ID=N2G47X 

OUT_DIR=out 

============================================


$ make -j16

...

Starting build with ninja 

ninja: Entering directory `.' 

[ 0% 343/35670] host Java: tagsouplib 
(out/host/common/obj/JAVA_LIBRARIES/tagsouplib_intermediates/classes) 

Note: Some input files use unchecked or unsafe operations. 

Note: Recompile with -Xlint:unchecked for details. 

[ 1% 361/35670] host Java: antlr-runtime 
(out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/classes) 

Note: Some input files use unchecked or unsafe operations. 

Note: Recompile with -Xlint:unchecked for details. 

[ 1% 613/35670] Yacc: aidl <= system/tools/aidl/aidl_language_y.yy 

FAILED: /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d 
--defines=out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.h
 
-o 
out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.cpp
 
system/tools/aidl/aidl_language_y.yy" 

/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory 

[ 1% 613/35670] host Java: guavalib 
(out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/classes) 

warning: [options] bootstrap class path not set in conjunction with -source 
1.7 

Note: Some input files use or override a deprecated API. 

Note: Recompile with -Xlint:deprecation for details. 

Note: Some input files use unchecked or unsafe operations. 

Note: Recompile with -Xlint:unchecked for details. 

1 warning 

[ 1% 613/35670] host C: libcrypto-host <= 
external/boringssl/src/crypto/ec/p256-64.c 

ninja: build stopped: subcommand failed. 

build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed 

make: *** [ninja_wrapper] Error 1


$ ls -lah prebuilts/misc/linux-x86/bison/bison 

-rwxrwxr-x 1 ubuntu ubuntu 1.4M Jul 4 07:15 
prebuilts/misc/linux-x86/bison/bison

Any ideas?

Cheers,

Eliot.

-- 
-- 
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.

Reply via email to