[Pkg-kannel-devel] Bug#818078: kannel: FTBFS when built with dpkg-buildpackage -A (TeX error: jadetex fails)

Santiago Vila sanvila at debian.org
Sun Mar 13 11:55:11 UTC 2016


Package: src:kannel
Version: 1.4.4-2
User: sanvila at debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
test -x debian/rules
mkdir -p "."
touch wmlscript/wsgram.c wmlscript/wsgram.h
if test -e /usr/share/misc/config.guess ; then \
	for i in ./config.guess ./addons/opensmppbox/autotools/config.guess ./addons/sqlbox/autotools/config.guess ; do \
		if ! test -e $i.cdbs-orig ; then \
			mv $i $i.cdbs-orig ; \
			cp --remove-destination /usr/share/misc/config.guess $i ; \
		fi ; \
	done ; \
fi

[... snipped ...]

jade:/usr/share/xml/declaration/xml.dcl:31:27:W: characters in the document character set with numbers exceeding 65535 not supported
rm -f doc/alligata/alligata.tmp
sed "s/#FIGTYPE#/.ps/;s/#VERSION#/1.4.4/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/" doc/arch/arch.xml > doc/arch/arch.tmp
jade -o doc/arch/arch.tex -t tex -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl /usr/share/xml/declaration/xml.dcl doc/arch/arch.tmp
jade:/usr/share/xml/declaration/xml.dcl:31:27:W: characters in the document character set with numbers exceeding 65535 not supported
rm -f doc/arch/arch.tmp
cd `dirname doc/arch/arch.xml` && jadetex `basename doc/arch/arch`.tex >/dev/null || true

kpathsea: Running mktexfmt jadetex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt:   /usr/share/texmf/web2c/fmtutil.cnf
mktexfmt:   /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt:   /sbuild-nonexistent/.texmf-config/web2c/fmtutil.cnf
/usr/bin/mktexfmt: mkdir(/sbuild-nonexistent/) failed, goodbye: Permission denied
cd `dirname doc/arch/arch.xml` && jadetex `basename doc/arch/arch`.tex >/dev/null || true

kpathsea: Running mktexfmt jadetex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt:   /usr/share/texmf/web2c/fmtutil.cnf
mktexfmt:   /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt:   /sbuild-nonexistent/.texmf-config/web2c/fmtutil.cnf
/usr/bin/mktexfmt: mkdir(/sbuild-nonexistent/) failed, goodbye: Permission denied
cd `dirname doc/arch/arch.xml` && jadetex `basename doc/arch/arch`.tex >/dev/null || \
    ( echo Check `dirname doc/arch/arch.xml`/`basename doc/arch/arch`.log for errors && false)

kpathsea: Running mktexfmt jadetex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt:   /usr/share/texmf/web2c/fmtutil.cnf
mktexfmt:   /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt:   /sbuild-nonexistent/.texmf-config/web2c/fmtutil.cnf
/usr/bin/mktexfmt: mkdir(/sbuild-nonexistent/) failed, goodbye: Permission denied
Check doc/arch/arch.log for errors
Makefile:192: recipe for target 'doc/arch/arch.ps' failed
make[1]: *** [doc/arch/arch.ps] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.



More information about the Pkg-kannel-devel mailing list