Public bug reported: Kernel upgrade fails to build. make.log contains complaints about my compiler version, however, the compiler is the stock compiler. This appears to be version control issue of some kind.
DKMS make.log follows: --------------------------------- cut here ------------------------------ DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.2ubuntu2 for kernel 6.11.0-17 -generic (x86_64) Mon Feb 24 08:12:09 AM MST 2025 make: Entering directory '/usr/src/linux-headers-6.11.0-17-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04 ) 13.3.0 You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.o /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c: In functio n ‘xtrx_uart_do_tx’: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:472:28: err or: ‘struct uart_state’ has no member named ‘xmit’ 472 | xmit = &port->state->xmit; | ^~ /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:473:13: err or: implicit declaration of function ‘uart_circ_empty’; did you mean ‘uart_lsr_t x_empty’? [-Werror=implicit-function-declaration] 473 | if (uart_circ_empty(xmit)) | ^~~~~~~~~~~~~~~ | uart_lsr_tx_empty /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:480:25: err or: invalid use of undefined type ‘struct circ_buf’ 480 | c = xmit->buf[xmit->tail] & 0xff; | ^~ /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:480:35: err or: invalid use of undefined type ‘struct circ_buf’ 480 | c = xmit->buf[xmit->tail] & 0xff; | ^~ /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:484:21: err or: invalid use of undefined type ‘struct circ_buf’ 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); | ^~ /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:484:35: err or: invalid use of undefined type ‘struct circ_buf’ 484 | xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); | ^~ /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build/xtrx.c:490:13: err or: implicit declaration of function ‘uart_circ_chars_pending’ [-Werror=implicit -function-declaration] 490 | if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/xtrx/0.0.1+git20190320.5 ae3a3e-3.2ubuntu2/build/xtrx.o] Error 1 make[1]: *** [/usr/src/linux-headers-6.11.0-17-generic/Makefile:1931: /var/lib/d kms/xtrx/0.0.1+git20190320.5ae3a3e-3.2ubuntu2/build] Error 2 make: *** [Makefile:224: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.11.0-17-generic' ProblemType: Package DistroRelease: Ubuntu 24.04 Package: linux-headers-6.11.0-17-generic 6.11.0-17.17~24.04.2 ProcVersionSignature: Ubuntu 6.8.0-52.53-generic 6.8.12 Uname: Linux 6.8.0-52-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.3 AptOrdering: NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: unknown Date: Mon Feb 24 08:12:07 2025 ErrorMessage: installed linux-headers-6.11.0-17-generic package post-installation script subprocess returned error exit status 11 InstallationDate: Installed on 2024-10-12 (135 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.22.6ubuntu6.1 apt 2.7.14build2 SourcePackage: linux-hwe-6.11 Title: package linux-headers-6.11.0-17-generic 6.11.0-17.17~24.04.2 failed to install/upgrade: installed linux-headers-6.11.0-17-generic package post-installation script subprocess returned error exit status 11 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: linux-hwe-6.11 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2099905 Title: Issue with kernel build on upgrade (linux-headers-6.11.0-17-generic 6.11.0-17.17~24.04.2 failed to install/upgrade) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.11/+bug/2099905/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs