Comment 27 for bug 26514

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20051203154635.GA16361@pluto>
Date: Sat, 3 Dec 2005 16:46:35 +0100
From: Jens Seidel <email address hidden>
To: Osamu Aoki <email address hidden>, <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#337259: debian-reference: FTBFS with new tetex-bin: Error trying to create
 pdflatex.fmt

Hi Osamu,

On Sat, Dec 03, 2005 at 12:38:10PM +0900, Osamu Aoki wrote:
> On Fri, Dec 02, 2005 at 02:57:32PM +0100, Frank K�wrote:
> > Jens Seidel <email address hidden> wrote:
> > >> If yes, you should use CJKbookmarks also for DVI files, as indicated
> > >> above. If not (and I recommend that), simply do not load hyperref at
> > >> all when producing dvi (unless you want to distribute DVI files, too).
>
> Hmmm... I am lost in LaTeX world.
>
> Current debiandoc-sgml has functionality to modify generated latex file
> using messy but simple shell script called fixlatex. The default symple
> one is in debiandoc-sgml but the most elaborate one is in
> debian-reference.

Right. Please note that it was part of the package to work also in a old
Woody environment. Since www-master was updated to Sarge we should
remove ugly workarounds which where integrated into debiandoc-sgml.
Nevertheless there were also a few package related fixes, such as Polish
quotation style which is not FTBFS or debiandoc-sgml related.

> As I reviewed this cutomized bin/fixlatex in debian-reference, I was
> surprized how it grew so much.
>
> It looks like we can add this there.

It would only be another hack. I reassigned the bug to debiandoc-sgml and
prepare a new upload. But I first need a few hour to test it on all
documents from DDP, in current testing and Sarge environment.
Please upload when you see my commit to debiandoc-sgml CVS repository.

> As I have been updating debiandoc-sgml, I can fix some bugs from here
> too. (I have to be careful not to break previous work arounds.)
> That is to fix files in tools/lib/Format in the source tree of
> debiandoc-sgml and there is LaTeX.pm is good candidates. For this
> issue, I do not know which is better.

Right, LaTeX.pm is the correct file to patch.

> My question is:
>
> Is this issue caused by other broken package? (it seems YES.)

I assumed a problem in dvips with option -z. But since dvips just
converts a dvi file to ps I understand that it requires a proper
input file. Since -z option was introduced in 1.89 of debiandoc-sgml
it was not well tested (I always try to test as much as possible, but
it needs a very long time on my PIII 800 mini notebook).

> Should all debiandoc-sgml based package get this fix?

If a document was supported by the current debiandoc-sgml package there
is no need to rebuild it or to change the build dependencies ...

Jens