tags 404547 + moreinfo
thanks

Re: WANG Xu 2006-12-26 <[EMAIL PROTECTED]>
>   dh_install
>   cp: cannot stat `./debian/tmp/usr/bin/mutt_dotlock': No such file or 
> directory
>   dh_install: command returned error code 256
>   make: *** [binary-arch] Error 1

Hi,

it looks like the configure script disabled building the dotlock
binary because your mail spool directory has weird permissions:

> /usr/bin/make  install-exec-hook
> make[5]: Entering directory 
> `/home/gnawux/src/mutt/orig/mutt-1.5.13/obj-i486-linux-gnu'
> if test -f 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt.dotlock && 
> test -f 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt_dotlock ; then 
>    \
>               rm -f 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt.dotlock ;      
>     \
>               ln -sf 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt_dotlock 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt.dotlock ; \
>       fi
> if test -f 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt_dotlock && 
> test x != x ; then \
>               chgrp  
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt_dotlock && \
                     ^^ note the space here
>               chmod 755 
> /home/gnawux/src/mutt/orig/mutt-1.5.13/debian/tmp/usr/bin/mutt_dotlock || \
>               { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } 
> \
>       fi
> make[5]: Leaving directory 
> `/home/gnawux/src/mutt/orig/mutt-1.5.13/obj-i486-linux-gnu'

Grep for "mutt_cv_setgid" and "DOTLOCK_GROUP" in the configure.in
file to see what it actually tests.

The correct permissions should look like:

drwxrwsr-x 2 root mail 4096 2007-01-25 19:13 /var/mail/

I'm unsure if that's actually something that we should fix in the
Debian package.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to