[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

haskell-devscripts quoting error



Hi David,

your recent haskell-devscripts patches make haskell-cmdargs fail to
build, due to this line:
DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc/bin/ghci || echo --flags=\"-quotation -testprog\")

It’s probably a quoting problem, passing arguments from Makefile to
shell:

[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking debian/hlibrary.setup ...
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
  configure_recipe "debian/hlibrary.setup" "cmdargs" "0.10.9" \
    "--enable-library-profiling" "" "" \
    "--flags="-quotation -testprog"" "" "" "ghc" "libghc-cmdargs-dev libghc-cmdargs-prof libghc-cmdargs-doc"
Don't know pkgdir for Multiple
Don't know prefix for compiler Multiple
Don't know package_libdir for Multiple
unrecognized option `--Multiple compilers not supported: '

unrecognized option `-testprog'
make: *** [configure-ghc-stamp] Error 1
/usr/share/cdbs/1/class/hlibrary.mk:104: recipe for target 'configure-ghc-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Same or similar problem for haskell-bindings-gpgme, haskell-network (!),
haskell-regex-tdfa, haskell-src-exts, haskell-gtk, haskell-texmath

This stopped my mass-upload to unstable midways.

Can you have a look?

Thanks,
Joachim

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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: