Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#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 (Ryan Carsten Schmidt)
Port: p5-mail-spf

Description (last modified by jmroot (Joshua Root))

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 (1)

patch-Build.PL.diff (836 bytes) - added by pixilla (Bradley Giesbrecht) 15 years ago.
updated patch-Build.PL.diff that fixes older perl version strings.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by pixilla (Bradley Giesbrecht)

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 15 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-Build.PL.diff added

updated patch-Build.PL.diff that fixes older perl version strings.

comment:2 Changed 15 years ago by pixilla (Bradley Giesbrecht)

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

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to compconsultant@…

Please remember to preview and use WikiFormatting, and to cc the maintainer.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Could be a partial dupe of #18634 as well?

comment:5 Changed 15 years ago by jowens@…

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

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
  • 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

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.