[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#774262: jadetex: Makes loads of duplicate access() calls



Package: jadetex
Version: 3.13-14
Severity: normal

Hello,

While building the installation-guide package, I noticed that jadetex
was taking a lot of system time. strace shows me this in a loop over and
over:

access("./t1Times-New-Roman.fd", R_OK)  = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("./t1Times-New-Roman.fd", R_OK)  = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("./t1Times-New-Roman.fd", R_OK)  = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("./t1Times-New-Roman.fd", R_OK)  = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/pict2e/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/contour/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/latex/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)
access("/etc/texmf/tex/generic/config/t1Times-New-Roman.fd", R_OK) = -1 ENOENT (No such file or directory)

It looks like this is asking for something like a hashtable to avoid
repeating the same failing system call over and over.

Samuel

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages jadetex depends on:
ii  debianutils                  4.4+b1
ii  dpkg                         1.17.22
ii  tex-common                   5.03
ii  texlive-fonts-recommended    2014.20141024-2
ii  texlive-generic-recommended  2014.20141024-2
ii  texlive-latex-base           2014.20141024-2
ii  texlive-latex-recommended    2014.20141024-2
ii  tipa                         2:1.3-20

Versions of packages jadetex recommends:
ii  jade         1.2.1-47.3
ii  openjade     1.4devel1-20.1+b1
ii  openjade1.3  1.3.2-13

Versions of packages jadetex suggests:
ii  docbook-dsssl  1.79-7

-- debconf information excluded

-- 
Samuel
> 	dvips -o $@ $<     
Faut faire gffe de pas te couper avec ton truc, t'as mis des ciseaux ($<)
partout :))
-+- Dom in Guide du linuxien pervers - "J'aime pas les Makefile !" -+-


Reply to: