ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

scons warning about duplicate environments #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i just pulled r792 and when sconsing i get:

scons: Reading SConscript files ...
Checking for C header file sys/mman.h... yes
Checking for C function sleep()... yes
Checking for C library v8... yes

scons: warning: Two different environments were specified for 
target src/gc.os,
    but they appear to have the same action: $SHCXX -o $TARGET 
-c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/home/stephan/cvs/v8cgi/SConstruct", line 223, in <module>

scons: warning: Two different environments were specified for 
target src/common.os,
    but they appear to have the same action: $SHCXX -o $TARGET 
-c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/home/stephan/cvs/v8cgi/SConstruct", line 322, in <module>

scons: warning: Two different environments were specified for 
target src/gc.os,
    but they appear to have the same action: $SHCXX -o $TARGET 
-c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/home/stephan/cvs/v8cgi/SConstruct", line 322, in <module>
scons: done reading SConscript files.

i have no idea what that means, but it doesn't appear to be fatal.

stephan@jareth:~/cvs/v8cgi$ scons --version
SCons by Steven Knight et al.:
    script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on 
scons-dev
    engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on 
scons-dev
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The 
SCons Foundation

stephan@jareth:~/cvs/v8cgi$ cat /etc/issue
Ubuntu 9.10 \n \l

Original issue reported on code.google.com by sgbeal@googlemail.com on 28 Apr 2010 at 7:08

GoogleCodeExporter commented 9 years ago
Yeah, these appear in all combinations of gcc/python/scons versions. I believe 
they
are harmless, but I am currently not sure how to evade them :)

Original comment by ondrej.zara on 28 Apr 2010 at 8:14

GoogleCodeExporter commented 9 years ago
They seems harmless, yes. Building v8 doesn't generate them, though, so i 
suspect 
it's a project-local scons mis-configuration (i don't know scons (i'm a "make" 
addict)).

By the way: i'm investigating your project because i'd like to write a 
(new/second) 
back-end for my new JS messaging framework 
(http://code.google.com/p/jsonmessage/), 
and i'm excited about the possibilities i'd have with both the client _and_ 
server 
parts implemented in JS.

Happy hacking!

Original comment by sgbeal@googlemail.com on 28 Apr 2010 at 8:24

GoogleCodeExporter commented 9 years ago
Commited in r793. Thanks a lot, this bugreport finally made me investigate & fix
these annoying warnings :)

Original comment by ondrej.zara on 29 Apr 2010 at 7:25