#2240: Findutils-4.4.0 Testsuite failure
------------------------+---------------------------------------------------
 Reporter:  trent.shea  |       Owner:  [email protected]
     Type:  defect      |      Status:  new                          
 Priority:  normal      |   Milestone:  6.4                          
Component:  Book        |     Version:  SVN                          
 Severity:  minor       |    Keywords:                               
------------------------+---------------------------------------------------
 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.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2240>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to