This is Scott McCreary from HaikuPorts, here's the output of make check when built on Haiku svn-r28815. To build on Haiku, we have to copy a newer version of config.guess/config.sub in and then run libtoolize. Since we have libtool 2.2 we then add AC_CONFIG_MACRO_DIR([m4]) in configure.ac and run libtoolize, aclocal -I m4, autoconf and automake, then ./configure --prefix-/boot/common, make, make install.
~/grep-2.5.3> make check Making check in intl make[1]: Entering directory `/boot/home/grep-2.5.3/intl' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/boot/home/grep-2.5.3/intl' Making check in po make[1]: Entering directory `/boot/home/grep-2.5.3/po' make[1]: Leaving directory `/boot/home/grep-2.5.3/po' Making check in lib make[1]: Entering directory `/boot/home/grep-2.5.3/lib' Making check in posix make[2]: Entering directory `/boot/home/grep-2.5.3/lib/posix' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/boot/home/grep-2.5.3/lib/posix' make[2]: Entering directory `/boot/home/grep-2.5.3/lib' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/boot/home/grep-2.5.3/lib' make[1]: Leaving directory `/boot/home/grep-2.5.3/lib' Making check in doc make[1]: Entering directory `/boot/home/grep-2.5.3/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/boot/home/grep-2.5.3/doc' Making check in src make[1]: Entering directory `/boot/home/grep-2.5.3/src' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/boot/home/grep-2.5.3/src' Making check in tests make[1]: Entering directory `/boot/home/grep-2.5.3/tests' make check-TESTS make[2]: Entering directory `/boot/home/grep-2.5.3/tests' Please, do not be alarmed if some of the tests failed. Report them to <[email protected]>, with the line number, the name of the file, and grep version number 'grep --version'. Thank You. PASS: warning.sh PASS: khadafy.sh PASS: spencer1.sh PASS: bre.sh PASS: ere.sh PASS: pcre.sh PASS: status.sh PASS: empty.sh PASS: options.sh PASS: backref.sh /dev/null: could not copy attributes PASS: file.sh Testing: ../src/grep Word -o -i input: "WordA/wordB/WORDC/" output: "" expect: "Word/word/WORD/" FAIL Testing: ../src/grep WORD -o -i input: "WordA/wordB/WORDC/" output: "" expect: "Word/word/WORD/" FAIL Testing: ../src/grep Word --color=always -i input: "WordA/wordb/WORDC/" output: "WordA/wordb/WORDC/" expect: "WordA/wordb/WORDC/" FAIL Testing: ../src/grep WORD --color=always -i input: "WordA/wordb/WORDC/" output: "WordA/wordb/WORDC/" expect: "WordA/wordb/WORDC/" FAIL FAIL: foad1.sh SKIP: fmbtest.sh Test #11: { ../src/grep -F -n -b -m 5 -C 1 yes; echo "?$?"; sed 's!^!X!'; } output: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/10-90-[J10 no ]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" expect: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" FAIL Test #27: { ../src/grep -F -n -b -m 2 -v -C 1 yes; echo "?$?"; sed 's!^!X!'; } output: "1:0:[A01 no ]/2:10:[B02 no ]/3-20-[C03 yes]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" expect: "1:0:[A01 no ]/2:10:[B02 no ]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" FAIL Test #28: { ../src/grep -F -n -b -m 2 -v -C 1 -o yes; echo "?$?"; sed 's!^!X!'; } output: "3-25-yes/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" expect: "?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" FAIL FAIL: yesno.sh ================================= 2 of 13 tests failed (1 tests were not run) Please report to [email protected] ================================= make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/boot/home/grep-2.5.3/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/boot/home/grep-2.5.3/tests' make: *** [check-recursive] Error 1 ~/grep-2.5.3>
