CPAN to Port
Craig Treleaven
ctreleaven at cogeco.ca
Tue May 15 12:58:51 PDT 2012
Hi:
My adventure continues...I'm trying to follow the cpan2port how-to
(https://trac.macports.org/wiki/howto/cpan2port) but it is not
working for me.
I tried to generate both the ports I need in one run but it must
write one over top of the other. Output from the script follows:
>>>
$ ./cpan2port -t Net::UPnP::QueryResponse Net::UPnP::ControlPoint
Net::UPnP::QueryResponse is not perl porter
Net::UPnP::QueryResponse (no description available)
Net::UPnP::QueryResponse will show deps
trying to find dist in /Users/craigtreleaven/.cpan/build/Net-UPnP-1.4.2*
---
rmd160: 0fe53463dc96280eb224d0778f1fa336136fa06a
sha256: 10595ff3e716fd3d0aa609c1304777e3a4acbc1ead983222ba8b6888ac5042f8
creating perl/p5-net-upnp/PortfileNet::UPnP::ControlPoint is not perl porter
Net::UPnP::ControlPoint (no description available)
Net::UPnP::ControlPoint will show deps
trying to find dist in /Users/craigtreleaven/.cpan/build/Net-UPnP-1.4.2*
---
rmd160: 0fe53463dc96280eb224d0778f1fa336136fa06a
sha256: 10595ff3e716fd3d0aa609c1304777e3a4acbc1ead983222ba8b6888ac5042f8
<<<
Trying to install the resulting Port file (for
Net::UPnP::ControlPoint) errored out:
>>>
$ sudo port -d build current
Password:
DEBUG: Changing to port directory:
/Users/craigtreleaven/MacPortsTemp/Dependencies/perl/p5-net-upnp
DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a
pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a
pre-existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: Re-registering default for livecheck.version
DEBUG: Re-registering default for configure.universal_args
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Changing to port directory:
/Users/craigtreleaven/MacPortsTemp/Dependencies/perl/p5-net-upnp
DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a
pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a
pre-existing procedure. Target override will not be provided
DEBUG: Using group file
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: Re-registering default for livecheck.version
DEBUG: Re-registering default for configure.universal_args
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Attempting ln -sf
/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_Dependencies_perl_p5-net-upnp/p5-net-upnp/work
/Users/craigtreleaven/MacPortsTemp/Dependencies/perl/p5-net-upnp/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 502
DEBUG: euid changed to: 506
Portfile changed since last build; discarding previous state.
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned
/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_Dependencies_perl_p5-net-upnp/p5-net-upnp
to macports
DEBUG: euid/egid changed to: 506/502
DEBUG: delete:
/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_Dependencies_perl_p5-net-upnp/p5-net-upnp/work
DEBUG: Starting logging for p5-net-upnp
---> Computing dependencies for p5-net-upnp
DEBUG: Searching for dependency: p5.12-net-upnp
DEBUG: Didn't find receipt, going to depspec regex for: p5.12-net-upnp
Error: Dependency 'p5.12-net-upnp' not found.
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
<<<<
Clearly it wants a dependency--but which one?
Help cheerfully accepted!
Craig
More information about the macports-dev
mailing list