Opened 6 years ago

Closed 6 years ago

#3894 closed defect (fixed)

2 tests fails in LFS 7.9-rc2 "6.44. Automake-1.15"

Reported by: yuksiy Owned by: lfs-book@…
Priority: normal Milestone: 7.9
Component: Book Version: SVN
Severity: normal Keywords:
Cc: yuk@…

Description

I tested the instructions according to http://www.linuxfromscratch.org/lfs/view/7.9-rc2/chapter06/automake.html.
Then 2 FAILs occurred during the test.
Please refer to the following attached files for the details.
automake_build_1.sh
automake_build_1.sh.log
automake_build_1_test-suite.log

The following command is put just before "make -j4 check" in the page mentioned above.

sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh

libfl.a used here existed in LFS 7.8 "6.32. Flex-2.5.39".
(Find in page with the keyword "libfl.".)
However, libfl.a doesn't exist anymore in LFS 7.9-rc2 "6.32. Flex-2.6.0".
(Find in page with the keyword "libfl".)

It's thought that this leads to the failures of this test.

I deleted the sed command mentioned above for trial and retried the test, but was not able to solve the problem.
3 FAILs occurred during the test this time.
Please refer to the following attached files for the details.
automake_build_2.sh
automake_build_2.sh.log
automake_build_2_test-suite.log

Is there any solution?

Attachments (6)

automake_build_1.sh (220 bytes ) - added by yuksiy 6 years ago.
automake_build_1.sh.log.xz (17.5 KB ) - added by yuksiy 6 years ago.
automake_build_1_test-suite.log.xz (59.5 KB ) - added by yuksiy 6 years ago.
automake_build_2.sh (142 bytes ) - added by yuksiy 6 years ago.
automake_build_2.sh.log.xz (17.5 KB ) - added by yuksiy 6 years ago.
automake_build_2_test-suite.log.xz (59.5 KB ) - added by yuksiy 6 years ago.

Download all attachments as: .zip

Change History (15)

by yuksiy, 6 years ago

Attachment: automake_build_1.sh added

by yuksiy, 6 years ago

Attachment: automake_build_1.sh.log.xz added

by yuksiy, 6 years ago

by yuksiy, 6 years ago

Attachment: automake_build_2.sh added

by yuksiy, 6 years ago

Attachment: automake_build_2.sh.log.xz added

by yuksiy, 6 years ago

comment:1 by bdubbs@…, 6 years ago

Please delete the compressed attachments and upload the uncompressed files.

comment:2 by bdubbs@…, 6 years ago

Milestone: 7.107.9

The way to fix this is to remove --disable-static from the flex build. When this is done, all tests pass. /usr/lib/libfl.a can then be removed in Section 6.73. Cleaning Up.

comment:3 by bdubbs@…, 6 years ago

Fixed at revision 11025.

comment:4 by bdubbs@…, 6 years ago

Resolution: fixed
Status: newclosed

in reply to:  1 ; comment:5 by yuksiy, 6 years ago

Replying to bdubbs@…:

Please delete the compressed attachments and upload the uncompressed files.

The file size of my largest uncompressed file is about 1.4MB.
But Trac says "size limit 256.0 KB" when I will try to add a uncompressed file.
This ticket has been already closed, but do you still need uncompressed files?

in reply to:  5 comment:6 by bdubbs@…, 6 years ago

Replying to yuksiy:

This ticket has been already closed, but do you still need uncompressed files?

No. I was able to figure it out without the logs. Thanks for reporting though.

in reply to:  3 comment:7 by yuksiy, 6 years ago

Resolution: fixed
Status: closedreopened

Replying to bdubbs@…:

Fixed at revision 11025.

I just noticed, but I think the following changes are necessary:

In "chapter06/flex.html":

- Installed libraries: libfl.so and libfl_pic.so
+ Installed libraries: libfl.{a,so} and libfl_pic.{a,so}

In "chapter06/revisedchroot.html":

-rm -f /usr/lib/libfl.a
+rm -f /usr/lib/lib{fl,fl_pic}.a
Last edited 6 years ago by yuksiy (previous) (diff)

comment:8 by bdubbs@…, 6 years ago

We delete those at the end of Chapter 6 so I want ot leave them alone. I do need to add libfl_pic.a to the list of deleted files.

in reply to:  8 comment:9 by yuksiy, 6 years ago

Resolution: fixed
Status: reopenedclosed

Replying to bdubbs@…:

We delete those at the end of Chapter 6 so I want ot leave them alone.

That sounds good.

I do need to add libfl_pic.a to the list of deleted files.

Confirmed at r11027.

Note: See TracTickets for help on using tickets.