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 context, I was about to update the bfs package for Fedora Linux, and the build failed. I was using mock, which creates an isolated environment for package building. The reason for the failure was in the %check section, where a test had failed. Surprisingly, all tests passed outside the isolated environment on my machine. I will comment below on which test failed and what I could find about it.
I decided to rebuild again, but without cleaning the chroot so I could see the results of the bfs/D_opt test better, which generated this diff:
One of the differences between my system and the chroot environment is that in the chroot environment, /tmp is a regular directory. It's not a mounted tmpfs. Out of curiosity, I enabled the mock plugin that uses tmpfs in the environment, and the package compiled normally, with all tests passing. I tried to reproduce the same on a freshly installed Arch Linux in the virtual machine. The program compiles and passes all tests, but when I disable the tmpfs, 'D_opt' fails.
Oops! This doesn't really have anything to do with -D opt, it's just because directory link counts are handled differently on different filesystems. I'll probably fix it by adding -type f to the test.
For context, I was about to update the bfs package for Fedora Linux, and the build failed. I was using
mock
, which creates an isolated environment for package building. The reason for the failure was in the%check
section, where a test had failed. Surprisingly, all tests passed outside the isolated environment on my machine. I will comment below on which test failed and what I could find about it.I decided to rebuild again, but without cleaning the chroot so I could see the results of the bfs/D_opt test better, which generated this diff:
Here is the output of 'tests.sh --verbose bfs/D_opt'
One of the differences between my system and the chroot environment is that in the chroot environment,
/tmp
is a regular directory. It's not a mounted tmpfs. Out of curiosity, I enabled the mock plugin that uses tmpfs in the environment, and the package compiled normally, with all tests passing. I tried to reproduce the same on a freshly installed Arch Linux in the virtual machine. The program compiles and passes all tests, but when I disable the tmpfs, 'D_opt' fails.The text was updated successfully, but these errors were encountered: