URL: <https://savannah.gnu.org/bugs/?68482>
Summary: testsuite error on s390x
Group: findutils
Submitter: ametzler
Submitted: Sa 27 Jun 2026 16:38:59 CEST
Category: locate
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Test suite failure
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Unlocked
Release: None
Fixed Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sa 27 Jun 2026 16:38:59 CEST By: Andreas Metzler <ametzler>
Hello,
find GIT master as of 25 Jun 375275acad9efd2bee6cde9794dfdb5b049e2fe4 throws a
testsuite error on s390x:
FAIL: littleendian, locate.out
/home/ametzler/FIND/findutils-4.10.0+git20260625/locate/testsuite/locate.gnu/q.xo
differ: char 307, line 6
child process exited abnormally
Afaiui I should be able to get the expected output like this:
./locate/locate -d ./locate/testsuite/locate.gnu/locateddb.old.x86.xi -r .
./locate/locate: warning: database
'./locate/testsuite/locate.gnu/locateddb.old.x86.xi' is more than 8 days old
(actual age is 6649.2 days)
/tmp/findtest
/tmp/findtest/tmp
/tmp/findtest/tmp/subdir
/tmp/findtest/tmp/subdir/foo
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred1
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred1
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred1
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred1
And indeed this does not look good (4 times fred1).
locate 4.10 produces the expected output:
(sid_s390x-dchroot)ametzler@zelenka:~/FIND/findutils-4.10.0+git20260625$
/usr/bin/locate -d ./locate/testsuite/locate.gnu/locateddb.old.x86.xi -r .
/usr/bin/locate: warning: database
'./locate/testsuite/locate.gnu/locateddb.old.x86.xi' is more than 8 days old
(actual age is 6649.2 days)
/tmp/findtest
/tmp/findtest/tmp
/tmp/findtest/tmp/subdir
/tmp/findtest/tmp/subdir/foo
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred1
/usr/bin/locate: WARNING: locate database
'./locate/testsuite/locate.gnu/locateddb.old.x86.xi' was built with a
different byte order
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred2
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred3
/tmp/findtest/tmp/subdir/________________________________________________________________________________fred4
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68482>
_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
