Opened 5 years ago

Closed 5 years ago

#59267 closed defect (duplicate)

[port] [2.6.1] [Cannot install Perl5]

Reported by: seanngpack (sean ng pack) Owned by: seanngpack (sean ng pack)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: perl5.28

Description (last modified by seanngpack (sean ng pack))

Hello all,

I am running macOS Catalina and I'm trying to install CMake using ports, but it breaks when trying to install Perl5.

$sudo port install cmake

--->  Fetching archive for perl5.28
--->  Attempting to fetch perl5.28-5.28.2_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/perl5.28
--->  Attempting to fetch perl5.28-5.28.2_0.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/perl5.28
--->  Attempting to fetch perl5.28-5.28.2_0.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/perl5.28
--->  Building perl5.28
Error: Failed to build perl5.28: command execution failed

I also tried installing perl5 using ports. And it gives me the same error message.

$sudo port install perl5

Here is a snippet of the main.log file I attached:

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.28/work/perl-5.28.2" && /usr/bin/make -j12 -w all 
:info:build Exit code: 2
:error:build Failed to build perl5.28: command execution failed
:debug:build Error code: CHILDSTATUS 39504 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

There is another thread that discusses my CMake issue, but it seems like that person was able to get Perl5 installed: https://trac.macports.org/ticket/58572#no2

Any help would be appreciated! Thanks!

NEVER MIND IT WORKS NOW AFTER SOME DIGGING THROUGH THE OPEN TICKETS

sudo port clean --all perl5.28

sudo port install perl5.28 use_parallel_build=no

Attachments (1)

main.log (1.5 MB) - added by seanngpack (sean ng pack) 5 years ago.
error log

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by seanngpack (sean ng pack)

Attachment: main.log added

error log

comment:1 Changed 5 years ago by seanngpack (sean ng pack)

Description: modified (diff)

comment:2 Changed 5 years ago by seanngpack (sean ng pack)

Description: modified (diff)

comment:3 Changed 5 years ago by francochiorazi (franco chiorazi)

Same problem

comment:4 Changed 5 years ago by seanngpack (sean ng pack)

update: so running the command sudo port install perl5.30 @5.30.0_1 successfully installs perl 5.30. However when I try to install other libraries such as CMake and vtk, they still break because they require perl 5.28

comment:5 Changed 5 years ago by seanngpack (sean ng pack)

Description: modified (diff)
Owner: set to seanngpack
Status: newassigned

comment:6 Changed 5 years ago by jmroot (Joshua Root)

Port: perl5.28 added
Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.