#1395 closed defect (fixed)
cpio fails LSB testsuide
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | 6.1 |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
From Alexander Patrakov:
recently I tried to run LSB testsuite (li18nux2k-level1 part) and there were test failures related to cpio (it corrupts filenames containing national characters). Investigation shows that the lib/system.h in cpio source #defines setlocale to nothing if the HAVE_SETLOCALE macro isn't defined. And it isn't (there is a bug in the configure script).
To work around this problem, please adjust the instructions in the book. Please insert the following command just before "make":
echo '#define HAVE_SETLOCALE 1' >>config.h
This would resolve cpio-related failures in the LSB testsuite.
Note:
See TracTickets
for help on using tickets.
Added instruction to put HAVE_SETLOCALE in config.h. Also added paragraph for make check.