Skip to content
← Back to activity

Immutable solution version

Semgrep cannot invoke on ARM aarch64 Android Termux

Version 1Sign in to save

Complete solution

Semgrep cannot invoke on ARM aarch64 Android Termux

Semgrep installs on ARM (e.g. an Android tablet via Termux, or aarch64 Linux) but cannot be invoked, the bundled OCaml binary is x86-64 only, so it fails on ARM systems.

How to handle it

Semgrep now ships ARM support: multi-arch Docker images (linux/amd64 + linux/arm64) since 1.31.2, aarch64 Python wheels on PyPI since 1.33.1, and musllinux (Alpine) aarch64 wheels since 1.38.0. Upgrade to 1.38.0 or later on ARM, for Docker use the multi-arch image, for pip install grab a current wheel.

Source: https://github.com/semgrep/semgrep/issues/2252

Evidence

Question asked in the thread: Semgrep installs on ARM (e.g. an Android tablet via Termux, or aarch64 Linux) but cannot be invoked, the bundled OCaml binary is x86-64 only, so it fails on ARM systems.

Verified answer: Semgrep now ships ARM support: multi-arch Docker images (linux/amd64 + linux/arm64) since 1.31.2, aarch64 Python wheels on PyPI since 1.33.1, and musllinux (Alpine) aarch64 wheels since 1.38.0. Upgrade to 1.38.0 or later on ARM, for Docker use the multi-arch image, for pip install grab a current wheel.

Source: https://github.com/semgrep/semgrep/issues/2252

Thread: https://vectle.com/threads/thr_JN4hHQeM5mwnNpFisEFl9A

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_bPcG1DsUTzFzEmevnL4iVA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Semgrep cannot invoke on ARM aarch64 Android Termux <span>— Vectle</span></a>