[MacPorts] #60106: nodejs12/13 fail to build on older OSX

MacPorts noreply at macports.org
Tue Feb 18 19:54:03 UTC 2020


#60106: nodejs12/13 fail to build on older OSX
------------------------+----------------------
 Reporter:  dubiousjim  |      Owner:  ci42
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  nodejs13
------------------------+----------------------
 A recent attempt to upgrade from nodejs12 @12.15.0_0 to @12.16.0_0, and an
 attempt to (build and) install nodejs13 @13.8.0_0 failed with a similar
 error. The logs for each attempt end with errors about the presence of the
 macro `MAP_ANONYMOUS` in src/large_pages/node_large_page.cc. (I've already
 discarded the log, and am disinclined to wait the several hours it takes
 to get that far in the failed build.) Apparently this macro is undefined
 on older OSXs. I'm using Mac 10.10.5.

 I searched on that, and found [this
 discussion](https://github.com/eclipse/omr/issues/902), which prompted me
 to create the attached patch and attempt the build again. With the
 Portfile modified to include that patch, both nodejs12 and nodejs13 were
 able to build and install.

-- 
Ticket URL: <https://trac.macports.org/ticket/60106>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list