[Pkg-haskell-maintainers] How to bootstrap alex?

Joachim Breitner nomeata at debian.org
Thu Feb 9 08:47:14 UTC 2012


Hi,

Am Donnerstag, den 09.02.2012, 01:11 +0100 schrieb Samuel Thibault:
> Hello,
> 
> alex build-depends on itself. Dropping the dependency does not seem
> enough to break the loop, I'm ending up with 
> 
> Building alex-3.0.1...
> Preprocessing executable 'alex' for alex-3.0.1...
> hlibrary.setup: The program alex is required but it could not be found
> 
> How to bootstrap it? I have installed the build-deps on the
> DD-accessible exodar.debian.net sid chroot.

I managed to build it by dropping the dependency and setting
DEB_SETUP_GHC_CONFIGURE_ARGS = --with-alex=/bin/true
in debian/rules. Upstream ships the output of the generated files in
src/ as well.

I guess this could be made the default, but it would be cleaner to
remove these generated files in the clean target in regular builds.
Maybe some other time.

Binary is on exodar, ~nomeata.

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/20120209/f2c9b614/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list