Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi
> Source: advi
> Version: 1.10.2-1
> Severity: serious
>
> When I rebuild advi from source using pbuilder, the resulting advi package
> has the TeX support files in /advi instead of
> /usr/share/texmf/tex/latex/advi.
This bug also affects stable. Rebuilding advi in stable breaks the builds of
other packages. I think that would be a suitable fix for a Wheezy point update.
Proposed patch attached. Note that rebuilding the package with the fix also
drops these two files from advi:
-/usr/share/texmf/tex/latex/advi/advi.hva
-/usr/share/texmf/tex/latex/advi/pgfsys-dvips.def
I'm not sure what's causing this, though.
Cheers,
Moritz
--
Moritz Mühlenhoff
Open Source Software Engineer
Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-0 [.....]
Fax : +49 421 22232-99
muehlenhoff@univention.de
http://www.univention.de
Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
If the advi in Wheezy is rebuilt from source the package paths are
broken. Example:
Before a rebuild: /usr/share/texmf/tex/latex/advi/superpose.sty
After a rebuild: ./advi/superpose.sty
This results in build failures in other packages, e.g. in
whizzytex which uses advi-annot.sty during build time.
Changed extracted from the 1.10.2-1 -> 1.10.2-2 interdiff
diff -aur advi-1.10.2.orig/debian/advi.dirs advi-1.10.2/debian/advi.dirs
--- advi-1.10.2.orig/debian/advi.dirs 2011-10-21 16:44:45.000000000 +0200
+++ advi-1.10.2/debian/advi.dirs 2014-02-17 13:15:00.502285128 +0100
@@ -1,7 +1,7 @@
etc/advi
usr/bin
usr/share/man/man1
-usr/share/texmf/tex
+usr/share/texmf/tex/latex/advi
usr/share/lintian/overrides
usr/share/doc/advi/manual
diff -aur advi-1.10.2.orig/debian/advi.install advi-1.10.2/debian/advi.install
--- advi-1.10.2.orig/debian/advi.install 2011-10-21 16:44:45.000000000 +0200
+++ advi-1.10.2/debian/advi.install 2014-02-17 13:15:00.502285128 +0100
@@ -4,4 +4,5 @@
doc/scratch_write_splash.dvi /usr/share/doc/advi
doc/*.gif doc/pngs /usr/share/doc/advi/manual
doc/*.html doc/*.ps doc/*.pdf /usr/share/doc/advi/manual
debian/lintian-overrides/advi /usr/share/lintian/overrides
+tex/*.sty tex/*.eps /usr/share/texmf/tex/latex/advi
\ Kein Zeilenumbruch am Dateiende.
diff -aur advi-1.10.2.orig/debian/rules advi-1.10.2/debian/rules
--- advi-1.10.2.orig/debian/rules 2011-10-21 16:44:45.000000000 +0200
+++ advi-1.10.2/debian/rules 2014-02-17 13:03:24.430906573 +0100
@@ -24,6 +24,7 @@
else
cd $(CURDIR)/debian/advi/usr/bin && mv -f advi.byt advi
endif
+ rm -rf $(CURDIR)/debian/advi/advi
override_dh_compress:
dh_compress --exclude=usr/share/doc/advi/splash.dvi
Reply to: