Bug#916883: nvidia-kernel-dkms:amd64: does not build for x86_64 kernel on i386 userspace with kernel 4.19

Tomas Janousek tomi at nomi.cz
Wed Dec 19 21:53:52 GMT 2018


Package: nvidia-kernel-dkms
Version: 390.87-4
Severity: normal

Linux 4.19 renamed LDFLAGS to KBUILD_LDFLAGS [1], so use-kbuild-flags.patch
doesn't work any more. I can confirm that using KBUILD_LDFLAGS fixes the
issue. Do note that older kernels don't set KBUILD_LDFLAGS, so we need to
support both for some time.

[1]: https://github.com/torvalds/linux/commit/d503ac531a5246e4d910f971b213807fea925956

Oh, and why does https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers
need signing in? :-(

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (980, 'testing-debug'), (980, 'testing'), (980, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (200, 'experimental-debug'), (200, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nvidia-kernel-dkms:amd64 depends on:
ii  dkms                                               2.6.1-1
ii  nvidia-installer-cleanup                           20151021+8
ii  nvidia-kernel-support [nvidia-kernel-support--v1]  390.87-4

Versions of packages nvidia-kernel-dkms:amd64 recommends:
ii  libcuda1       390.87-4
ii  nvidia-driver  390.87-4

nvidia-kernel-dkms:amd64 suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/src/nvidia-current-390.87/Makefile (from nvidia-kernel-dkms:amd64 package)
debsums: changed file /usr/src/nvidia-current-390.87/nvidia-modeset/nvidia-modeset.Kbuild (from nvidia-kernel-dkms:amd64 package)
debsums: changed file /usr/src/nvidia-current-390.87/nvidia/nvidia.Kbuild (from nvidia-kernel-dkms:amd64 package)

-- 
Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/



More information about the pkg-nvidia-devel mailing list