Bug#536589: support for DEB_BUILD_OPTIONS=parallel=n broken
Package: haskell-devscripts
Version: 0.6.15+nmu11
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
haskell-devscripts has support for DEB_BUILD_OPTIONS=parallel=n, but
it’s broken:
LD_OPTIONS=parallel=2 fakeroot debian/rules binary-arch
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -a
# Add here commands to install the package into debian/tmp
dh_haskell -a
Generating meta-information...
ghc-6.10.3 /usr/lib/haskell-packages/ghc6/lib/hslogger-1.0.8 hslogger 1.0.8
******************************************
CONFIGURING libghc6-hslogger-dev FOR ghc6
******************************************
cleaning...
/tmp/hslogger-1.0.8/contrib/java:
/tmp/hslogger-1.0.8/contrib/java/org:
/tmp/hslogger-1.0.8/contrib/java/org/haskell:
/tmp/hslogger-1.0.8/contrib/java/org/haskell/hslogger:
/tmp/hslogger-1.0.8/src/System:
/tmp/hslogger-1.0.8/src/System/Log:
/tmp/hslogger-1.0.8/src/System/Log/Handler:
Configuring hslogger-1.0.8...
******************************************
BUILDING libghc6-hslogger-dev FOR ghc6
******************************************
Preprocessing library hslogger-1.0.8...
Preprocessing executables for hslogger-1.0.8...
Generating Makefile hslogger-1.0.8...
setup: Not overwriting existing copy of Makefile
dh_haskell_build: ./setup returned exit code 1
make: *** [install] Fehler 1
At least for packages that happen to ship a Makefile.
Note that support for this is disabled in hlibrary.mk, so most packages
are not affected, only those who call dh_haskell, such as hdbc-odbc and
hslogger. This causes breakage on the s390 buildd.
Possible solutions are:
a) Fix it somehow in haskell-devscripts.
b) Remove the support again in haskell-devscripts.
c) Fix it, and use it in hlibrary.mk
I don’t like a), because it makes packages using hlibrary.mk and
dh_haskell behave differently. c) sounds good, but there were probably
good reasons for the removal in hlibrary.mk. b) is the probably the
quickest option for now.
Greetings,
Joachim
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages haskell-devscripts depends on:
ii cdbs 0.4.56 common build system for Debian pac
ii dctrl-tools 2.13.1 Command-line tools to process Debi
ii debhelper 7.2.21 helper programs for debian/rules
ii ghc6 6.10.3-3 GHC - the Glasgow Haskell Compilat
ii html-xml-utils 5.3-3 HTML and XML manipulation utilitie
ii perl 5.10.0-23 Larry Wall's Practical Extraction
ii xutils-dev 1:7.4+4 X Window System utility programs f
haskell-devscripts recommends no packages.
haskell-devscripts suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpYefkACgkQ9ijrk0dDIGwVWACfUpr8wlcc2OTabKtvrOPzqAu3
sNEAnRFHlkBxGo5LFi+9IrojCoUgyQTk
=123D
-----END PGP SIGNATURE-----
Reply to: