bazel build //src:bazel
............
INFO: Found 1 target...
ERROR: /Users/janakr/bazel/tools/osx/BUILD:17:1: Executing genrule //tools/osx:xcode-locator-genrule failed: bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Target //src:bazel failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 6.938s, Critical Path: 1.79s
Turning off sandboxing made no difference. Now I've installed the full Xcode package from the App Store (which I didn't want to do initially, since I don't develop iOS apps). I accepted the license agreement by running sudo gcc --version, but I'm still getting an error:bazel build //src:bazel
INFO: Found 1 target...
ERROR: /Users/janakr/bazel/src/main/tools/BUILD:28:1: C++ compilation of rule '//src/main/tools:linux-sandbox' failed: Process exited with status 1 [sandboxed].
clang: error: unknown argument: '-fno-canonical-system-headers'
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
Target //src:bazel failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.716s, Critical Path: 1.31s
Any advice?bazel build //src:bazel
INFO: Found 1 target...
ERROR: /Users/janakr/bazel/src/main/tools/BUILD:20:1: C++ compilation of rule '//src/main/tools:build-runfiles' failed: Process exited with status 1 [sandboxed].
clang: error: unknown argument: '-fno-canonical-system-headers'
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
Target //src:bazel failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.406s, Critical Path: 1.21s
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHDrXd1gaPoBKbg-29idE7X17XOY-ocVZ0xad5%2BJ6TCaAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAFuL9GmfnyZ-dh%2BmCbCgM2C0zcCf0RW5sqPOD8sGVWr-a6Wr6A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHAAeWciAXtj7zStoBcuGkdKfDFkSnyf4pyAyHr2_pe%2B-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
>> >>> email to bazel-discuss+unsubscribe@googlegroups.com.
>> >>> To view this discussion on the web visit
>> >>>
>> >>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHDrXd1gaPoBKbg-29idE7X17XOY-ocVZ0xad5%2BJ6TCaAg%40mail.gmail.com.
>> >>> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> --
>> >> Marcel Hlopko | Software Engineer | hlo...@google.com |
>> >>
>> >> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
>> >> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
>> >> Registergericht und -nummer: Hamburg, HRB 86891
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "bazel-discuss" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an
>> >> email to bazel-discuss+unsubscribe@googlegroups.com.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/bazel-discuss/CAFuL9GmfnyZ-dh%2BmCbCgM2C0zcCf0RW5sqPOD8sGVWr-a6Wr6A%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "bazel-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bazel-discuss+unsubscribe@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHAAeWciAXtj7zStoBcuGkdKfDFkSnyf4pyAyHr2_pe%2B-w%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Marcel Hlopko | Software Engineer | hlo...@google.com |
>
> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
> Registergericht und -nummer: Hamburg, HRB 86891
That's bad, which version of Bazel? I'll get a new Mac soonish and try that.
>> >>> email to bazel-discus...@googlegroups.com.
>> >>> To view this discussion on the web visit
>> >>>
>> >>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHDrXd1gaPoBKbg-29idE7X17XOY-ocVZ0xad5%2BJ6TCaAg%40mail.gmail.com.
>> >>> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> --
>> >> Marcel Hlopko | Software Engineer | hlo...@google.com |
>> >>
>> >> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
>> >> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
>> >> Registergericht und -nummer: Hamburg, HRB 86891
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "bazel-discuss" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an
>> >> email to bazel-discus...@googlegroups.com.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/bazel-discuss/CAFuL9GmfnyZ-dh%2BmCbCgM2C0zcCf0RW5sqPOD8sGVWr-a6Wr6A%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "bazel-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bazel-discus...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHAAeWciAXtj7zStoBcuGkdKfDFkSnyf4pyAyHr2_pe%2B-w%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Marcel Hlopko | Software Engineer | hlo...@google.com |
>
> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
> Registergericht und -nummer: Hamburg, HRB 86891
Oh. I think I figured out. The first run configured the c++ toolchain without xcode and installing xcode changed the c++ toolchain but we don't track those change. Anyway I'll try that when I get my new Mac to see if we can do better.
>> >>> email to bazel-discuss+unsubscribe@googlegroups.com.
>> >>> To view this discussion on the web visit
>> >>>
>> >>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHDrXd1gaPoBKbg-29idE7X17XOY-ocVZ0xad5%2BJ6TCaAg%40mail.gmail.com.
>> >>> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> --
>> >> Marcel Hlopko | Software Engineer | hlo...@google.com |
>> >>
>> >> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
>> >> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
>> >> Registergericht und -nummer: Hamburg, HRB 86891
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "bazel-discuss" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an
>> >> email to bazel-discuss+unsubscribe@googlegroups.com.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/bazel-discuss/CAFuL9GmfnyZ-dh%2BmCbCgM2C0zcCf0RW5sqPOD8sGVWr-a6Wr6A%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "bazel-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bazel-discuss+unsubscribe@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bazel-discuss/CAF7sfHAAeWciAXtj7zStoBcuGkdKfDFkSnyf4pyAyHr2_pe%2B-w%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Marcel Hlopko | Software Engineer | hlo...@google.com |
>
> Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany |
> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle |
> Registergericht und -nummer: Hamburg, HRB 86891
----Marcel Hlopko | Software Engineer | hlo...@google.com |Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany | Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle | Registergericht und -nummer: Hamburg, HRB 86891
----Marcel Hlopko | Software Engineer | hlo...@google.com |Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany | Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle | Registergericht und -nummer: Hamburg, HRB 86891
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAN3hOS8TFe-21EgqpxpCeAsv0Y%3DWTjpfMeTNt5PUgT64u5W13Q%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.