Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi

2014-02-19 Thread Ralf Treinen
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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi

2014-02-17 Thread Ralf Treinen
Hello,

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.

Thanks for your report. I'm looking into this as soon as possible. For the
moment I just checked the binary packages of advi 1.10.2-1 in the archive.
There is one binary package affected, namely the one for the s390x
architecture:

% dpkg-deb -c advi_1.10.2-1_s390x.deb | grep '\./advi'
drwxr-xr-x root/root 0 2012-04-01 16:03 ./advi/
-rw-r--r-- root/root 48217 2012-04-01 16:03 ./advi/xwindows-colors.sty
-rw-r--r-- root/root  1898 2012-04-01 16:03 ./advi/superpose.sty
-rw-r--r-- root/root  3030 2012-04-01 16:03 ./advi/pgfsys-dvips.def
-rw-r--r-- root/root  4652 2012-04-01 16:03 ./advi/advi-slides.sty
-rw-r--r-- root/root 34367 2012-04-01 16:03 ./advi/bar.eps
-rw-r--r-- root/root  1220 2012-04-01 16:03 ./advi/advi-graphicx.sty
-rw-r--r-- root/root  1431 2012-04-01 16:03 ./advi/advi.hva
-rw-r--r-- root/root 32748 2012-04-01 16:03 ./advi/caml.eps
-rw-r--r-- root/root  1702 2012-04-01 16:03 ./advi/argv.sty
-rw-r--r-- root/root  2142 2012-04-01 16:03 ./advi/advi-annot.sty
-rw-r--r-- root/root  6697 2012-04-01 16:03 ./advi/bubble.sty
-rw-r--r-- root/root 65979 2012-04-01 16:03 ./advi/advilogo.eps
-rw-r--r-- root/root 31898 2012-04-01 16:03 ./advi/advi.sty

The .deb is dated Apr 1 2012, while all the others (which are OK) are
from 2011.

-Ralf.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi

2014-02-17 Thread Moritz Mühlenhoff
> 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

muehlenh...@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.0 +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.0 +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.0 +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


Bug#726418: advi: Builds broken package from source: /usr/share/texmf/tex/latex/advi -> /advi

2013-10-15 Thread Daniel Schepler
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.

root@frobozz:/var/cache/pbuildd# dpkg-deb -c 
/var/cache/pbuilder/result/advi_1.10.2-1_amd64.deb 
drwxr-xr-x root/root 0 2013-10-15 08:43 ./
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/texmf/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/texmf/tex/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/lintian/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/lintian/overrides/
-rw-r--r-- root/root83 2011-10-21 07:44 
./usr/share/lintian/overrides/advi
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/man/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/man/man1/
-rw-r--r-- root/root  5505 2013-10-15 08:43 ./usr/share/man/man1/advi.1.gz
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/doc/
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/doc/advi/
-rw-r--r-- root/root  3579 2011-08-05 01:27 
./usr/share/doc/advi/scratch_write_splash.dvi.gz
-rw-r--r-- root/root  4421 2011-08-05 01:24 ./usr/share/doc/advi/README.gz
-rw-r--r-- root/root  3840 2011-08-05 01:27 
./usr/share/doc/advi/scratch_draw_splash.dvi.gz
-rw-r--r-- root/root  1328 2011-09-27 00:49 
./usr/share/doc/advi/changelog.gz
-rw-r--r-- root/root  1021 2011-10-21 07:44 
./usr/share/doc/advi/README.Debian
-rw-r--r-- root/root 21960 2011-09-13 01:47 ./usr/share/doc/advi/splash.dvi
-rw-r--r-- root/root  2486 2011-10-21 07:44 ./usr/share/doc/advi/copyright
-rw-r--r-- root/root  4175 2010-03-19 03:53 ./usr/share/doc/advi/TODO.gz
-rw-r--r-- root/root  8661 2011-10-21 07:44 
./usr/share/doc/advi/changelog.Debian.gz
-rw-r--r-- root/root   291 2011-10-21 07:44 
./usr/share/doc/advi/NEWS.Debian.gz
drwxr-xr-x root/root 0 2013-10-15 08:43 ./usr/share/doc/advi/manual/
-rw-r--r-- root/root203350 2011-08-05 01:27 
./usr/share/doc/advi/manual/manual.pdf.gz
drwxr-xr-x root/root 0 2013-10-15 08:43 
./usr/share/doc/advi/manual/pngs/
-rw-r--r-- root/root  5057 2011-09-27 00:45 
./usr/share/doc/advi/manual/pngs/Makefile.in.gz
drwxr-xr-x root/root 0 2011-09-27 00:49 
./usr/share/doc/advi/manual/pngs/japanese/
-rw-r--r-- root/root150211 2003-10-06 09:20 
./usr/share/doc/advi/manual/pngs/japanese/advi-j.png
-rw-r--r-- root/root 15763 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/japanese/advi-j.small.png
-rw-r--r-- root/root  1282 2011-08-05 01:24 
./usr/share/doc/advi/manual/pngs/Makefile.am.gz
drwxr-xr-x root/root 0 2011-09-27 00:49 
./usr/share/doc/advi/manual/pngs/basics/
-rw-r--r-- root/root 11573 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/basics/moderate.small.png
-rw-r--r-- root/root  7235 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/basics/adviwait.small.png
-rw-r--r-- root/root 49650 2003-10-06 09:20 
./usr/share/doc/advi/manual/pngs/basics/adviwait.png
-rw-r--r-- root/root  6159 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/basics/simple.small.png
-rw-r--r-- root/root 76697 2003-10-06 09:20 
./usr/share/doc/advi/manual/pngs/basics/moderate.png
-rw-r--r-- root/root 39537 2003-10-06 09:20 
./usr/share/doc/advi/manual/pngs/basics/simple.png
drwxr-xr-x root/root 0 2011-09-27 00:49 
./usr/share/doc/advi/manual/pngs/basics/cash/
-rw-r--r-- root/root 59721 2003-10-06 09:20 
./usr/share/doc/advi/manual/pngs/basics/cash/cash.png
-rw-r--r-- root/root  9680 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/basics/cash/cash.small.png
-rw-r--r-- root/root  5310 2013-10-15 08:43 
./usr/share/doc/advi/manual/pngs/Makefile.gz
drwxr-xr-x root/root 0 2011-09-27 00:49 
./usr/share/doc/advi/manual/pngs/test/
-rw-r--r-- root/root  8641 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/test/text_movements.small.png
-rw-r--r-- root/root106407 2003-10-06 09:21 
./usr/share/doc/advi/manual/pngs/test/mldvi.png
-rw-r--r-- root/root 16046 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/test/caml_whale.small.png
-rw-r--r-- root/root 59664 2003-10-06 09:21 
./usr/share/doc/advi/manual/pngs/test/text_movements.png
-rw-r--r-- root/root 73926 2003-10-06 09:21 
./usr/share/doc/advi/manual/pngs/test/annotations.png
-rw-r--r-- root/root 23172 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/test/mldvi.small.png
-rw-r--r-- root/root222465 2003-10-06 09:21 
./usr/share/doc/advi/manual/pngs/test/alpha_channel.png
-rw-r--r-- root/root108039 2003-10-06 09:21 
./usr/share/doc/advi/manual/pngs/test/demo2.png
-rw-r--r-- root/root 28327 2011-08-05 01:27 
./usr/share/doc/advi/manual/pngs/test/alpha_channel.small.png
-rw-r--r-- root/root 14083 2011-08-05 01:27 
./usr/share/doc