I have applied the code, but it does not fix the problem:

https://android-review.googlesource.com/c/platform/external/bison/+/517740/1/lib/vasnprintf.c#4873

AOSP $ head -4876 /Volumes/REPO/AOSP/external/bison/lib/vasnprintf.c | tail 
-4 

# if !defined(__APPLE__) && !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && 
__GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || 
defined __WIN32__) && ! defined __CYGWIN__)) 
 fbp[1] = '%'; 
 fbp[2] = 'n'; 
 fbp[3] = '\0';


Running:

   - Mac High Sierra 10.03
   - APFS (Case Sensitive) VolumeAOSP revision="refs/tags/android-8.1.0_r9"

ERROR:

FAILED: out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/
libmcldScript/android_arm_armv7-a_static_core/gen/yacc/frameworks/compile/
mclinker/lib/Script/ScriptParser.cpp out/soong/.intermediates/frameworks/
compile/mclinker/lib/Script/libmcldScript/android_arm_armv7-a_static_core/
gen/yacc/frameworks/compile/mclinker/lib/Script/ScriptParser.h 

BISON_PKGDATADIR=external/bison/data prebuilts/misc/darwin-x86/bison/bison -d 
 --defines=out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/
libmcldScript/android_arm_armv7-a_static_core/gen/yacc/frameworks/compile/
mclinker/lib/Script/ScriptParser.h -o out/soong/.intermediates/frameworks/
compile/mclinker/lib/Script/libmcldScript/android_arm_armv7-a_static_core/
gen/yacc/frameworks/compile/mclinker/lib/Script/ScriptParser.cpp frameworks/
compile/mclinker/lib/Script/ScriptParser.yy 

[  0% 553/67107] //external/protobuf:libprotobuf-cpp-lite clang++ 
src/google/protobuf/extension_set.cc [darwin] 

ninja: build stopped: subcommand failed. 

11:11:13 ninja failed with: exit status 1 

#### failed to build some targets (31 seconds) ###

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to