Skip to content

[BUG] Datafusion adds protoc as build requirement #21156

@andrross

Description

@andrross

Describe the bug

PR #21057 has added a rust compilation step to building this project. I believe it assumes that protoc is available in the build environment. We have been playing whac-a-mole try to fix all the various build steps. Is there a better way to solve this? For example, the Java build that needs protoc uses a gradle plugin that "just works" out of the box with no additional requirements for the build environment.

Here are the currently failing steps I'm aware of:

I think a fix for both of these is to add a protoc install step in the GitHub Action setup. But is there a better way? If we fix these I won't really have confidence that there aren't more latent failures.

Related component

Build

To Reproduce

See failures

Expected behavior

The build should be simple without too many external requirements of the build environment

Additional Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions