pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45643: mail/procmail 'make package' fails
>Number: 45643
>Category: pkg
>Synopsis: mail/procmail 'make package' fails
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 22 23:30:00 +0000 2011
>Originator: River Tarnell
>Release: NetBSD 5.1.0_PATCH
>Organization:
TCX.ORG.UK
>Environment:
System: NetBSD tamara.tcx.org.uk 5.1.0_PATCH NetBSD 5.1.0_PATCH (TAMARA) #2:
Thu Aug 4 18:30:08 UTC 2011
root%tamara.tcx.org.uk@localhost:/usr/src/sys/arch/amd64/compile/TAMARA amd64
Architecture: x86_64
Machine: amd64
pkgsrc-2011Q3
>Description:
mail/procmail build fails when using destdir:
cp new/procmail new/lockfile new/formail new/mailstat
/usr/pkgsrc/mail/procmail/work/.destdir/usr/pkg/bin
chown root ${DESTDIR}/usr/pkg/bin/procmail
chgrp 1018 ${DESTDIR}/usr/pkg/bin/procmail ${DESTDIR}/usr/pkg/bin/lockfile
chmod 6755 ${DESTDIR}/usr/pkg/bin/procmail
chmod 2755 ${DESTDIR}/usr/pkg/bin/lockfile
chmod g+w ${DESTDIR}/var/mail//.
chmod: /usr/pkgsrc/mail/procmail/work/.destdir/var/mail//.: No such file or
directory
*** Error code 1
>How-To-Repeat:
cd /usr/pkgsrc/mail/procmail; make package
>Fix:
Index: patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/mail/procmail/patches/patch-ad,v
retrieving revision 1.4
diff -u -r1.4 patch-ad
--- patches/patch-ad 27 Jan 2010 18:14:05 -0000 1.4
+++ patches/patch-ad 20 Nov 2011 23:31:27 -0000
@@ -32,7 +32,7 @@
goto nogchmod;
if(chmdir)
- printf("chmod %c+w %s/.\n",chmdir==1?'g':'a',mailspooldir);
-+ printf("chmod %c+w ${DESTDIR}%s/.\n",chmdir==1?'g':'a',mailspooldir);
++ /*printf("chmod %c+w ${DESTDIR}%s/.\n",chmdir==1?'g':'a',mailspooldir);*/
nogchmod:
return EXIT_SUCCESS;
}
Home |
Main Index |
Thread Index |
Old Index