|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: Bug#265743: debian-reference: FTBFS: tetex-bin changes? - msg#00044
List: linux.debian.devel.documentation
Osamu Aoki <osamu@xxxxxxxxxx> wrote:
> > On Sat, Aug 14, 2004 at 19:51:31 +0200, Kurt Roeckx wrote:
> > > Transcript written on pdflatex.log.
> > > fmtutil: /var/lib/texmf/web2c/pdflatex.fmt installed.
> > > (Fatal format file error; I'm stymied)
> > > debiandoc2latexpdf: ERROR: reference.en.pdf could not be generated properly
> > > make[1]: *** [reference.en.pdf] Error 1
> > >
> > > I assume this has to do with the recent changes to tetex-bin, but I'm not
> > > really sure.
>
> Sigh :-( I am wondering how TeX/LaTeX folks feel about RC bugs on
> documentation packages due to recent TeX/LaTeX package situation. Look
> at Bug #265247 (or #265247), #265611, #264394, #263840, ... it ain't
> pretty sight.
>
> I do not feel like adding build script hack now to package just to get
> away for FTBFS serious bug unless TeX/LaTeX is stabilized.
In my opinion, the way debian-reference (and others?) worked around
tetex's poor language handling is plainly wrong.
As far as I understand it, you want to generate pdf's in various
languages and need hyphenation enabled for each of them. Because of
teTeX's previously poor handling of languages, you enabled them in a
local format file you created during package build, right?
- First of all, this is no longer needed. In a noninteractive or
hit-ENTER-always install, you get a language.dat with patterns enabled
for all available languages.
- Instead of making a workaround in the package (namely, building a
local format file), you should have complained with the teTeX
maintainers earlier. Then we would probably have come up with the
"default-all" solution earlier.
> I know TeX/LaTeX has been quite actively updated. IMHO, it should be
> very stable when FREEZE starts. But reality is not. If you think about
> TeX/LateX, it is like GCC for C program. We should not make major change
> with incompatibility at this late moment. But it happened.
Yes, it happened. I didn't feel too well with some of the last
changes. But as for the eTeX transition, I must say, I didn't envisage
any problems. I simply didn't assume that package maintainers made such
ugly workarounds instead of requesting us to do the changes they needed.
> On Sat, Aug 14, 2004 at 11:07:47PM +0200, J.H.M. Dassen (Ray) wrote:
> > Looks like it. Changing bin/debiandoc2latexpdf's "pdflatex" call to a
> > "pdfelatex" one seems to be a workaround.
>
> If new "pdfelatex" is needed, why this was not offered as an alternative
> of pdflatex so it does not break build script. Is this already fix?
I do not completely understand how this workaround helps. But pdfelatex
is and was available - what alternatives should we have offered?
And, more importantly, do the problems still occur with
tetex-bin_2.0.2-18?
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Bug#265743: debian-reference: FTBFS: tetex-bin changes?
From: Hilmar Preusse <hille42@xxxxxx>
Subject: Re: Bug#265743: debian-reference: FTBFS: tetex-bin changes?
Date: Mon, 16 Aug 2004 09:26:45 +0200
> On 15.08.04 Osamu Aoki (osamu@xxxxxxxxxx) wrote:
>
> > If anyone insists this to be RC, I will reassign this to TeX/LateX
> > but people there seems handful with similar reports and such an big
> > example file like this package is tough one to track the bugs.
> >
> > So, I am making this a "wishlist" for now and I will close this one if
> > latest unstable environment build OK.
> >
> I'll have a look at the bugs to see, what you're really speaking
> about.
I've had a quick look at the bug but the package is really
big and hard to investigate.
What I can't understand is why scripts would try to generate
*.fmt and/or *.efmt, and I have a feeling that scripts
could be refined to some extent. Anyway please try the patch
attached.
Regards, 2004.8.16(Mon)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@xxxxxxxxxx>
Department of Math., Univ. of Tokushima
diff -ur debian-reference-old/Makefile debian-reference-1.07/Makefile
--- debian-reference-old/Makefile 2004-08-16 14:28:15.000000000 +0900
+++ debian-reference-1.07/Makefile 2004-08-16 14:31:15.000000000 +0900
@@ -228,16 +228,35 @@
latex.fmt: texmf/language.dat
TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n tex -p tex) \
- fmtutil --byfmt latex --fmtdir .
+ tex -ini latex.ini > /dev/null
+# fmtutil --byfmt latex --fmtdir .
pdflatex.fmt: texmf/language.dat
TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
- fmtutil --byfmt pdflatex --fmtdir .
+ pdftex -ini pdflatex.ini > /dev/null
+# fmtutil --byfmt pdflatex --fmtdir .
# required by thumbpdf (called from debiandoc2latexpdf)
pdftex.fmt: texmf/language.dat
TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
- fmtutil --byfmt pdftex --fmtdir .
+ pdftex -ini pdftex.ini > /dev/null
+# fmtutil --byfmt pdftex --fmtdir .
+
+latex.efmt: texmf/language.dat
+ TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n tex -p tex) \
+ etex -ini latex.ini > /dev/null
+# fmtutil --byfmt latex --fmtdir .
+
+pdflatex.efmt: texmf/language.dat
+ TEXINPUTS=$$(pwd)/texmf/; \
+ pdfetex -ini pdflatex.ini > /dev/null
+# fmtutil --byfmt pdflatex --fmtdir .
+
+# required by thumbpdf (called from debiandoc2latexpdf)
+pdftex.efmt: texmf/language.dat
+ TEXINPUTS=$$(pwd)/texmf/; \
+ pdfetex -ini pdftex.ini > /dev/null
+# fmtutil --byfmt pdftex --fmtdir .
# DVI
@@ -251,24 +270,24 @@
# PS
-$(MANUAL1).%.ps: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) latex.fmt
+$(MANUAL1).%.ps: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) latex.fmt
latex.efmt
ln -sf fix.latex.ent fix.ent
bin/debiandoc2latexps $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
-$(MANUAL2).%.ps: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) latex.fmt
+$(MANUAL2).%.ps: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) latex.fmt
latex.efmt
ln -sf fix.latex.ent fix.ent
bin/debiandoc2latexps $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
# PDF
$(MANUAL1).%.pdf: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) \
- pdflatex.fmt pdftex.fmt %/hyperref-full.cfg
+ pdflatex.fmt pdftex.fmt pdflatex.efmt pdftex.efmt
%/hyperref-full.cfg
ln -sf fix.latex.ent fix.ent
ln -sf $*/hyperref-full.cfg hyperref.cfg
bin/debiandoc2latexpdf $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
$(MANUAL2).%.pdf: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) \
- pdflatex.fmt pdftex.fmt %/hyperref-quick.cfg
+ pdflatex.fmt pdftex.fmt pdflatex.efmt pdftex.efmt
%/hyperref-quick.cfg
ln -sf fix.latex.ent fix.ent
ln -sf $*/hyperref-quick.cfg hyperref.cfg
bin/debiandoc2latexpdf $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
@@ -556,7 +575,7 @@
manual.html.stamp: manual.sgml
debiandoc2html manual.sgml
touch manual.html.stamp
-
+
#====[ cleaning up ]===========================================================
distclean: clean
make "PUBLISHDIR=~/public_html/" publish-clean
@@ -574,7 +593,7 @@
rm -f $(addprefix $(MANUAL1).*.,$(clean_SUFFIXES))
rm -f $(addprefix $(MANUAL2).*.,$(clean_SUFFIXES))
rm -f *~ prior.aux pprior.aux *.log typescript README README.html
- rm -f latex.fmt pdflatex.fmt pdftex.fmt latex.efmt pdflatex.efmt
+ rm -f latex.fmt pdflatex.fmt pdftex.fmt latex.efmt pdflatex.efmt
pdftex.efmt
rm -f latex.log pdflatex.log pdftex.log
rm -f *.tex[01]pdf *.tex[01]ps
rm -f $(MANUAL0).tar.gz fix.ent hyperref.cfg
Next Message by Date:
click to view message preview
this lets you deliver every night without fail
The gener!c version costs a fraction of the name brand version.
It's a product that you definitely need to try atleast once.
Each package is shipped discreetly, in a plain envelope.
Rosalinda Bombardier
http://Jhfb.cheapergenerics.com
To be taken off the marketing list for generic medications or related
products, use this link here:
http://F16562718.cheapergenerics.com
y1Jfsnfbuh
Previous Message by Thread:
click to view message preview
Re: Bug#265743: debian-reference: FTBFS: tetex-bin changes?
On 15.08.04 Osamu Aoki (osamu@xxxxxxxxxx) wrote:
Hi,
> Sigh :-( I am wondering how TeX/LaTeX folks feel about RC bugs on
> documentation packages due to recent TeX/LaTeX package situation.
> Look at Bug #265247
>
... has nothing to do with the TeX e-TeX migration. Until now I'm not
really sure, about what happened here, cause after unpack a file was
missing, which is part of tetex-bin. The following was a typo in
tetex-base -- unrelated to the migration.
> #265611
>
... has nothing to do with the TeX e-TeX migration. It might be the
other migration: /usr/share/texmf/web2c it not more an ln -s into
/var, but rather an own dir. Doesn't break the autobuilders, as they
assume the default answers and not changed config files.
> #264394
>
Bug is normal. The described file doesn't compile on Knuth TeX
either. No gain if you switch back. The bug is here, that the error
behaviour of e-TeX is wrong.
> #263840
>
Wouldn't have happened, if the user would have taken the default
answer. Doesn't break the auto builders.
Thanks,
Hilmar
--
Most people's favorite way to end a game is by winning.
http://hilmarpreusse.forum-rheinland.de/
Next Message by Thread:
click to view message preview
Bug#265743: debian-reference: FTBFS: tetex-bin changes?
On Mon, Aug 16, 2004 at 02:03:23PM +0200, Frank Küster wrote:
>
> And, more importantly, do the problems still occur with
> tetex-bin_2.0.2-18?
I was using 2.0.2-18 when filing this bug. I knew there were
problems with the -17 version.
This is still failing in current sid.
Kurt
|
|