Skip to content

deb-kmod target broken on Debian Trixie #17853

@Davis-A

Description

@Davis-A

System information

Type Version/Name
Distribution Name Debian
Distribution Version Trixie/13
Kernel Version 6.12.48+deb13-amd64
Architecture x86_64
OpenZFS Version 2.3.4

Describe the problem you're observing

Unable to make deb-kmod on Debian Trixie. The same steps work on Debian Bookworm, so something in Debian has moved from underneath.
It'd dying somewhere in the rpm build

Describe how to reproduce the problem

  • Get a fresh Debian Trixie install
  • Install build deps
  • Pull openzfs repo and:
# git checkout zfs-2.3.4
# export KERNEL_VERSION=$(uname -r)
# touch .nogitrelease
# perl -pi -E "s/Release:.*/Release: 107442/" META
# ./autogen.sh 
# ./configure \
    --disable-pyzfs \
    --with-linux=/lib/modules/$KERNEL_VERSION/source \
    --with-linux-obj=/lib/modules/$KERNEL_VERSION/build
# make -j4 deb-kmod

Include any warning/errors/backtraces from the system logs

The build bails out here:

find-debuginfo: starting
Extracting debug info from 0 files
Creating .debug symlinks for symlinks to ELF files
find-debuginfo: done
+ /usr/lib/rpm/brp-compress /usr
+ /usr/lib/rpm/brp-elfperms
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-remove-la-files
+ sign_pem=/lib/modules/6.12.48+deb13-amd64/source/certs/signing_key.pem
+ sign_x509=/lib/modules/6.12.48+deb13-amd64/source/certs/signing_key.x509
+ [ -f /lib/modules/6.12.48+deb13-amd64/source/certs/signing_key.x509 ]
Reading /tmp/zfs-build-root-yPjbxQWr/BUILD/zfs-kmod-2.3.4-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: kmod-zfs-6.12.48+deb13-amd64-2.3.4-107442.x86_64
Provides: kernel-modules-for-kernel = 6.12.48+deb13-amd64 kmod-zfs-6.12.48+deb13-amd64 = 2.3.4-107442 kmod-zfs-6.12.48+deb13-amd64(x86-64) = 2.3.4-107442 kmod-zfs-uname-r = 6.12.48+deb13-amd64 zfs-kmod = 2.3.4-107442
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh kmod
Requires(postun): /bin/sh kmod
Processing files: kmod-zfs-devel-2.3.4-107442.x86_64
Provides: kmod-zfs-devel = 2.3.4-107442 kmod-zfs-devel(x86-64) = 2.3.4-107442 zfs-devel-kmod = 2.3.4-107442
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kmod-zfs-devel-6.12.48+deb13-amd64-2.3.4-107442.x86_64
Provides: kernel-objects-for-kernel = 6.12.48+deb13-amd64 kmod-zfs-devel-6.12.48+deb13-amd64 = 2.3.4-107442 kmod-zfs-devel-6.12.48+deb13-amd64(x86-64) = 2.3.4-107442 kmod-zfs-devel-uname-r = 6.12.48+deb13-amd64 zfs-devel-kmod = 2.3.4-107442
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: zfs-kmod-debuginfo-2.3.4-107442.x86_64
error: Empty %files file /tmp/zfs-build-root-yPjbxQWr/BUILD/zfs-kmod-2.3.4-build/zfs-kmod-2.3.4/debugfiles.list

RPM build errors:
    Empty %files file /tmp/zfs-build-root-yPjbxQWr/BUILD/zfs-kmod-2.3.4-build/zfs-kmod-2.3.4/debugfiles.list
make[1]: *** [Makefile:14772: rpm-common] Error 1
make[1]: Leaving directory '/root/src/zfs'
make: *** [Makefile:14706: rpm-kmod] Error 2

Full output here: https://gist.github.com/Davis-A/1491465d35f42c68c6da3634597a1174

And if it's of any help:
Output of autogen: https://gist.github.com/Davis-A/400084bef091d442499d5609cf9aa48c
Output of configure: https://gist.github.com/Davis-A/c1273862900e6be42c011d2b1034ad14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions