The pkg-plist seems to have orphaned entries: [helmut@BSDHelmut ~]$ sudo pkg_create -b postfix-2.8.2,1 tar: bin/mailq: Cannot stat: No such file or directory tar: bin/newaliases: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 [helmut@BSDHelmut ~]$ ls -la $(which mailq) lrwxr-xr-x 1 root wheel 21 Jul 19 2010 /usr/bin/mailq -> /usr/sbin/mailwrapper [helmut@BSDHelmut ~]$ ls -la $(which newaliases) lrwxr-xr-x 1 root wheel 29 Oct 4 13:54 /usr/bin/newaliases -> ../../usr/local/sbin/sendmail [helmut@BSDHelmut ~]$
Responsible Changed From-To: freebsd-ports-bugs->sahil Over to maintainer (via the GNATS Auto Assign Tool)
You must have set newaliases_path and mail_path to some non-default values in your main.cf which was then respected by the postfix-install script. If you do not fiddle with those values, then those so-called 'orphaned' files are indeed installed under PREFIX/bin and the package is created just fine (as evidenced by my tests as well as the pointyhat cluster). I will think about how to more gracefully handle this, but I do not have the cycles for it at the moment. Feel free to send a patch and I will consider it. -- Sahil Tandon <sahil@FreeBSD.org>
Thinking about this a bit more, it has everything to do with INSTALLATION PARAMETER INPUT METHODS as described in upstream docs. I'll try to address this over the weekend. -- Sahil Tandon <sahil@FreeBSD.org>
State Changed From-To: open->feedback Awaiting submitter feedback.
> You must have set newaliases_path and mail_path to some non-default > values in your main.cf which was then respected by the postfix-install You're right, seems I "transferred" those paths from OpenBSD into FreeBSD a few years ago. > I will think about how to more gracefully handle this, but I do not have > the cycles for it at the moment. Feel free to send a patch and I will > consider it. Will do so. Thanks, Helmut
State Changed From-To: feedback->open Submitter has provided necessary feedback.
State Changed From-To: open->closed Fixed, thanks for the report.