zfs-linux FTBFS with v6.2.8 stable updates

Bug #2019450 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

 * Stable kernel updates changed signature of a function call, thus zfs-linux needs adapting. Otherwise it fallsback to older symbols, which are GPL only.

[ Test Plan ]

 * linux 6.2 with 6.2.8 stable updates builds with zfs, without this fix build fails with

  MODPOST <<DKMSDIR>>/build/zfs/2.1.9/build/module/Module.symvers
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_start_io_acct'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_end_io_acct_remapped'
make[5]: *** [scripts/Makefile.modpost:138: <<DKMSDIR>>/build/zfs/2.1.9/build/module/Module.symvers] Error 1

as the signature of the non-gpl function call has changed, zfs configure scripts fail to detect it as available, fallback on a gpl symbol, which we then prohibit from using.

[ Where problems could occur ]

 * This is a cherry-pick of build-compat only, without any other changes

[ Other Info ]

 * Upstream commit

https://github.com/openzfs/zfs/pull/14677/commits/1a951502f0b4200a13f23f0d2f5759ef60188c17

Related branches

summary: - zfs-linux FTBFS with stable updates
+ zfs-linux FTBFS with v6.2.8 stable updates
description: updated
Changed in zfs-linux (Ubuntu Mantic):
status: New → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted zfs-linux into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zfs-linux/2.1.9-2ubuntu1.1 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-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. 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 zfs-linux (Ubuntu Lunar):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 2.1.9-2ubuntu2

---------------
zfs-linux (2.1.9-2ubuntu2) mantic; urgency=medium

  * Cherry-pick upstream fix to address FTBFS with v6.2.8+. LP: #2019450

 -- Dimitri John Ledkov <email address hidden> Sat, 13 May 2023 00:49:15 +0100

Changed in zfs-linux (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Everything works as expected against newly upgraded kernels in lunar with zfs-linux 2.1.9-2ubuntu1.1 as seen in RT testing, autopkgtests, and kernel builds. Please release this update.

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

This bug was fixed in the package zfs-linux - 2.1.9-2ubuntu1.1

---------------
zfs-linux (2.1.9-2ubuntu1.1) lunar; urgency=medium

  * Cherry-pick upstream fix to address FTBFS with v6.2.8+. LP: #2019450

 -- Dimitri John Ledkov <email address hidden> Sat, 13 May 2023 00:49:15 +0100

Changed in zfs-linux (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for zfs-linux 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.