idris-lang / Idris2

A purely functional programming language with first class types
https://idris-lang.org/
Other
2.5k stars 375 forks source link

Test idris2/reflection/reflection024 fails due to not accounting for locales #3339

Closed elkcl closed 3 months ago

elkcl commented 3 months ago

When attempting to install idris2 on Arch Linux (using the idris2 package in AUR) test idris2/reflection/reflection024 fails. As can be seen in the log (lines 3741 and 3804), this happens because cat: src/nonExistentToRead: No such file or directory is expected to be in the output, but with a different locale cat can print the error in a different language, and the test fails. Rerunning the build with LC_ALL=C fixes the issue.

idris2_install.log

image