From nobody@FreeBSD.org  Thu Aug 26 09:55:33 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 09B5316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2004 09:55:33 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EFFA643D67
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2004 09:55:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7Q9tW3h034011
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Aug 2004 09:55:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i7Q9tWsQ034010;
	Thu, 26 Aug 2004 09:55:32 GMT
	(envelope-from nobody)
Message-Id: <200408260955.i7Q9tWsQ034010@www.freebsd.org>
Date: Thu, 26 Aug 2004 09:55:32 GMT
From: Vlad Manilici <"mirror.the.text:moc.tod.kmot.ta.namv"@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: LaTeX, tex and teTeX ports tangled
X-Send-Pr-Version: www-2.3

>Number:         70981
>Category:       ports
>Synopsis:       LaTeX, tex and teTeX ports tangled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hrs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 26 10:00:44 GMT 2004
>Closed-Date:    Sat May 28 17:28:57 GMT 2005
>Last-Modified:  Sat May 28 17:28:57 GMT 2005
>Originator:     Vlad Manilici
>Release:        5.2.1
>Organization:
>Environment:
FreeBSD <host> 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #14: Wed Aug  4 23:37:07 CEST 2004     root@<host>:/usr/obj/usr/src/sys/<KERNEL>  i386
>Description:
To have full LaTeX and TeX functionality, one has to install, in the
following order: LaTeX, teTeX, teTeX-base.

1), The first problem is that these packages collide, and they do not complain about this at installation time. I first noticed the problem when deleting them in a random order. The first deleted package removes files needed by the rest.

2). They apparently install different versions in the common filebase. When you miss the installation order, you end with a non-working system.

3). xdvik-tetex-22.78_2 does not compile: xdvi.h, line 229 can be made to compile like:

- extern KPSEDLL char *kpathsea_version_string;
+ extern char *kpathsea_version_string;

although I have no idea if this is the correct fix.

4). The following packages are redundant: print/xdvi, print/dvips, since
they are already contined in teTeX. The redundant versions install over teTeX without complaining, and result in a non-working system.

5). I don't understand why teTeX does not install teTeX-base, when this is needed.

Please clean this mess up, LaTeX is IMHO an important system.
>How-To-Repeat:
One can test his LaTeX with the following source:

\documentclass{article}
\usepackage{fontenc}
\renewcommand{\rmdefault}{ptm}
\begin{document}
Foo-Bar
\end{document}

then issue:

latex test.tex
dvips test.tex
xdvi test.tex

If there are complaints about the "phvr7t" font missing, and it is
automatically replaced with "cmr10", you have a problem.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Marc Fonvieille <blackend@FreeBSD.org>
To: Vlad Manilici <"mirror.the.text:moc.tod.kmot.ta.namv"@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/70981: LaTeX, tex and teTeX ports tangled
Date: Thu, 26 Aug 2004 12:11:21 +0200

 On Thu, Aug 26, 2004 at 09:55:32AM +0000, Vlad Manilici wrote:
 > 
 > >Description:
 > To have full LaTeX and TeX functionality, one has to install, in the
 > following order: LaTeX, teTeX, teTeX-base.
 >
 
 Not really, only a cd ports/print/teTeX && make install clean is needed.
 
 > 1), The first problem is that these packages collide, and they do not complain about this at installation time. I first noticed the problem when deleting them in a random order. The first deleted package removes files needed by the rest.
 > 
 > 2). They apparently install different versions in the common filebase. When you miss the installation order, you end with a non-working system.
 > 
 > 3). xdvik-tetex-22.78_2 does not compile: xdvi.h, line 229 can be made to compile like:
 > 
 > - extern KPSEDLL char *kpathsea_version_string;
 > + extern char *kpathsea_version_string;
 > 
 > although I have no idea if this is the correct fix.
 > 
 > 4). The following packages are redundant: print/xdvi, print/dvips, since
 > they are already contined in teTeX. The redundant versions install over teTeX without complaining, and result in a non-working system.
 > 
 > 5). I don't understand why teTeX does not install teTeX-base, when this is needed.
 > 
 > Please clean this mess up, LaTeX is IMHO an important system.
 > >How-To-Repeat:
 > One can test his LaTeX with the following source:
 > 
 > \documentclass{article}
 > \usepackage{fontenc}
 > \renewcommand{\rmdefault}{ptm}
 > \begin{document}
 > Foo-Bar
 > \end{document}
 > 
 > then issue:
 > 
 > latex test.tex
 > dvips test.tex
 > xdvi test.tex
 > 
 
 I assume you meant dvips test.dvi, and xdvi test.dvi
 
 Here the .tex compiles without any complaint, as I said I just installed
 ports/print/teTeX
 I use LaTeX on a daily basis and no issue for the moment with teTeX
 port.  Please remove all (La)TeX related packages, and dvips ones, and
 just install ports/print/teTeX.
 
 Marc
Responsible-Changed-From-To: freebsd-bugs->hrs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 26 18:40:52 GMT 2004 
Responsible-Changed-Why:  
Over to committer who reworked teTeX-base to see if any action 
needs to be taken. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70981 

From: Vlad Manilici <vman@tmok.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/70981
Date: Mon, 6 Sep 2004 04:24:00 -0400

 Hi Marc,
 
 > I assume you meant dvips test.dvi, and xdvi test.dvi
 
 sure...
 
 > Here the .tex compiles without any complaint, as I said I just installed
 > ports/print/teTeX
 
 > I use LaTeX on a daily basis and no issue for the moment with teTeX
 > port.  Please remove all (La)TeX related packages, and dvips ones, and
 > just install ports/print/teTeX.
 
 When did you cvsup last time? Here what happens on my machine:
 
 $ cd /usr/ports/print/teTeX
 $ make install clean
 
 ....
 /bin/mkdir -p /usr/local/share/doc/xdvik
 install  -o root -g wheel -m 444
 /usr/ports/print/xdvik/work/xdvik-22.78/BUGS
 /usr/ports/print/xdvik/work/xdvik-22.78/CHANGES /
 usr/ports/print/xdvik/work/xdvik-22.78/INSTALL
 /usr/ports/print/xdvik/work/xdvik-22.78/README
 /usr/ports/print/xdvik/work/xdvik
 -22.78/README.CVS /usr/ports/print/xdvik/work/xdvik-22.78/README_maintainer
 /usr/ports/print/xdvik/work/xdvik-22.78/TODO /usr/l
 ocal/share/doc/xdvik
 ERROR: invalid mode "tetex" is specified.
 Usage: tetex-modesw modename {tex|dvips|dvipdfm|xdvi}
 [{forceinstall|var|main|local} ...]
 mktexlsr: Updating /usr/local/share/texmf-var/ls-R... 
 mktexlsr: Updating /usr/local/share/texmf/ls-R... 
 mktexlsr: Updating /var/tmp/texfonts/ls-R... 
 mktexlsr: Done.
 ===>   Compressing manual pages for xdvik-tetex-22.78_2
 ===>   Registering installation for xdvik-tetex-22.78_2
 ===>   Returning to build of teTeX-2.0.2_5
 ===>   Generating temporary packing list
 ===>  Checking if print/teTeX already installed
 ERROR: invalid mode "tetex" is specified.
 Usage: tetex-modesw modename {tex|dvips|dvipdfm|xdvi}
 [{forceinstall|var|main|local} ...]
 ERROR: invalid mode "tetex" is specified.
 Usage: tetex-modesw modename {tex|dvips|dvipdfm|xdvi}
 [{forceinstall|var|main|local} ...]
 ERROR: invalid mode "tetex" is specified.
 Usage: tetex-modesw modename {tex|dvips|dvipdfm|xdvi}
 [{forceinstall|var|main|local} ...]
 *** Error code 1
 
 Stop in /usr/ports/print/teTeX.
 
 Vlad

From: Vlad Manilici <vman@tmok.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/70981
Date: Mon, 6 Sep 2004 04:49:06 -0400

 ERRATA: of course, I first deleted all TeX-related packages, as in:
 pkg_info|grep -i tex and: pkg_info|grep -i xdvi.
 

From: Vlad Manilici <vman@tmok.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/70981
Date: Mon, 6 Sep 2004 05:36:59 -0400

 Installing teTeX worked on the 2. try. There probably were some leftover
 files from the other packages.
 
 1). Works for me --> closed
 2). Plese write documentation. Also, deleting redundant stuff
     would not be bad.

From: Hiroki Sato <hrs@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, vman@tmok.com
Cc: hrs@FreeBSD.org
Subject: Re: ports/70981
Date: Sat, 11 Sep 2004 03:29:28 +0900 (JST)

 ----Security_Multipart(Sat_Sep_11_03_29_28_2004_156)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
  Hi.  I am sorry for the delay, but I answer your first questions.
 
  > 1), The first problem is that these packages collide
 
  This problem is already fixed in the latest ports tree.
 
  > 4). The following packages are redundant:
 
  No.  You misunderstood what teTeX is.  print/xdvi and print/dvips are
  for print/tex and print/latex, not for teTeX.  teTeX is one of
  TeX distribution and the related software.
 
  > 2). They apparently install different versions in the common filebase.
  > 3). xdvik-tetex-22.78_2 does not compile: xdvi.h, line 229 can be made to compile like:
  > 5). I don't understand why teTeX does not install teTeX-base, when this is needed.
 
  These are because you installed wrong packages before installing print/teTeX.
  print/tex, print/latex, print/xdvi, and print/dvips are not compatible
  with print/teTeX.  The current version of the ports should detect
  the conflicts, but it is not perfect...
 
 Vlad Manilici <vman@tmok.com> wrote
   in <200409060830.i868USJj067595@freefall.freebsd.org>:
 
 vman>  When did you cvsup last time? Here what happens on my machine:
 (snip)
 vman>  ocal/share/doc/xdvik
 vman>  ERROR: invalid mode "tetex" is specified.
 vman>  Usage: tetex-modesw modename {tex|dvips|dvipdfm|xdvi}
 vman>  [{forceinstall|var|main|local} ...]
 vman>  mktexlsr: Updating /usr/local/share/texmf-var/ls-R... 
 vman>  mktexlsr: Updating /usr/local/share/texmf/ls-R... 
 vman>  mktexlsr: Updating /var/tmp/texfonts/ls-R... 
 vman>  mktexlsr: Done.
 
  Perhaps you have old version of the ports in your ports/
  tree, or there are old files left?  What you need to do are:
 
   - pkg_delete all of TeX related ports on your environment
   - rm -rf /usr/local/share/texmf*
   - cd /usr/ports/print/teTeX && make clean && make install
 
  Could you please follow this procedure and let me know if you can
  reproduce the problem?  Thanks.
 
 -- 
 | Hiroki SATO
 
 ----Security_Multipart(Sat_Sep_11_03_29_28_2004_156)--
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQBBQfKITyzT2CeTzy0RApqGAJ434yv4U1wkwSXIcdvdkCyePPY4LQCgv8/i
 qA/XWYkimmogXE/cbRooX50=
 =Qy1O
 -----END PGP SIGNATURE-----
 
 ----Security_Multipart(Sat_Sep_11_03_29_28_2004_156)----
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat May 28 17:28:32 GMT 2005 
State-Changed-Why:  
Feedback timeout (8 months) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70981 
>Unformatted:
