On Sat, Aug 19, 2023 at 03:25:48PM +0200, Bruno Haible wrote: > Gavin Smith wrote: > > I've added such a stub and added a test to configure, so that a visible > > warning will be printed at the end of a configure run warning about missing > > Unicode::Collate. > > On CentOS 8 and CentOS 8-stream, the build now succeeds, but there is 1 test > failure: > > FAIL: different_encodings.sh > > Find attached the tp/tests/many_input_files/test-suite.log. >
Can you please send the contents of the file 'diffs/different_encodings.diff' which should be present after this test? I expect it would be somewhere under the tp/tests/many_input_files directory. > + diff -u -r diffs/staging/different_encodings_res different_encodings > + dif_ret=1 > + '[' 1 '!=' 0 ']' > + echo 'D: diffs/different_encodings.diff' > D: diffs/different_encodings.diff I found this test was added in a commit on 2022-01-15. It appears to have something to do with testing a Latin-1 character encoding in a file. Incidentally, the perl command lines used here are horrendous. If possible, we should simplify them by using the Texinfo::ModulePath module to find bundled modules, rather than by passing -I flags to perl for each one. > + cmd=' /usr/bin/perl -I ../../../../tp/tests/many_input_files/../.. -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Unicode-EastAsianWidth/lib/ > -I ../../../../tp/tests/many_input_files/../../maintain/lib/libintl-perl/lib > -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Text-Unidecode/lib/ > -w ../../../../tp/tests/many_input_files/../../texi2any.pl --html --no-split > --set-customization-variable '\''TEST 1'\'' --enable-encoding -c > OUTPUT_CHARACTERS=1 --conf-dir > ../../../../tp/tests/many_input_files/../../init --out different_encodings/ > ../../../../tp/tests/many_input_files/../../t/input_files/char_latin1_latin1_in_refs.texi > > ../../../../tp/tests/many_input_files/../../t/input_files/char_utf8_latin1_in_refs.texi > --force >> different_encodings/stdout_different_encodings.out > 2>different_encodings/different_encodings.2' > + echo ' /usr/bin/perl -I ../../../../tp/tests/many_input_files/../.. -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Unicode-EastAsianWidth/lib/ > -I ../../../../tp/tests/many_input_files/../../maintain/lib/libintl-perl/lib > -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Text-Unidecode/lib/ > -w ../../../../tp/tests/many_input_files/../../texi2any.pl --html --no-split > --set-customization-variable '\''TEST 1'\'' --enable-encoding -c > OUTPUT_CHARACTERS=1 --conf-dir > ../../../../tp/tests/many_input_files/../../init --out different_encodings/ > ../../../../tp/tests/many_input_files/../../t/input_files/char_latin1_latin1_in_refs.texi > > ../../../../tp/tests/many_input_files/../../t/input_files/char_utf8_latin1_in_refs.texi > --force >> different_encodings/stdout_different_encodings.out > 2>different_encodings/different_encodings.2' > + eval /usr/bin/perl -I ../../../../tp/tests/many_input_files/../.. -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Unicode-EastAsianWidth/lib/ > -I ../../../../tp/tests/many_input_files/../../maintain/lib/libintl-perl/lib > -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Text-Unidecode/lib/ > -w ../../../../tp/tests/many_input_files/../../texi2any.pl --html --no-split > --set-customization-variable ''\''TEST' '1'\''' --enable-encoding -c > OUTPUT_CHARACTERS=1 --conf-dir > ../../../../tp/tests/many_input_files/../../init --out different_encodings/ > ../../../../tp/tests/many_input_files/../../t/input_files/char_latin1_latin1_in_refs.texi > > ../../../../tp/tests/many_input_files/../../t/input_files/char_utf8_latin1_in_refs.texi > --force '>>' different_encodings/stdout_different_encodings.out > '2>different_encodings/different_encodings.2' > ++ /usr/bin/perl -I ../../../../tp/tests/many_input_files/../.. -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Unicode-EastAsianWidth/lib/ > -I ../../../../tp/tests/many_input_files/../../maintain/lib/libintl-perl/lib > -I > ../../../../tp/tests/many_input_files/../../maintain/lib/Text-Unidecode/lib/ > -w ../../../../tp/tests/many_input_files/../../texi2any.pl --html --no-split > --set-customization-variable 'TEST 1' --enable-encoding -c > OUTPUT_CHARACTERS=1 --conf-dir > ../../../../tp/tests/many_input_files/../../init --out different_encodings/ > ../../../../tp/tests/many_input_files/../../t/input_files/char_latin1_latin1_in_refs.texi > > ../../../../tp/tests/many_input_files/../../t/input_files/char_utf8_latin1_in_refs.texi > --force
