Package: mutt
Version: 1.5.11+cvs20060403-2
Severity: normal
Tags: patch

I keep sources in CVS and build from working directory.
That way there's a CVS/ directory in every subdirectory
of mutt's source.

debian/rules does not expect this to happen, and has
some places where /* is shell expanded and fed to cat,
awk and so on. This leads to build failure.

I have a workaround patch.

-- 
WBR,
xrgtn

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32-grsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages mutt depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libdb4.4                      4.4.20-3   Berkeley v4.4 Database Libraries [
ii  libgnutls12                   1.2.9-2    the GNU TLS library - runtime libr
ii  libidn11                      0.5.18-2   GNU libidn library, implementation
ii  libncursesw5                  5.5-1      Shared libraries for terminal hand
ii  libsasl2                      2.1.19-1.9 Authentication abstraction library
ii  postfix [mail-transport-agent 2.2.9-1    A high-performance mail transport 

Versions of packages mutt recommends:
ii  locales                       2.3.6-3    GNU C Library: National Language (
ii  mime-support                  3.36-1     MIME files 'mime.types' & 'mailcap

-- no debconf information
Index: debian/rules
===================================================================
RCS file: /var/lib/cvs/deb/mutt/debian/rules,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -p -r1.1.1.1 -r1.1.1.1.2.1
--- debian/rules        11 Apr 2006 15:04:28 -0000      1.1.1.1
+++ debian/rules        11 Apr 2006 21:11:43 -0000      1.1.1.1.2.1
@@ -147,9 +147,10 @@ debian/tmp/install-stamp:
        rm -rf debian/tmp/usr/share/doc/samples/iconv
        rm -rf debian/tmp/usr/share/doc/samples/ca-bundle.crt
        
-       chmod +x debian/extra/lib/*
+       find debian/extra/lib/ -maxdepth 1 -type f -print0 | xargs -0 chmod +x
        chmod +x debian/header.awk
-       debian/header.awk debian/patches/features/* >debian/tmp/README.Patches
+       find debian/patches/features/ -maxdepth 1 -type f -print0\
+               | xargs -0 debian/header.awk >debian/tmp/README.Patches
        
        cp $(objdir)/Muttrc.head debian/tmp/Muttrc
        echo "# GnuPG configuration" >>debian/tmp/Muttrc
@@ -157,7 +158,7 @@ debian/tmp/install-stamp:
                | sed -e 's#pgpewrap#/usr/lib/mutt/pgpewrap#' \
                | sed -e 's#/usr/bin/gpg#gpg#' \
                >> debian/tmp/Muttrc
-       cat debian/extra/rc/* >>debian/tmp/Muttrc
+       cat debian/extra/rc/*.rc >>debian/tmp/Muttrc
        
        touch $@
 

Reply via email to