-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
In reference to @AttilaFueloep in #17595 (comment)
- This is a bit artificial, since I slap most of the current
debian
top level dir for packaging on top of OpenZFS and build from there for my Ubuntu builds. - Having said that, I'm noticing that while doing that, I'm getting a build failure with dkms unless I revert these objtool patches: Linux build: handle CONFIG_OBJTOOL_WERROR=y #17456 objtool wrapper: use absolute path to call the wrapper. #17541
- With those reverted, and with the addition of Linux 6.17 compat #17621, I am able to build for both 6.16.0 and 6.17-rc1.
- I would note that I do NOT have
CONFIG_OBJTOOL_WERROR
set on my kernels.
This is from branching from https://github.com/amotin/zfs/commits/zfs-2.3.4-staging/ sometime yesterday morning EST. The source tar from github is here: https://launchpad.net/~satadru-umich/+archive/ubuntu/zfs-experimental/+sourcefiles/zfs-linux/2.3.4-pramanik1~p/zfs-linux_2.3.4.orig.tar.gz
The changes I have made are:
- Retain Allow txg_wait_synced_flags() and dmu_tx_assign() to return when the pool suspends Allow
txg_wait_synced_flags()
anddmu_tx_assign()
to return when the pool suspends #17355 - Retain zpl: handle suspend from two remaining calls to txg_wait_synced() zpl: handle suspend from two remaining calls to
txg_wait_synced()
#17413 - Add Linux 6.16 compat: META Linux 6.16 compat: META #17578
- Add Linux 6.17 compat Linux 6.17 compat #17621
I attempted dkms builds for both 6.17-rc1 and 6.16.0, resulting in what looked like the same error. I don't have other dkms build issues on my systems.
These are logs from building for 6.17.0-rc1:
This is the broken make log from doing a sudo dkms build -m zfs/2.3.4 &> make.log
.
make.log
(I would note that /var/lib/dkms/zfs/2.3.4/build/make.log is essentially empty after this)
With the reversal of #17541 I still get a failure:
make.log
This is the /var/lib/dkms/zfs/2.3.4/build/make.log
after this build:
DKMS make.log for zfs-2.3.4 for kernel 6.17.0-rc1 (x86_64)
Wed Aug 13 03:48:57 PM EDT 2025
make: *** No targets specified and no makefile found. Stop.
With the reversal of both #17541 and #17456 I get a successful build on both 6.17-rc1 and 6.16.0:
make.log
System information
Type | Version/Name |
---|---|
Distribution Name | Ubuntu |
Distribution Version | 25.04 |
Kernel Version | 6.16.0, 6.17-rc1 |
Architecture | x86_64 |
OpenZFS Version | 2.3.4 ish |
The working binaries from those two reversions are here: https://launchpad.net/~satadru-umich/+archive/ubuntu/zfs-experimental/+sourcepub/17498698/+listing-archive-extra