Package: haddock
Version: 0.8-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ian,

I am updating my Debian packages and was trying to generate haddock
documentation which links to haddock documentation of other packages.
I have tried a couple of times with different options, --use-package,
- --read-interface, but haddock keeps complaining that it can not
resolve the names:

find dist/doc/tmp -type f | xargs haddock -o dist/doc/html -h -t Edison-1.2.1 
--use-package=base --use-package=haskell98 
--read-interface=/usr/share/doc/ghc6-doc/html/libraries/mtl/mtl.haddock 
--read-interface=/usr/share/doc/ghc6-doc/html/libraries/quickcheck/QuickCheck.haddock
 -D dist/doc/html/Edison.haddock
Warning: Data.Edison.Prelude: the following names could not be resolved:
    Eq Int Monoid
Warning: Data.Edison.Seq: the following names could not be resolved:
    Functor MonadPlus Int Monad fail Bool True False String
Warning: Data.Edison.Seq.ListSeq: the following names could not be resolved:
    foldr' foldr1' foldrWithIndex' String Monad Bool Int
Warning: Data.Edison.Seq.Defaults: the following names could not be resolved:
    Monad Int Bool Show ShowS Read ReadS Ord Ordering Eq MonadPlus String
Warning: Data.Edison.Seq.BankersQueue: the following names could not be 
resolved:
    String Monad Bool Int Functor MonadPlus Eq Ord Show Read Arbitrary Monoid
Warning: Data.Edison.Seq.BinaryRandList: the following names could not be 
resolved:
    String Monad Bool Int Eq Functor MonadPlus Ord Show Read Arbitrary Monoid
.....

I even tried to build one of your packages of which I know it has
worked (haskell-network) and there it fails as well:

Building network-2.0.1...
../setup-ghc haddock
Warning: Network.URI: the following names could not be resolved:
    String Maybe Eq Typeable Data Show Nothing Bool Either ParseError GenParser 
Char True Int ShowS False MonadPlus
Warning: Network.Socket: the following names could not be resolved:
    Eq Show Typeable CInt MVar IO Word32 Word16 Ord Int Enum Num Real Integral 
Storable String Ptr CSize CUInt Read Bool IOMode Handle IOError CChar
Warning: Network.BSD: the following names could not be resolved:
    String Show Typeable Storable IO CString Ptr CInt Bool Read CULong MVar 
CSize
Warning: Network: the following names could not be resolved:
    String IO Handle hGetContents LineBuffering NoBuffering hGetBuf hPutBuf

After some searching I think I have found the problem. The .haddock
interface files which haddock generated are architecture dependent:

http://www.haskell.org/pipermail/haskell/2007-March/019196.html

The interface files in your packages are generated on amd64 while I
build my packages on i386, hence I encounter problems.

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-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

Versions of packages haddock depends on:
ii  libc6                     2.5-9          GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.1+dfsg-4 Multiprecision arithmetic library

haddock recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGWjBqUALvsZYuOJARAppAAKCNec0gidVpdHJI7CshUKEMja3+pwCg4LZO
R89b5ubuJTCkVwWH/RRsvaM=
=Xrw2
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to