Skip to content

rules_apple failing with downstream projects #5683

Closed

Description

@dkelmer

rules_apple are failing with bazel at head: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/360#c1ba3035-bbe4-4335-a513-36ac4d25ab86

ERROR: /Users/buildkite/builds/buildkite-imacpro-3-1/bazel-downstream-projects/rules_apple/test/testdata/binaries/BUILD:12:1: Couldn't build file test/testdata/binaries/empty_staticlib-fl.a: Linking of rule '//test/testdata/binaries:empty_staticlib' failed (Exit 1)

  | /private/var/tmp/_bazel_buildkite/fe5a0746c5b6405e9a95248b5562d68d/sandbox/darwin-sandbox/8/execroot/build_bazel_rules_apple/external/local_config_cc/xcrunwrapper.sh: line 40: SDKROOT: unbound variable

I believe this d69b1c7 is the culprit

Activity

  1. added
    P1
    on Jul 27, 2018
  2. jin commented on Jul 30, 2018

    @jin
    Member

    /sub

  3. jin commented on Jul 31, 2018

    @jin
    Member

    @sergiocampama ping, PTAL and rollback if needed.

  4. sergiocampama commented on Aug 1, 2018

    @sergiocampama
    Contributor

    This breakage was not caused by rules_apple, but by the bazel team making incompatible changes in bazel and then pushing them into rules_apple before they are released and tested.

    We've updated the code in rules_apple, but integration tests are still broken as there's a missing piece in bazel, which I'm trying to submit right now.

    Once that happens, would it be possible to cherry pick it into a 0.16.X release?

  5. jin commented on Aug 1, 2018

    @jin
    Member

    cc @c-parsons for 0.16.x cherrypicks

  6. sergiocampama commented on Aug 1, 2018

    @sergiocampama
    Contributor

    @c-parsons Would it be possible to cherrypick f330439? This fixes a discrepancy in how the rules access action_names.bzl internally vs externally.

  7. c-parsons commented on Aug 1, 2018

    @c-parsons
    Contributor

    Could you elaborate on the exact nature of this breakage? I'm at a bit of a loss in understanding why this is needed, as I'd like to entertain the possibility of a workaround before committing to a cherry-pick :)

  8. sergiocampama commented on Aug 4, 2018

    @sergiocampama
    Contributor
  9. jin commented on Aug 4, 2018

    @jin
    Member

    Thanks - I'll cherrypick that into 0.17.0 rc2. We should also cherrypick that into 0.16.1.

  10. sergiocampama commented on Aug 6, 2018

    @sergiocampama
    Contributor

    The fix has been submitted: 6bd0bdf

  11. sergiocampama commented on Aug 6, 2018

    @sergiocampama
    Contributor

    Could f330439 also be cherrypicked? Hopefully into the 0.17 RC, but if it could be added to 0.16.1 that would be awesome :)

  12. sergiocampama commented on Aug 9, 2018

    @sergiocampama
    Contributor

    We have travis (HEAD) tests working now, we just need 0.16.1 to be released in buildkite to be back into the green again

  13. added a commit that references this issue on Aug 13, 2018
  14. sergiocampama commented on Aug 14, 2018

    @sergiocampama
    Contributor

    rules_apple is green again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1breakage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions