FS#78711 - [sysdig-dkms] Error! Bad return status for module build on kernel: 6.3.5-arch1-1

Attached to Project: Community Packages
Opened by Munzir Taha (munzirtaha) - Monday, 05 June 2023, 15:12 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 07 June 2023, 19:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
sudo pacman -S sysdig-dkms
warning: sysdig-dkms-0.31.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1) Old Version New Version Net Change

extra/sysdig-dkms 0.31.5-1 0.31.5-1 0.00 MiB

Total Installed Size: 0.84 MiB
Net Upgrade Size: 0.00 MiB

(1/1) Remove upgraded DKMS modules
==> dkms remove scap/0.10.5
:: Processing package changes...
(1/1) reinstalling sysdig-dkms [###################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod scap/0.10.5 -k 6.3.5-arch1-1
Error! Bad return status for module build on kernel: 6.3.5-arch1-1 (x86_64)
Consult /var/lib/dkms/scap/0.10.5/build/make.log for more information.
==> WARNING: `dkms install --no-depmod scap/0.10.5 -k 6.3.5-arch1-1' exited 10
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Wednesday, 07 June 2023, 19:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  sysdig-0.31.5-2
Comment by Doug Newgard (Scimmia) - Monday, 05 June 2023, 15:26 GMT
...and the 'more information'?
Comment by Munzir Taha (munzirtaha) - Monday, 05 June 2023, 15:35 GMT
I don't think the bug is specific to my machine, this is why I didn't thought you need the log file. Here it is attached.
   make.log (7.1 KiB)
Comment by loqs (loqs) - Monday, 05 June 2023, 15:57 GMT
Needs https://github.com/falcosecurity/libs/commit/a83ada29a0cba3606c97c6916b10565426e60b07 plus its parent for the kernel module. sysdig itself does not build with gcc 13.
Comment by loqs (loqs) - Monday, 05 June 2023, 18:18 GMT
Please try building sysdig with the attached diff applied. It updates sysdig to the latest git commit as I could not get the commits from libs to apply cleanly. This also installed new libs and headers in both packages which I removed from both. I checked it resolved the DKMS build failure but have performed no further testing.
Comment by Munzir Taha (munzirtaha) - Monday, 05 June 2023, 20:14 GMT
@loqs: Thanks! I confirm your patch solved the problem.

Loading...