Package: dkms
Version: 3.0.3-1
Severity: minor
Tags: upstream

If dkms applies patches (PATCH=(...) in dkms.conf), the messages go to
stdout/stderr, while the should probably go to make.log instead.

IMO the patching messages add a lot of noise to the dkms output.

>From an autopkgtest trying to build a kernel module (the '^I:.*' messages are 
>from
/usr/lib/dkms/dkms-autopkgtest, all others from dkms):

I: Trying to build nvidia-legacy-390xx/390.147 for 5.17.0-trunk-armmp-lpae
applying patch 0001-backport-error-on-unknown-conftests.patch...patching file 
conftest.sh
patching file nvidia/nvidia.Kbuild

applying patch do-div-cast.patch...patching file 
nvidia-modeset/nvidia-modeset-linux.c

applying patch kernel-5.7.0-set-memory-array.patch...patching file conftest.sh

applying patch 0006-backport-pde_data-changes-from-470.103.01.patch...patching 
file common/inc/nv-procfs.h
patching file conftest.sh
patching file nvidia/nvidia.Kbuild

applying patch bashisms.patch...patching file conftest.sh

applying patch use-kbuild-compiler.patch...patching file Makefile

applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild

applying patch use-kbuild-gcc-plugins.patch...patching file Kbuild

applying patch conftest-verbose.patch...patching file Kbuild

applying patch cc_version_check-gcc5.patch...patching file conftest.sh

applying patch nvidia-use-ARCH.o_binary.patch...patching file 
nvidia/nvidia.Kbuild

applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file 
nvidia-modeset/nvidia-modeset.Kbuild

applying patch include-swiotlb-header-on-arm.patch...patching file 
common/inc/nv-linux.h

applying patch ignore_xen_on_arm.patch...patching file common/inc/nv-linux.h
patching file conftest.sh

applying patch arm-outer-sync.patch...patching file common/inc/nv-linux.h
patching file nvidia-drm/nvidia-drm-linux.c

applying patch nvidia-drm-arm-cflags.patch...patching file conftest.sh


Building module:
cleaning build area....
unset ARCH; env NV_VERBOSE=1 make -j16 modules 
KERNEL_UNAME=5.17.0-trunk-armmp-lpae............................................
cleaning build area....

nvidia-legacy-390xx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.17.0-trunk-armmp-lpae/updates/dkms/

nvidia-legacy-390xx-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.17.0-trunk-armmp-lpae/updates/dkms/

nvidia-legacy-390xx-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.17.0-trunk-armmp-lpae/updates/dkms/
depmod...
I: Testing if nvidia-legacy-390xx modules are correctly installed
nvidia-legacy-390xx/390.147, 5.17.0-trunk-armmp-lpae, armv7l: installed

Andreas

Reply via email to