xtrx-dkms: Linux 6.3 FTBFS

Bug #2023372 reported by Paolo Pisati
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xtrx-dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

xtrx-dkms FTBFS wrt Linux 6.3:

...
/home/ubuntu/dkms/xtrx/xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c: In function ‘xtrxfd_mmap’:
/home/ubuntu/dkms/xtrx/xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c:1075:31: error: assignment of read-only member ‘vm_flags’
 1075 | vma->vm_flags |= VM_LOCKED;
      | ^~
/home/ubuntu/dkms/xtrx/xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c:1090:31: error: assignment of read-only member ‘vm_flags’
 1090 | vma->vm_flags |= VM_IO;
      | ^~
/home/ubuntu/dkms/xtrx/xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c:1115:31: error: assignment of read-only member ‘vm_flags’
 1115 | vma->vm_flags |= VM_LOCKED;
      | ^~
...

[Fix]

Apply the attached patch.

[How to test]

Install the patched packet.

[Regression potential]

None, the fix is a conditional compilation that re-introduce a verbatim function that was removed in Linux v6.3.

Revision history for this message
Paolo Pisati (p-pisati) wrote :
description: updated
Paolo Pisati (p-pisati)
summary: - Linux 6.3 FTBFS
+ xtrx-dkms: Linux 6.3 FTBFS
Changed in xtrx-dkms (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xtrx-dkms - 0.0.1+git20190320.5ae3a3e-3.2ubuntu1

---------------
xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2ubuntu1) mantic; urgency=medium

  * Fix Linux 6.3 FTBFS (LP: #2023372)
    - add debian/patches/0003-Linux-6.3-build-fix.patch

 -- Paolo Pisati <email address hidden> Fri, 09 Jun 2023 08:57:28 +0000

Changed in xtrx-dkms (Ubuntu):
status: Fix Committed → Fix Released
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.