Solved [Solved] make failed for net/p5-Socket

Hello everyone,

I decided to to switch from non threaded Perl to threaded Perl, as described in the /usr/ports/UPDATING entry of 20131120. I'm not sure it was necessary, but still I did it.

So I ran make -C /usr/ports/lang/perl5.16 config and then portmaster -r perl5- and after a while the compilation stops this way:
Code:
===>>> Launching child to reinstall p5-Socket-2.013

===>>> Updating dependent ports >> ports-mgmt/portshaker >> devel/git >> p5-Net-SMTP-SSL-1.01_1 >> security/p5-IO-Socket-SSL >> p5-IO-Socket-IP-0.24 >> p5-Socket-2.013 (12/132)
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file

===>>> Currently installed version: p5-Socket-2.013
===>>> Port directory: /usr/ports/net/p5-Socket

===>>> Starting check for build dependencies
===>>> Gathering dependency list for net/p5-Socket from ports
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
===>>> Dependency check complete for net/p5-Socket

===>>> Updating dependent ports >> ports-mgmt/portshaker >> devel/git >> p5-Net-SMTP-SSL-1.01_1 >> security/p5-IO-Socket-SSL >> p5-IO-Socket-IP-0.24 >> p5-Socket-2.013 (12/132)

===>  Cleaning for p5-Socket-2.013
===>  License ART10 GPLv1 accepted by the user
===>   p5-Socket-2.013 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by p5-Socket-2.013 for building
===>  Extracting for p5-Socket-2.013
=> SHA256 Checksum OK for Socket-2.013.tar.gz.
===>  Patching for p5-Socket-2.013
===>   p5-Socket-2.013 depends on file: /usr/local/bin/perl5.16.3 - found
===>  Configuring for p5-Socket-2.013
Attempt to reload Socket.pm aborted.
Compilation failed in require at /usr/local/lib/perl5/5.16/IPC/Cmd.pm line 46.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.16/IPC/Cmd.pm line 46.
Compilation failed in require at /usr/local/lib/perl5/5.16/ExtUtils/CBuilder/Base.pm line 11.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.16/ExtUtils/CBuilder/Base.pm line 11.
Compilation failed in require at /usr/local/lib/perl5/5.16/ExtUtils/CBuilder/Platform/Unix.pm line 4.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.16/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

===>>> Update for p5-Socket-2.013 failed
===>>> Aborting update

===>>> Update for p5-IO-Socket-IP-0.24 failed
===>>> Aborting update

===>>> Update for security/p5-IO-Socket-SSL failed
===>>> Aborting update

===>>> Update for p5-Net-SMTP-SSL-1.01_1 failed
===>>> Aborting update

===>>> Update for devel/git failed
===>>> Aborting update

===>>> Update for ports-mgmt/portshaker failed
===>>> Aborting update

===>>> Update for portshaker-config-1.0.8 failed
===>>> Aborting update

===>>> Killing background jobs
Terminated
===>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed.
What can be done to solve this issue? Thanks for any clue!
 
Re: make failed for net/p5-Socket

Thanks a lot for this extremely quick reply! I have recompiled lang/perl5.16 alone, this worked fine. But portmaster -R -r lang/perl5.16 did return:
Code:
===>>> The argument to -r must be a package name, or a glob pattern
===>>> Aborting update

===>>> Killing background jobs
Terminated
===>>> Exiting

So I tried portmaster -R -r perl5-, but it produced the same error as in my first post :\
 
Back
Top