Go to install the port and it looks for a file in p5-Mail-SPF; This file doesn't exist because the path is different. cp /usr/ports/mail/p5-Mail-SPF/work/stage/usr/local/man/man1/spfquery.pl.1.gz /usr/ports/mail/p5-Mail-SPF/work/stage/usr/local/share/man/man1/ The above works as it adds the correct file to the path.
Thanks Kyle, Can you include (as an attachment) a log of the failed installation please?
I can't reproduce this. The port uses package-based dependencies, not file-based. I would need to see a full capture of `make all install` to further help you solve this.
I tried this on another mail server in our farm(older) and I'm getting a different error. I captured the below; ===> Staging for postfix-policyd-spf-perl-2.010_1 ===> postfix-policyd-spf-perl-2.010_1 depends on package: p5-Mail-SPF>=2.006 - not found ===> p5-Mail-SPF-2.9.0_3 depends on package: p5-Error>=0 - not found ===> Installing for p5-Error-0.17024 ===> p5-Error-0.17024 depends on file: /usr/local/bin/perl5.16.3 - found ===> Checking if p5-Error already installed ===> Registering installation for p5-Error-0.17024 as automatic pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/Error.pm: No such file or directory pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/Error/Simple.pm: No such file or directory pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/man/man3/Error.3.gz: No such file or directory pkg-static: Unable to access file /usr/ports/lang/p5-Error/work/stage/usr/local/lib/perl5/site_perl/man/man3/Error::Simple.3.gz: No such file or directory *** [fake-pkg] Error code 74 Stop in /usr/ports/lang/p5-Error. *** [build-depends] Error code 1 Stop in /usr/ports/mail/p5-Mail-SPF. *** [run-depends] Error code 1 Stop in /usr/ports/mail/postfix-policyd-spf-perl. This looks specific to perl as certain files do not exists in this case. I cannot reproduce the error from the new mail server farm which is on perl5.22, I do know I was able to create the folder as I mention above for p5-Mail-SPF and all worked well.
(In reply to Kyle J. Farmer from comment #3) My guess is you have a broken ports tree or stale work files. This does not look like a problem with mail/postfix-policyd-spf-perl as the errors occur once make has descended into the dependency ports. A tree-wide clean might help. Next I would try grabbing a fresh ports tree (set aside the old one and download a whole new tree using svn or portsnap). If that doesn't fix it, you can try clearing the pkg cache and reinstalling perl and p5-*, etc., or take it to ports@ for guidance. I believe this issue is no longer within the scope of this bug report.
@Kyle, if you are able to provide steps to reproduce the issue, or additional evidence to isolate an issue in this port, we welcome you to re-open this issue