Source: idjc
Version: 0.8.5-1
Severity: important
Justification: future ftbfs
Tags: upstream patch

Hi again,

With dash in experimental as /bin/sh, this package fails to build from
source.  (Please forgive my laziness in omitting the corresponding
error message.)  The problem can also be experienced with dash from
sid by overriding autoconf's choice of shell:

        CONFIG_SHELL=/bin/dash debian/rules build

See for details.

The cause seems to be use of the ksh-invented &> operator in  Shells like dash interpret it as a request to run in
the background (&) and redirect stdout (>); to redirect both stdout
and stderr one has to use the more precise ">/dev/null 2>&1", as in
the patch below.

With the changes below applied, the package builds again.  If there is
additional information that would be useful, please feel free to ask.

Jonathan |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ b/
index d681377..828c019 100644
--- a/
+++ b/
@@ -50,7 +50,7 @@ if test $makeffmpeg != "no" ; then
             AC_SUBST(HAVE_AVCODEC, 1)
             AC_MSG_CHECKING([for avcodec.h in legacy ffmpeg directory])
-            gcc `pkg-config --cflags libavcodec` ffmpeg_avcodec.c -o /dev/null 
&> /dev/null
+            gcc `pkg-config --cflags libavcodec` ffmpeg_avcodec.c -o /dev/null 
>/dev/null 2>&1
             if test $? -eq 0 ; then
                 AC_DEFINE(FFMPEG_AVCODEC, 1, [if set use legacy include file 
@@ -108,7 +108,7 @@ fi
 PKG_CHECK_MODULES([PYGTK], [pygtk-2.0 >= 2.6.0])
 AC_MSG_CHECKING([for mutagen])
-python -c "import mutagen" &>/dev/null
+python -c "import mutagen" >/dev/null 2>&1
 if test $? -ne 0 ; then
     AC_MSG_ERROR([required dependency (mutagen / python-mutagen) is missing])

pkg-multimedia-maintainers mailing list

Reply via email to