[MacPorts] #28561: nodejs: build fails when tidy is installed

MacPorts noreply at macports.org
Sun Feb 27 06:04:05 PST 2011


#28561: nodejs: build fails when tidy is installed
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  ceager@…        
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:                  
Component:  ports                    |     Version:  1.9.2           
 Keywords:                           |        Port:  nodejs          
-------------------------------------+--------------------------------------
 The nodejs build fails when the tidy port is installed.

 {{{
 :info:build ../src/node.cc: In function 'void node::CheckStatus(ev_timer*,
 int)':
 :info:build ../src/node.cc:1468: error: 'Platform' has not been declared
 :info:build ../src/node.cc: In function 'v8::Handle<v8::Value>
 node::MemoryUsage(const v8::Arguments&)':
 :info:build ../src/node.cc:1493: error: 'Platform' has not been declared
 :info:build ../src/node.cc: In function 'v8::Handle<v8::Value>
 node::ProcessTitleGetter(v8::Local<v8::String>, const v8::AccessorInfo&)':
 :info:build ../src/node.cc:1805: error: 'Platform' has not been declared
 :info:build ../src/node.cc: In function 'void
 node::ProcessTitleSetter(v8::Local<v8::String>, v8::Local<v8::Value>,
 const v8::AccessorInfo&)':
 :info:build ../src/node.cc:1815: error: 'Platform' has not been declared
 :info:build ../src/node.cc: In function 'void node::Load(int, char**)':
 :info:build ../src/node.cc:1996: error: 'Platform' has not been declared
 :info:build ../src/node.cc: In function 'int node::Start(int, char**)':
 :info:build ../src/node.cc:2226: error: 'node::Platform' has not been
 declared
 }}}

 I think this is because the tidy port provides
 /opt/local/include/platform.h, and nodejs uses

 {{{
 #include <platform.h>
 }}}

 but it expects to be getting the platform.h provided in its source files
 instead. Perhaps nodejs should use

 {{{
 #include "platform.h"
 }}}

 instead.

-- 
Ticket URL: <https://trac.macports.org/ticket/28561>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list