Opened 16 years ago

Closed 16 years ago

#2240 closed defect (fixed)

Findutils-4.4.0 Testsuite failure

Reported by: Trent Shea Owned by: lfs-book@…
Priority: normal Milestone: 6.4
Component: Book Version: SVN
Severity: minor Keywords:
Cc:

Description

The following failure appears: FAIL: old_prefix: locate failed, /root/findutils-4.4.0/locate/testsuite/../locate: `tmp/locatedb': No such file or directory

It looks like there are a couple of ways to avoid the failure one is to bump Gawk ahead in chapter six, as mentioned by Greg Schafer: http://www.diy-linux.org/pipermail/diy-linux-dev/2008-April/001219.html

Another would be to append ":/tools/bin" to PATH in locate/updatedb.sh

I've done what I can to confirm that the second approach has no unexpected results. To do so I built findutils twice with the same commands. The first build was with the edit and between builds I moved the installed files.

After which I ran:

bash-3.2# diff -r tmp_edit tmp_noedit
diff -r tmp_edit/bin/updatedb tmp_noedit/bin/updatedb
229c229
< PATH=/bin:/usr/bin:${BINDIR}:/tools/bin; export PATH
---
> PATH=/bin:/usr/bin:${BINDIR}; export PATH
bash-3.2#

There's probably a better way to include the /tools/bin path temporarily, but I thought I'd get this out there, in case anyone wants to keep the package build in the same order.

Attachments (1)

gawk.patch (1.9 KB ) - added by Trent Shea 16 years ago.
Modify build order

Download all attachments as: .zip

Change History (4)

comment:1 by randy@…, 16 years ago

Owner: changed from lfs-book@… to randy@…
Status: newassigned

Moving Gawk ahead would seem to be the way we should go about it as this is the standard protocol of our build method. What needs to go first, does. Everything else falls into alphabetical order.

by Trent Shea, 16 years ago

Attachment: gawk.patch added

Modify build order

comment:2 by randy@…, 16 years ago

Owner: changed from randy@… to lfs-book@…
Status: assignednew

comment:3 by bdubbs@…, 16 years ago

Resolution: fixed
Status: newclosed

Moved gawk ahead of findutils to avoid a test suite failure in chapter 6.

Fixed in revision 8707.

Note: See TracTickets for help on using tickets.