Bug#328749: [xml/sgml-pkgs] Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > > > Frank K??ster ([EMAIL PROTECTED]) wrote: > >> Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > >> > >> > I'm done with all the fixes but when installing I'm getting the following > >> > message: > >> > > >> > Warning: fmtutil is being run as root; fmtutil-sys should probably be > >> > used instead. If this is done by a Debian package upon installation, > >> > upgrade, or removal, please file a bug against that package. > >> > > >> > How do we handle this? > >> > >> This is exactly the warning about the backward compatibility hack that > >> we introduced. Just ignore it for the time being, but keep in mind that > >> as soon as tetex-3.0 enters testing, you should switch from fmtutil to > >> fmtutil-sys. > > > > Gotcha. > > > > I've got some more questions regarding xmltex and the way it's packaged for > > Debian, but I'll get back to you with those later. > > Have you read the Debian TeX Policy draft, which is included in the > tex-common package? Not yet, but I'll definitely do that. Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: [xml/sgml-pkgs] Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > > > I'm done with all the fixes but when installing I'm getting the following > > message: > > > > Warning: fmtutil is being run as root; fmtutil-sys should probably be > > used instead. If this is done by a Debian package upon installation, > > upgrade, or removal, please file a bug against that package. > > > > How do we handle this? > > This is exactly the warning about the backward compatibility hack that > we introduced. Just ignore it for the time being, but keep in mind that > as soon as tetex-3.0 enters testing, you should switch from fmtutil to > fmtutil-sys. Gotcha. I've got some more questions regarding xmltex and the way it's packaged for Debian, but I'll get back to you with those later. Thanks for all the help! Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: [xml/sgml-pkgs] Bug#328749: package installation fails with teTeX 3.0
Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > Frank K??ster ([EMAIL PROTECTED]) wrote: >> Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: >> >> > I'm done with all the fixes but when installing I'm getting the following >> > message: >> > >> > Warning: fmtutil is being run as root; fmtutil-sys should probably be >> > used instead. If this is done by a Debian package upon installation, >> > upgrade, or removal, please file a bug against that package. >> > >> > How do we handle this? >> >> This is exactly the warning about the backward compatibility hack that >> we introduced. Just ignore it for the time being, but keep in mind that >> as soon as tetex-3.0 enters testing, you should switch from fmtutil to >> fmtutil-sys. > > Gotcha. > > I've got some more questions regarding xmltex and the way it's packaged for > Debian, but I'll get back to you with those later. Have you read the Debian TeX Policy draft, which is included in the tex-common package? Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > > > Frank K??ster ([EMAIL PROTECTED]) wrote: > >> Frank K?ster <[EMAIL PROTECTED]> wrote: > >> > >> > tags 328749 patch > >> > thanks > >> > > >> > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > >> > > >> >> Your package fails to install, when one has teTeX 3.0 from > >> >> experimental installed: > >> > > >> > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for > >> > explanations please see the Debian TeX Policy in the tex-common package, > >> > or ask on debian-tetex-maint. Will you be able to do the upload soon? > >> > >> I can NMU this package - or rather I will NMU it; with a 3-day delay if > >> you don't answer, and without delay if you give me your okay. I'll use > >> the patch already supplied, just the changelog entry will be adjusted > >> and close #33, too. > > > > By the way, what would be a suitable Depends version: 3.0-10 or just 3.0 or > > anything else? > > If you do not use fmtutil-sys, you don't need a specific versioned > Depends - the bug was already a bug with tetex-2.0.2, but then its > impact was only minor. Gotcha. Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: [xml/sgml-pkgs] Bug#328749: package installation fails with teTeX 3.0
Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > I'm done with all the fixes but when installing I'm getting the following > message: > > Warning: fmtutil is being run as root; fmtutil-sys should probably be > used instead. If this is done by a Debian package upon installation, > upgrade, or removal, please file a bug against that package. > > How do we handle this? This is exactly the warning about the backward compatibility hack that we introduced. Just ignore it for the time being, but keep in mind that as soon as tetex-3.0 enters testing, you should switch from fmtutil to fmtutil-sys. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#328749: package installation fails with teTeX 3.0
Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > Frank K??ster ([EMAIL PROTECTED]) wrote: >> Frank K?ster <[EMAIL PROTECTED]> wrote: >> >> > tags 328749 patch >> > thanks >> > >> > Hilmar Preusse <[EMAIL PROTECTED]> wrote: >> > >> >> Your package fails to install, when one has teTeX 3.0 from >> >> experimental installed: >> > >> > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for >> > explanations please see the Debian TeX Policy in the tex-common package, >> > or ask on debian-tetex-maint. Will you be able to do the upload soon? >> >> I can NMU this package - or rather I will NMU it; with a 3-day delay if >> you don't answer, and without delay if you give me your okay. I'll use >> the patch already supplied, just the changelog entry will be adjusted >> and close #33, too. > > By the way, what would be a suitable Depends version: 3.0-10 or just 3.0 or > anything else? If you do not use fmtutil-sys, you don't need a specific versioned Depends - the bug was already a bug with tetex-2.0.2, but then its impact was only minor. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#328749: [xml/sgml-pkgs] Bug#328749: package installation fails with teTeX 3.0
Ardo van Rangelrooij ([EMAIL PROTECTED]) wrote: > Frank K??ster ([EMAIL PROTECTED]) wrote: > > Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > > > > > Frank K??ster ([EMAIL PROTECTED]) wrote: > > >> Frank K?ster <[EMAIL PROTECTED]> wrote: > > >> > > >> > tags 328749 patch > > >> > thanks > > >> > > > >> > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > > >> > > > >> >> Your package fails to install, when one has teTeX 3.0 from > > >> >> experimental installed: > > >> > > > >> > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, > > >> > for > > >> > explanations please see the Debian TeX Policy in the tex-common > > >> > package, > > >> > or ask on debian-tetex-maint. Will you be able to do the upload soon? > > >> > > >> I can NMU this package - or rather I will NMU it; with a 3-day delay if > > >> you don't answer, and without delay if you give me your okay. I'll use > > >> the patch already supplied, just the changelog entry will be adjusted > > >> and close #33, too. > > > > > > Hi, > > > > > > I'll take care of of both bugs. > > > > That's very good. Regarding my patch, I thought about it and there is > > one change I would rather revert: The change from calling fmtutil to > > fmtutil-sys. We have temporarily introduced a backward-compatibility > > hack, so that fmtutil will continue to work for a while. On the other > > hand, fmtutil-sys is not available in the teTeX version in testing. > > > > I suggest to stay with plain fmtutil, let xmltex (and all other packages > > that needed fixes for teTeX-3.0) migrate to testing, and then I'll > > remove tetex-base's dummy bug and let itself go into testing. > > Ok, I'll patch the patch. I'm done with all the fixes but when installing I'm getting the following message: Warning: fmtutil is being run as root; fmtutil-sys should probably be used instead. If this is done by a Debian package upon installation, upgrade, or removal, please file a bug against that package. How do we handle this? Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Frank K?ster <[EMAIL PROTECTED]> wrote: > > > tags 328749 patch > > thanks > > > > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > > > >> Your package fails to install, when one has teTeX 3.0 from > >> experimental installed: > > > > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for > > explanations please see the Debian TeX Policy in the tex-common package, > > or ask on debian-tetex-maint. Will you be able to do the upload soon? > > I can NMU this package - or rather I will NMU it; with a 3-day delay if > you don't answer, and without delay if you give me your okay. I'll use > the patch already supplied, just the changelog entry will be adjusted > and close #33, too. By the way, what would be a suitable Depends version: 3.0-10 or just 3.0 or anything else? Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > > > Frank K??ster ([EMAIL PROTECTED]) wrote: > >> Frank K?ster <[EMAIL PROTECTED]> wrote: > >> > >> > tags 328749 patch > >> > thanks > >> > > >> > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > >> > > >> >> Your package fails to install, when one has teTeX 3.0 from > >> >> experimental installed: > >> > > >> > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for > >> > explanations please see the Debian TeX Policy in the tex-common package, > >> > or ask on debian-tetex-maint. Will you be able to do the upload soon? > >> > >> I can NMU this package - or rather I will NMU it; with a 3-day delay if > >> you don't answer, and without delay if you give me your okay. I'll use > >> the patch already supplied, just the changelog entry will be adjusted > >> and close #33, too. > > > > Hi, > > > > I'll take care of of both bugs. > > That's very good. Regarding my patch, I thought about it and there is > one change I would rather revert: The change from calling fmtutil to > fmtutil-sys. We have temporarily introduced a backward-compatibility > hack, so that fmtutil will continue to work for a while. On the other > hand, fmtutil-sys is not available in the teTeX version in testing. > > I suggest to stay with plain fmtutil, let xmltex (and all other packages > that needed fixes for teTeX-3.0) migrate to testing, and then I'll > remove tetex-base's dummy bug and let itself go into testing. Ok, I'll patch the patch. Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: package installation fails with teTeX 3.0
Ardo van Rangelrooij <[EMAIL PROTECTED]> wrote: > Frank K??ster ([EMAIL PROTECTED]) wrote: >> Frank K?ster <[EMAIL PROTECTED]> wrote: >> >> > tags 328749 patch >> > thanks >> > >> > Hilmar Preusse <[EMAIL PROTECTED]> wrote: >> > >> >> Your package fails to install, when one has teTeX 3.0 from >> >> experimental installed: >> > >> > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for >> > explanations please see the Debian TeX Policy in the tex-common package, >> > or ask on debian-tetex-maint. Will you be able to do the upload soon? >> >> I can NMU this package - or rather I will NMU it; with a 3-day delay if >> you don't answer, and without delay if you give me your okay. I'll use >> the patch already supplied, just the changelog entry will be adjusted >> and close #33, too. > > Hi, > > I'll take care of of both bugs. That's very good. Regarding my patch, I thought about it and there is one change I would rather revert: The change from calling fmtutil to fmtutil-sys. We have temporarily introduced a backward-compatibility hack, so that fmtutil will continue to work for a while. On the other hand, fmtutil-sys is not available in the teTeX version in testing. I suggest to stay with plain fmtutil, let xmltex (and all other packages that needed fixes for teTeX-3.0) migrate to testing, and then I'll remove tetex-base's dummy bug and let itself go into testing. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#328749: package installation fails with teTeX 3.0
Frank K??ster ([EMAIL PROTECTED]) wrote: > Frank K?ster <[EMAIL PROTECTED]> wrote: > > > tags 328749 patch > > thanks > > > > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > > > >> Your package fails to install, when one has teTeX 3.0 from > >> experimental installed: > > > > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for > > explanations please see the Debian TeX Policy in the tex-common package, > > or ask on debian-tetex-maint. Will you be able to do the upload soon? > > I can NMU this package - or rather I will NMU it; with a 3-day delay if > you don't answer, and without delay if you give me your okay. I'll use > the patch already supplied, just the changelog entry will be adjusted > and close #33, too. Hi, I'll take care of of both bugs. Thanks, Ardo -- Ardo van Rangelrooij Debian XML/SGML Group <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://people.debian.org/~ardo/ http://debian-xml-sgml.alioth.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#328749: package installation fails with teTeX 3.0
Frank Küster <[EMAIL PROTECTED]> wrote: > tags 328749 patch > thanks > > Hilmar Preusse <[EMAIL PROTECTED]> wrote: > >> Your package fails to install, when one has teTeX 3.0 from >> experimental installed: > > Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for > explanations please see the Debian TeX Policy in the tex-common package, > or ask on debian-tetex-maint. Will you be able to do the upload soon? I can NMU this package - or rather I will NMU it; with a 3-day delay if you don't answer, and without delay if you give me your okay. I'll use the patch already supplied, just the changelog entry will be adjusted and close #33, too. Looking forward to hearing from you, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#328749: package installation fails with teTeX 3.0
tags 328749 patch thanks Hilmar Preusse <[EMAIL PROTECTED]> wrote: > Your package fails to install, when one has teTeX 3.0 from > experimental installed: Now that teTeX 3.0 is in unstable, this bug is RC. Here is a patch, for explanations please see the Debian TeX Policy in the tex-common package, or ask on debian-tetex-maint. Will you be able to do the upload soon? Regards, Frank diff -Nur xmltex-1.9.orig/debian/changelog xmltex-1.9/debian/changelog --- xmltex-1.9.orig/debian/changelog2005-10-20 14:37:08.0 +0200 +++ xmltex-1.9/debian/changelog 2005-10-20 14:49:29.959066814 +0200 @@ -1,3 +1,15 @@ +xmltex (1.9-10.1) unreleased; urgency=low + + * In postinst, do not check for the created format files, because the +names have changed (and might change again). Instead, rely on +fmtutil-sys' return code, in accord with Debian TeX Policy (closes: +#328749) + * Change all invocations of fmtutil to fmtutil-sys + * Do not check for LaTeX/pdfLaTeX format files, they are provided if +tetex-bin is configured + + -- Frank Küster <[EMAIL PROTECTED]> Thu, 20 Oct 2005 14:49:29 +0200 + xmltex (1.9-10) unstable; urgency=high * debian/postinst,debian/postrm: updated to support .fmt as well as .efmt diff -Nur xmltex-1.9.orig/debian/postinst xmltex-1.9/debian/postinst --- xmltex-1.9.orig/debian/postinst 2005-10-20 14:37:08.0 +0200 +++ xmltex-1.9/debian/postinst 2005-10-20 14:49:00.161338049 +0200 @@ -68,8 +68,8 @@ baseformat=$(basename $1 .efmt) if ! kpsewhich $format > /dev/null ; then warn "WARNING: $format not found, attempting to reconstruct ..." -echo "running 'fmtutil --byfmt $baseformat'" >> $MYTMP -fmtutil --byfmt $baseformat >> $MYTMP +echo "running 'fmtutil-sys --byfmt $baseformat'" >> $MYTMP +fmtutil-sys --byfmt $baseformat >> $MYTMP if kpsewhich $format > /dev/null ; then warn "Success" else @@ -84,14 +84,14 @@ local goterror goterror=false -if ! fmtutil --byfmt xmltex >> $MYTMP +if ! fmtutil-sys --byfmt xmltex >> $MYTMP then -warn "ERROR: xmltex fmtutil failed" 1>&2 +warn "ERROR: xmltex fmtutil-sys failed" 1>&2 goterror=true fi -if ! fmtutil --byfmt pdfxmltex >> $MYTMP +if ! fmtutil-sys --byfmt pdfxmltex >> $MYTMP then -warn "ERROR: pdfxmltex fmtutil failed" 1>&2 +warn "ERROR: pdfxmltex fmtutil-sys failed" 1>&2 goterror=true fi if $goterror; then @@ -152,18 +152,14 @@ MYTMP=$(mktemp /tmp/xmltex-postinst.XX) : >| $MYTMP - echo -e "Checking for TeX format files we depend on ... \c" - checkfmt latex.fmt - checkfmt pdflatex.fmt - echo "done." - echo "Creating xmltex format files..." - if makexmltexfmt && xmltexfmtcheck; then + if makexmltexfmt; then + rm $MYTMP echo "Done." else - echo "Trying fmtutil --all" - fmtutil --all >>$MYTMP - if xmltexfmtcheck; then + echo "Trying fmtutil-sys --all" + if fmtutil-sys --all >>$MYTMP; then + rm $MYTMP echo " done." else echo "*** ERROR: can't make xmltex fmt files, bailing " -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer