Re: rcs-5.8 test failures on HP-UX 11.31
Thien-Thi Nguyen <[email protected]> Mon, 26 Dec 2011 22:19:02 +0100
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
[CC restored -- please retain on followup.] () Paul Ackersviller <[email protected]> () Thu, 3 Nov 2011 23:04:25 +0000 > Could you please collect the respective TEST.d files from running > > $ cd tests > $ make check VERBOSE=1 TESTS='t180 t420 t470 t999' > > into a .tar.xz (or .tar.gz) and post that? Also, > include the config.log file from the top-level dir. > We can figure out what went wrong, perhaps, w/ that. Attached... perhaps it will also help you to know that I'm also unable to get through tests of diffutils-3.2 with my gcc, although HP's compiler manages it. Perhaps some gcc's are less-than-perfect here. Thanks. I notice that all of the tests fail with a message from /usr/local/bin/gdiff3, yet config.log indicates that gdiff3 is not "sane enough" (i.e., ‘DIFF3_BIN’ is set to value ‘0’). That's peculiar. I think we need to focus on the configure script failing to recognize that /usr/local/bin/gdiff3 is actually GNU diff3. Could you apply the attached patch, rerun the configure script (delete config.cache first to be safe), and post the contents of the two generated files SAVE.out and SAVE.err? Related to this line of debugging, could you also try to add #undef DIFF3_BIN #define DIFF3_BIN 1 to src/merger.c (anywhere prior to func ‘merge’ is fine), and redo "make && make check"? (Any change in luck?) BTW, have you reported the diffutils problems to the diffutils folks? Should I be able to compile with a non-gcc c89? No, RCS requires a c99 compiler. The configure script should exit failurefully if it cannot find or finangle one. _____________________________________________
save-diff3-sanity-out-and-err.diff
(text/x-diff, 501 B)
diff -u rcs-5.8/configure\~ rcs-5.8/configure --- rcs-5.8/configure~ 2011-08-30 13:11:35.000000000 +0200 +++ rcs-5.8/configure 2011-12-26 21:58:58.000000000 +0100 @@ -4349,7 +4349,8 @@ else rcs_cv_sane_diff3=no - sh -c "exec $DIFF3 -E -m -L 0 -L 1 -L 2 conftest0 conftest1 /dev/null" >conftestout 2>/dev/null + sh -c "exec $DIFF3 -E -m -L 0 -L 1 -L 2 conftest0 conftest1 /dev/null" >conftestout 2>SAVE.err + cp conftestout SAVE.out test 1 = $? && cmp -s - conftestout <<'EOF' <<<<<<< 0 0