[android-building] Re: build aosp on Mac OS 10.13 failed

2018-03-15 Thread Uki D. Lucas
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.


[android-building] Re: build aosp on Mac OS 10.13 failed

2018-02-05 Thread zhao boliang
built successfully !!

mac :10.13.3 (17D47)
xcode:  Version 8.3.3 (8E3004b)
android : android-7.1.2_r8


   - 
   
   Patch bison fix 
    
   for High Sierra and build bison:
   - 
  
  cd /Volumes/AOSP/external/bison
  - 
  
  git cherry-pick c0c852bd6fe462b148475476d9124fd740eba160
  - 
  
  make bison
  - 
   
   Replace prebuilt bison binary with patched binary
   - 
  
  cp /Volumes/AOSP/out/host/darwin-x86/bin/bison 
  /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/
  - Build



在 2017年11月20日星期一 UTC+8上午4:17:10,zhao boliang写道:
>
> Same issue on macos high sierra
>
> 在 2017年10月16日星期一 UTC+8上午8:52:24,Hunter Aaron写道:
>>
>> There is the log when I built *android-8.0.0_r17* on high sierra:
>>>
>>> [ 3% 2279/59686] yacc 
>>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>>
>>> FAILED: 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>>  
>>>
>>>
>>> BISON_PKGDATADIR=external/bison/data 
>>> prebuilts/misc/darwin-x86/bison/bison -d 
>>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> system/tools/aidl/aidl_language_y.yy
>>>
>>> [ 3% 2282/59686] lex 
>>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>>
>>> ninja: build stopped: subcommand failed.
>>>
>>> 14:03:54 ninja failed with: exit status 1
>>>
>>> make: *** [run_soong_ui] Error 1
>>>
>>
>> I  google a log,but still can not solve.And I  also had tried to build 
>> android-7.1.2,it also failed with similar log.
>>
>> Has anyone built successfully on Mac OS high sierra?
>>
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2018-01-04 Thread 'Siyamed Sinir' via Android Building
This was still the case for Jan 4 master checkout. make clean and make did 
fail.
Applying the bison fix described below fixed it. (mm bison and copy it)


On Saturday, December 9, 2017 at 11:51:46 PM UTC-8, Hunter Aaron wrote:
>
> It works.Thanks so much.
>
> 在 2017年12月10日星期日 UTC+8上午1:18:22,Leland Takamine写道:
>>
>> I was able to fix this issue with the following steps:
>>
>>
>>- 
>>
>>Patch bison fix 
>>
>>  
>>for High Sierra and build bison:
>>- 
>>   
>>   cd /Volumes/AOSP/external/bison
>>   - 
>>   
>>   git cherry-pick c0c852bd6fe462b148475476d9124fd740eba160
>>   - 
>>   
>>   mm
>>   - 
>>
>>Replace prebuilt bison binary with patched binary
>>- 
>>   
>>   cp /Volumes/AOSP/out/host/darwin-x86/bin/bison 
>>   /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/
>>   - Build
>>
>>
>> On Sunday, October 15, 2017 at 5:52:24 PM UTC-7, Hunter Aaron wrote:
>>>
>>> There is the log when I built *android-8.0.0_r17* on high sierra:

 [ 3% 2279/59686] yacc 
 out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp

 FAILED: 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h 

 BISON_PKGDATADIR=external/bison/data 
 prebuilts/misc/darwin-x86/bison/bison -d 
 --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp 
 system/tools/aidl/aidl_language_y.yy

 [ 3% 2282/59686] lex 
 out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp

 ninja: build stopped: subcommand failed.

 14:03:54 ninja failed with: exit status 1

 make: *** [run_soong_ui] Error 1

>>>
>>> I  google a log,but still can not solve.And I  also had tried to build 
>>> android-7.1.2,it also failed with similar log.
>>>
>>> Has anyone built successfully on Mac OS high sierra?
>>>
>>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-09 Thread Hunter Aaron
It works.Thanks so much.

在 2017年12月10日星期日 UTC+8上午1:18:22,Leland Takamine写道:
>
> I was able to fix this issue with the following steps:
>
>
>- 
>
>Patch bison fix 
>
>  
>for High Sierra and build bison:
>- 
>   
>   cd /Volumes/AOSP/external/bison
>   - 
>   
>   git cherry-pick c0c852bd6fe462b148475476d9124fd740eba160
>   - 
>   
>   mm
>   - 
>
>Replace prebuilt bison binary with patched binary
>- 
>   
>   cp /Volumes/AOSP/out/host/darwin-x86/bin/bison 
>   /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/
>   - Build
>
>
> On Sunday, October 15, 2017 at 5:52:24 PM UTC-7, Hunter Aaron wrote:
>>
>> There is the log when I built *android-8.0.0_r17* on high sierra:
>>>
>>> [ 3% 2279/59686] yacc 
>>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>>
>>> FAILED: 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>>  
>>>
>>>
>>> BISON_PKGDATADIR=external/bison/data 
>>> prebuilts/misc/darwin-x86/bison/bison -d 
>>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> system/tools/aidl/aidl_language_y.yy
>>>
>>> [ 3% 2282/59686] lex 
>>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>>
>>> ninja: build stopped: subcommand failed.
>>>
>>> 14:03:54 ninja failed with: exit status 1
>>>
>>> make: *** [run_soong_ui] Error 1
>>>
>>
>> I  google a log,but still can not solve.And I  also had tried to build 
>> android-7.1.2,it also failed with similar log.
>>
>> Has anyone built successfully on Mac OS high sierra?
>>
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-09 Thread 'Leland Takamine' via Android Building
I patched this commit but am still seeing the same error.

On Friday, December 1, 2017 at 11:38:07 AM UTC-8, Aaron Gascoigne wrote:
>
> The fix is available on AOSP gerrit. see 
> https://android-review.googlesource.com/c/platform/external/bison/+/517740
>
> On Sunday, October 15, 2017 at 8:52:24 PM UTC-4, Hunter Aaron wrote:
>>
>> There is the log when I built *android-8.0.0_r17* on high sierra:
>>>
>>> [ 3% 2279/59686] yacc 
>>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>>
>>> FAILED: 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>>  
>>>
>>>
>>> BISON_PKGDATADIR=external/bison/data 
>>> prebuilts/misc/darwin-x86/bison/bison -d 
>>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> system/tools/aidl/aidl_language_y.yy
>>>
>>> [ 3% 2282/59686] lex 
>>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>>
>>> ninja: build stopped: subcommand failed.
>>>
>>> 14:03:54 ninja failed with: exit status 1
>>>
>>> make: *** [run_soong_ui] Error 1
>>>
>>
>> I  google a log,but still can not solve.And I  also had tried to build 
>> android-7.1.2,it also failed with similar log.
>>
>> Has anyone built successfully on Mac OS high sierra?
>>
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-09 Thread 'Leland Takamine' via Android Building
I was able to fix this issue with the following steps:


   - 
   
   Patch bison fix 
    
   for High Sierra and build bison:
   - 
  
  cd /Volumes/AOSP/external/bison
  - 
  
  git cherry-pick c0c852bd6fe462b148475476d9124fd740eba160
  - 
  
  mm
  - 
   
   Replace prebuilt bison binary with patched binary
   - 
  
  cp /Volumes/AOSP/out/host/darwin-x86/bin/bison 
  /Volumes/AOSP/prebuilts/misc/darwin-x86/bison/
  - Build


On Sunday, October 15, 2017 at 5:52:24 PM UTC-7, Hunter Aaron wrote:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-02 Thread Hunter Aaron
It may be caused by xcode 9. 
https://stackoverflow.com/questions/46396933/make-for-android-os-source-code-fails

在 2017年11月13日星期一 UTC+8下午12:58:41,Monil Patel写道:
>
> I have tried building but failed too. I get stuck because there is an 
> issue with libcxx cstdlib.h and other header files clashing with xcode 
> build tools header files.
>
> external/libcxx/include/cstdlib:134:9: note: using declaration
> using ::abs;
> ^
> external/libcxx/include/cstdlib:161:44: error: declaration conflicts with 
> target of using declaration already in scope
> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
> {return llabs(__x);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:117:44:
>  
> note: target of using declaration
> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
> {return llabs(__x);}
> ^
> external/libcxx/include/cstdlib:134:9: note: using declaration
> using ::abs;
> ^
> external/libcxx/include/cstdlib:164:42: error: declaration conflicts with 
> target of using declaration already in scope
> inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT 
> {return ldiv(__x, __y);}
>
>
>  
>
> On Sunday, 15 October 2017 19:52:24 UTC-5, Hunter Aaron wrote:
>>
>> There is the log when I built *android-8.0.0_r17* on high sierra:
>>>
>>> [ 3% 2279/59686] yacc 
>>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>>
>>> FAILED: 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>>  
>>>
>>>
>>> BISON_PKGDATADIR=external/bison/data 
>>> prebuilts/misc/darwin-x86/bison/bison -d 
>>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> system/tools/aidl/aidl_language_y.yy
>>>
>>> [ 3% 2282/59686] lex 
>>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>>
>>> ninja: build stopped: subcommand failed.
>>>
>>> 14:03:54 ninja failed with: exit status 1
>>>
>>> make: *** [run_soong_ui] Error 1
>>>
>>
>> I  google a log,but still can not solve.And I  also had tried to build 
>> android-7.1.2,it also failed with similar log.
>>
>> Has anyone built successfully on Mac OS high sierra?
>>
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-02 Thread 王晓辉
i have same error ,has solve ?

在 2017年10月16日星期一 UTC+8上午8:52:24,Hunter Aaron写道:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-01 Thread Houlian Wang
I also have this problem,so I used this method to solved it

1)sudo port install bison
2)  sudo find / -name bison
3)  sudo rm  //prebuilts/misc/darwin-x86/bison/bison
4)   sudo ln -s /usr/local/bin/bison 
/Volumes/android/code/prebuilts/misc/darwin-x86/bison/bison
bless with you
在 2017年11月23日星期四 UTC+8下午10:01:30,吴成云写道:
>
> I have some issue , do you find some way to fix this?
>
> 在 2017年11月13日星期一 UTC+8下午12:58:41,Monil Patel写道:
>>
>> I have tried building but failed too. I get stuck because there is an 
>> issue with libcxx cstdlib.h and other header files clashing with xcode 
>> build tools header files.
>>
>> external/libcxx/include/cstdlib:134:9: note: using declaration
>> using ::abs;
>> ^
>> external/libcxx/include/cstdlib:161:44: error: declaration conflicts with 
>> target of using declaration already in scope
>> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
>> {return llabs(__x);}
>> ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:117:44:
>>  
>> note: target of using declaration
>> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
>> {return llabs(__x);}
>> ^
>> external/libcxx/include/cstdlib:134:9: note: using declaration
>> using ::abs;
>> ^
>> external/libcxx/include/cstdlib:164:42: error: declaration conflicts with 
>> target of using declaration already in scope
>> inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) 
>> _NOEXCEPT {return ldiv(__x, __y);}
>>
>>
>>  
>>
>> On Sunday, 15 October 2017 19:52:24 UTC-5, Hunter Aaron wrote:
>>>
>>> There is the log when I built *android-8.0.0_r17* on high sierra:

 [ 3% 2279/59686] yacc 
 out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp

 FAILED: 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h 

 BISON_PKGDATADIR=external/bison/data 
 prebuilts/misc/darwin-x86/bison/bison -d 
 --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
 out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
 *64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp 
 system/tools/aidl/aidl_language_y.yy

 [ 3% 2282/59686] lex 
 out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp

 ninja: build stopped: subcommand failed.

 14:03:54 ninja failed with: exit status 1

 make: *** [run_soong_ui] Error 1

>>>
>>> I  google a log,but still can not solve.And I  also had tried to build 
>>> android-7.1.2,it also failed with similar log.
>>>
>>> Has anyone built successfully on Mac OS high sierra?
>>>
>>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-12-01 Thread Aaron Gascoigne
The fix is available on AOSP gerrit. 
see https://android-review.googlesource.com/c/platform/external/bison/+/517740

On Sunday, October 15, 2017 at 8:52:24 PM UTC-4, Hunter Aaron wrote:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-23 Thread 吴成云
I have some issue , do you find some way to fix this?

在 2017年11月13日星期一 UTC+8下午12:58:41,Monil Patel写道:
>
> I have tried building but failed too. I get stuck because there is an 
> issue with libcxx cstdlib.h and other header files clashing with xcode 
> build tools header files.
>
> external/libcxx/include/cstdlib:134:9: note: using declaration
> using ::abs;
> ^
> external/libcxx/include/cstdlib:161:44: error: declaration conflicts with 
> target of using declaration already in scope
> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
> {return llabs(__x);}
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:117:44:
>  
> note: target of using declaration
> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
> {return llabs(__x);}
> ^
> external/libcxx/include/cstdlib:134:9: note: using declaration
> using ::abs;
> ^
> external/libcxx/include/cstdlib:164:42: error: declaration conflicts with 
> target of using declaration already in scope
> inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT 
> {return ldiv(__x, __y);}
>
>
>  
>
> On Sunday, 15 October 2017 19:52:24 UTC-5, Hunter Aaron wrote:
>>
>> There is the log when I built *android-8.0.0_r17* on high sierra:
>>>
>>> [ 3% 2279/59686] yacc 
>>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>>
>>> FAILED: 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>>  
>>>
>>>
>>> BISON_PKGDATADIR=external/bison/data 
>>> prebuilts/misc/darwin-x86/bison/bison -d 
>>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>>  
>>> system/tools/aidl/aidl_language_y.yy
>>>
>>> [ 3% 2282/59686] lex 
>>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>>
>>> ninja: build stopped: subcommand failed.
>>>
>>> 14:03:54 ninja failed with: exit status 1
>>>
>>> make: *** [run_soong_ui] Error 1
>>>
>>
>> I  google a log,but still can not solve.And I  also had tried to build 
>> android-7.1.2,it also failed with similar log.
>>
>> Has anyone built successfully on Mac OS high sierra?
>>
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-22 Thread Eric Williams
Same issue here...

On Sunday, October 15, 2017 at 8:52:24 PM UTC-4, Hunter Aaron wrote:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-19 Thread zhao boliang
Same issue on macos high sierra

在 2017年10月16日星期一 UTC+8上午8:52:24,Hunter Aaron写道:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-18 Thread Biking Wong
Same issue on macos high sierra

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-15 Thread Pradeep Gannavarapu
I am also having the same issue while building in Mac os...

On Monday, October 16, 2017 at 6:22:24 AM UTC+5:30, Hunter Aaron wrote:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-13 Thread Lee Fuller
I have the same issue since upgrading to High Sierra.

Has anyone found a resolution yet?

Thanks

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


[android-building] Re: build aosp on Mac OS 10.13 failed

2017-11-12 Thread Monil Patel
I have tried building but failed too. I get stuck because there is an issue 
with libcxx cstdlib.h and other header files clashing with xcode build 
tools header files.

external/libcxx/include/cstdlib:134:9: note: using declaration
using ::abs;
^
external/libcxx/include/cstdlib:161:44: error: declaration conflicts with 
target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
{return llabs(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:117:44:
 
note: target of using declaration
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT 
{return llabs(__x);}
^
external/libcxx/include/cstdlib:134:9: note: using declaration
using ::abs;
^
external/libcxx/include/cstdlib:164:42: error: declaration conflicts with 
target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT 
{return ldiv(__x, __y);}


 

On Sunday, 15 October 2017 19:52:24 UTC-5, Hunter Aaron wrote:
>
> There is the log when I built *android-8.0.0_r17* on high sierra:
>>
>> [ 3% 2279/59686] yacc 
>> out/soong/.inte.../system/tools/aidl/aidl_language_y.cpp
>>
>> FAILED: 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.h
>>  
>>
>>
>> BISON_PKGDATADIR=external/bison/data 
>> prebuilts/misc/darwin-x86/bison/bison -d 
>> --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86
>> *64*static/gen/yacc/system/tools/aidl/aidl_language_y.h -o 
>> out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86*64*static/gen/yacc/system/tools/aidl/aidl_language_y.cpp
>>  
>> system/tools/aidl/aidl_language_y.yy
>>
>> [ 3% 2282/59686] lex 
>> out/soong/.inter.../system/tools/aidl/aidl_language_l.cpp
>>
>> ninja: build stopped: subcommand failed.
>>
>> 14:03:54 ninja failed with: exit status 1
>>
>> make: *** [run_soong_ui] Error 1
>>
>
> I  google a log,but still can not solve.And I  also had tried to build 
> android-7.1.2,it also failed with similar log.
>
> Has anyone built successfully on Mac OS high sierra?
>

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