You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my work on reproducible builds I am using osc build --vm-type=kvm a lot and noticed that the VM occasionally gets corrupted build input files on a on Leap 15.5 system.
For .spec .changes and .rpm (BuildRequires) the build fails early, but now that I started using pbuild I also found 3 cases where the .src.rpm silently contained the corrupted file (cpanspec.yml, rpmlintrc etc).
The corrupted file had the same size but contained binary garbage (and build-compare would not even report a diff).
The 2nd stage should verify all checksums of build inputs before starting to build, so silent corruption gets avoided and a consistent build error message is produced.
This was with build-20240313-150500.446.1 from openSUSE:Tools but has been going on for a longer time.
The text was updated successfully, but these errors were encountered:
so you are building as root? (otherwise mkfs-copyin would be default).
If there are corupted files without that mode I would verify if the umount did not happen for some reason before starting the VM. (As I can not really believe that the kernel is corrupting the block cache, but that would be another option).
For my work on reproducible builds I am using
osc build --vm-type=kvm
a lot and noticed that the VM occasionally gets corrupted build input files on a on Leap 15.5 system.For .spec .changes and .rpm (BuildRequires) the build fails early, but now that I started using pbuild I also found 3 cases where the .src.rpm silently contained the corrupted file (cpanspec.yml, rpmlintrc etc).
The corrupted file had the same size but contained binary garbage (and
build-compare
would not even report a diff).The 2nd stage should verify all checksums of build inputs before starting to build, so silent corruption gets avoided and a consistent build error message is produced.
This was with
build-20240313-150500.446.1
from openSUSE:Tools but has been going on for a longer time.The text was updated successfully, but these errors were encountered: