[MacPorts] #60106: nodejs12, nodejs13: error: use of undeclared identifier 'MAP_ANONYMOUS'
MacPorts
noreply at macports.org
Thu Mar 26 19:58:34 UTC 2020
#60106: nodejs12, nodejs13: error: use of undeclared identifier 'MAP_ANONYMOUS'
-------------------------+-------------------------------------------------
Reporter: dubiousjim | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: snowleopard lion mountainlion
Port: nodejs13 | mavericks yosemite haspatch
-------------------------+-------------------------------------------------
Changes (by ryandesign):
* keywords: snowleopard lion mountainlion mavericks yosemite =>
snowleopard lion mountainlion mavericks yosemite haspatch
Old description:
> 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.
New description:
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 [https://github.com/eclipse/omr/issues/902
this discussion], 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#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list