Opened 4 years ago

Closed 3 years ago

#62779 closed defect (fixed)

perl5.* fails to build on macOS 11.3 / Xcode 12.5, can be resolved for perl5.32.1

Reported by: ghosthound Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: perl5

Description

perl 5.28, 5.30, and 5.32 all fail in Configure for me on a fresh install of macOS 11.3 / Xcode 12.5. As perl5.32.1 has a fix for Configure for macOS 11, avoid the workaround for "buggy configure scripts that expect 10.x" for perl5.32.

Attachments (3)

patch-lang-perl5-Portfile.diff (2.0 KB) - added by ghosthound 4 years ago.
use patch files to back port upstream fix for macOS 11.0 to 5.28 and 5.30, do not use workaround for perl5.28 and higher.
patch-hints-darwin_sh.diff (2.0 KB) - added by ghosthound 4 years ago.
files/5.28 version of patch-hints-darwin_sh.diff
patch-hints-darwin_sh.2.diff (2.4 KB) - added by ghosthound 4 years ago.
files/5.30 version of patch-hints-darwin_sh.diff

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by ghosthound

patch appears to work fine on macOS 10.15.7 to build perl5.32 and perl5.28.

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to mojca
Status: newassigned

comment:3 Changed 4 years ago by jmroot (Joshua Root)

I think vercmp needs to be used when comparing the perl version as well.

comment:4 Changed 4 years ago by ghosthound

I think I have a better solution - I've back ported the fix in perl 5.32.1 to 5.30 and 5.28. See new attached patch and files.

tested on:

macOS 11.3 / Xcode 12.5 for perl 5.28, 5.30, and 5.32 - all compile and install

macOS 10.15.7 / Xcode 12.4 for perl 5.28, 5.30, and 5.32 - all compile and install

Last edited 4 years ago by ghosthound (previous) (diff)

Changed 4 years ago by ghosthound

use patch files to back port upstream fix for macOS 11.0 to 5.28 and 5.30, do not use workaround for perl5.28 and higher.

Changed 4 years ago by ghosthound

Attachment: patch-hints-darwin_sh.diff added

files/5.28 version of patch-hints-darwin_sh.diff

Changed 4 years ago by ghosthound

files/5.30 version of patch-hints-darwin_sh.diff

comment:5 Changed 3 years ago by ghosthound

In 9587791e43977ed408021567ff0baaceec4cafe6/macports-ports (master):

lang/perl5: add patch from perl 5.32 that lets perl5 build on macOS 11.3.x/Xcode 12.5.
Also tested on macOS 10.15.7.
resolves #62779

comment:6 Changed 3 years ago by ghosthound

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.