Ticket #24185 (closed defect: fixed)
Unable to build p5-mail-spf on 10.5
| Reported by: | henrik@… | Owned by: | compconsultant@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | haspatch | Cc: | ryandesign@… |
| Port: | p5-mail-spf |
Description (last modified by jmr@…) (diff)
Sorry if this ticket ends up at the wrong place but I couldn't find any other place to post a bug. I'm trying to build p5-mail-spf on a 10.5 system, latest Macports and latest Developer tools (3.1.4). It complains about "Net::DNS::Resolver::Programmable" not being installed, but prior to running the code below the p5-net-dns has indeed been installed without problems.
Command line output,
bash-3.2$ sudo port install p5-mail-spf
---> Computing dependencies for p5-mail-spf
---> Configuring p5-mail-spf
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-mail-spf/work/Mail-SPF-v2.006" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 255
Command output: # running Build.PL --installdirs vendor
Checking prerequisites...
build_requires:
! Net::DNS::Resolver::Programmable is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Run 'Build installdeps' to install missing prerequisites.
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Mail-SPF' version 'v2.6.0'
Prereq 'v0.002.1' for 'Net::DNS::Resolver::Programmable' is not supported by Module::Build::Compat
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
bash-3.2$
Any ideas of what's causing this or how to get around it?
Attachments
Change History
Changed 3 years ago by brad@…
- Attachment patch-Build.PL.diff added
updated patch-Build.PL.diff that fixes older perl version strings.
comment:2 follow-up: ↓ 7 Changed 3 years ago by brad@…
This port conflicts with p5-mail-spf-query on /opt/local/bin/spfquery.
comment:3 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to compconsultant@…
- Keywords haspatch added
- Description modified (diff)
Please remember to preview and use WikiFormatting, and to cc the maintainer.
comment:5 Changed 3 years ago by jowens@…
I applied this patch manually and confirm it fixes the problem.
Note: See
TracTickets for help on using
tickets.


This link fixes this problem. I'm just trying to help and don't use any of this stuff and I didn't know how to grab the diff but I manually implemented the diff and p5-mail-spf builds.
http://github.com/toddr/Mail-SPF/commit/7fbde4f5cbf4d989ccd477e63a83d84ceccb2439#diff-0
I also created a local p5-net-dns-relsolver-programmable port and installed it but I don't know that was nessacary.