Hi all
I am currently working through chapter 5 LFS Version 8.2 on ubuntu 18.04.1 LTS and have encountered a couple of hiccups on make check commands @ 5.23. Gawk-4.2.0
(I understand from the book errors can occur and not all are fatal)
but I seem to have some locale setting problem don't know if this is a fault on my part or something to do with Host system any help with these errors appreciated
Code:
make[2]: Leaving directory '/mnt/lfs/sources/gawk-4.2.0/test'
======== Done with shared library tests ========
======== Starting MPFR tests ========
MPFR tests not supported on this system
======== Done with MPFR tests ========
make[2]: Entering directory '/mnt/lfs/sources/gawk-4.2.0/test'
2 TESTS FAILED
Makefile:4572: recipe for target 'pass-fail' failed
make[2]: *** [pass-fail] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/gawk-4.2.0/test'
make[2]: Entering directory '/mnt/lfs/sources/gawk-4.2.0/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 Fri Jun 16 07:19:06 2017
--- _mbstr1 Wed Dec 26 13:22:46 2018
***************
*** 1,3 ****
- gawk: mbstr1.awk:2: warning: Invalid multibyte data detected. There may be a mismatch between your
data and your locale.
4
1
--- 1,2 ----
============== _mbstr2 =============
*** mbstr2.ok Fri Jun 16 07:19:06 2017
--- _mbstr2 Wed Dec 26 13:22:46 2018
***************
*** 1,5 ****
2007
- gawk: mbstr2.awk:1: (FILENAME=- FNR=2) warning: Invalid multibyte data detected. There may be a mis
match between your data and your locale.
2007
2007
2007
--- 1,4 ----
make[2]: Leaving directory '/mnt/lfs/sources/gawk-4.2.0/test'
Makefile:1796: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/gawk-4.2.0/test'
Makefile:725: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Config.log file quite big narowed down to errors
Code:
more config.log | grep warning:
/usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
conftest.c:82:6: warning: conflicting types for built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
conftest.c:82:6: warning: conflicting types for built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
conftest.c:82:6: warning: conflicting types for built-in function 'isinf' [-Wbuiltin-declaration-mismatch]
conftest.c:100:6: warning: conflicting types for built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
conftest.c:105:6: warning: conflicting types for built-in function 'fwrite_unlocked' [-Wbuiltin-declaration-mismatch]
conftest.c:106:6: warning: conflicting types for built-in function 'isascii' [-Wbuiltin-declaration-mismatch]
conftest.c:108:6: warning: conflicting types for built-in function 'iswlower' [-Wbuiltin-declaration-mismatch]
conftest.c:109:6: warning: conflicting types for built-in function 'iswupper' [-Wbuiltin-declaration-mismatch]
conftest.c:111:6: warning: conflicting types for built-in function 'memcmp' [-Wbuiltin-declaration-mismatch]
conftest.c:112:6: warning: conflicting types for built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
conftest.c:113:6: warning: conflicting types for built-in function 'memmove' [-Wbuiltin-declaration-mismatch]
conftest.c:114:6: warning: conflicting types for built-in function 'memset' [-Wbuiltin-declaration-mismatch]
conftest.c:121:6: warning: conflicting types for built-in function 'snprintf' [-Wbuiltin-declaration-mismatch]
conftest.c:122:6: warning: conflicting types for built-in function 'strchr' [-Wbuiltin-declaration-mismatch]
conftest.c:124:6: warning: conflicting types for built-in function 'strftime' [-Wbuiltin-declaration-mismatch]
conftest.c:125:6: warning: conflicting types for built-in function 'strcasecmp' [-Wbuiltin-declaration-mismatch]
conftest.c:126:6: warning: conflicting types for built-in function 'strncasecmp' [-Wbuiltin-declaration-mismatch]
conftest.c:132:6: warning: conflicting types for built-in function 'towlower' [-Wbuiltin-declaration-mismatch]
conftest.c:133:6: warning: conflicting types for built-in function 'towupper' [-Wbuiltin-declaration-mismatch]
conftest.c:130:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
Code:
configure: failed program was:
| /* confdefs.h */