[GH-ISSUE #367] dufs aarch64-unknown-linux-musl cannot be run in Alpine Linux 3.19 #194

Closed
opened 2026-04-08 16:51:01 +03:00 by zhus · 3 comments
Owner

Originally created by @leiless on GitHub (Mar 2, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/367

Problem

dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz cannot be run in Alpine Linux 3.19

Log

~ # ./dufs --version
./dufs: line 1: syntax error: unexpected ")"

Environment:

  • Dufs version: v0.40.0
  • Browser/Webdav info:
  • OS info: Alpine 3.19.0 (aarch64)
  • Proxy server: e.g. nginx, cloudflare
~ # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.0
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

~ # curl -LO https://github.com/sigoden/dufs/releases/download/v0.40.0/dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1836k  100 1836k    0     0   795k      0  0:00:02  0:00:02 --:--:-- 4086k
~ # tar xf dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz

~ # ls -l ./dufs
-rwxr-xr-x    1 1001     127        3521216 Feb 13 04:15 ./dufs

~ # file ./dufs
./dufs: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped
~ # ldd ./dufs
/lib/ld-musl-x86_64.so.1: ./dufs: Not a valid dynamic program

~ # ./dufs --version
./dufs: line 1: syntax error: unexpected ")"
Originally created by @leiless on GitHub (Mar 2, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/367 **Problem** `dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz` cannot be run in Alpine Linux 3.19 **Log** ``` ~ # ./dufs --version ./dufs: line 1: syntax error: unexpected ")" ``` **Environment:** - Dufs version: v0.40.0 - ~~Browser/Webdav info:~~ - OS info: Alpine 3.19.0 (aarch64) - ~~Proxy server: e.g. nginx, cloudflare~~ ```sh ~ # cat /etc/os-release NAME="Alpine Linux" ID=alpine VERSION_ID=3.19.0 PRETTY_NAME="Alpine Linux v3.19" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" ~ # curl -LO https://github.com/sigoden/dufs/releases/download/v0.40.0/dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1836k 100 1836k 0 0 795k 0 0:00:02 0:00:02 --:--:-- 4086k ~ # tar xf dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz ~ # ls -l ./dufs -rwxr-xr-x 1 1001 127 3521216 Feb 13 04:15 ./dufs ~ # file ./dufs ./dufs: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped ~ # ldd ./dufs /lib/ld-musl-x86_64.so.1: ./dufs: Not a valid dynamic program ~ # ./dufs --version ./dufs: line 1: syntax error: unexpected ")" ```
zhus closed this issue 2026-04-08 16:51:02 +03:00
Author
Owner

@sigoden commented on GitHub (Mar 2, 2024):

I just tested dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz on an android device and didn't see any problem.

Is your OS architecture really aarch64? Try running uname -m to double-check. @leiless

<!-- gh-comment-id:1974779065 --> @sigoden commented on GitHub (Mar 2, 2024): I just tested `dufs-v0.40.0-aarch64-unknown-linux-musl.tar.gz` on an android device and didn't see any problem. Is your OS architecture really aarch64? Try running `uname -m` to double-check. @leiless
Author
Owner

@leiless commented on GitHub (Mar 2, 2024):

$ uname -a
Linux NanoPi-R4S 4.19.193 #4 SMP PREEMPT Tue Sep 5 13:32:27 CST 2023 aarch64 GNU/Linux
<!-- gh-comment-id:1974779528 --> @leiless commented on GitHub (Mar 2, 2024): ```bash $ uname -a Linux NanoPi-R4S 4.19.193 #4 SMP PREEMPT Tue Sep 5 13:32:27 CST 2023 aarch64 GNU/Linux ```
Author
Owner

@leiless commented on GitHub (Mar 2, 2024):

@sigoden, Whoops, I run the aarch64 dufs under a x86_64 machine.
Everything is good with aarch64 musl dufs.

<!-- gh-comment-id:1974780843 --> @leiless commented on GitHub (Mar 2, 2024): @sigoden, Whoops, I run the aarch64 dufs under a x86_64 machine. Everything is good with aarch64 musl dufs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#194