Bug 205245 - mail/postfix-policyd-spf-perl: Install fails: spfquery.pl.1.gz not found (path incorrect)
Summary: mail/postfix-policyd-spf-perl: Install fails: spfquery.pl.1.gz not found (pat...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-12-11 12:04 UTC by Kyle J. Farmer
Modified: 2015-12-15 02:13 UTC (History)
1 user (show)

See Also:
ports.maintainer: maintainer-feedback+
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle J. Farmer 2015-12-11 12:04:37 UTC
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.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-11 12:21:33 UTC
Thanks Kyle,

Can you include (as an attachment) a log of the failed installation please?
Comment 2 ports.maintainer 2015-12-12 23:31:27 UTC
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.
Comment 3 Kyle J. Farmer 2015-12-14 21:46:28 UTC
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.
Comment 4 ports.maintainer 2015-12-14 23:56:43 UTC
(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.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-15 02:13:44 UTC
@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