Solved [Solved] Upgrade of p5-Socket build fail

Hello,

I'm using FreeBSD 9.2 and I'm trying to update my ports. Unfortunately, the build of p5-Socket fails. Here is the output :
Code:
]0;portmaster: p5-Socket-2.013
===>>> Currently installed version: p5-Socket-2.013
===>>> Port directory: /usr/ports/net/p5-Socket

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for net/p5-Socket in background
===>>> Gathering dependency list for net/p5-Socket from ports

===>>> The dependency for lang/perl5.18
       seems to be handled by perl5.18-5.18.2_3

===>>> Initial dependency check complete for net/p5-Socket

]0;portmaster: p5-Socket-2.013
===>>> Starting build for net/p5-Socket <<<===

===>>> All dependencies are up to date

===>  Cleaning for p5-Socket-2.014
===>  License ART10 GPLv1 accepted by the user
===>   p5-Socket-2.014 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by p5-Socket-2.014 for building
===>  Extracting for p5-Socket-2.014
=> SHA256 Checksum OK for Socket-2.014.tar.gz.
===>  Patching for p5-Socket-2.014
===>   p5-Socket-2.014 depends on file: /usr/local/bin/perl5.18.2 - found
===>  Configuring for p5-Socket-2.014
Attempt to reload Socket.pm aborted.
Compilation failed in require at /usr/local/lib/perl5/5.18/IPC/Cmd.pm line 46.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.18/IPC/Cmd.pm line 46.
Compilation failed in require at /usr/local/lib/perl5/5.18/ExtUtils/CBuilder/Base.pm line 11.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.18/ExtUtils/CBuilder/Base.pm line 11.
Compilation failed in require at /usr/local/lib/perl5/5.18/ExtUtils/CBuilder/Platform/Unix.pm line 4.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.18/ExtUtils/CBuilder/Platform/Unix.pm line 4.
Compilation failed in require at (eval 9) line 2.
BEGIN failed--compilation aborted at (eval 9) line 2.
Compilation failed in require at ./Makefile.PL line 19.
*** [do-configure] Error code 255

Stop in /usr/ports/net/p5-Socket.

===>>> make failed for net/p5-Socket
===>>> Aborting update

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net/p5-Socket



Can someone help me sort it out please ?
Thanks.

edit : output of perl -E'say for @INC'
Code:
/usr/local/lib/perl5/5.18/BSDPAN
/usr/local/lib/perl5/site_perl/5.18/mach
/usr/local/lib/perl5/site_perl/5.18
/usr/local/lib/perl5/5.18/mach
/usr/local/lib/perl5/5.18

edit2: I finally managed to update this software by moving the Socket.pm file (in /usr/local/lib/perl5/5.18/site_perl/5.18/mach/Socket.pm) to something else. And then portmaster -r perl5. But I guess here a portmaster p5-Socket would have worked, too.
 
Back
Top