[MacPorts] #58893: nodejs12 @12.9.1: error: use of undeclared identifier 'strnlen'

MacPorts noreply at macports.org
Tue Aug 27 18:04:18 UTC 2019


#58893: nodejs12 @12.9.1: error: use of undeclared identifier 'strnlen'
-------------------------+----------------------
 Reporter:  ryandesign   |      Owner:  ci42
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  snowleopard  |       Port:  nodejs12
-------------------------+----------------------
 [https://build.macports.org/builders/ports-10.6_i386_legacy-
 builder/builds/68906/steps/install-port/logs/stdio nodejs12 does not build
 on Mac OS X 10.6]:

 {{{
 ../deps/v8/src/utils/vector.h:250:29: error: use of undeclared identifier
 'strnlen'
   return Vector<char>(data, strnlen(data, max));
                             ^
 1 error generated.
 }}}

 The legacy support portgroup provides an implementation of this function.

 I have not checked the other node versions.

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


More information about the macports-tickets mailing list