{"action":"created","issue":{"url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/13","labels_url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/13/comments","events_url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/13/events","html_url":"https://github.com/feross/webtorrent-hybrid/issues/13","id":110862249,"number":13,"title":"Build failing","user":{"login":"acidhax","id":381356,"avatar_url":"https://avatars.githubusercontent.com/u/381356?v=3","gravatar_id":"","url":"https://api.github.com/users/acidhax","html_url":"https://github.com/acidhax","followers_url":"https://api.github.com/users/acidhax/followers","following_url":"https://api.github.com/users/acidhax/following{/other_user}","gists_url":"https://api.github.com/users/acidhax/gists{/gist_id}","starred_url":"https://api.github.com/users/acidhax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidhax/subscriptions","organizations_url":"https://api.github.com/users/acidhax/orgs","repos_url":"https://api.github.com/users/acidhax/repos","events_url":"https://api.github.com/users/acidhax/events{/privacy}","received_events_url":"https://api.github.com/users/acidhax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-11T15:14:00Z","updated_at":"2015-11-10T00:07:19Z","closed_at":null,"body":"In file included from ../../webrtc/base/iosfilesystem.mm:15:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h:5:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:8:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type\r\n- (id)copyWithZone:(nullable NSZone *)zone;\r\n                    ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: expected a type\r\n- (id)mutableCopyWithZone:(nullable NSZone *)zone;\r\n                           ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:4: error: expected a type\r\n- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER\r\n   ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:53:4: error: expected a type\r\n- (nullable id)replacementObjectForCoder:(NSCoder *)aCoder;\r\n   ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:54:4: error: expected a type\r\n- (nullable id)awakeAfterUsingCoder:(NSCoder *)aDecoder NS_REPLACES_RECEIVER;\r\n   ^\r\nIn file included from ../../webrtc/base/iosfilesystem.mm:15:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h:5:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:9:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:5:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:17:4: error: expected a type\r\n- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;\r\n   ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:30:42: error: expected a type\r\n+ (NSValue *)valueWithNonretainedObject:(nullable id)anObject;\r\n                                         ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:31:12: error: unknown property attribute 'nullable'\r\n@property (nullable, readonly) id nonretainedObjectValue;\r\n           ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:33:32: error: expected a type\r\n+ (NSValue *)valueWithPointer:(nullable const void *)pointer;\r\n                               ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:34:12: error: unknown property attribute 'nullable'\r\n@property (nullable, readonly) void *pointerValue;\r\n           ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:42:4: error: expected a type\r\n- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;\r\n   ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:81:38: error: expected a type\r\n- (NSString *)descriptionWithLocale:(nullable id)locale;\r\n                                     ^\r\nIn file included from ../../webrtc/base/iosfilesystem.mm:15:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h:5:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:12:23: error: expected ';' after @class\r\n@class NSData, NSArray<ObjectType>, NSDictionary<KeyType, ObjectType>, NSCharacterSet, NSURL, NSError, NSLocale;\r\n                      ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:12:24: error: cannot find protocol declaration for 'ObjectType'\r\n@class NSData, NSArray<ObjectType>, NSDictionary<KeyType, ObjectType>, NSCharacterSet, NSURL, NSError, NSLocale;\r\n                       ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:12:35: error: expected unqualified-id\r\n@class NSData, NSArray<ObjectType>, NSDictionary<KeyType, ObjectType>, NSCharacterSet, NSURL, NSError, NSLocale;\r\n                                  ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:82:4: error: expected a type\r\n- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;\r\n   ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:109:123: error: expected a type\r\n- (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange locale:(nullable id)locale; // locale arg used to be a dictionary pre-Leopard. We now accept NSLocale. Assumes the current locale if non-nil and non-NSLocale. nil continues to mean canonical compare, which doesn't depend on user's locale choice.\r\n                                                                                                                          ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:147:123: error: expected a type\r\n- (NSRange)rangeOfString:(NSString *)searchString options:(NSStringCompareOptions)mask range:(NSRange)searchRange locale:(nullable NSLocale *)locale NS_AVAILABLE(10_5, 2_0);\r\n                                                                                                                          ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:151:37: error: expected a type\r\n- (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)searchSet;\r\n                                    ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n[448/630] CXX obj/webrtc/system_wrappers/source/system_wrappers.sort.o\r\nninja: build stopped: subcommand failed.\r\nERROR: 1 null \r\n\r\nmake: *** [/dev/null] Error 255\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Darwin 15.0.0\r\ngyp ERR! command \"/Users/mat/.nvm/versions/node/v4.1.2/bin/node\" \"/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node\" \"--module_name=wrtc\" \"--module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64\"\r\ngyp ERR! cwd /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc\r\ngyp ERR! node -v v4.1.2\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok \r\nnode-pre-gyp ERR! build error \r\nnode-pre-gyp ERR! stack Error: Failed to execute '/Users/mat/.nvm/versions/node/v4.1.2/bin/node /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-pre-gyp/lib/util/compile.js:73:29)\r\nnode-pre-gyp ERR! stack     at emitTwo (events.js:87:13)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\nnode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:818:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\nnode-pre-gyp ERR! System Darwin 15.0.0\r\nnode-pre-gyp ERR! command \"/Users/mat/.nvm/versions/node/v4.1.2/bin/node\" \"/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc\r\nnode-pre-gyp ERR! node -v v4.1.2\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.4\r\nnode-pre-gyp ERR! not ok \r\nFailed to execute '/Users/mat/.nvm/versions/node/v4.1.2/bin/node /Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64/wrtc.node --module_name=wrtc --module_path=/Users/mat/dev/video-encoder/node_modules/webtorrent-hybrid/node_modules/wrtc/build/wrtc/v0.0.58/Release/node-v46-darwin-x64' (1)\r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/Users/mat/.nvm/versions/node/v4.1.2/bin/node\" \"/Users/mat/.nvm/versions/node/v4.1.2/bin/npm\" \"install\" \"webtorrent-hybrid\"\r\nnpm ERR! node v4.1.2\r\nnpm ERR! npm  v2.14.4\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! wrtc@0.0.58 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the wrtc@0.0.58 install script 'node-pre-gyp install --fallback-to-build'.\r\nnpm ERR! This is most likely a problem with the wrtc package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls wrtc\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/mat/dev/video-encoder/npm-debug.log\r\n\r\nhttps://gist.github.com/acidhax/0b3b5dbe59b9a19dd1d1"},"comment":{"url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/comments/155239295","html_url":"https://github.com/feross/webtorrent-hybrid/issues/13#issuecomment-155239295","issue_url":"https://api.github.com/repos/feross/webtorrent-hybrid/issues/13","id":155239295,"user":{"login":"jsindy","id":4966007,"avatar_url":"https://avatars.githubusercontent.com/u/4966007?v=3","gravatar_id":"","url":"https://api.github.com/users/jsindy","html_url":"https://github.com/jsindy","followers_url":"https://api.github.com/users/jsindy/followers","following_url":"https://api.github.com/users/jsindy/following{/other_user}","gists_url":"https://api.github.com/users/jsindy/gists{/gist_id}","starred_url":"https://api.github.com/users/jsindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsindy/subscriptions","organizations_url":"https://api.github.com/users/jsindy/orgs","repos_url":"https://api.github.com/users/jsindy/repos","events_url":"https://api.github.com/users/jsindy/events{/privacy}","received_events_url":"https://api.github.com/users/jsindy/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T00:07:19Z","updated_at":"2015-11-10T00:07:19Z","body":"Heres my Dockerfile from testing\r\n\r\nFROM ubuntu:14.04.3\r\nRUN apt-get update\r\nRUN apt-get -y install vim git curl wget python build-essential\r\nRUN curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash - #NODE 0.10\r\n#RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - #NODE 4\r\n#RUN curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash - #NODE 0.12\r\n#RUN curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - #NODE 5\r\nRUN apt-get -y install nodejs\r\nRUN npm install webtorrent-hybrid -g\r\nCMD webtorrent-hybrid"}}