Subject: Re: PR/32592 CVS commit: pkgsrc/print/ja-ptex-share
To: None <tonio@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: pkgsrc-bugs
Date: 01/26/2006 08:45:02
The following reply was made to PR pkg/32592; it has been noted by GNATS.
From: Antoine Reilles <Antoine.Reilles@loria.fr>
To: Makoto Fujiwara <makoto@ki.nu>
Cc: gnats-bugs@NetBSD.org, rp9h-kd@asahi-net.or.jp
Subject: Re: PR/32592 CVS commit: pkgsrc/print/ja-ptex-share
Date: Thu, 26 Jan 2006 09:36:05 +0100
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
On Thu, Jan 26, 2006 at 08:06:44AM +0900, Makoto Fujiwara wrote:
> I don't really understand the relation of
> teTeX-bin, teTeX-share, ja-ptex-bin, sorry, but:
> let me explain the situation here:
>=20
> (1) cd print/ja-ptex=20
> sudo make package
This will currently not work, unfortunately ;-(
>=20
> (2) probably, when making print/ja-ptex-share, it
> (automatically) asks teTeX-bin-2.[0-9]* to be installed.
Yes, ja-ptex-share and ja-ptex-bin explicitly depends on teTeX-bin-2,
and they can't work with teTeX-bin-3, unless slightly modified
>=20
> (3) also, when making dvipdfmx, with the line in Makefile
> .include "../../print/teTeX/module.mk"
> asks teTeX-bin-3.*=20
Yes, dvipdfmx uses the tex.blk3.mk framework, and can accept both
teTeX3 and teTex2. By default, it will depend on teTeX3 (which is the
most recent tetex distribution, so preferred).
>=20
> (4) I was not tracing, monitoring what was going on,
> and it said teTeX-bin-2.* is installed, and it was a problem,
Sure, teTeX-bin-2 is installed as a dependancy of ja-ptex-bin, and then
dvipdfmx try to install teTeX-bin-3 to satisfy its dependancies. Both
conflicts, thus the error
> I had manually typed
> sudo pkg_delete -f teTeX-bin=20
This is wrong, since then ja-ptex-* will miss one of their deps
This will give an inconsistent set of packages. I could add a conflict
between ja-ptex-* and teTeX-bin-3, to make sure it never happens, but
it should be impossible, unless you use "-f"
>=20
> THEN:
> When I do platex with some file:
> ----------------------
> ttyp3:makoto@lets 6:29:11/060126(~...jus-dir/tex)> make
> platex jus.tex
> This is pTeX, Version 3.14159-p3.1.2 (euc) (Web2C 7.4.5)
> kpathsea: Running mktexfmt platex.fmt
> fmtutil: no info for format `platex'.
> I can't find the format file `platex.fmt'!
> *** Error code 1
here, latex (the one from teTeX-bin-3) can't find the platex.fmt file
=66rom ja-ptex.
When ja-ptex-bin installs, it modifies the latex config to let it
search the ja-ptex-share texmf.local tree for format files and fonts.
Then you did pkg_delete -f teTeX-bin-2, and this modified config was
deleted. Later install of teTeX-bin-3 did write an original config
which do not handle ja-ptex.
To fix you problem, in the current pkgsrc, you should remove all
packages depending on teTeX, and also teTeX itself. Then edit your
/etc/mk.conf, adding
TEX_DEFAULT=3DteTeX2
and rebuild ja-ptex-bin
the TEX_DEFAULT=3DteTeX2 will make sure dvipdfmx (and other packages
using teTeX) will require teTeX-bion-2 instead of teTeX-bin-3 as a
dependancy. This will remove the conflicts, and let ja-ptex-bin install
fine.
I still have to find a correct solution for this.
Regards,
antoine
--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
iD8DBQFD2In14VqmoGDE/mwRAr+EAJ49D1WV1xrZb+3YBwca/A3vZWttigCdFqL5
9Rrq02yh1IRPWKakK5cY1tE=
=4Kvs
-----END PGP SIGNATURE-----
--VS++wcV0S1rZb1Fb--