Skip to content

Building OPA v0.65.0 fails when applying opa.diff patch #61

@ashfreeth

Description

@ashfreeth

When executing the build_opa.sh build script for OPA version 0.65.0 it fails when it seems to execute the git apply --ignore-whitespace ../opa.diff command with the following:

error: patch failed: Makefile:67
error: Makefile: patch does not apply
error: patch failed: build/run-wasm-rego-tests.sh:15
error: build/run-wasm-rego-tests.sh: patch does not apply
error: wasm/Dockerfile.s390x: already exists in working directory
error: patch failed: wasm/Makefile:8
error: wasm/Makefile: patch does not apply

I have been able to re-produce this when manually running the git apply command against the same cloned opa git repo and with the opa.diff file. Please can you help to fix the failing patch elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions