[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1215: texlib build ignoring errors



Package: texlib
Version: 1.0-3

While building texlib, I noticed that some errors were ignored,
possibly resulting in an incorrect Debian package:

-- Annotated log
	test -d ../texlib-1.0
	test root = "`whoami`"
	test -f stamp-build || make -f debian.rules build
	make[1]: Entering directory `/exp/build/zooi11/texlib-1.0'
	test -d ../texlib-1.0
	make
	make[2]: Entering directory `/exp/build/zooi11/texlib-1.0'
	cd tex/tfm; make all
	make[3]: Entering directory `/exp/build/zooi11/texlib-1.0/tex/tfm'
	MakeTeXTFM cmbsy10
	Running MakeTeXPK cmbsy10
	/var/spool/texmf/fonts/tfm/cmbsy10.tfm already exists!
	cp /var/spool/texmf/fonts/tfm/cmbsy10.tfm .
[...]
The following error is explicitly ignored, and therefore probably not
a bug:
	MakeTeXTFM cmbsy5
	Running MakeTeXPK cmbsy5
	mf \mode:=nullmode; mag:=1; scrollmode; input cmbsy5 \</dev/null
	This is METAFONT, Version 2.71 (C version 6.1)
	kpathsea: Running MakeTeXMF cmbsy5.mf
	I don't know how to generate cmbsy5.mf!

	! I can't find file `cmbsy5.mf'.
	<*> ...=nullmode; mag:=1; scrollmode; input cmbsy5

	Please type another input file name:
	! Emergency stop.
	<*> ...=nullmode; mag:=1; scrollmode; input cmbsy5

	Transcript written on mfput.log.
	Metafont failed for some reason on cmbsy5.tfm
	cp /var/spool/texmf/fonts/tfm/cmbsy5.tfm .
	cp: /var/spool/texmf/fonts/tfm/cmbsy5.tfm: No such file or directory
	make[3]: [cmbsy5.tfm] Error 1 (ignored)
[...]
Here are two bugs at once: no TEXROOT is passed from debian.rules to Makefile,
and the resulting error doesn't cause Makefile to break.
	(cd /tex/plain; ln -sf ../hyphen/lthyphen.cfg hyphen.tex)
	/bin/sh: /tex/plain: No such file or directory
[...]
	dpkg --build `pwd`/debian-tmp
	dpkg-deb: building package `texlib' in `/exp/build/zooi11/texlib-1.0/debian-tmp.deb'.
	mv debian-tmp.deb ../texlib-1.0-3.deb
--

Suggestions: pass TEXROOT from debian.rules to Makefile, and add "&& exit 1"
to the "ln" line in Makefile.

Ray
--
LEADERSHIP  A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch
it'll be someone else's bones which go crack and not their own.
- The Hipcrime Vocab by Chad C. Mulligan


Reply to: