[pcre-dev] [Bug 2157] "make check" fails on macOS 10.12

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2157] "make check" fails on macOS 10.12
https://bugs.exim.org/show_bug.cgi?id=2157

--- Comment #1 from Philip Hazel <ph10@???> ---
Thank you for the report. Apparently nobody managed to try the Release
Candidate 10.30-RC1 on MacOS in the four weeks that it was around for testing,
because this was not reported.

This is not a serious issue. It is a failure in the script that tests
pcre2grep; it is trying to test the new feature of using binary zero as a line
terminator. The script contains the following call to sed: "sed 's/\x00/ZERO/'"
to turn binary zeros in the output into printable characters (a) so its easy to
read and (b) so that "diff" doesn't think the files it is comparing are binary.

Tests on Solaris (to which I have access) had a problem with this. The version
of "sed" on Solaris cannot handle binary zeros. I could not find a way round
this, so all I could do was to cut out that particular test when RunGrepTest is
run on Solaris. I suspect the same is necessary on MacOS. However, I have no
access to any MacOS systems.

Please can you run "uname" on your system, note what the output is, and then
modify the line in RunGrepTest that reads

if [ `uname` != "SunOS" ] ; then

changing "SunOS" to the result of your "uname". This will cut out that
particular test. If that solves the problem, please report back and I will
change the line so that it cuts out the test for both operating systems.

Meanwhile, you can go ahead with installing 10.30; this does not indicate any
problems with the library itself.

--
You are receiving this mail because:
You are on the CC list for the bug.