X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX18sBsZaNbgsOiVehndk3nDjslNEoUca7FQDQ1943W HyYv3eAvI1+UiL From: Juan Manuel Guerrero To: djgpp AT delorie DOT com Subject: Re: ANNOUNCE: release 2 of the DJGPP port of GNU Diffutils 3.2 uploaded. Date: Sun, 13 May 2012 15:44:28 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Message-Id: <201205131544.28832.juan.guerrero@gmx.de> X-Y-GMX-Trusted: 0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4DDiaGK020223 On Sat, 12 May 2012 16:57:46 -0500, Allan J Mui wrote: [snip] > I was able to get the tests in `/tests' to run but not the gnulib tests > (by typing make -k check): > (command window output follows) [snip] Yes, you are right. The testsuite seems to work. For me the trick was to set PATH_SEPARATOR=: in the environment before calling "make -k check". The testsuite uses scripts that are completely unix centric. The consequence in my installation was that the testsuite ended in an infinite loop trying to find programs like sed and grep that it never found along the DOS formated path. I will try to fix the makefile of the testsuite so that PATH_SEPARATOR will always be set to colon. Only for the record, below the output of the new diffutils (r3). Of course gnulib tests do not pass. Regards, Juan M. Guerrero Making check in lib make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/lib' C:/DJGPP-2.04/BIN/make.exe check-recursive make.exe[2]: Entering directory `f:/dd/diffutil.32/_build.204/lib' make.exe[3]: Entering directory `f:/dd/diffutil.32/_build.204/lib' make.exe[3]: Nothing to be done for `check-am'. make.exe[3]: Leaving directory `f:/dd/diffutil.32/_build.204/lib' make.exe[2]: Leaving directory `f:/dd/diffutil.32/_build.204/lib' make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/lib' Making check in src make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/src' C:/DJGPP-2.04/BIN/make.exe check-am make.exe[2]: Entering directory `f:/dd/diffutil.32/_build.204/src' make.exe[2]: Nothing to be done for `check-am'. make.exe[2]: Leaving directory `f:/dd/diffutil.32/_build.204/src' make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/src' Making check in tests make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/tests' C:/DJGPP-2.04/BIN/make.exe check-TESTS make.exe[2]: Entering directory `f:/dd/diffutil.32/_build.204/tests' make.exe[3]: Entering directory `f:/dd/diffutil.32/_build.204/tests' PASS: basic PASS: binary PASS: colliding-file-names PASS: excess-slash PASS: help-version PASS: function-line-vs-leading-space PASS: label-vs-func PASS: no-newline-at-eof PASS: stdin ================== All 9 tests passed ================== make.exe[3]: Leaving directory `f:/dd/diffutil.32/_build.204/tests' make.exe[2]: Leaving directory `f:/dd/diffutil.32/_build.204/tests' make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/tests' Making check in doc make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/doc' make.exe[1]: Nothing to be done for `check'. make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/doc' Making check in man make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/man' make.exe[1]: Nothing to be done for `check'. make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/man' Making check in po make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/po' make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/po' Making check in ms make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/ms' make.exe[1]: Nothing to be done for `check'. make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/ms' Making check in gnulib-tests make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204/gnulib-tests' GEN cxxdefs.h GEN arg-nonnull.h GEN warn-on-use.h GEN locale.h GEN unused-parameter.h C:/DJGPP-2.04/BIN/make.exe check-recursive make.exe[2]: Entering directory `f:/dd/diffutil.32/_build.204/gnulib-tests' Making check in . make.exe[3]: Entering directory `f:/dd/diffutil.32/_build.204/gnulib-tests' C:/DJGPP-2.04/BIN/make.exe libtests.a test-alloca-opt.exe test-argmatch.exe test-binary-io.exe test-bitrotate.exe test-btowc.exe test-c-ctype.exe test-c-stack.exe test-c-strcasecmp.exe test-c-strncasecmp.exe test-dirname.exe test-dup2.exe test-environ.exe test-errno.exe test-exclude.exe test-fcntl-h.exe test-fcntl.exe test-filenamecat.exe test-float.exe test-fnmatch.exe test-freopen-safer.exe test-freopen.exe test-getcwd-lgpl.exe test-getdtablesize.exe test-getopt.exe test-gettimeofday.exe test-hash.exe test-iconv-h.exe test-iconv.exe test-ignore-value.exe test-intprops.exe test-inttostr.exe test-inttypes.exe test-iswblank.exe test-langinfo.exe test-locale.exe test-lstat.exe test-malloc-gnu.exe test-malloca.exe test-mbrtowc.exe test-mbrtowc-w32.exe test-mbscasecmp.exe test-mbsinit.exe test-mbsrtowcs.exe test-mbsstr1.exe test-mbsstr2.exe test-mbsstr3.exe test-memchr.exe test-nl_langinfo.exe test-open.exe test-quotearg-simple.exe test-setenv.exe test-setlocale1.exe test-setlocale2.exe test-sigaction.exe test-signal.exe test-sigprocmask.exe test-sleep.exe test-snprintf.exe test-stat.exe test-stat-time.exe test-stdbool.exe test-stddef.exe test-stdint.exe test-stdio.exe test-stdlib.exe test-strerror.exe test-strftime.exe test-striconv.exe test-string.exe test-strings.exe test-strnlen.exe test-strtoumax.exe test-symlink.exe test-sys_stat.exe test-sys_time.exe test-sys_wait.exe test-time.exe test-unistd.exe test-u8-mbtoucr.exe test-u8-uctomb.exe test-uc_width.exe test-uc_width2.exe test-unsetenv.exe test-usleep.exe test-vasnprintf.exe test-verify.exe test-version-etc.exe test-wchar.exe test-wcrtomb.exe test-wcrtomb-w32.exe test-wctype-h.exe test-wcwidth.exe test-xalloc-die.exe test-xstrtol.exe test-xstrtoul.exe test-xstrtoumax.exe make.exe[4]: Entering directory `f:/dd/diffutil.32/_build.204/gnulib-tests' CC argmatch.o CC hash-pjw.o CC asnprintf.o CC getcwd-lgpl.o CC printf-args.o CC printf-parse.o CC setenv.o CC snprintf.o CC symlink.o CC unsetenv.o CC vasnprintf.o CC wctob.o AR libtests.a CC test-alloca-opt.o CCLD test-alloca-opt.exe CC test-argmatch.o CCLD test-argmatch.exe CC test-binary-io.o CCLD test-binary-io.exe CC test-bitrotate.o CCLD test-bitrotate.exe CC test-btowc.o CCLD test-btowc.exe CC test-c-ctype.o CCLD test-c-ctype.exe CC test-c-stack.o CCLD test-c-stack.exe CC test-c-strcasecmp.o CCLD test-c-strcasecmp.exe CC test-c-strncasecmp.o CCLD test-c-strncasecmp.exe CC test-dirname.o CCLD test-dirname.exe CC test-dup2.o CCLD test-dup2.exe CC test-environ.o CCLD test-environ.exe CC test-errno.o .././../gnulib-tests/test-errno.c:39:12: error: 'EWOULDBLOCK' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:53:11: error: 'ETXTBSY' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:76:11: error: 'ENOTSOCK' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:77:11: error: 'EDESTADDRREQ' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:78:11: error: 'EMSGSIZE' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:79:11: error: 'EPROTOTYPE' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:80:11: error: 'ENOPROTOOPT' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:81:11: error: 'EPROTONOSUPPORT' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:82:11: error: 'EOPNOTSUPP' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:84:11: error: 'EAFNOSUPPORT' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:85:11: error: 'EADDRINUSE' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:86:11: error: 'EADDRNOTAVAIL' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:87:12: error: 'ENETDOWN' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:88:12: error: 'ENETUNREACH' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:91:12: error: 'ECONNRESET' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:92:12: error: 'ENOBUFS' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:93:12: error: 'EISCONN' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:94:12: error: 'ENOTCONN' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:95:12: error: 'ETIMEDOUT' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:96:12: error: 'ECONNREFUSED' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:97:12: error: 'EHOSTUNREACH' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:98:12: error: 'EALREADY' undeclared here (not in a function) .././../gnulib-tests/test-errno.c:99:12: error: 'EINPROGRESS' undeclared here (not in a function) make.exe[4]: *** [test-errno.o] Error 1 make.exe[4]: Target `test-errno.exe' not remade because of errors. CC test-exclude.o CCLD test-exclude.exe CC test-fcntl-h.o CCLD test-fcntl-h.exe CC test-fcntl.o CCLD test-fcntl.exe CC test-filenamecat.o CCLD test-filenamecat.exe CC test-float.o CCLD test-float.exe CC test-fnmatch.o CCLD test-fnmatch.exe CC test-freopen-safer.o CCLD test-freopen-safer.exe CC test-freopen.o CCLD test-freopen.exe CC test-getcwd-lgpl.o CCLD test-getcwd-lgpl.exe CC test-getdtablesize.o CCLD test-getdtablesize.exe CC test-getopt.o CCLD test-getopt.exe CC test-gettimeofday.o CCLD test-gettimeofday.exe CC test-hash.o CCLD test-hash.exe CC test-iconv-h.o CCLD test-iconv-h.exe CC test-iconv.o CCLD test-iconv.exe CC test-ignore-value.o CCLD test-ignore-value.exe CC test-intprops.o CCLD test-intprops.exe CC test-inttostr.o CCLD test-inttostr.exe CC test-inttypes.o CCLD test-inttypes.exe CC test-iswblank.o CCLD test-iswblank.exe CC test-langinfo.o CCLD test-langinfo.exe CC test-locale.o CCLD test-locale.exe CC test-lstat.o CCLD test-lstat.exe CC test-malloc-gnu.o CCLD test-malloc-gnu.exe CC test-malloca.o CCLD test-malloca.exe CC test-mbrtowc.o CCLD test-mbrtowc.exe CC test-mbrtowc-w32.o CCLD test-mbrtowc-w32.exe CC test-mbscasecmp.o CCLD test-mbscasecmp.exe CC test-mbsinit.o CCLD test-mbsinit.exe CC test-mbsrtowcs.o CCLD test-mbsrtowcs.exe CC test-mbsstr1.o CCLD test-mbsstr1.exe CC test-mbsstr2.o CCLD test-mbsstr2.exe CC test-mbsstr3.o CCLD test-mbsstr3.exe CC test-memchr.o In file included from .././../gnulib-tests/test-memchr.c:29:0: .././../gnulib-tests/zerosize-ptr.h: In function 'zerosize_ptr': .././../gnulib-tests/zerosize-ptr.h:55:32: error: 'MAP_PRIVATE' undeclared (first use in this function) .././../gnulib-tests/zerosize-ptr.h:55:32: note: each undeclared identifier is reported only once for each function it appears in .././../gnulib-tests/zerosize-ptr.h:62:9: warning: implicit declaration of function 'mmap' [-Wimplicit-function-declaration] make.exe[4]: *** [test-memchr.o] Error 1 make.exe[4]: Target `test-memchr.exe' not remade because of errors. CC test-nl_langinfo.o CCLD test-nl_langinfo.exe CC test-open.o CCLD test-open.exe CC test-quotearg-simple.o CCLD test-quotearg-simple.exe CC test-setenv.o CCLD test-setenv.exe CC test-setlocale1.o CCLD test-setlocale1.exe CC test-setlocale2.o CCLD test-setlocale2.exe CC test-sigaction.o CCLD test-sigaction.exe CC test-signal.o CCLD test-signal.exe CC test-sigprocmask.o CCLD test-sigprocmask.exe CC test-sleep.o CCLD test-sleep.exe CC test-snprintf.o CCLD test-snprintf.exe CC test-stat.o CCLD test-stat.exe CC test-stat-time.o CCLD test-stat-time.exe CC test-stdbool.o CCLD test-stdbool.exe CC test-stddef.o CCLD test-stddef.exe CC test-stdint.o CCLD test-stdint.exe CC test-stdio.o CCLD test-stdio.exe CC test-stdlib.o CCLD test-stdlib.exe CC test-strerror.o .././../gnulib-tests/test-strerror.c: In function 'main': .././../gnulib-tests/test-strerror.c:45:19: error: 'ETIMEDOUT' undeclared (first use in this function) .././../gnulib-tests/test-strerror.c:45:19: note: each undeclared identifier is reported only once for each function it appears in make.exe[4]: *** [test-strerror.o] Error 1 make.exe[4]: Target `test-strerror.exe' not remade because of errors. CC test-strftime.o CCLD test-strftime.exe CC test-striconv.o CCLD test-striconv.exe CC test-string.o CCLD test-string.exe CC test-strings.o CCLD test-strings.exe CC test-strnlen.o In file included from .././../gnulib-tests/test-strnlen.c:29:0: .././../gnulib-tests/zerosize-ptr.h: In function 'zerosize_ptr': .././../gnulib-tests/zerosize-ptr.h:55:32: error: 'MAP_PRIVATE' undeclared (first use in this function) .././../gnulib-tests/zerosize-ptr.h:55:32: note: each undeclared identifier is reported only once for each function it appears in .././../gnulib-tests/zerosize-ptr.h:62:9: warning: implicit declaration of function 'mmap' [-Wimplicit-function-declaration] make.exe[4]: *** [test-strnlen.o] Error 1 make.exe[4]: Target `test-strnlen.exe' not remade because of errors. CC test-strtoumax.o CCLD test-strtoumax.exe CC test-symlink.o CCLD test-symlink.exe CC test-sys_stat.o .././../gnulib-tests/test-sys_stat.c:271:1: error: static assertion failed: "verify (S_ISUID == 04000)" .././../gnulib-tests/test-sys_stat.c:272:1: error: static assertion failed: "verify (S_ISGID == 02000)" make.exe[4]: *** [test-sys_stat.o] Error 1 make.exe[4]: Target `test-sys_stat.exe' not remade because of errors. CC test-sys_time.o CCLD test-sys_time.exe CC test-sys_wait.o CCLD test-sys_wait.exe CC test-time.o CCLD test-time.exe CC test-unistd.o CCLD test-unistd.exe CC unistr/test-u8-mbtoucr.o CCLD test-u8-mbtoucr.exe CC unistr/test-u8-uctomb.o CCLD test-u8-uctomb.exe CC uniwidth/test-uc_width.o CCLD test-uc_width.exe CC uniwidth/test-uc_width2.o CCLD test-uc_width2.exe CC test-unsetenv.o CCLD test-unsetenv.exe CC test-usleep.o .././../gnulib-tests/test-usleep.c:26:1: warning: initialization from incompatible pointer type [enabled by default] CCLD test-usleep.exe CC test-vasnprintf.o CCLD test-vasnprintf.exe CC test-verify.o CCLD test-verify.exe CC test-version-etc.o CCLD test-version-etc.exe CC test-wchar.o CCLD test-wchar.exe CC test-wcrtomb.o CCLD test-wcrtomb.exe CC test-wcrtomb-w32.o CCLD test-wcrtomb-w32.exe CC test-wctype-h.o CCLD test-wctype-h.exe CC test-wcwidth.o CCLD test-wcwidth.exe CC test-xalloc-die.o CCLD test-xalloc-die.exe CC test-xstrtol.o CCLD test-xstrtol.exe CC test-xstrtoul.o CCLD test-xstrtoul.exe CC test-xstrtoumax.o CCLD test-xstrtoumax.exe make.exe[4]: Leaving directory `f:/dd/diffutil.32/_build.204/gnulib-tests' make.exe[3]: *** [check-am] Error 2 make.exe[3]: Leaving directory `f:/dd/diffutil.32/_build.204/gnulib-tests' make.exe[2]: *** [check-recursive] Error 1 make.exe[2]: Leaving directory `f:/dd/diffutil.32/_build.204/gnulib-tests' make.exe[1]: *** [check] Error 2 make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204/gnulib-tests' make.exe[1]: Entering directory `f:/dd/diffutil.32/_build.204' make.exe[1]: Nothing to be done for `check-am'. make.exe[1]: Leaving directory `f:/dd/diffutil.32/_build.204' make.exe: *** [check-recursive] Error 1 GEN public-submodule-commit make.exe: Target `check' not remade because of errors.