[tex-k] TL23 test failure, eptexdir/wcfname

Ken Moffat zarniwhoop at ntlworld.com
Tue Mar 21 22:17:03 CET 2023


On Tue, Mar 21, 2023 at 02:35:52PM +0900, ttk at t-lab.opal.ne.jp wrote:
> Hi Ken,
> 
> Thank you for your report.
> I guess it is a portability issue.
> 
> Could you tell me what is the your OS?
> Could you test by adding a option -x to grep as shown the attached patch?
> 
> Best,
> 
> Takuji Tanaka
> 
Hi Takuji,

OS is linuxfromscratch development version from 8th March, and other
packages (Beyond LFS) at 14th March.

Packages in main system which might be relevant -
bash-5.2.15
binutils-2.40
bison-3.8.2
coreutils-9.1
diffutils-3.9
gcc-12.2.0
glibc-2.37
grep-3.8
linux-6.2.2
m4-1.4.19
perl-5.36.0
python-3.11.2

Versions of other specific packages available on request.

Log with patch manually applied attached as eptex-patched.log

ĸen
-- 
Often there is no more than a little plaque to reveal that, against
all gynaecological probability, someone very famous was born halfway
up a wall.                 -- Equal Rites
-------------- next part --------------
==================================
   Web2C 2023: ./test-suite.log
==================================

# TOTAL: 107
# PASS:  106
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: eptexdir/wcfname
======================

#! /bin/sh -vx
#
# Copyright 2022-2023 Japanese TeX Development Community <issue at texjp.org>
# You may freely use, modify and/or distribute this file.

test -d eptests || mkdir -p eptests
+ test -d eptests
+ mkdir -p eptests
rm -f eptests/fn*.log eptests/fn*.txt eptests/fn*.tex fn*.tex
+ rm -f 'eptests/fn*.log' 'eptests/fn*.txt' 'eptests/fn*.tex' 'fn*.tex'

rc=0
+ rc=0

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
+ TEXMFCNF=../../../texk/web2c/../kpathsea
+ export TEXMFCNF
TEXINPUTS=eptests:.; export TEXINPUTS
+ TEXINPUTS=eptests:.
+ export TEXINPUTS

for loc in C.UTF-8 C.utf8 en_US.UTF-8 en_US.utf8 ja_JP.UTF-8 ja_JP.utf8; do
  locale -a | grep -x $loc
  ret=$?
  if [ $ret = 0 ]; then
    LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE
    break
  fi
done
+ for loc in C.UTF-8 C.utf8 en_US.UTF-8 en_US.utf8 ja_JP.UTF-8 ja_JP.utf8
+ locale -a
+ grep -x C.UTF-8
+ ret=1
+ '[' 1 = 0 ']'
+ for loc in C.UTF-8 C.utf8 en_US.UTF-8 en_US.utf8 ja_JP.UTF-8 ja_JP.utf8
+ locale -a
+ grep -x C.utf8
C.utf8
+ ret=0
+ '[' 0 = 0 ']'
+ LC_ALL=C.utf8
+ LANGUAGE=C.utf8
+ export LC_ALL LANGUAGE
+ break
if [ $ret = 1 ]; then
  # linux musl fails to run `locale -a` but seems to have C.UTF-8
  loc=C.UTF-8
  LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE
fi
+ '[' 0 = 1 ']'

perl $srcdir/tests/fn-generate.perl eptests || exit 128
+ perl ../../../texk/web2c/tests/fn-generate.perl eptests

# pTeX internal encoding
fenc="utf8"
+ fenc=utf8
for ienc in euc sjis; do
for doc in fn-$fenc fnさざ波-$fenc; do

  echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
  ./eptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >eptests/$doc-$ienc-term.log || rc=1
  mv $doc-$ienc.txt $doc-$ienc.log fn*-tmp.tex eptests/
  diff eptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || rc=2

done
done
+ for ienc in euc sjis
+ for doc in fn-$fenc fnさざ波-$fenc
+ echo '>>> Document:fn-utf8' '  File Encoding:utf8' '  Internal Encoding:euc'
>>> Document:fn-utf8   File Encoding:utf8   Internal Encoding:euc
+ ./eptex -ini -interaction nonstopmode -jobname=fn-utf8-euc -kanji=utf8 --kanji-internal=euc --shell-escape fn-utf8.tex
+ mv fn-utf8-euc.txt fn-utf8-euc.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fn-utf8-euc.txt ../../../texk/web2c/tests/fn-utf8.txt
+ for doc in fn-$fenc fnさざ波-$fenc
+ echo '>>> Document:fnさざ波-utf8' '  File Encoding:utf8' '  Internal Encoding:euc'
>>> Document:fnさざ波-utf8   File Encoding:utf8   Internal Encoding:euc
+ ./eptex -ini -interaction nonstopmode -jobname=fnさざ波-utf8-euc -kanji=utf8 --kanji-internal=euc --shell-escape fnさざ波-utf8.tex
+ mv fnさざ波-utf8-euc.txt fnさざ波-utf8-euc.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fnさざ波-utf8-euc.txt ../../../texk/web2c/tests/fn-utf8.txt
+ for ienc in euc sjis
+ for doc in fn-$fenc fnさざ波-$fenc
+ echo '>>> Document:fn-utf8' '  File Encoding:utf8' '  Internal Encoding:sjis'
>>> Document:fn-utf8   File Encoding:utf8   Internal Encoding:sjis
+ ./eptex -ini -interaction nonstopmode -jobname=fn-utf8-sjis -kanji=utf8 --kanji-internal=sjis --shell-escape fn-utf8.tex
+ mv fn-utf8-sjis.txt fn-utf8-sjis.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fn-utf8-sjis.txt ../../../texk/web2c/tests/fn-utf8.txt
+ for doc in fn-$fenc fnさざ波-$fenc
+ echo '>>> Document:fnさざ波-utf8' '  File Encoding:utf8' '  Internal Encoding:sjis'
>>> Document:fnさざ波-utf8   File Encoding:utf8   Internal Encoding:sjis
+ ./eptex -ini -interaction nonstopmode -jobname=fnさざ波-utf8-sjis -kanji=utf8 --kanji-internal=sjis --shell-escape fnさざ波-utf8.tex
+ mv fnさざ波-utf8-sjis.txt fnさざ波-utf8-sjis.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fnさざ波-utf8-sjis.txt ../../../texk/web2c/tests/fn-utf8.txt


# pTeX, regacy encoding
for fenc in sjis euc; do
for doc in fnさざ波-$fenc; do

  ienc=$fenc
  if [ "$COMSPEC" != "" ]; then
    echo "*** We guess OS is Windows."
    if [ $fenc != euc ]; then ienc="sjis"; fi
  else
    echo "*** We guess OS is not Windows."
    if [ $fenc != sjis ]; then ienc="euc"; fi
  fi

  echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
  ./eptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >eptests/$doc-$fenc-term.log || rc=3
  mv $doc-$ienc.txt $doc-$ienc.log fn*-tmp.tex eptests/
  diff eptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || rc=4

done
done
+ for fenc in sjis euc
+ for doc in fnさざ波-$fenc
+ ienc=sjis
+ '[' '' '!=' '' ']'
+ echo '*** We guess OS is not Windows.'
*** We guess OS is not Windows.
+ '[' sjis '!=' sjis ']'
+ echo '>>> Document:fnさざ波-sjis' '  File Encoding:sjis' '  Internal Encoding:sjis'
>>> Document:fnさざ波-sjis   File Encoding:sjis   Internal Encoding:sjis
+ ./eptex -ini -interaction nonstopmode -jobname=fnさざ波-sjis-sjis -kanji=sjis --kanji-internal=sjis --shell-escape fnさざ波-sjis.tex
+ mv fnさざ波-sjis-sjis.txt fnさざ波-sjis-sjis.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fnさざ波-sjis-sjis.txt ../../../texk/web2c/tests/fn-sjis.txt
1c1
< abc ^^ce^^b1^^ce^^b2^^ce^^b3 ^^d0^^b0^^d0^^b1^^d0^^b2 あアâ€^^bbï¿^^a5 å¤^^a9åœ^^b0äº^^ba
---
> abc ƒ¿ƒÀƒÁ „p„q„r ‚ ƒA¦ “V’nl
+ rc=4
+ for fenc in sjis euc
+ for doc in fnさざ波-$fenc
+ ienc=euc
+ '[' '' '!=' '' ']'
+ echo '*** We guess OS is not Windows.'
*** We guess OS is not Windows.
+ '[' euc '!=' sjis ']'
+ ienc=euc
+ echo '>>> Document:fnさざ波-euc' '  File Encoding:euc' '  Internal Encoding:euc'
>>> Document:fnさざ波-euc   File Encoding:euc   Internal Encoding:euc
+ ./eptex -ini -interaction nonstopmode -jobname=fnさざ波-euc-euc -kanji=euc --kanji-internal=euc --shell-escape fnさざ波-euc.tex
+ mv fnさざ波-euc-euc.txt fnさざ波-euc-euc.log 'fn*-tmp.tex' eptests/
mv: cannot stat 'fn*-tmp.tex': No such file or directory
+ diff eptests/fnさざ波-euc-euc.txt ../../../texk/web2c/tests/fn-euc.txt
1c1
< abc αβγ абв ^^e3^^81^^82^^e3^^82¢â^^80»ï¿¥ 天å^^9c°äºº
---
> abc ¦Á¦Â¦Ã §Ñ§Ò§Ó ¤¢¥¢¢¨¡ï Å·ÃÏ¿Í
+ rc=4


exit $rc
+ exit 4
FAIL eptexdir/wcfname.test (exit status: 4)



More information about the tex-live mailing list.