containers / containers/toolbox

Can't build on postmarketOS (systemd, musl, aarch64)

Abierto
#1,663 0 comentarios 0 reacciones 0 asignados Ver en GitHub
1. Bug
Lenguaje dominante
Go
Estrellas
3.5k
Forks
262
Merge medio
3 d 1 h
PR fusionados (30 d)
1

Descripción

**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**
1. 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`
2. Configure the project: `meson setup -Dprofile_dir=/etc/profile.d builddir`
3. 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**

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.