[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028987: linux-image-amd64: Does not build with rtlwifi



Package: linux-image-amd64
Version: 6.1.0-1
Severity: normal
X-Debbugs-Cc: zlflynn@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Upgrading linux-image/linux-headers on Debian Sid with rtlwifi. 

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

sudo apt upgrade.  Then after it failed, I've been running sudo apt install -f to get it to retry after trying to fix.

   * What was the outcome of this action? 

The build fails (sudo apt install linux-image-amd64 fails). First, I got:

Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtlwifi-new/0.6/source/dkms.conf)

So I tried just removing that line from the dkms.conf file. Here is the log in /var/lib/dkms/rtlwifi-new/0.6/build/make.log after that:

DKMS make.log for rtlwifi-new-0.6 for kernel 6.1.0-1-amd64 (x86_64)
Sun Jan 15 02:14:08 PM CST 2023
make: Entering directory '/usr/src/linux-headers-6.1.0-1-amd64'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make: *** [/usr/src/linux-headers-6.1.0-1-common/Makefile:817: include/config/auto.conf] Error 1
make: Leaving directory '/usr/src/linux-headers-6.1.0-1-amd64'

I tried just following the instructions in the error.  But "make oldconfig" from that directory gives me:

  GEN     Makefile
/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:44: /usr/src/linux-headers-6.1.0-1-common/scripts/basic/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-headers-6.1.0-1-common/scripts/basic/Makefile'.  Stop.
make: *** [/usr/src/linux-headers-6.1.0-1-common/Makefile:644: scripts_basic] Error 2


   * What outcome did you expect instead?

The package to install.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ih  linux-image-6.1.0-1-amd64  6.1.4-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.


Reply to: