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

Bug#396835: marked as done (libkpathsea: could remove trailing slashes from environment variables)



Your message dated Mon, 26 Nov 2012 15:56:15 +0900
with message-id <20121126065615.GB19157@gamma.logic.tuwien.ac.at>
and subject line Re: Bug#594743: texlive-binaries: pdftex slow to generate sources when $HOME contains a trailing "/".
has caused the Debian Bug report #396835,
regarding libkpathsea: could remove trailing slashes from environment variables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
396835: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396835
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tetex-bin
Version: 3.0-23
Severity: important

I want to install tetex to generate some documentation. But on this
system it is stuck in postinst - looking at top it looks like kpsewhich
is a problem - it took over 600M of RAM (1.2G installed) and when I left
it for whole night it did not finished - I Ctrl-C it and will try to
remove tetex* from system.

I have no idea what can be wrong here - it works on my other machine.


-- System Information:
Debian Release: unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc1
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]     1.5.8          Debian configuration management sy
ii  debianutils               2.17.3         Miscellaneous utilities specific t
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  dpkg                      1.13.24        package maintenance system for Deb
ii  ed                        0.2-20         The classic unix line editor
ii  libc6                     2.3.6.ds1-7    GNU C Library: Shared libraries
ii  libfontconfig1            2.4.1-2        generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.1-19     GCC support library
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG
ii  libkpathsea4              3.0-23         path search library for teTeX (run
ii  libpaper1                 1.1.20         Library for handling paper charact
ii  libpng12-0                1.2.8rel-7     PNG library - runtime
ii  libpoppler0c2             0.4.5-5        PDF rendering library
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libstdc++6                4.1.1-19       The GNU Standard C++ Library v3
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.3-2      X11 client-side library
ii  libxaw7                   1:1.0.2-4      X11 Athena Widget library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxmu6                   1:1.0.2-2      X11 miscellaneous utility library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  mime-support              3.37-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.8-6.1      Larry Wall's Practical Extraction
ii  sed                       4.1.5-1        The GNU sed stream editor
pn  tetex-base                <none>         (no description available)
ii  tex-common                0.37           Common infrastructure for using an
ii  ucf                       2.0016         Update Configuration File: preserv
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages tetex-bin recommends:
pn  libxml-parser-perl            <none>     (no description available)
pn  perl-tk                       <none>     (no description available)
ii  psutils                       1.17-23    A collection of PostScript documen

Versions of packages tetex-base depends on:
ii  tex-common                    0.37       Common infrastructure for using an
ii  ucf                           2.0016     Update Configuration File: preserv

-- no debconf information

-- 




--- End Message ---
--- Begin Message ---
Version: 2012.20120628-1

This bug should be fixed with TL 2012 and later, as this is handled
in cthe current sources.

I also cannot reproduce your problem with a *very* big home directory
I have here.

Thanks, and all the best

Norbert

On Sa, 28 Aug 2010, Thomas Adam wrote:
> When $HOME contains a trailing "/", pdftex takes an absolute age to generate
> a PDF file from a .tex source file.  It seems this problem has been reported
> once before, in 2008, in Ubuntu, as per the following report:
> 
> https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/192877
> 
> This bug is still very present in today's version of TeX Live, so I am very
> dubious about the claim that it's fixed upstream.  It's easy to reproduce --
> just compare the following:
> 
> 1.  HOME="$HOME/" time pdftex some_file.tex
> 2.  HOME="/home/$USER" time pdftex some_file.tex
> 
> Running number (1) above will result in pdftex sitting there with 100% CPU
> and an ever-increasing load average.  On my machine it took ~36 minutes to
> run.  Compared with (2) which took 0.9 seconds.
> 
> Note that this bug also affects installing TeX Live -- and in no word of a
> joke, installing the texlive meta package took over 24 hours of a straight
> run -- all because my $HOME has a trailing slash on it.
> 
> Note also that I do not override the system default value of what $HOME is
> set to - so I would be very reluctant indeed to suggest that one should
> change their $HOME to not contain a trailing slash.  Doing this in a shell
> startup file simply spells disaster, so this bug needs fixing upstream
> still.
> 

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
WORMELOW TUMP (n.)
Any seventeen-year-old who doesn't know about anything at all in the
world other than bicycle gears.
			--- Douglas Adams, The Meaning of Liff

--- End Message ---

Reply to: