{"issue":{"created_at":"2011-11-28T08:38:03Z","state":"closed","updated_at":"2011-11-28T15:23:33Z","user":{"gravatar_id":"61dfff717232e48f7928d44b80954d01","id":168338,"url":"https://api.github.com/users/blacktrash","avatar_url":"https://secure.gravatar.com/avatar/61dfff717232e48f7928d44b80954d01?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"blacktrash"},"comments":6,"body":"Some gyp modules have ```#!/usr/bin/python``` hardcoded. This tends to break builds when you have different python versions installed. Should be the canonical ```#!/usr/bin/env python``` she-bang.\r\n\r\nNot sure about the windows modules.","assignee":null,"id":2365056,"labels":[{"name":"gyp","color":"e102d8","url":"https://api.github.com/repos/joyent/node/labels/gyp"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2210,"title":"consistently use #!/usr/bin/env python in gyp","closed_at":"2011-11-28T12:14:36Z","html_url":"https://github.com/joyent/node/issues/2210","url":"https://api.github.com/repos/joyent/node/issues/2210","milestone":null},"action":"created","comment":{"created_at":"2011-11-28T15:23:33Z","updated_at":"2011-11-28T15:23:33Z","user":{"gravatar_id":"61dfff717232e48f7928d44b80954d01","id":168338,"url":"https://api.github.com/users/blacktrash","avatar_url":"https://secure.gravatar.com/avatar/61dfff717232e48f7928d44b80954d01?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"blacktrash"},"body":"You are right of course, must have had that with some previous revision, sorry.\r\n\r\nAnyway, with ```make V=1```:\r\n\r\n```\r\n  g++ '-D__DARWIN_64_BIT_INO_T=1' '-DENABLE_DEBUGGER_SUPPORT' '-DNDEBUG' -I/sw/include -I../deps/v8/src -O3 -gdwarf-2 -fvisibility=hidden -Wnewline-eof -mmacosx-version-min=10.4 -arch i386 -fno-strict-aliasing -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -MMD -MF /Users/chris/src/node/out/Release/.deps//Users/chris/src/node/out/Release/obj.host/mksnapshot/deps/v8/src/mksnapshot.o.d.raw  -c -o /Users/chris/src/node/out/Release/obj.host/mksnapshot/deps/v8/src/mksnapshot.o ../deps/v8/src/mksnapshot.cc\r\n  g++ -Wl,-search_paths_first -mmacosx-version-min=10.4 -arch i386 -L/Users/chris/src/node/out/Release  -o \"/Users/chris/src/node/out/Release/mksnapshot\" /Users/chris/src/node/out/Release/obj.host/mksnapshot/deps/v8/src/mksnapshot.o /Users/chris/src/node/out/Release/obj.host/deps/v8/tools/gyp/libv8_nosnapshot.a /Users/chris/src/node/out/Release/obj.host/deps/v8/tools/gyp/libv8_base.a -lz -L/sw/lib -lssl -lcrypto\r\n  LD_LIBRARY_PATH=/Users/chris/src/node/out/Release/lib.host:/Users/chris/src/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/tools/gyp; mkdir -p /Users/chris/src/node/out/Release/obj.host/geni; \"/Users/chris/src/node/out/Release/mksnapshot\" --log-snapshot-positions --logfile \"/Users/chris/src/node/out/Release/obj.host/geni/snapshot.log\" \"/Users/chris/src/node/out/Release/obj.host/geni/snapshot.cc\"\r\nUnable to write to snapshot file \"/Users/chris/src/node/out/Release/obj.host/geni/snapshot.cc\"\r\nmake[1]: *** [/Users/chris/src/node/out/Release/obj.host/geni/snapshot.cc] Error 1\r\nmake: *** [all] Error 2\r\n```\r\n","id":2898154,"url":"https://api.github.com/repos/joyent/node/issues/comments/2898154"}}