FS#77202 - [linux-rt-lts] incompatible gcc version with current gcc package

Attached to Project: Arch Linux
Opened by Yonggang Li (gnaggnoyil) - Saturday, 21 January 2023, 14:34 GMT
Last edited by freswa (frederik) - Monday, 23 January 2023, 13:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
freswa (frederik)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current `linux-rt-lts` kernel was built with gcc of version "12.2.0", which has been left behind from current `gcc` package.

Thus, when installing packages suffixed with "-dkms", the dkms process will report "incompatible gcc/plugin versions" error, resulting a build failure for the corresponding kernel module.

Steps to reproduce:

1. Run `pacman -S linux-rt-lts linux-rt-lts-headers nvidia-dkms`
2. Run `sudo dkms install --no-depmod nvidia/525.85.05 -k 5.15.86.56.realtime1-1-rt-lts`

Expected behavior:

The dkms step should exit normally and generates the expected kernel module

Actual behavior:

The dkms process reported the following error:

```
Error! Bad return status for module build on kernel: 5.15.86.56.realtime1-1-rt-lts (x86_64)
Consult /var/lib/dkms/nvidia/525.85.05/build/make.log for more information.
```

And the `make.log` file is in the attachments.
   make.log (10.5 KiB)
This task depends upon

Closed by  freswa (frederik)
Monday, 23 January 2023, 13:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.15.86.56.realtime1-2 in testing

Loading...