r8125 FTBFS with linux-hwe-6.8

Bug #2073479 reported by Paolo Pisati
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
r8125 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

...
/home/ubuntu/dkms/r8125/r8125-9.007.01/src/r8125_n.c: In function ‘rtl8125_get_drvinfo’:
/home/ubuntu/dkms/r8125/r8125-9.007.01/src/r8125_n.c:4441:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
 4441 | strlcpy(info->fw_version, rtl_fw->version,
      | ^~~~~~~
...

[Fix]

Apply the attached fix.

[How to test]

Install, rebuild and load the fixed package with GA and HWE kernels.

[Regression potential]

None, the fix replaces an occurrence of the deprecated strlcpy() with strscpy().

Paolo Pisati (p-pisati)
description: updated
description: updated
Revision history for this message
Paolo Pisati (p-pisati) wrote :
Timo Aaltonen (tjaalton)
Changed in r8125 (Ubuntu):
status: New → Invalid
Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

Hello Paolo, or anyone else affected,

Accepted r8125 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/r8125/9.007.01-3ubuntu0.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in r8125 (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Paolo Pisati (p-pisati) wrote :

$ dkms status | grep r8
r8125/9.007.01, 5.15.0-118-generic, x86_64: installed
r8125/9.007.01, 6.8.0-40-generic, x86_64: installed

GA:
$ lsmod | grep r8
r8125 217088 0

HWE:
$ lsmod | grep r8
r8125 245760 0

tags: added: verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package r8125 - 9.007.01-3ubuntu0.3

---------------
r8125 (9.007.01-3ubuntu0.3) jammy; urgency=medium

  * Fix FTBFS with linux-hwe-6.8 (LP: #2073479)

 -- Paolo Pisati <email address hidden> Thu, 18 Jul 2024 09:18:43 +0000

Changed in r8125 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for r8125 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.