[Pkg-haskell-maintainers] Bug#725577: Bug#725577: yi: FTBFS: The program alex version >=3.0.3 && <=3.0.5 is required but the version found at /usr/bin/alex is version 3.1.0

Joachim Breitner nomeata at debian.org
Mon Oct 7 20:54:23 UTC 2013


Hi,

Am Montag, den 07.10.2013, 21:43 +0200 schrieb Louis Bettens:
> Le 07. 10. 13 21:04, Joachim Breitner a écrit :
> > it probably makes more sense to update hashable, if that does not
> > require (too many) updates of other packages. Of course the test suite
> > should go through first.
> >
> 
> You are right. Even under pdebuild, when building hashable's testsuite, 
> cabal guesses that hsc2hs should be run on tests/Regress/Mmap.hsc, but 
> the result goes into dist/build/Regress/Mmap.hs and later, ghc looks for 
> it in dist/build/tests/tests-tmp/Regress/Mmap.hs. Cabal bug?
> Here's my output :
> > $ cabal configure --enable-tests
> > Resolving dependencies...
> > Configuring hashable-1.2.1.0...
> > $ cabal build
> > Building hashable-1.2.1.0...
> > Preprocessing library hashable-1.2.1.0...
> > [1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
> > [2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
> > [3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
> > [1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.p_o )
> > [2 of 3] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.p_o )
> > [3 of 3] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.p_o )
> > In-place registering hashable-1.2.1.0...
> > Preprocessing test suite 'tests' for hashable-1.2.1.0...
> > Mmap.hsc: In function ‘main’:
> > Mmap.hsc:53:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> > Mmap.hsc:53:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> The above proves that hsc2hs has been working.
> >
> > tests/Regress.hs:8:18:
> >     Could not find module `Regress.Mmap'
> >     Use -v to see a list of the files searched for.
> Yep. Suggest "cabal build --ghc-option=-v".
> 
> What do you think? It's late, so I'll report what ought to be reported 
> tomorrow.

no hurry; simply report this to upstream, maybe they already know what
to do.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20131007/769267db/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list