Hello anonymous bug reporter,
Am Freitag, den 04.11.2011, 04:20 -0400 schrieb
sacrificial-spam-addr...@horizon.com:
Package: ghc-doc
Version: 7.0.4-8
ghc-doc_7.0.4-7 has an uncompressed size of 30.0 M. -8 is 96.6 M.
Thanks for the report.
Supposedly the only difference is removing something:
ghc (7.0.4-8) unstable; urgency=low
* Remove ghci support on powerpc (Closes: #631073)
-- Joachim Breitner nome...@debian.org Sun, 30 Oct 2011 17:56:23 +0100
Not to put too fine a point on it, but I find that very hard to believe.
Well, it is easy to make you a believer:
$ debsnap ghc 7.0.4-7
$ debsnap ghc 7.0.4-8 -f
$ debdiff source-ghc/*dsc
diff -Nru ghc-7.0.4/debian/changelog ghc-7.0.4/debian/changelog
--- ghc-7.0.4/debian/changelog 2011-10-18 18:09:39.0 +0200
+++ ghc-7.0.4/debian/changelog 2011-10-30 17:56:23.0 +0100
@@ -1,3 +1,9 @@
+ghc (7.0.4-8) unstable; urgency=low
+
+ * Remove ghci support on powerpc (Closes: #631073)
+
+ -- Joachim Breitner nome...@debian.org Sun, 30 Oct 2011 17:56:23 +0100
+
ghc (7.0.4-7) unstable; urgency=low
[ Joachim Breitner ]
diff -Nru ghc-7.0.4/debian/patches/no_ghci_on_powerpc
ghc-7.0.4/debian/patches/no_ghci_on_powerpc
--- ghc-7.0.4/debian/patches/no_ghci_on_powerpc 1970-01-01 01:00:00.0
+0100
+++ ghc-7.0.4/debian/patches/no_ghci_on_powerpc 2011-10-30 17:53:31.0
+0100
@@ -0,0 +1,20 @@
+Description: Disable ghci on powerpc
+ Despite upstreams make files indicating that it works, we have had too many
+ problems with ghci on power, e.g.:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631073. Erik had tried to fix
+ it, but eventually gave up:
+ http://lists.debian.org/debian-haskell/2011/10/msg00059.html
+Author: Joachim Breitner nome...@debian.org
+Bug-Debian: http://bugs.debian.org/631073
+
+--- ghc-7.0.4.orig/mk/config.mk.in
ghc-7.0.4/mk/config.mk.in
+@@ -169,7 +169,7 @@ GhcWithSMP=$(strip $(if $(filter YESNO,
+ # has support for this OS/ARCH combination.
+
+ OsSupportsGHCi=$(strip $(patsubst $(HostOS_CPP), YES, $(findstring
$(HostOS_CPP), mingw32 cygwin32 linux solaris2 freebsd dragonfly netbsd openbsd
darwin)))
+-ArchSupportsGHCi=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring
$(HostArch_CPP), i386 x86_64 powerpc sparc sparc64)))
++ArchSupportsGHCi=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring
$(HostArch_CPP), i386 x86_64 sparc sparc64)))
+
+ ifeq $(OsSupportsGHCi)$(ArchSupportsGHCi) YESYES
+ GhcWithInterpreter=YES
diff -Nru ghc-7.0.4/debian/patches/series ghc-7.0.4/debian/patches/series
--- ghc-7.0.4/debian/patches/series 2011-10-18 18:06:35.0 +0200
+++ ghc-7.0.4/debian/patches/series 2011-10-30 17:51:33.0 +0100
@@ -11,3 +11,4 @@
haddock-expose-interface-version
hash-version-number
improve_linker_script_handling
+no_ghci_on_powerpc
But the observation still holds. So let’s see:
$ ls -sh1
13M ghc-doc_7.0.4-6_all.deb
4,7M ghc-doc_7.0.4-7_all.deb
13M ghc-doc_7.0.4-8_all.deb
$ for file in *; do dpkg -I $file |grep Installed; done
Installed-Size: 102664
Installed-Size: 29299
Installed-Size: 94334
$ for file in *; do dpkg-deb -x $file $file-extr; done
$ du -sh */
101Mghc-doc_7.0.4-6_all.deb-extr/
34M ghc-doc_7.0.4-7_all.deb-extr/
101Mghc-doc_7.0.4-8_all.deb-extr/
$ LANG=C diff -r ghc-doc_7.0.4-6_all.deb-extr/ ghc-doc_7.0.4-8_all.deb-extr/
Binary files ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/Cabal.pdf.gz
and ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/Cabal.pdf.gz differ
Binary files ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/Cabal.ps.gz and
ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/Cabal.ps.gz differ
Binary files
ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/changelog.Debian.gz and
ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/changelog.Debian.gz differ
Binary files ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/haddock.pdf.gz
and ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/haddock.pdf.gz differ
Binary files ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/haddock.ps.gz
and ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/haddock.ps.gz differ
Binary files
ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/users_guide.pdf.gz and
ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/users_guide.pdf.gz differ
Binary files
ghc-doc_7.0.4-6_all.deb-extr/usr/share/doc/ghc-doc/users_guide.ps.gz and
ghc-doc_7.0.4-8_all.deb-extr/usr/share/doc/ghc-doc/users_guide.ps.gz differ
$ diff -u (cd ghc-doc_7.0.4-7_all.deb-extr/; find .) (cd
ghc-doc_7.0.4-8_all.deb-extr/; find .)
... long list, showing that 7.0.4-8 contains
* the highlighted sources and
./usr/share/doc/ghc-doc/Cabal.pdf.gz
./usr/share/doc/ghc-doc/haddock.ps.gz
./usr/share/doc/ghc-doc/users_guide.ps.gz
./usr/share/doc/ghc-doc/users_guide.pdf.gz
./usr/share/doc/ghc-doc/haddock.pdf.gz
./usr/share/doc/ghc-doc/Cabal.ps.gz
So what happens is that ghc does not build-depend on hscolour and the
tools to build the PDF and PS file,