Opened 16 years ago
Closed 16 years ago
#2240 closed defect (fixed)
Findutils-4.4.0 Testsuite failure
Reported by: | Trent Shea | Owned by: | |
---|---|---|---|
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)
Change History (4)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Moved gawk ahead of findutils to avoid a test suite failure in chapter 6.
Fixed in revision 8707.
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.