On Tue, 12 Apr 2011, STeve Andre' wrote:

>    I'm curious if someone will throw me a clue here.  www/node doesn't
> build:
> 
> c++ -o obj/release/compiler.o -c -O2 -pipe -Wall -Werror -W
> -Wno-unused-parameter -Wnon-virtual-dtor -m32 -O3 -fomit-frame-pointer
> -fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -Wall
> -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -m32 -O3
> -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
> -DV8_TARGET_ARCH_IA32 -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING
> -DENABLE_DEBUGGER_SUPPORT -I/usr/local/include
> -I/usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src
> /usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src/compiler.cc
> cc1plus: warnings being treated as errors
> /usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src/compiler.cc: In function
> 'void
> v8::internal::FinishOptimization(v8::internal::Handle<v8::internal::JSFunction>,
> int64_t)':
> /usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src/compiler.cc:142: warning:
> format '%x' expects type 'unsigned int', but argument 2 has type 'intptr_t'
> /usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src/compiler.cc: In function
> 'void v8::internal::AbortAndDisable(v8::internal::CompilationInfo*)':
> /usr/ports/pobj/node-0.4.4/node-v0.4.4/deps/v8/src/compiler.cc:179: warning:
> format '%x' expects type 'unsigned int', but argument 2 has type 'intptr_t'
> scons: *** [obj/release/compiler.o] Error 1
> scons: building terminated because of errors.
> Waf: Leaving directory `/usr/ports/pobj/node-0.4.4/node-v0.4.4/build'
> Build failed:  -> task failed (err #2):
>         {task: libv8.a SConstruct -> libv8.a}
> 
> 
> This is an i386 -current system compiled Apr 11.
> 
> I found a commit for www/node/Makefile that talks of problems when
> making v8, and to be sure limits are high so I have

I know nothing about this port but if you remove -Werror from CXXFLAGS 
it should get you further.
Read the output you posted, the reason why it failed is clearly 
mentionned.


> sata6 /usr/ports/www/node  u -a
> time(cpu-seconds)    unlimited
> file(blocks)         unlimited
> coredump(blocks)     unlimited
> data(kbytes)         2097152
> stack(kbytes)        32768
> lockedmem(kbytes)    unlimited
> memory(kbytes)       unlimited
> nofiles(descriptors) 7030
> processes            1310
> 
> So I think limits aren't an issue.
> 
> Cluesticks?
> 
> Thanks, STeve Andre'
> 
> 
> 

-- 
Antoine

Reply via email to