Bug#837753: nvidia-kernel-dkms: does not build for x86_64 kernel on i386 userspace

Tomas Janousek tomi at nomi.cz
Wed Sep 14 08:42:42 UTC 2016

Package: nvidia-kernel-dkms
Version: 367.44-1
Severity: normal
Tags: patch

Similar to #815986, since 361.45.18-2 hit testing (and thus my computer), it
doesn't build due to nv-modeset-interface using an incorrect command line
during linking. I'm attaching a patch that fixes this.

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

Kernel: Linux 4.4.19-lis64+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

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

Versions of packages nvidia-kernel-dkms recommends:
ii  libcuda1       367.44-1
iu  nvidia-driver  367.44-1

nvidia-kernel-dkms suggests no packages.

Versions of packages nvidia-driver depends on:
ii  nvidia-alternative         367.44-1
ii  nvidia-driver-bin          367.44-1
ii  nvidia-driver-libs         367.44-1
ii  nvidia-installer-cleanup   20151021+4
ii  nvidia-legacy-check        367.44-1
ii  nvidia-support             20151021+4
ii  nvidia-vdpau-driver        367.44-1
ii  xserver-xorg-video-nvidia  367.44-1

Versions of packages nvidia-driver recommends:
pn  nvidia-persistenced  <none>
pn  nvidia-settings      <none>

nvidia-driver suggests no packages.

Versions of packages nvidia-driver-libs depends on:
ii  libegl-nvidia0     367.44-1
ii  libgl1-nvidia-glx  367.44-1
ii  libnvidia-glcore   367.44-1

Versions of packages nvidia-driver-libs recommends:
ii  libgles-nvidia1          367.44-1
ii  libgles-nvidia2          367.44-1
pn  libglx-nvidia0           <none>
pn  libnvidia-cfg1           <none>
pn  libopengl0-glvnd-nvidia  <none>
pn  nvidia-vulkan-icd        <none>

Versions of packages xserver-xorg-video-nvidia depends on:
ii  libc6                                  2.23-5
ii  libnvidia-glcore                       367.44-1
ii  nvidia-alternative                     367.44-1
ii  nvidia-installer-cleanup               20151021+4
ii  nvidia-legacy-check                    367.44-1
ii  nvidia-support                         20151021+4
ii  xserver-xorg-core [xorg-video-abi-20]  2:1.18.4-1

Versions of packages xserver-xorg-video-nvidia recommends:
iu  nvidia-driver        367.44-1
pn  nvidia-settings      <none>
ii  nvidia-vdpau-driver  367.44-1

xserver-xorg-video-nvidia suggests no packages.

Versions of packages nvidia-alternative depends on:
ii  glx-alternative-nvidia  0.7.3
ii  nvidia-legacy-check     367.44-1

Versions of packages glx-alternative-nvidia depends on:
ii  glx-alternative-mesa  0.7.3
ii  glx-diversions        0.7.3
ii  update-glx            0.7.3

Versions of packages glx-alternative-nvidia suggests:
iu  nvidia-driver  367.44-1

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                                  2.23-5
ii  libdrm-intel1                          2.4.70-1
ii  libdrm2                                2.4.70-1
ii  libpciaccess0                          0.13.4-1
ii  libpixman-1-0                          0.33.6-1
ii  libudev1                               231-4
ii  libx11-6                               2:1.6.3-1
ii  libx11-xcb1                            2:1.6.3-1
ii  libxcb-dri2-0                          1.11.1-1.1
ii  libxcb-dri3-0                          1.11.1-1.1
ii  libxcb-sync1                           1.11.1-1.1
ii  libxcb-util0                           0.3.8-3
ii  libxcb1                                1.11.1-1.1
ii  libxcursor1                            1:1.1.14-1+b1
ii  libxdamage1                            1:1.1.4-2+b1
ii  libxext6                               2:1.3.3-1
ii  libxfixes3                             1:5.0.2-1
ii  libxinerama1                           2:1.1.3-1+b1
ii  libxrandr2                             2:1.5.0-1
ii  libxrender1                            1:0.9.9-2
ii  libxshmfence1                          1.2-1
ii  libxss1                                1:1.2.2-1
ii  libxtst6                               2:1.2.2-1+b1
ii  libxv1                                 2:1.0.10-1+b1
ii  libxvmc1                               2:1.0.9-1
ii  xserver-xorg-core [xorg-video-abi-20]  2:1.18.4-1

Versions of packages nvidia-kernel-dkms is related to:
ii  bumblebee                                                  3.2.1-13
ii  bumblebee-nvidia                                           3.2.1-13
ii  libcuda1 [libcuda1-any]                                    367.44-1
pn  libdrm-nouveau1                                            <none>
pn  libdrm-nouveau1a                                           <none>
ii  libdrm-nouveau2                                            2.4.70-1
ii  libgl1-nvidia-glx [libgl1-nvidia-glx-any]                  367.44-1
pn  linux-headers                                              <none>
ii  make                                                       4.1-9
iu  nvidia-driver [nvidia-glx-any]                             367.44-1
pn  nvidia-glx                                                 <none>
ii  nvidia-kernel-common                                       20151021+4
ih  nvidia-kernel-dkms                                         367.44-1
pn  nvidia-kernel-source                                       <none>
ii  nvidia-kernel-support [nvidia-kernel-support-any]          367.44-1
ii  nvidia-libopencl1 [libopencl1]                             367.44-1
ii  nvidia-modprobe                                            367.18-1
ii  nvidia-opencl-icd [opencl-icd]                             367.44-1
pn  nvidia-settings                                            <none>
ii  nvidia-support                                             20151021+4
pn  nvidia-xconfig                                             <none>
ii  xserver-xorg                                               1:7.7+16
ii  xserver-xorg-core                                          2:1.18.4-1
pn  xserver-xorg-legacy                                        <none>
ii  xserver-xorg-video-nouveau                                 1:1.0.12-2
ii  xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any]  367.44-1

-- debconf information:
  nvidia-driver/install-even-if-unsupported-gpu-exists: false
  nvidia-driver/check-for-unsupported-gpu: true

Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-fixbuild.patch
Type: text/x-diff
Size: 1091 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160914/f817d2cb/attachment.patch>

More information about the pkg-nvidia-devel mailing list