Re: RCS 5.10.1 fails 6 tests on 2023 Mac Studio with macOS 15.0 Sequoia

Ron Charlton <[email protected]> Thu, 26 Sep 2024 07:23:56 -0400
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
--Apple-Mail=_2A09C9DB-9588-41E6-AB67-0D8F197B9006
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Colin,

I discovered the diff/diff3 problem after Paul gave me a big hint (make =
VERBOSE=3D1 check). Using gdiff/gdiff3 allows rcs to pass all checks =
successfully on an Apple silicon Mac Studio with macOS 15.0 Sequoia, =
when built with Xcode 16.0's command line tools. Thanks for the tips.

Ron Charlton <[email protected]


> On Sep 25, 2024, at 11:53=E2=80=AFPM, Collin Funk =
<[email protected]> wrote:
>=20
> Hi Ron & Paul,
>=20
> Paul Eggert <[email protected]> writes:
>=20
>> and then inspecting the files in tests/t160.d. I am attaching the
>> files I got in tests/t160.d on my platform, so that you can compare
>> the expected results to the actual results.
>>=20
>> You can also take a look at the other failing test but I thought we'd
>> start with the first one.
>=20
> These tests fail because of the 'diff' and 'diff3' programs installed
> installed on MacOS by default.
>=20
> If you install GNU Diffutils and run ./configure with GNU 'diff' and
> 'diff3' first in your path then all the tests should be successful =
[1].
>=20
> Perhaps it is worth using posix_spawnp or similar instead of a
> hard-coded path in config.h. Or having some --diff-program argument
> similar to what GNU 'diff3' has...
>=20
> [1] https://www.gnu.org/software/diffutils/
>=20


--Apple-Mail=_2A09C9DB-9588-41E6-AB67-0D8F197B9006
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><div>Colin,</div><div><br></div><div>I discovered =
the diff/diff3 problem after Paul gave me a big hint (make VERBOSE=3D1 =
check). Using gdiff/gdiff3 allows rcs to pass all checks successfully on =
an Apple silicon Mac Studio with macOS 15.0 Sequoia, when built with =
Xcode 16.0's command line tools. Thanks for the tips.</div><br =
id=3D"lineBreakAtBeginningOfMessage"><div>
<meta charset=3D"UTF-8"><div dir=3D"auto" style=3D"caret-color: rgb(0, =
0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;">Ron =
Charlton&nbsp;&lt;[email protected]</div></div></div></div></div></div=
><br class=3D"Apple-interchange-newline">
</div>
<div><br><blockquote type=3D"cite"><div>On Sep 25, 2024, at 11:53=E2=80=AF=
PM, Collin Funk &lt;[email protected]&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div><div>Hi Ron &amp; =
Paul,<br><br>Paul Eggert &lt;[email protected]&gt; =
writes:<br><br><blockquote type=3D"cite">and then inspecting the files =
in tests/t160.d. I am attaching the<br>files I got in tests/t160.d on my =
platform, so that you can compare<br>the expected results to the actual =
results.<br><br>You can also take a look at the other failing test but I =
thought we'd<br>start with the first one.<br></blockquote><br>These =
tests fail because of the 'diff' and 'diff3' programs =
installed<br>installed on MacOS by default.<br><br>If you install GNU =
Diffutils and run ./configure with GNU 'diff' and<br>'diff3' first in =
your path then all the tests should be successful [1].<br><br>Perhaps it =
is worth using posix_spawnp or similar instead of a<br>hard-coded path =
in config.h. Or having some --diff-program argument<br>similar to what =
GNU 'diff3' has...<br><br>[1] =
https://www.gnu.org/software/diffutils/<br><br></div></div></blockquote></=
div><br></body></html>=

--Apple-Mail=_2A09C9DB-9588-41E6-AB67-0D8F197B9006--