Skip to content

failing to compile because it can't lookup undefined symbol nvmlGpuInstanceGetComputeInstanceProfileInfoV #1706

@drjoms

Description

@drjoms

meson compile -C builddir
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/sbin/ninja -C /home/dimko/compiled/toolbox/builddir
ninja: Entering directory `/home/dimko/compiled/toolbox/builddir'
[1/1] Generating src/zsh-completion with a custom command (wrapped by meson to capture output)
FAILED: src/_toolbox
/usr/lib/python-exec/python3.13/meson --internal exe --capture src/_toolbox -- /usr/bin/python3.13 /home/dimko/compiled/toolbox/src/meson_generate_completions.py /home/dimko/compiled/toolbox/src zsh
--- stderr ---
/tmp/go-build2866398736/b001/exe/toolbox: symbol lookup error: /tmp/go-build2866398736/b001/exe/toolbox: undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV
exit status 127
Traceback (most recent call last):
File "/home/dimko/compiled/toolbox/src/meson_generate_completions.py", line 32, in
output = subprocess.run(['go', 'run', '.', 'completion', completion_type], check=True)
File "/usr/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['go', 'run', '.', 'completion', 'zsh']' returned non-zero exit status 1.

ninja: build stopped: subcommand failed.

Expected behaviour
No errors after compilation attempt

Actual behaviour
as per output above

Toolbx package info (rpm -q toolbox)
compiling from source

Output of podman version
e.g.,

Version:            1.9.2
RemoteAPI Version:  1
Go Version:         go1.14.2
OS/Arch:            linux/amd64

Podman package info (rpm -q podman)
[ebuild R ] app-containers/podman-5.3.2::gentoo USE="seccomp systemd -apparmor -btrfs (-selinux) -wrapper" 0 KiB

Info about your OS
current one only and latest Gentoo.(ongoing release)

Additional context
Attempting to follow those instructions:
https://containertoolbx.org/install/

meson compile -C builddir
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/sbin/ninja -C /home/dimko/compiled/toolbox/builddir
ninja: Entering directory `/home/dimko/compiled/toolbox/builddir'
[12/12] Generating src/zsh-completion with a custom command (wrapped by meson to capture output)
FAILED: src/_toolbox
/usr/lib/python-exec/python3.13/meson --internal exe --capture src/_toolbox -- /usr/bin/python3.13 /home/dimko/compiled/toolbox/src/meson_generate_completions.py /home/dimko/compiled/toolbox/src zsh
--- stderr ---
/home/dimko/.cache/go-build/8a/8acae153aba024568e3f0ca5d79f7f48544f8f994b124b69c9e8514ee61f787e-d/toolbox: symbol lookup error: /home/dimko/.cache/go-build/8a/8acae153aba024568e3f0ca5d79f7f48544f8f994b124b69c9e8514ee61f787e-d/toolbox: undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV
exit status 127
Traceback (most recent call last):
File "/home/dimko/compiled/toolbox/src/meson_generate_completions.py", line 32, in
output = subprocess.run(['go', 'run', '.', 'completion', completion_type], check=True)
File "/usr/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['go', 'run', '.', 'completion', 'zsh']' returned non-zero exit status 1.

ninja: build stopped: subcommand failed.

Not sure if relevant, I have modern AMD GPU with AMDGPU drivers.(because, undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions