Failed to build against linux-6.16

Bug #2114259 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
v4l2loopback (Ubuntu)
Fix Released
High
You-Sheng Yang
Noble
In Progress
High
You-Sheng Yang
Plucky
Invalid
Undecided
Unassigned
Questing
Fix Released
High
You-Sheng Yang

Bug Description

1. from_timer macro renamed in v6.16-rc1 commit 41cb08555c416 ("treewide, timers: Rename from_timer() to timer_container_of()"):

CC [M] v4l2loopback.o
v4l2loopback.c: In function 'v4l2_loopback_add':
v4l2loopback.c:2910:9: error: implicit declaration of function 'setup_timer' [-Wimplicit-function-declaration]
 2910 | setup_timer(&dev->sustain_timer, sustain_timer_clb, nr);
      | ^~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-6.16.0-1-generic/scripts/Makefile.build:287: v4l2loopback.o] Error 1

Revision history for this message
You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo)
Changed in v4l2loopback (Ubuntu Questing):
status: New → Triaged
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

In v4l2loopback.c:
```
48 #if defined(timer_setup) && defined(from_timer)
49 #define HAVE_TIMER_SETUP
50 #endif
```

`timer_setup()` was first introduced in v4.14-rc3 commit 686fef928bba as a wrapper to `__setup_timer()`. Same for `from_timer()` macro. There is no reason to test both.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Attach debdiff for Questing. Also uploaded to https://launchpad.net/~vicamo/+archive/ubuntu/sru for easier review and verification.

Need sponsoring.

Changed in v4l2loopback (Ubuntu Questing):
status: Triaged → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package v4l2loopback - 0.15.0-0ubuntu2

---------------
v4l2loopback (0.15.0-0ubuntu2) questing; urgency=medium

  * Failed to build against linux-6.16 (LP: #2114259)
    - 0002-Drop-from_timer-macro-usage.patch

 -- You-Sheng Yang <email address hidden> Mon, 16 Jun 2025 12:12:19 +0800

Changed in v4l2loopback (Ubuntu Questing):
status: In Progress → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Nominate for Noble for linux-oem-6.17/noble. Plucky doesn't have linux kernel of v6.16+, so set INVALID.

Changed in v4l2loopback (Ubuntu Plucky):
status: New → Invalid
Changed in v4l2loopback (Ubuntu Noble):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I don't see a diff or git branch linked to this bug for noble, and the questing one was sponsored already. Unsubscribing sponsors. When there is something new to sponsor, please resubscribe.

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.