After
  git checkout master && git pull
"make check" fails in gnulib on my OpenSuSE 11.4 system
because cppi is not installed:

berny@blackice:~/git/coreutils> make check
  GEN    public-submodule-commit
fatal: Not a valid commit name 9926b90d5159916a539b49359b3589fe89c2d987
/usr/lib/git/git-submodule: line 299: test: 9926b90d5159916a539b49359b3589fe89c2d987: unary operator expected
Stopping at 'gnulib'; script returned non-zero status.
maint.mk: found non-public submodule commit
make: *** [public-submodule-commit] Error 1
berny@blackice:~/git/coreutils> cd gnulib
berny@blackice:~/git/coreutils/gnulib> make check
i=lib/intprops.h; \
diff -u <(perl -lne '/^# *define ([A-Z]\w+)\(/ and print $1' $i|fmt) \
  <(sed -n /^_intprops_name/,/^_intprops_syms_re/p top/maint.mk \
            |sed '/^_/d;s/^  //;s/      *\\$//')
./gnulib-tool --extract-filelist \
            $(cd ./modules; grep -ilrE '(meyering|blake)' .) \
          | sort -u \
          | grep '\.c$' \
          | grep -vE '/(stdio-(read|write)|getloadavg)\.c$' \
          | xargs cppi -c
xargs: cppi: No such file or directory
make: *** [sc_cpp_indent_check] Error 127


... nor can it be found in any standard OpenSuSE standard repositories ;-/

  cnf cppi

Is it intended to include gnulib checks in coreutil's "make check"?
And if yes, shouldn't coreutils check for cppi availability?

Have a nice day,
Berny

Reply via email to