LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 7.2: make check failure on make-3.8.2 (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-7-2-make-check-failure-on-make-3-8-2-a-4175434302/)

computerfan9000 10-27-2012 12:53 AM

LFS 7.2: make check failure on make-3.8.2
 
When I run make check on make-3.82, 1 test, the options/dash-l, fails. Is this an acceptable failure?
Processor: Intel Core i7
Installing on VMware Workstation 9
Test Log:
Code:

------------------------------------------------------------------------------
  Running tests for GNU make on Linux gentoo4noobs 2.6.32-gentoo-r41 i686
                                GNU Make 3.82
------------------------------------------------------------------------------

Finding tests...

features/comments ....................................... ok    (1 passed)
features/conditionals ................................... ok    (4 passed)
features/default_names .................................. ok    (3 passed)
features/double_colon ................................... ok    (10 passed)
features/echoing ........................................ ok    (4 passed)
features/errors ......................................... ok    (2 passed)
features/escape ......................................... ok    (6 passed)
features/export ......................................... ok    (12 passed)
features/include ........................................ ok    (10 passed)
features/mult_rules ..................................... ok    (2 passed)
features/mult_targets ................................... ok    (2 passed)
features/order_only ..................................... ok    (10 passed)
features/override ....................................... ok    (4 passed)
features/parallelism .................................... ok    (8 passed)
features/patspecific_vars ............................... ok    (10 passed)
features/patternrules ................................... ok    (10 passed)
features/quoting ........................................ ok    (1 passed)
features/recursion ...................................... ok    (2 passed)
features/reinvoke ....................................... ok    (4 passed)
features/se_explicit .................................... ok    (9 passed)
features/se_implicit .................................... ok    (9 passed)
features/se_statpat ..................................... ok    (4 passed)
features/statipattrules ................................. ok    (8 passed)
features/targetvars ..................................... ok    (23 passed)
features/varnesting ..................................... ok    (1 passed)
features/vpath .......................................... ok    (2 passed)
features/vpath2 ......................................... ok    (1 passed)
features/vpath3 ......................................... ok    (1 passed)
features/vpathgpath ..................................... ok    (1 passed)
features/vpathplus ...................................... ok    (4 passed)
functions/abspath ....................................... ok    (1 passed)
functions/addprefix ..................................... ok    (1 passed)
functions/addsuffix ..................................... ok    (2 passed)
functions/andor ......................................... ok    (2 passed)
functions/basename ...................................... ok    (1 passed)
functions/call .......................................... ok    (2 passed)
functions/dir ........................................... ok    (1 passed)
functions/error ......................................... ok    (5 passed)
functions/eval .......................................... ok    (9 passed)
functions/filter-out .................................... ok    (1 passed)
functions/findstring .................................... ok    (1 passed)
functions/flavor ........................................ ok    (1 passed)
functions/foreach ....................................... ok    (4 passed)
functions/if ............................................ ok    (1 passed)
functions/join .......................................... ok    (1 passed)
functions/notdir ........................................ ok    (1 passed)
functions/origin ........................................ ok    (1 passed)
functions/realpath ...................................... ok    (2 passed)
functions/shell ......................................... ok    (2 passed)
functions/sort .......................................... ok    (1 passed)
functions/strip ......................................... ok    (2 passed)
functions/substitution .................................. ok    (3 passed)
functions/suffix ........................................ ok    (1 passed)
functions/value ......................................... ok    (1 passed)
functions/warning ....................................... ok    (4 passed)
functions/wildcard ...................................... ok    (4 passed)
functions/word .......................................... ok    (16 passed)
misc/close_stdout ....................................... ok    (1 passed)
misc/general1 ........................................... ok    (1 passed)
misc/general2 ........................................... ok    (1 passed)
misc/general3 ........................................... ok    (10 passed)
misc/general4 ........................................... ok    (6 passed)
options/dash-B .......................................... ok    (8 passed)
options/dash-C .......................................... ok    (2 passed)
options/dash-I .......................................... ok    (3 passed)
options/dash-W .......................................... ok    (10 passed)
options/dash-e .......................................... ok    (1 passed)
options/dash-f .......................................... ok    (4 passed)
options/dash-k .......................................... ok    (3 passed)
options/dash-l .......................................... FAILED (0/1 passed)
options/dash-n .......................................... ok    (4 passed)
options/dash-q .......................................... ok    (8 passed)
options/dash-t .......................................... ok    (2 passed)
options/eval ............................................ ok    (2 passed)
options/general ......................................... ok    (1 passed)
options/symlinks ........................................ ok    (10 passed)
options/warn-undefined-variables ........................ ok    (2 passed)
targets/DEFAULT ......................................... ok    (1 passed)
targets/FORCE ........................................... ok    (1 passed)
targets/INTERMEDIATE .................................... ok    (8 passed)
targets/ONESHELL ........................................ ok    (5 passed)
targets/PHONY ........................................... ok    (1 passed)
targets/POSIX ........................................... ok    (2 passed)
targets/SECONDARY ....................................... ok    (12 passed)
targets/SILENT .......................................... ok    (1 passed)
targets/clean ........................................... ok    (2 passed)
variables/CURDIR ........................................ ok    (1 passed)
variables/DEFAULT_GOAL .................................. ok    (5 passed)
variables/INCLUDE_DIRS .................................. ok    (2 passed)
variables/LIBPATTERNS ................................... ok    (2 passed)
variables/MAKE .......................................... ok    (1 passed)
variables/MAKECMDGOALS .................................. ok    (3 passed)
variables/MAKEFILES ..................................... ok    (2 passed)
variables/MAKEFLAGS ..................................... ok    (2 passed)
variables/MAKELEVEL ..................................... ok    (1 passed)
variables/MAKE_RESTARTS ................................. ok    (3 passed)
variables/MFILE_LIST .................................... ok    (1 passed)
variables/SHELL ......................................... ok    (7 passed)
variables/automatic ..................................... ok    (7 passed)
variables/define ........................................ ok    (15 passed)
variables/flavors ....................................... ok    (6 passed)
variables/negative ...................................... ok    (4 passed)
variables/private ....................................... ok    (8 passed)
variables/special ....................................... ok    (2 passed)
variables/undefine ...................................... ok    (4 passed)

1 Test in 1 Category Failed (See .diff files in work dir for details) :-(

make[2]: *** [check-regression] Error 1
make[2]: Leaving directory `/sources/make-3.82'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/sources/make-3.82'
make: *** [check-recursive] Error 1


druuna 10-27-2012 02:58 AM

Is this make from chapter 5 or from chapter 6?

If it is from chapter 5: 4.6. About the Test Suites and this from chapter 5.26:
Quote:

As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter.
In short: Don't run the test in all of chapter 5.

computerfan9000 10-27-2012 03:03 AM

It's Chapter 6.

druuna 10-27-2012 03:22 AM

Did you check what is mentioned in the output?
Quote:

1 Test in 1 Category Failed (See .diff files in work dir for details)
Anything worth mentioning?

Are you using any make flags to build/test (i.e.: make -j X)? If so: try without. Some of the tests will fail when using multiple jobs/cores.

computerfan9000 10-27-2012 03:52 AM

Here is what dash-l.diff says:
Code:

*** work/options/dash-l.base    Thu Oct 25 22:26:04 2012
--- work/options/dash-l.log    Thu Oct 25 22:26:02 2012
***************
*** 0 ****
--- 1,2 ----
+ TWO FAILED
+ THREE FAILED

I am also not using any flags.

druuna 10-27-2012 04:01 AM

Not much to go on.

I haven't run into or seen this specific failure before and am not sure if you can ignore this one.

I would suggest to remove make's build directory and try this chapter again with a clean sheet. Carefully check the patch output, config.log and make step for anything strange.

If the make check step still throws this specific error you could decide to continue with the next chapter (I haven't been able to find anything on-line that deals with this specific problem).

computerfan9000 10-27-2012 04:07 AM

Oddly enough, simply deleting it and recompiling it seems to have fixed it. I can now move on with my installation. Thanks for the help! :D

druuna 10-27-2012 04:09 AM

You're welcome :)

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved


All times are GMT -5. The time now is 10:52 AM.