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

Bug#733414: texlive-base: fails to build from source on stable



Source: texlive-base
Version: 2013.20131219-1
Severity: normal

This source package, currently only in unstable, fails to build from
source on stable. The build ends with:

dh_installdocs -p texlive-base README readme-txt.dir readme-html.dir debian/CHANGES.packaging
# nasty trick
# mptopdf needs a dump, but is a link to a script
# we have to trick dh_installtex to accept it
mv debian/texlive-latex-base/usr/bin/mptopdf    \
                debian/texlive-latex-base/usr/bin/mptopdf.bck
ln -s pdftex debian/texlive-latex-base/usr/bin/mptopdf
dh_installtex -Ntexlive-base -A --priority=10   \
                -Ntexlive -Ntexlive-full        \
                --flavor=lsr:full,tree:texlive
ln: failed to create symbolic link `debian/texlive-latex-base/usr/bin/mptopdf': File exists
dh_installtex: ln -s pdftex debian/texlive-latex-base/usr/bin/mptopdf returned exit code 1
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

The complete build log is attached. I haven't tried to debug it, but
if you have no idea what the problem has, I can do so. In that events,
debugging tips would be apprecicated.

I've omitted information about my TeX installation since is does not
seem relevant, but you want I can add it.

                                                      Regards, Faheem

-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

   *** The Debian TeX Team is *no* LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1373 Nov 21 02:49 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jan 10  2013 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Oct  3  2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
lrwxrwxrwx 1 root root 31 Oct  3  2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Oct  3  2012 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Oct  3  2012 /usr/share/texlive/texmf/ls-R -> /var/lib/texmf/ls-R-TEXLIVEMAIN
######################################
 Config files
-rw-r--r-- 1 root root 475 Aug  1 05:45 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 4745 Nov 21 02:49 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Oct  3  2012 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3245 Nov 21 02:49 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jan 10  2013 mktex.cnf
-rw-r--r-- 1 root root 475 Aug  1 05:45 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable'), (50, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.12
ii  ucf                    3.0025+nmu3

Versions of packages tex-common suggests:
ii  debhelper  9.20120909

Versions of packages texlive-base is related to:
ii  tex-common        3.15
ii  texlive-binaries  2012.20120628-4

-- debconf information excluded
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package texlive-base
dpkg-buildpackage: source version 2013.20131219-1
dpkg-buildpackage: source changed by Norbert Preining <preining@debian.org>
 dpkg-source --before-build texlive-base-2013.20131219
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
for i in texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc texlive texlive-full ; do \
	  rm -f debian/$i.{README.Debian,links,links.generated} ; \
	  rm -f debian/$i.{postinst,postrm,preinst,prerm} ; \
	  rm -f debian/$i.{maps,hyphens,formats,info,manpages} ; \
	  rm -f debian/$i.{lintian-overrides} ; \
	done
rm -f debian/texlive-base.cnf
# texlive contains some .orig files we need to keep otherwise
# the copy will fail due to the files occurring in the tlpdb
dh_clean -X.orig -X.bak
rm -f configure-stamp
rm -f build-stamp
rm -f install-stamp
 dpkg-source -b texlive-base-2013.20131219
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building texlive-base using existing ./texlive-base_2013.20131219.orig.tar.xz
dpkg-source: info: building texlive-base in texlive-base_2013.20131219-1.debian.tar.gz
dpkg-source: info: building texlive-base in texlive-base_2013.20131219-1.dsc
 debian/rules build
touch build-stamp
 fakeroot debian/rules binary
# make sure we have texmf-dist/web2c otherwise the media detection
# might break (like in texlive-lang)
mkdir -p texmf-dist/web2c
perl debian/tpm2deb-bin.pl --nosource texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc texlive texlive-full
Start loading config file debian/tpm2deb.cfg ...
Start loading config file debian/cfg.d/package-naming.cfg ...
 ... done debian/cfg.d/package-naming.cfg
Start loading config file debian/cfg.d/upgrade-transitional-packages.cfg ...
 ... done debian/cfg.d/upgrade-transitional-packages.cfg
Start loading config file debian/cfg.d/additional-packages.cfg ...
 ... done debian/cfg.d/additional-packages.cfg
Start loading config file debian/cfg.d/info-man-handling.cfg ...
 ... done debian/cfg.d/info-man-handling.cfg
Start loading config file debian/cfg.d/debian-replacement.cfg ...
 ... done debian/cfg.d/debian-replacement.cfg
Start loading config file debian/cfg.d/font-ignore.cfg ...
 ... done debian/cfg.d/font-ignore.cfg
 ... done debian/tpm2deb.cfg
Reading debian/scripts.lst ...
Cannot find texworks.i386-linux!
Cannot find xecyr.i386-linux!
Building data hash ...
Checking consistency ... 
 ... tlpdb and config file are consistent, good!
Working on texlive-base
Making maintainer scripts for texlive-base in ./debian...
Working on texlive-generic-recommended
Making maintainer scripts for texlive-generic-recommended in ./debian...
Working on texlive-latex-base
Making maintainer scripts for texlive-latex-base in ./debian...
Working on texlive-latex-recommended
Making maintainer scripts for texlive-latex-recommended in ./debian...
Working on texlive-fonts-recommended
Making maintainer scripts for texlive-fonts-recommended in ./debian...
Working on texlive-pictures
Making maintainer scripts for texlive-pictures in ./debian...
Working on texlive-luatex
Making maintainer scripts for texlive-luatex in ./debian...
Working on texlive-metapost
Making maintainer scripts for texlive-metapost in ./debian...
Working on texlive-omega
Making maintainer scripts for texlive-omega in ./debian...
Working on texlive-xetex
Making maintainer scripts for texlive-xetex in ./debian...
Working on texlive-fonts-recommended-doc
Making maintainer scripts for texlive-fonts-recommended-doc in ./debian...
Working on texlive-latex-base-doc
Making maintainer scripts for texlive-latex-base-doc in ./debian...
Working on texlive-latex-recommended-doc
Making maintainer scripts for texlive-latex-recommended-doc in ./debian...
Working on texlive-metapost-doc
Making maintainer scripts for texlive-metapost-doc in ./debian...
Working on texlive-pictures-doc
Making maintainer scripts for texlive-pictures-doc in ./debian...
Working on texlive
Making maintainer scripts for texlive in ./debian...
Working on texlive-full
Making maintainer scripts for texlive-full in ./debian...
for i in texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc texlive texlive-full ; do \
	  bash debian/generate-license-file $i ; \
	  if [ -r debian/$i.links.dist ] ; then cat debian/$i.links.dist >> debian/$i.links ; fi ; \
	done
please first call debian/rules install!
please first call debian/rules install!
mkdir -p debian/texlive-base/etc/texmf/texdoctk
mv debian/texlive-base/usr/share/texlive/texmf-dist/texdoctk/texdocrc.defaults \
	  debian/texlive-base/etc/texmf/texdoctk
rmdir --ignore-fail-on-non-empty debian/texlive-base/usr/share/texlive/texmf-dist/texdoctk
# link pfb/afm files (type1 fonts) into /usr/share/fonts
for i in texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc texlive texlive-full ; do \
	  bash debian/create-font-links $i >> debian/$i.links ; \
	done
touch install-stamp
dh_testdir
dh_testroot
dh_install
dh_installdirs
dh_installmenu
dh_lintian
dh_bugfiles -A
dh_installdocs -A debian/README.source debian/README.Debian
dh_installdocs -p texlive-base README readme-txt.dir readme-html.dir debian/CHANGES.packaging
# nasty trick
# mptopdf needs a dump, but is a link to a script
# we have to trick dh_installtex to accept it
mv debian/texlive-latex-base/usr/bin/mptopdf	\
		debian/texlive-latex-base/usr/bin/mptopdf.bck
ln -s pdftex debian/texlive-latex-base/usr/bin/mptopdf
dh_installtex -Ntexlive-base -A --priority=10	\
		-Ntexlive -Ntexlive-full	\
		--flavor=lsr:full,tree:texlive
ln: failed to create symbolic link `debian/texlive-latex-base/usr/bin/mptopdf': File exists
dh_installtex: ln -s pdftex debian/texlive-latex-base/usr/bin/mptopdf returned exit code 1
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Reply to: