Building GAWK 4.1.4 on a Raspberry Pi, with GMP/MPFR.
Have done this many times before - generally everything is OK, except...
configure/make routine OK for all 3 packages (MPFR 3.1.4, GMP 6.1.1), make
check works fine for GMP and MPFR, but fails on GAWK itself, as shown below
(this is the tail end of the "make check" output, cut-and-pasted from the
screen) :
--- Cut Here ---
make[2]: Entering directory '/home/pi/Build/gawk-4.1.4/test'
2 TESTS FAILED
Makefile:4128: recipe for target 'pass-fail' failed
make[2]: *** [pass-fail] Error 1
make[2]: Leaving directory '/home/pi/Build/gawk-4.1.4/test'
make[2]: Entering directory '/home/pi/Build/gawk-4.1.4/test'
for i in _* ; \
do \
if [ "$i" != "_*" ]; then \
echo ============== $i ============= ; \
base=`echo $i | sed 's/^_//'` ; \
if [ -r ${base}.ok ]; then \
diff -c ${base}.ok $i ; \
else \
diff -c "."/${base}.ok $i ; \
fi ; \
fi ; \
done | more
============== _mbstr1 =============
*** mbstr1.ok Mon Jan 25 11:49:20 2016
--- _mbstr1 Sat Sep 10 12:22:28 2016
***************
*** 1,3 ****
- gawk: mbstr1.awk:2: warning: Invalid multibyte data detected. There may be a m
ismatch between your data and your locale.
4
1
--- 1,2 ----
============== _mbstr2 =============
*** mbstr2.ok Mon Jan 25 11:49:20 2016
--- _mbstr2 Sat Sep 10 12:22:28 2016
***************
*** 1,5 ****
2007
- gawk: mbstr2.awk:1: (FILENAME=- FNR=2) warning: Invalid multibyte data detecte
d. There may be a mismatch between your data and your locale.
2007
2007
2007
--- 1,4 ----
make[2]: Leaving directory '/home/pi/Build/gawk-4.1.4/test'
Makefile:1651: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/home/pi/Build/gawk-4.1.4/test'
Makefile:743: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
--- Cut Here ---
Everything else about the binary seems to work fine, and I'm inclined to
just ignore this error. I note that the 'mb' testing is the very last part
of the test suite, so, again, I'm inclined to just live with it.
Still, I'm curious as to why it fails. Obviously, this is for me to debug,
and I'm certainly willing and able to do so, but I'd like some help as to
what exactly the above errors mean. What is actually testing/comparing?
What environment variables does it depend on?
If somebody would give me some help on what exactly is being compared (and
why), I'll probably be able to fix it. Also, some help on what it really
means - I.e., if/why I should even care about it.
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain in
compliance with said RFCs, the actual sig can be found at the following web address:
http://www.xmission.com/~gazelle/Sigs/ForFoxViewers