New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24185 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

patch-Build.PL.diff (836 bytes) - added by brad@… 3 years ago.
updated patch-Build.PL.diff that fixes older perl version strings.

Change History

comment:1 Changed 3 years ago by brad@…

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.

Changed 3 years ago by brad@…

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:4 Changed 3 years ago by jmr@…

Could be a partial dupe of #18634 as well?

comment:5 Changed 3 years ago by jowens@…

I applied this patch manually and confirm it fixes the problem.

comment:6 Changed 3 years ago by ryandesign@…

  • Cc ryandesign@… added
  • Status changed from new to closed
  • Resolution set to fixed
  • r68710: p5-net-dns-resolver-programmable added
  • r68712: p5-mail-spf updated to 2.007, "v" removed from version number, dependency on p5-net-dns-resolver-programmable added, supported_archs noarch added, build with older perl fixed using patch in this ticket

comment:7 in reply to: ↑ 2 Changed 3 years ago by ryandesign@…

Replying to brad@…:

This port conflicts with p5-mail-spf-query on /opt/local/bin/spfquery.

I filed #25211 for this.

Note: See TracTickets for help on using tickets.