{"action":"created","issue":{"url":"https://api.github.com/repos/cowboyd/libv8/issues/253","repository_url":"https://api.github.com/repos/cowboyd/libv8","labels_url":"https://api.github.com/repos/cowboyd/libv8/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/cowboyd/libv8/issues/253/comments","events_url":"https://api.github.com/repos/cowboyd/libv8/issues/253/events","html_url":"https://github.com/cowboyd/libv8/issues/253","id":281737265,"node_id":"MDU6SXNzdWUyODE3MzcyNjU=","number":253,"title":"Chromium's depot_tools do not work on FreeBSD which causes the build of v8 6.2 to fail","user":{"login":"ignisf","id":1153188,"node_id":"MDQ6VXNlcjExNTMxODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1153188?v=4","gravatar_id":"","url":"https://api.github.com/users/ignisf","html_url":"https://github.com/ignisf","followers_url":"https://api.github.com/users/ignisf/followers","following_url":"https://api.github.com/users/ignisf/following{/other_user}","gists_url":"https://api.github.com/users/ignisf/gists{/gist_id}","starred_url":"https://api.github.com/users/ignisf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignisf/subscriptions","organizations_url":"https://api.github.com/users/ignisf/orgs","repos_url":"https://api.github.com/users/ignisf/repos","events_url":"https://api.github.com/users/ignisf/events{/privacy}","received_events_url":"https://api.github.com/users/ignisf/received_events","type":"User","site_admin":false},"labels":[{"id":148827798,"node_id":"MDU6TGFiZWwxNDg4Mjc3OTg=","url":"https://api.github.com/repos/cowboyd/libv8/labels/needs:%20patch","name":"needs: patch","color":"fbca04","default":false},{"id":148829704,"node_id":"MDU6TGFiZWwxNDg4Mjk3MDQ=","url":"https://api.github.com/repos/cowboyd/libv8/labels/os:%20freebsd","name":"os: freebsd","color":"fad8c7","default":false},{"id":28117672,"node_id":"MDU6TGFiZWwyODExNzY3Mg==","url":"https://api.github.com/repos/cowboyd/libv8/labels/type:%20upstream%20issue","name":"type: upstream issue","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-13T12:46:47Z","updated_at":"2018-06-27T02:48:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"At this point there is no upstream support for building V8 on FreeBSD.\r\n\r\n```\r\n[vagrant@ ~]$ fetch v8\r\nRunning: gclient root\r\nRunning: gclient config --spec 'solutions = [\r\n  {\r\n    \"url\": \"https://chromium.googlesource.com/v8/v8.git\",\r\n    \"managed\": False,\r\n    \"name\": \"v8\",\r\n    \"deps_file\": \"DEPS\",\r\n    \"custom_deps\": {},\r\n  },\r\n]\r\n'\r\nRunning: gclient sync --with_branch_heads\r\n\r\nv8 (ERROR)\r\n----------------------------------------\r\n[0:00:00] Started.\r\n[0:00:00] \r\n\r\n________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git /home/vagrant/_gclient_v8_QyrTf0' in '/home/vagrant'\r\n[0:00:00] Cloning into '/home/vagrant/_gclient_v8_QyrTf0'...\r\n[0:00:03] remote: Sending approximately 527.03 MiB ...        \r\n[0:00:04] remote: Counting objects: 1           \r\n[0:00:04] remote: Counting objects: 7660, done        \r\n[0:01:34] Receiving objects: 100% (515515/515515), 526.45 MiB | 5.84 MiB/s, done.\r\n[0:01:34] remote: Total 515515 (delta 421712), reused 515515 (delta 421712)        \r\n[0:02:43] Resolving deltas: 100% (421712/421712), done.\r\n[0:03:02] From https://chromium.googlesource.com/v8/v8\r\n[0:03:02]  * [new ref]               refs/branch-heads/0.1         -> branch-heads/0.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/0.3         -> branch-heads/0.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/1.1         -> branch-heads/1.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/1.2         -> branch-heads/1.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/1.3         -> branch-heads/1.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.0         -> branch-heads/2.0\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.1         -> branch-heads/2.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.2         -> branch-heads/2.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.3         -> branch-heads/2.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.4         -> branch-heads/2.4\r\n[0:03:02]  * [new ref]               refs/branch-heads/2.5         -> branch-heads/2.5\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.0         -> branch-heads/3.0\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.1         -> branch-heads/3.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.10        -> branch-heads/3.10\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.11        -> branch-heads/3.11\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.12        -> branch-heads/3.12\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.13        -> branch-heads/3.13\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.14        -> branch-heads/3.14\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.15        -> branch-heads/3.15\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.16        -> branch-heads/3.16\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.17        -> branch-heads/3.17\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.18        -> branch-heads/3.18\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.19        -> branch-heads/3.19\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.2         -> branch-heads/3.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.20        -> branch-heads/3.20\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.20.15.5   -> branch-heads/3.20.15.5\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.21        -> branch-heads/3.21\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.22        -> branch-heads/3.22\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.23        -> branch-heads/3.23\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.24        -> branch-heads/3.24\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.25        -> branch-heads/3.25\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.26        -> branch-heads/3.26\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.27        -> branch-heads/3.27\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.28        -> branch-heads/3.28\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.29        -> branch-heads/3.29\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.3         -> branch-heads/3.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.30        -> branch-heads/3.30\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.31        -> branch-heads/3.31\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.4         -> branch-heads/3.4\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.5         -> branch-heads/3.5\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.6         -> branch-heads/3.6\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.7         -> branch-heads/3.7\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.8         -> branch-heads/3.8\r\n[0:03:02]  * [new ref]               refs/branch-heads/3.9         -> branch-heads/3.9\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.1         -> branch-heads/4.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.2         -> branch-heads/4.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.2.39      -> branch-heads/4.2.39\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.3         -> branch-heads/4.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.4         -> branch-heads/4.4\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.5         -> branch-heads/4.5\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.6         -> branch-heads/4.6\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.7         -> branch-heads/4.7\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.8         -> branch-heads/4.8\r\n[0:03:02]  * [new ref]               refs/branch-heads/4.9         -> branch-heads/4.9\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.0         -> branch-heads/5.0\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.1         -> branch-heads/5.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.2         -> branch-heads/5.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.3         -> branch-heads/5.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.4         -> branch-heads/5.4\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.5         -> branch-heads/5.5\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.6         -> branch-heads/5.6\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.7         -> branch-heads/5.7\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.8         -> branch-heads/5.8\r\n[0:03:02]  * [new ref]               refs/branch-heads/5.9         -> branch-heads/5.9\r\n[0:03:02]  * [new ref]               refs/branch-heads/6.0         -> branch-heads/6.0\r\n[0:03:02]  * [new ref]               refs/branch-heads/6.1         -> branch-heads/6.1\r\n[0:03:02]  * [new ref]               refs/branch-heads/6.2         -> branch-heads/6.2\r\n[0:03:02]  * [new ref]               refs/branch-heads/6.3         -> branch-heads/6.3\r\n[0:03:02]  * [new ref]               refs/branch-heads/6.4         -> branch-heads/6.4\r\n[0:03:02]  * [new ref]               refs/branch-heads/experimental -> branch-heads/experimental\r\n[0:03:02]  * [new ref]               refs/branch-heads/test-gnumbd -> branch-heads/test-gnumbd\r\n[0:03:07] Checked out refs/remotes/origin/master to a detached HEAD. Before making any commits\r\nin this repo, you should use 'git checkout <branch>' to switch to\r\nan existing branch or use 'git checkout origin -b <branch>' to\r\ncreate a new branch for your work.\r\n[0:03:07]\r\n----------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 2679, in <module>\r\n    sys.exit(main(sys.argv[1:]))\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 2665, in main\r\n    return dispatcher.execute(OptionParser(), argv)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/subcommand.py\", line 252, in execute\r\n    return command(parser, args[1:])\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 2420, in CMDsync\r\n    ret = client.RunOnDeps('update', args)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 1497, in RunOnDeps\r\n    work_queue.flush(revision_overrides, command, args, options=self._options)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient_utils.py\", line 1059, in run\r\n    self.item.run(*self.args, **self.kwargs)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 903, in run\r\n    self.ParseDepsFile()\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 721, in ParseDepsFile\r\n    for key, value in self.parent.get_vars().iteritems():\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 1191, in get_vars\r\n    'host_os': _detect_host_os(),\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/gclient.py\", line 1209, in _detect_host_os\r\n    return _PLATFORM_MAPPING[sys.platform]\r\nKeyError: 'freebsd11'\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 301, in <module>\r\n    sys.exit(main())\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 296, in main\r\n    return run(options, spec, root)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 290, in run\r\n    return checkout.init()\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 133, in init\r\n    self.run_gclient(*sync_cmd)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 78, in run_gclient\r\n    return self.run(cmd_prefix + cmd, **kwargs)\r\n  File \"/home/vagrant/libv8/vendor/depot_tools/fetch.py\", line 68, in run\r\n    return subprocess.check_output(cmd, **kwargs)\r\n  File \"/usr/local/lib/python2.7/subprocess.py\", line 219, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned non-zero exit status 1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cowboyd/libv8/issues/comments/400525890","html_url":"https://github.com/cowboyd/libv8/issues/253#issuecomment-400525890","issue_url":"https://api.github.com/repos/cowboyd/libv8/issues/253","id":400525890,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDUyNTg5MA==","user":{"login":"angeloudy","id":1284475,"node_id":"MDQ6VXNlcjEyODQ0NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1284475?v=4","gravatar_id":"","url":"https://api.github.com/users/angeloudy","html_url":"https://github.com/angeloudy","followers_url":"https://api.github.com/users/angeloudy/followers","following_url":"https://api.github.com/users/angeloudy/following{/other_user}","gists_url":"https://api.github.com/users/angeloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/angeloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angeloudy/subscriptions","organizations_url":"https://api.github.com/users/angeloudy/orgs","repos_url":"https://api.github.com/users/angeloudy/repos","events_url":"https://api.github.com/users/angeloudy/events{/privacy}","received_events_url":"https://api.github.com/users/angeloudy/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T02:48:11Z","updated_at":"2018-06-27T02:48:11Z","author_association":"NONE","body":"Having the same issue"}}
{"actor":{"display_login":"angeloudy"}}