Description of problem: Trying to run ghc on i686 rawhide (f38) consistently fails with the following error message: > epollCreate: invalid argument (Invalid argument) First observed on a scratch build for ShellCheck 0.9: https://koji.fedoraproject.org/koji/taskinfo?taskID=95610181 The same scratch build on f37 succeeds: https://koji.fedoraproject.org/koji/taskinfo?taskID=95612202 Version-Release number of selected component (if applicable): ghc-compiler-8.10.7-121.fc37.i686 (this is f38/rawhide) How reproducible: Always, no matter the command line arguments. Steps to Reproduce: Just run a ghc command, with or without arguments. Additional info: I was able to reproduce it locally with mock. It may simply need a rebuild after a dependency changed on f38. According to multiple strace'd executions the error is caused by a negative size passed to epoll_create(): > epoll_create(-224406580) = -1 EINVAL (Invalid argument) > epoll_create(-224640052) = -1 EINVAL (Invalid argument) > epoll_create(-224885812) = -1 EINVAL (Invalid argument) The first size is the one showing up the most over multiple executions.
Hmm this is a bit concerning, even though i686 is no longer a blocking arch.
Rawhide error: + ghc --make -package Cabal -no-user-package-db -dynamic Setup epollCreate: invalid argument (Invalid argument) error: Bad exit status from /var/tmp/rpm-tmp.YzEthl (%build)
The biggest changes in the buildroot from f37 to f38 seem to be: glibc: 2.36-8.fc37 -> 2.36.9000-18.fc38 libffi: 3.4.2-9.fc37 -> 3.4.4-1.fc38 redhat-rpm-config: 228-1.fc37 -> 235-1.fc38
*** This bug has been marked as a duplicate of bug 2155825 ***
This looks fixed by glibc-2.36.9000-19.fc38.i686