blksnap-6.3.1 does not build on Fedora 42
bug
### Distribution
Fedora 42
### Architecture
amd64
### Kernel version
6.14.6-300.fc42.x86_64
### Blksnap version
blksnap-0:6.3.1.1016-1.noarch
### Bug description
When installing `veeam-release-fc34-1.0.9-1.x86_64.rpm` which pulls in `blksnap` as a dependency, `blksnap` fails to install due to a build error. I get the following output for the installation:
```shell
$ dnf install veeam
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
veeam x86_64 6.3.1.1016-1.fc34 veeam 157.5 KiB
Installing dependencies:
blksnap noarch 6.3.1.1016-1 veeam 244.1 KiB
veeam-libs x86_64 6.3.1.1016-1 veeam 167.5 MiB
Transaction Summary:
Installing: 3 packages
Total size of inbound packages is 63 MiB. Need to download 63 MiB.
After this operation, 168 MiB extra will be used (install 168 MiB, remove 0 B).
Is this ok [y/N]: y
[1/3] veeam-0:6.3.1.1016-1.fc34.x86_64 100% | 478.1 KiB/s | 51.6 KiB | 00m00s
[2/3] blksnap-0:6.3.1.1016-1.noarch 100% | 416.6 KiB/s | 61.2 KiB | 00m00s
[3/3] veeam-libs-0:6.3.1.1016-1.x86_64 100% | 27.5 MiB/s | 63.2 MiB | 00m02s
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[3/3] Total 100% | 27.5 MiB/s | 63.3 MiB | 00m02s
Running transaction
[1/5] Verify package files 100% | 23.0 B/s | 3.0 B | 00m00s
[2/5] Prepare transaction 100% | 19.0 B/s | 3.0 B | 00m00s
[3/5] Installing veeam-libs-0:6.3.1.1016-1.x86_64 100% | 416.7 MiB/s | 167.5 MiB | 00m00s
[4/5] Installing blksnap-0:6.3.1.1016-1.noarch 100% | 141.9 KiB/s | 250.7 KiB | 00m02s
>>> Running post-install scriptlet: blksnap-0:6.3.1.1016-1.noarch
>>> Non-critical error in post-install scriptlet: blksnap-0:6.3.1.1016-1.noarch
>>> Scriptlet output:
>>> Loading new blksnap/6.3.1.1016 DKMS files...
>>> Deprecated feature: CLEAN (/usr/src/blksnap-6.3.1.1016/dkms.conf)
>>> Building for 6.14.6-300.fc42.x86_64
>>>
>>> Building initial module blksnap/6.3.1.1016 for 6.14.6-300.fc42.x86_64
>>> Deprecated feature: CLEAN (/var/lib/dkms/blksnap/6.3.1.1016/source/dkms.conf)
>>> Sign command: /lib/modules/6.14.6-300.fc42.x86_64/build/scripts/sign-file
>>> Signing key: /var/lib/dkms/mok.key
>>> Public certificate (MOK): /var/lib/dkms/mok.pub
>>>
>>> Building module(s)...(bad exit status: 2)
>>> Failed command:
>>> make -j16 KERNELRELEASE=6.14.6-300.fc42.x86_64 -j16 -C /lib/modules/6.14.6-300.fc42.x86_64/build M=/var/lib/dkms/blksnap/6.3.1.1016/build modules
>>>
>>> Error! Bad return status for module build on kernel: 6.14.6-300.fc42.x86_64 (x86_64)
>>> Consult /var/lib/dkms/blksnap/6.3.1.1016/build/make.log for more information.
>>> WARNING: Package not configured! See output!
>>>
>>> [RPM] %post(blksnap-6.3.1.1016-1.noarch) scriptlet failed, exit status 1
[5/5] Installing veeam-0:6.3.1.1016-1.fc34.x86_64 100% | 95.6 KiB/s | 160.2 KiB | 00m02s
>>> Running post-install scriptlet: veeam-0:6.3.1.1016-1.fc34.x86_64
>>> Finished post-install scriptlet: veeam-0:6.3.1.1016-1.fc34.x86_64
>>> Scriptlet output:
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/veeamservice.service' → '/usr/lib/systemd/system/veeamservice.service'.
>>>
Complete!
```
I attached the [make.log](https://github.com/user-attachments/files/20412746/make.log) mentioned above.
### Steps to reproduce
```shell
# install pre-requisites as far as found on Fedora 42
dnf install dkms gcc make perl kernel-headers kernel-devel fuse-libs dmidecode libpq python3 efibootmgr syslinux
# install RPM and update package list
rpm -ivh veeam-release-fc34-1.0.9-1.x86_64.rpm && dnf check-update
# install Veeam
dnf install veeam
```
### Expected behavior
`blksnap` installs without error
### Additional information
Quite possible that I try to install this on a yet-to-be-supported kernel version. But I am a bit lost by the amount of installation instructions due to the extreme (!! 👍 ) amount of backwards compatibility you guys provide for this module.
1 条评论