Skip to content

hermes-agent: onnxruntime build failure on aarch64-darwin #3409

@Mic92

Description

@Mic92

Problem

hermes-agent fails to build on aarch64-darwin because onnxruntime 1.23.2 (via faster-whisper) hits -Werror,-Wunused-result errors from protobuf 34's [[nodiscard]] on SerializeToString. The existing protobuf34-nodiscard.patch in nixpkgs is incomplete for 1.23.2 (missing graph_test.cc fixes).

Upstream Fix

Already fixed in nixpkgs master via NixOS/nixpkgs#501901 (onnxruntime: 1.23.2 -> 1.24.4), merged 2026-03-23. The 1.24.4 version carries a more complete protobuf34-nodiscard.patch.

Resolution

This will resolve automatically once nixpkgs-unstable advances past the onnxruntime 1.24.4 update. No action needed in this repo — just wait for the next nixpkgs flake lock update.

References

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