Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi
On Mon, Feb 17, 2014 at 01:57:43PM +0100, Moritz Mühlenhoff wrote:
> > 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.
Here is a better patch:
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,8 @@ override_dh_auto_configure:
--sysconfdir=/etc
override_dh_auto_install:
- $(MAKE) install DESTDIR=$(CURDIR)/debian/advi
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/advi \
+ latexdir=/usr/share/texmf/tex/latex
ifeq ($(OPT),true)
-rm -f $(CURDIR)/debian/advi/usr/bin/advi.byt
else
The problem is that ./configure does not fill in the latexdir variable,
but until now I couldn't figure out why, and what event exactly has
triggered this bug to come to the surface.
-Ralf.
Reply to: