New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
findutils tests fails #80352
Comments
|
In principle we could re-revert the patch. The tests are not so useful in the first place. But just in case, I'm going to ask: have you considered overriding |
|
Yes, that's what I'm doing currently. However, even though my setup may not be that common I still think that the package should build out of the box? |
|
Same problem occurs with gnutls which includes the same testsuite |
|
findutils maintainer believes the failing test uncovers a real issue with the glibc 2.30/kernel 2.6.32 combination. Looking at the glibc README, it seems glibc 2.30 officially requires kernel >= 3.2, so maybe it doesn't make a lot of sense to add patches to work around an unsupported configuration. |
|
@truls, I've submitted a PR with your proposed solution. It should fix the issue for findutils and elsewhere. |
This comment has been minimized.
This comment has been minimized.
|
This was fixed by #80961, I believe. |
Describe the bug
Building the findutils package on old linuxes (I tried CentOS 6, kernel 2.6.32) fails due to two failing tests involving the
getdtablesizefunction. I can only reproduce this problem when building the package using the nix toolchain on CentOS 6. Building directly on CentOS 6 and building with nix on Fedora 31 works.The findutils package was previosly patched by nix to disable the failing tests (https://github.com/NixOS/nixpkgs/pull/67753/files), but these patches were removed when updating the package to its current version
To Reproduce
Steps to reproduce the behavior:
Quck test to see if the problem is present:
gcc -o test-getdtablesize -I .. test-getdtablesize.c
Expected behavior
The package should build without test failures.
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: