Skip to content

weaver-installer.sh fails to detect x86_64-unknown-linux-gnu platform despite binary being availableΒ #1744

Closed

Description

@lmolkova

Issue

The weaver-installer.sh script fails to install Weaver on Linux x86_64 runners with the error:

ERROR: there isn't a download for your platform x86_64-unknown-linux-gnu

However, the weaver-x86_64-unknown-linux-gnu.tar.xz binary does exist in the release artifacts for v0.26.0 and likely other versions.

Environment

  • Platform: Linux x86_64 (GitHub Actions Ubuntu runner)
  • Weaver Version: v0.26.0
  • Setup Method: Using open-telemetry/weaver/.github/actions/setup-weaver@f8e1b42fbd1e09df5263c26b7df6011eaafd454d action

Steps to Reproduce

  1. Run a GitHub Actions workflow on Ubuntu with the setup-weaver action
  2. The action attempts to install Weaver v0.26.0 on Linux x86_64
  3. The weaver-installer.sh script fails with platform detection error

Root Cause

The installer script does not properly recognize or handle the x86_64-unknown-linux-gnu platform, even though the binary is available at:

https://github.com/open-telemetry/weaver/releases/download/v0.26.0/weaver-x86_64-unknown-linux-gnu.tar.xz

Expected Behavior

The installer should successfully detect the Linux x86_64 platform and download the correct binary.

Actual Behavior

The installer exits with:

ERROR: there isn't a download for your platform x86_64-unknown-linux-gnu

Workaround

Direct binary download:

VERSION="v0.26.0"
ARCH="x86_64-unknown-linux-gnu"
URL="https://github.com/open-telemetry/weaver/releases/download/${VERSION}/weaver-${ARCH}.tar.xz"

mkdir -p ~/.cargo/bin
cd /tmp
curl -LsSf "$URL" | tar -xJ
mv weaver ~/.cargo/bin/
chmod +x ~/.cargo/bin/weaver
echo "$HOME/.cargo/bin" >> $GITHUB_PATH

Impact

This breaks CI/CD workflows using the setup-weaver action on Ubuntu/Linux runners.

Activity

  1. lmolkova commented on Sep 2, 2026

    @lmolkova
    MemberAuthor

    This seems to be a regression introduced in #1727

    v0.26.0 run 33664316162:

    • plan - worked out the build matrix and told each build job which target to build.
    • build-local (x86_64-pc-windows-msvc) - the broken one. Its target instruction arrived empty (pwsh doesn't expand $DIST_ARGS), so dist ran in host mode and built the zip, msi and weaver-installer.sh, .ps1, sha256.sum, source.tar.gz. Uploaded all of them.
    • the other 6 build-local jobs - bash, instruction expanded fine, built only their own target's files.
    • build-global-artifacts - did its job correctly: installer covering all 7 platforms, sha256.sum with 10 entries.
    • host - downloaded every job's output into one folder with merge-multiple: true. Same filenames, no warning, download order decided the winner: the Windows copies replaced the global ones, and that folder went to the release.
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

    bugSomething isn't working

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions