Can't build on postmarketOS (systemd, musl, aarch64)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go, linux
- Domain
- build-system, operating-systems
Research direction
Reproduce the failure with the listed Alpine/postmarketOS dependencies and commands, then read src/go-build-wrapper and the reported github.com/NVIDIA/go-nvml/pkg/dl/dl_linux.go location. Done means meson compile -C builddir completes successfully for the stated arm64 musl environment.
Written by the indexing model from the issue text.
Description
Describe the bug
I am trying to build toolbox on my smartphone with postmarketOS (the systemd version) but encounter an error during the meson compile step: "could not determine what C.RTLD_DEEPBIND refers to"
Steps how to reproduce the behaviour
- Install the dependencies:
sudo apk add meson ninja gcc go go-md2man systemd-dev shadow-dev cmake bash-completion bash-completion-dev fish-dev coreutils podman - Configure the project:
meson setup -Dprofile_dir=/etc/profile.d builddir - Try to build the project:
meson compile -C builddir
Expected behaviour
Successful build
Actual behaviour
Error:
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/user/Downloads/toolbox/builddir
ninja: entering directory '/home/user/Downloads/toolbox/builddir'
[1/4] Generating src/toolbox with a custom command
ninja: job failed: /home/user/Downloads/toolbox/src/go-build-wrapper /home/user/Downloads/toolbox/src /home/user/Downloads/toolbox/builddir src/toolbox 0.1.2 cc /lib/ld-linux-aarch64.so.1 false
# github.com/NVIDIA/go-nvml/pkg/dl
../../../go/pkg/mod/github.com/!n!v!i!d!i!a/go-nvml@v0.12.4-1/pkg/dl/dl_linux.go:25:18: could not determine what C.RTLD_DEEPBIND refers to
ninja: subcommand failed
Toolbox version
tag 0.1.2
Output of podman version
Client: Podman Engine
Version: 5.5.1
API Version: 5.5.1
Go Version: go1.24.3
Built: Sun Jun 8 22:47:31 2025
OS/Arch: linux/arm64
Podman package info
podman-5.5.1-r0
Info about your OS
postmarketOS edge, systemd
Additional context
- Dominant language
- Go
- Stars
- 3.5k
- Forks
- 261
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containers/toolbox
-
1. Bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
containers/toolbox#1841 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
containers/toolbox#1838 · 1 comment ·
-
1. Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
containers/toolbox#1836 · 1 comment ·
-
1. Bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
containers/toolbox#1818 · 3 comments ·
-
1. Feature request 5. Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
containers/toolbox#646 · 8 comments ·
All issues in containers/toolbox
Similar issues
-
feature-request helm
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gravitational/teleport#69785 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
crossplane/crossplane#7859 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100