Description
System information
Type | Version/Name |
---|---|
Distribution Name | Debian |
Distribution Version | 12 |
Kernel Version | 6.1.0-20-amd64 |
Architecture | x86_64 |
OpenZFS Version | 2.2.4 |
Describe the problem you're observing
I tried to compile version 2.2.4 exactly the same as versions 2.2.x before it
sh autogen.sh
./configure
make -j$(nproc) deb-utils
In the end I get the error
RPM build errors:
File not found: /tmp/zfs-build-root-A9VcYovo/BUILDROOT/zfs-2.2.4-1.x86_64/usr/lib/python3/dist-packages/libzfs_core/*
File not found: /tmp/zfs-build-root-A9VcYovo/BUILDROOT/zfs-2.2.4-1.x86_64/usr/lib/python3/dist-packages/pyzfs*
make[1]: *** [Makefile:14373: rpm-common] Error 1
make[1]: Leaving directory '/usr/src/zfs/2.2.4/6.1.0-20/zfs-2.2.4'
make: *** [Makefile:14327: rpm-utils-initramfs] Error 2
At the same time, in the directory /tmp/zfs-build-root-A9VcYovo/BUILDROOT/zfs-2.2.4-1.x86_64/usr/lib/ there is python3.11, but not python3 as indicated in the error
# ls -la /tmp/zfs-build-root-A9VcYovo/BUILDROOT/zfs-2.2.4-1.x86_64/usr/lib/python3.11/site-packages/
total 0
drwxr-xr-x 4 root root 80 May 3 06:39 .
drwxr-xr-x 3 root root 60 May 3 06:39 ..
drwxr-xr-x 5 root root 240 May 3 06:39 libzfs_core
drwxr-xr-x 2 root root 160 May 3 06:39 pyzfs-2.2.4-py3.11.egg-info
Versions 2.2.1, 2.2.2, 2.2.3 - compiled previously without this problem.
All these packages are installed:
build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev linux-headers-generic python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev debhelper-compat dh-python po-debconf python3-all-dev python3-sphinx parallel
Describe how to reproduce the problem
Build OpenZFS 2.2.4 on Debian 12 from scratch