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)
Change History (9)
comment:1 Changed 4 years ago by ghosthound
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to mojca |
---|---|
Status: | new → assigned |
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
Changed 4 years ago by ghosthound
Attachment: | patch-lang-perl5-Portfile.diff added |
---|
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
Attachment: | patch-hints-darwin_sh.2.diff added |
---|
files/5.30 version of patch-hints-darwin_sh.diff
comment:5 Changed 3 years ago by ghosthound
comment:6 Changed 3 years ago by ghosthound
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
patch appears to work fine on macOS 10.15.7 to build perl5.32 and perl5.28.