LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-26-2018, 09:55 AM   #1
theoregano
LQ Newbie
 
Registered: Nov 2018
Posts: 3

Rep: Reputation: Disabled
Failed make check 5.23. Gawk-4.23


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 */
 
Old 12-26-2018, 10:41 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi 2 things, lfs-8.2 is kinda old 8.3 The latest stable version.
http://www.linuxfromscratch.org/lfs/view/stable/

And 2nd It is advised not to run tests in ch5 as this is only tools and will be removed later also tools is not a complete system so some thing might be missing.
 
Old 01-13-2019, 06:04 AM   #3
theoregano
LQ Newbie
 
Registered: Nov 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Many thanks Spikey
sorry for late reply Christmas +NY got in the way
decided to start again from 8.3 the extra practice wont do any harm
and thanks for advice on testsuites in CH5
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 8.1: Binutils make -k check failed at Makefile line 2174 'do-check' OedipusR3x Linux From Scratch 3 03-04-2018 06:24 PM
"make check" error when compiling Gawk-4.1.4 (for Linux From Scratch v8.0) Microbob Linux From Scratch 7 06-18-2017 01:46 PM
"make check" error when compiling Gawk-4.1.4 (for Linux From Scratch v8.0) Microbob Linux - Software 6 06-12-2017 02:37 PM
[SOLVED] gawk 3.1.3 vs gawk 3.1.1 sharky Programming 2 04-13-2010 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration