Package: cowdancer
Version: 0.56+a1
Severity: normal
Tags: patch

Hello,

The cowdancer test suite uses "set -o pipefail", which is not
available in dash, making it fail when /bin/sh is dash. I haven't
found an equivalent of this option in dash, but a very easy way to fix
this is to make the Makefile explicitly use bash, as the attached
patch suggests.

Cheers,

-- 
Stephane

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cowdancer depends on:
ii  cowbuilder                    0.56+a1    pbuilder running on cowdancer
ii  libc6                         2.9-12     GNU C Library: Shared libraries

cowdancer recommends no packages.

cowdancer suggests no packages.

-- no debconf information
commit 29e73641d0ab68bc64522aeda5ae3ab36a91ecc1
Author: Stephane Glondu <st...@glondu.net>
Date:   Tue Jun 9 13:59:08 2009 +0200

    Makefile uses explicitly non-standard option pipefail, force use of bash

diff --git a/Makefile b/Makefile
index 8455f1c..9c8cfeb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+SHELL=/bin/bash
 BINARY=libcowdancer.so cow-shell cowbuilder qemubuilder cowdancer-ilistcreate \
        cowdancer-ilistdump
 INSTALL_DIR=install -d -o root -g root -m 755

Reply via email to