Package: haskell98-tutorial
Version: 200006-2-1
Severity: important
Tags: patch
Justification: fails to build from source
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ian,
I am planning to upload the modular Hugs from experimental to unstable
ASAP. As a precaution I am rebuilding all packages which build depend
on Hugs.
When I was rebuilding haskell98-tutorial I noticed that it FTBFS due
to tetex to texlive transition [1].
I have fixed this by updating the build dependencies. After that it
also FTBFS with the new hugs packages. This was caused by an import of
the IOExts module which is no longer in the default search path sine
the September 2006 release of hugs:
- The compatibility libraries are no longer included on the default
search path. You can access them by adding "{Hugs}/oldlib" to the
search path (see -Pstr), but they will be removed in the next
release.
Attached is my patch which enables the package to build against the
texlive and the new hugs packages.
Greetings Arjan
- -- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-2-nebula (PREEMPT)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
haskell98-tutorial depends on no packages.
Versions of packages haskell98-tutorial recommends:
ii haskell98-report 20030706-3 The Haskell 98 Language and Librar
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGIjs6UALvsZYuOJARArFZAJ9k4DAPiU/GTJxOqTkEAU02+AqHLQCgnoJe
KK3CfDKkDiio+WV61fWfHhs=
=VsF/
-----END PGP SIGNATURE-----
diff -u haskell98-tutorial-200006-2/tex.hs haskell98-tutorial-200006-2/tex.hs
--- haskell98-tutorial-200006-2/tex.hs
+++ haskell98-tutorial-200006-2/tex.hs
@@ -82,7 +82,7 @@
import IO hiding (bracket)
import Char(isSpace, isAlpha, isDigit)
-import IOExts(unsafePerformIO) -- debugging only
+import System.IO.Unsafe(unsafePerformIO) -- debugging only
data FontStyle = RM | IT | TT | Bold | Sym | UL
deriving (Eq,Show)
diff -u haskell98-tutorial-200006-2/debian/changelog haskell98-tutorial-200006-2/debian/changelog
--- haskell98-tutorial-200006-2/debian/changelog
+++ haskell98-tutorial-200006-2/debian/changelog
@@ -1,3 +1,13 @@
+haskell98-tutorial (200006-2-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Build against texlive as tetex has been dropped. (Closes: .....)
+ * tex.hs: import unsafePerformIO from System.IO.Unsafe as the IOExts
+ module is no longer included on the default search path since the
+ September 2006 release of Hugs.
+
+ -- Arjan Oosting <[EMAIL PROTECTED]> Sun, 15 Apr 2007 16:36:50 +0200
+
haskell98-tutorial (200006-2-1) unstable; urgency=low
* New upstream source, also claiming to be June 2000. Closes: #344323.
diff -u haskell98-tutorial-200006-2/debian/control haskell98-tutorial-200006-2/debian/control
--- haskell98-tutorial-200006-2/debian/control
+++ haskell98-tutorial-200006-2/debian/control
@@ -3,7 +3,7 @@
Section: doc
Priority: optional
Standards-Version: 3.7.2
-Build-Depends: hugs, flex, debhelper (>= 4), tetex-bin
+Build-Depends: hugs, flex, debhelper (>= 4), texlive-latex-base, texlive-generic-recommended
Package: haskell98-tutorial
Architecture: all