Skip to content

fix: ort-sys no prebuilt binary for x86_64-apple-darwin #534

Closed

Description

@ajianaz

Problem

[email protected] (transitive dependency via uteke-core) does not provide prebuilt binaries for x86_64-apple-darwin:

error: [email protected]: ort does not provide prebuilt binaries for the target x86_64-apple-darwin

This blocks Tauri builds for macOS Intel consumers (CorIn desktop app).

Suggested Fix

  1. Gate ort behind a feature flag
  2. Use ort-tract backend (pure-Rust, no prebuilt needed)
  3. Compile ONNX Runtime from source in CI

Impact

Blocks CorIn v0.2.0 macOS Intel build. Workaround: skip macOS Intel in release matrix.

Activity

  1. added
    bug
    on Jul 3, 2026
  2. ajianaz commented on Jul 3, 2026

    @ajianaz
    CollaboratorAuthor

    Root Cause Analysis

    Local build succeeds but CI fails due to different environments:

    Local (ARM Linux) CI (macOS Intel)
    Arch aarch64 x86_64-apple-darwin
    ONNX prebuilt Available for aarch64 Not available for x86_64

    [email protected] provides prebuilt ONNX Runtime binaries for select platforms. x86_64-apple-darwin is not one of them. On macOS ARM CI, ort also fails with linker errors (clang_rt.osx not found, Xcode 26.5 path mismatch).

    ort is a hard dependency of uteke-core (not optional/feature-gated), so all consumers pull it in regardless of whether they need ONNX features.

    Recommended fix: Make ort an optional feature in uteke-core. Consumers that don't use ONNX/embedding features (e.g. CorIn desktop client) can opt out entirely.

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