pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48913: "libmilter" and "sendmail" can no longer be built as an unprivileged user
>Number: 48913
>Category: pkg
>Synopsis: "libmilter" and "sendmail" can no longer be built as an
>unprivileged user
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 16 11:15:00 +0000 2014
>Originator: Matthias Scheler
>Release: NetBSD 6.1_STABLE pkgsrc HEAD from 2014-06-16 ~7:00 UTC
>Organization:
Matthias Scheler https://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 6.1_STABLE NetBSD 6.1_STABLE (COLWYN.64)
#1: Tue Apr 22 19:58:32 BST 2014
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
Both "mail/sendmail" ...
Making install in:
/objdir/tron/mail/sendmail/work.colwyn/sendmail-8.14.9/vacation
Configuration: pfx=, os=NetBSD, rel=6.1_STABLE, rbase=6, rroot=6.1_STABLE,
arch=amd64, sfx=, variant=optimized
Making in
/objdir/tron/mail/sendmail/work.colwyn/sendmail-8.14.9/obj.NetBSD.6.1_STABLE.amd64/vacation
install -c -o bin -g bin -m 555 vacation
/objdir/tron/mail/sendmail/work.colwyn/.destdir/usr/pkg/bin
install: /objdir/tron/mail/sendmail/work.colwyn/.destdir/usr/pkg/bin/vacation:
chown/chgrp: Operation not permitted
*** Error code 1
... and "mail/libmilter" ...
Making in
/objdir/tron/mail/libmilter/work.colwyn/sendmail-8.14.9/obj.NetBSD.6.1_STABLE.amd64/libmilter
if [ ! -d
/objdir/tron/mail/libmilter/work.colwyn/.destdir/usr/pkg/include/libmilter ];
then mkdir -p
/objdir/tron/mail/libmilter/work.colwyn/.destdir/usr/pkg/include/libmilter;
else :; fi
install -c -o root -g bin -m 0444 ../../include/libmilter/mfapi.h
/objdir/tron/mail/libmilter/work.colwyn/.destdir/usr/pkg/include/libmilter/mfapi.h
install:
/objdir/tron/mail/libmilter/work.colwyn/.destdir/usr/pkg/include/libmilter/mfapi.h:
chown/chgrp: Operation not permitted
*** Error code 1
.. can no longer be built as an unprivileged user. This worked fine with
version 8.14.8* of both packages.
>How-To-Repeat:
cd pkgsrc/mail/libmilter
make USE_DESTDIR=yes package
cd pkgsrc/mail/sendmail
make USE_DESTDIR=yes package
>Fix:
Setting "PKG_DESTDIR_SUPPORT" to "destdir" in "mail/sendmail/Makefile.common"
would prevent the build failure. But it would still be a regression compared
to the previous version.
Home |
Main Index |
Thread Index |
Old Index