[pve-devel] [PATCH pve-vgpu-helper v2] add 'gcc' to the dependency list

Dominik Csapak d.csapak at proxmox.com
Fri Jan 9 12:00:08 CET 2026


dkms in trixie does not depend on on any compiler anymore, so we have to
add it ourselves, otherwise the necessary build tools are not installed
for the nvidia driver.

The dependency was 'gcc | c-compiler' so by default it would choose
'gcc', so let us use that as a dependency.

The relevant debian change is
https://salsa.debian.org/debian/dkms/-/commit/655da424d244f87820ca42f363ea85837ec54e5c

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
this is the v2 to:
https://lore.proxmox.com/all/20251211151317.3351087-1-d.csapak@proxmox.com/

'build-essential' was overkill, just gcc is enough

 src/pve-nvidia-vgpu-helper | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pve-nvidia-vgpu-helper b/src/pve-nvidia-vgpu-helper
index 9294028..1102f3d 100755
--- a/src/pve-nvidia-vgpu-helper
+++ b/src/pve-nvidia-vgpu-helper
@@ -14,7 +14,7 @@ use PVE::SafeSyslog;
 
 ## Module-Wide Variables & Constants
 
-my @BASE_PACKAGE_DEPENDENCIES = qw(dkms libc6-dev proxmox-default-headers);
+my @BASE_PACKAGE_DEPENDENCIES = qw(dkms gcc libc6-dev proxmox-default-headers);
 
 my $apt_cache; # initialized in the main section
 
-- 
2.47.3





More information about the pve-devel mailing list