Skip to content

elemental2 is broken on bazel 9 due to gwt dep #188

Description

@aschleck

Thank you for making this amazing ecosystem!

elemental2 depends on the gwt project as an http_archive (

name = "org_gwtproject_gwt",
) for the GWT array stamper (used here
.setInvocationTarget(new TypeQualifier(ARRAY_STAMPER.getReference(false)))
pulled from
"@org_gwtproject_gwt//user:super/com/google/gwt/emul/javaemul/internal/ArrayStamper.java",
)

However, as of Bazel 9, the gwt repo needs some additional build rules. I made a gwt repo PR in gwtproject/gwt#10349 but the maintainer doesn't seem inclined to accept the patch. Do you have any thoughts on how to get this fixed? Whether getting that patch committed or forking the code into elemental2 like the gwt maintainer seems to be expecting?

In the meantime I've been patching elemental2 in my root MODULE.bazel but it feels bad: https://github.com/aschleck/trailcatalog/blob/main/MODULE.bazel#L33

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