This package (mksh 59.c-1) does not currently build because two tests are failing. This happens because ArchLinux' current versions of egrep
and fgrep
are complaining that the commands are obsolete and that we should use grep -E
resp. grep -F
instead. The fgrep
command is used in the tests and no output is expected. However, the test runner sees the warning from ArchLinux' scripts and believe that the tests have failed.
The fgrep
command is only used in the check.t
file:
6731: } | fgrep FNORD
8644: set | fgrep PIPESTATUS
8645: echo 8 $(set | fgrep PIPESTATUS) .
This file should be patched/edited to use grep -F
instead. E.g.:
sed -i 's/fgrep/grep -F/g' check.t
Then the package will build as expected.
Pinned Comments
stefanwimmer128 commented on 2024-07-18 07:35 (UTC)
Pre-built packages are available here or in my repository.