Skip to content

linux-sysroot and linux-sysroot-aarch64 both declare out/gen/linux-sysroot-aarch64.pack as their output (two targets writing one file) #2014

Closed

Description

@ehartford

Found by the #1899 store work (wave-build2, e067117e). On macOS the build graph has two targets, linux-sysroot and linux-sysroot-aarch64, that both declare out/gen/linux-sysroot-aarch64.pack as an output. Two writers of one file make the result depend on which ran last and defeat the store's output-ownership rule. Fix: each target declares exactly its own pack (linux-sysroot → the x86_64 pack); add a graph-load check that refuses two targets declaring the same output, shown red on today's build.w.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions