OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005091 [texlive_latex_base] major always 2013-07-12 11:00 2013-07-28 09:02
Reporter blindpassenger View Status public  
Assigned To pfelecan
Priority normal Resolution won't fix  
Status closed  
Summary 0005091: pdflatex doesn't seem to recognize .tex document
Description When trying to open a .tex file with pdflatex we are getting an error message. It looks like pdflatex doesn't recognize the .tex file, because it says that "\begin{document}" is missing. This is however not true. This is an excerpt from the tex document:

\setlength{\headrulewidth}{0.0pt}
\setlength{\footrulewidth}{0.0pt}
\begin{document}
\parbox[t]{9cm}{{\bf To:} \parbox[t]{8.0cm} {

Here is how we execute pdflatex:

pdflatex -halt-on-error -interaction batchmode <fullFilename>


Additional Information here is some additional information about the server, OS and version of the software:

The server (V1280) is running Solaris 10 Update 7 with kernel patch 147440-05

# pkginfo -l CSWtexlive-latex-base
   PKGINST: CSWtexlive-latex-base
      NAME: texlive_latex_base - TeX Live, latex base
  CATEGORY: application
      ARCH: all
   VERSION: 20120701,REV=2013.02.26
   BASEDIR: /
    VENDOR: http://www.tug.org/texlive/ [^] packaged for CSW by Peter Felecan
    PSTAMP: pfelecan@unstable10x-20130226100718
  INSTDATE: Apr 04 2013 09:39
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: pfelecan@opencsw.org
    STATUS: completely installed
     FILES: 2539 installed pathnames
                  19 shared pathnames
                  59 directories
                   1 executables
               61042 blocks used (approx)

bash-3.00$ ldd /opt/csw/bin/pdflatex
                libpng15.so.15 => /opt/csw/lib/libpng15.so.15
                libz.so.1 => /opt/csw/lib/libz.so.1
                libkpathsea.so.6 => /opt/csw/lib/libkpathsea.so.6
                libsocket.so.1 => /usr/lib/libsocket.so.1
                libstdc++.so.6 => /opt/csw/lib/libstdc++.so.6
                libm.so.2 => /usr/lib/libm.so.2
                libgcc_s.so.1 => /opt/csw/lib/libgcc_s.so.1
                libc.so.1 => /usr/lib/libc.so.1
                libnsl.so.1 => /usr/lib/libnsl.so.1
                libmp.so.2 => /usr/lib/libmp.so.2
                libmd.so.1 => /usr/lib/libmd.so.1
                libscf.so.1 => /usr/lib/libscf.so.1
                libdoor.so.1 => /usr/lib/libdoor.so.1
                libuutil.so.1 => /usr/lib/libuutil.so.1
                libgen.so.1 => /usr/lib/libgen.so.1
                /platform/SUNW,Netra-T12/lib/libc_psr.so.1
                /platform/SUNW,Netra-T12/lib/libmd_psr.so.1

Tags No tags attached.
Attached Files ? file icon testfile.tex [^] (4,776 bytes) 2013-07-12 11:32
? file icon roaming.sty [^] (23,070 bytes) 2013-07-12 13:53
jpg file icon LOGO-CHBSG-anonymous.jpg [^] (32,412 bytes) 2013-07-12 13:53
log file icon testfile.log [^] (7,142 bytes) 2013-07-12 17:33

- Relationships

-  Notes
(0010492)
pfelecan (manager)
2013-07-12 11:10

Can you provide a minimal but self sufficient source file to reproduce and analyze the issue?

TIA
(0010493)
blindpassenger (reporter)
2013-07-12 11:33

I uploaded a small test file that our developer provided.

Thanks,
Stefan
(0010494)
pfelecan (manager)
2013-07-12 11:45

Unfortunately, the file that you provide is not self contained:

! LaTeX Error: File `/unix_home/bz7xt6/etc/roaming.sty' not found.

There are other references to /unix_home/bz7xt6/etc directory
(0010495)
blindpassenger (reporter)
2013-07-12 13:55

ok, our developer provided me with the roaming.sty file and a logo file as well. please try if it works now.
(0010496)
pfelecan (manager)
2013-07-12 17:36

After trying to generate the document I obtained the same result as your developer. As I used extensively the TeXLive packages on Solaris, I tried to generate the document on a Debian Testing with the same strain of TeXLive and the results are the same (which can be seen in the attached testfile.log). Consequently, I think that the issue is with the source file, probably in roaming.sty but I'm not sure and not having the time to analyze further I let this as an exercise for your developer...
(0010497)
pfelecan (manager)
2013-07-12 17:39

No change require as the issue is on the user's side.
(0010498)
blindpassenger (reporter)
2013-07-12 19:07

The interesting thing is that we don't have this issue on another Solaris box on that we work for years and which runs an older version of pdflatex.
Everything works fine there which leads us to the conclusion that the problem lies in the version of pdflatex. We don't believe that the issue is the source file. Or were there any major changes in the versions that require the source files to be different?

We worked on the other box for years without a problem and it still runs the blastwave repository. The new box runs the opencsw repository and pdflatex is not working there. Without it working we can not upgrade the old box to the opencsw repository.

This is the version that runs on the other box were everything is running:

# /opt/csw/bin/pdflatex -v
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.

This is the version that runs on the box that is not working:

# /opt/csw/bin/pdflatex -v
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/OpenCSW)
kpathsea version 6.1.0
Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.13; using libpng 1.5.13
Compiled with zlib 1.2.7; using zlib 1.2.3
Compiled with xpdf version 3.03
(0010499)
pfelecan (manager)
2013-07-12 19:33

What you need to understand is that previously we packaged teTeX which was deprecated and integrated in the TeXLive distribution. There is at least 5 years of difference between the 2 distributions and the content, TeX and LaTeX wise has quite evolved. IMHO, your issue is due to the usage of LaTeX style packages, e.g. fancyheadings instead of fancyhdr (see the log file that I attached)

pdflatex is a TeX interpreter using a LaTeX format.

The error is due to the interpreted source (i.e. the set of TeX and LaTeX packages and your code) and not the interpreter per se.

To demonstrate this I run your file through a different packaging, running on GNU/Linux Debian Testing and obtained the same error. The conclusion of this experiment shows that if you use TeXLive 2012, on whatever distribution you try, OpenCSW, Debian, RedHat, &c, you'll obtain the same results.

The TeX/LaTeX ecosystem evolves and introduce different interpretation, a little bit as using a Python 2.x code with a Python 3.x interpreter.

Unfortunately this all that I can do for you.
(0010506)
pfelecan (manager)
2013-07-28 09:02

This is not an issue with pdflatex.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker