Problems building p5-module-build

Rodolfo Aramayo raramayo at gmail.com
Sun Feb 20 10:28:30 PST 2011


Hi,

I issued the following commands:

sudo port selfupdate
sudo port upgrade outdated

and get the following error:

--->  Computing dependencies for p5-module-build
--->  Building p5-module-build
Error: Target org.macports.build returned: shell command failed (see
log for details)
Log for p5-module-build is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-module-build/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

the last 50 lines of the main.log file state:

==
version:1
:msg:main --->  Computing dependencies for p5-module-build:info:main
.:debug:main Searching for dependency: perl5
:debug:main Didn't find receipt, going to depspec regex for: perl5
:debug:main Found Dependency: path: /opt/local/bin filename: perl regex: ^perl$
:debug:main Found Dependency: path: /opt/local/bin filename: perl regex: ^perl$
:debug:main Searching for dependency: p5-yaml
:debug:main Found Dependency: receipt exists for p5-yaml
:debug:main Searching for dependency: p5-extutils-cbuilder
:debug:main Found Dependency: receipt exists for p5-extutils-cbuilder
:debug:main Searching for dependency: p5-extutils-parsexs
:debug:main Found Dependency: receipt exists for p5-extutils-parsexs
:debug:main Searching for dependency: p5-module-metadata
:debug:main Found Dependency: receipt exists for p5-module-metadata
:debug:main Searching for dependency: p5-perl-ostype
:debug:main Found Dependency: receipt exists for p5-perl-ostype
:debug:main Searching for dependency: p5-cpan-meta-yaml
:debug:main Found Dependency: receipt exists for p5-cpan-meta-yaml
:msg:main
:debug:main Executing org.macports.main (p5-module-build)
:debug:main Skipping completed org.macports.fetch (p5-module-build)
:debug:main Skipping completed org.macports.checksum (p5-module-build)
:debug:main Skipping completed org.macports.extract (p5-module-build)
:debug:main Skipping completed org.macports.patch (p5-module-build)
:debug:main Skipping completed org.macports.configure (p5-module-build)
:msg:main --->  Building p5-module-build
:debug:build build phase started at Sun Feb 20 12:22:41 CST 2011
:debug:build Executing org.macports.build (p5-module-build)
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-module-build/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-module-build/work/Module-Build-0.3624"
&& /opt/local/bin/perl Build build'
:info:build version version 0.87 required--this is only version 0.85
at /opt/local/lib/perl5/vendor_perl/5.12.2/Module/Metadata.pm line 19.
:info:build BEGIN failed--compilation aborted at
/opt/local/lib/perl5/vendor_perl/5.12.2/Module/Metadata.pm line 19.
:info:build Compilation failed in require at
lib/Module/Build/ModuleInfo.pm line 10.
:info:build Compilation failed in require at lib/Module/Build/Base.pm line 23.
:info:build BEGIN failed--compilation aborted at
lib/Module/Build/Base.pm line 23.
:info:build Compilation failed in require at lib/Module/Build.pm line 15.
:info:build BEGIN failed--compilation aborted at lib/Module/Build.pm line 15.
:info:build Compilation failed in require at Build line 42.
:info:build BEGIN failed--compilation aborted at Build line 42.
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-module-build/work/Module-Build-0.3624"
&& /opt/local/bin/perl Build build " returned error 255
:error:build Target org.macports.build returned: shell command failed
(see log for details)
:debug:build Backtrace: shell command failed (see log for details)
   while executing
==

Any help or ideas on how to overcome this error will be appreciated

Thanks

--Rodolfo


More information about the macports-users mailing list