Other KeyError: 'freebsd11'

Code:
# gem install mini_racer
Fetching: libv8-6.7.288.46.1.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing mini_racer:
        ERROR: Failed to build gem native extension.
    current directory: /ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8
/usr/local/bin/ruby24 -r ./siteconf20190322-36891-gkm1yr.rb extconf.rb
creating Makefile
Running depot tools as root is sad.
Running depot tools as root is sad.

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git /ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_ul8qBX' in '/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor'
Cloning into '/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_ul8qBX'...
remote: Sending approximately 794.30 MiB ...       
remote: Counting objects: 7688, done       
remote: Finding sources: 100% (28/28)          

[etc.etc.etc.]

Traceback (most recent call last):
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 2935, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 2921, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 2563, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 1546, in RunOnDeps
    patch_refs=patch_refs)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient_utils.py", line 1075, in run
    self.item.run(*self.args, **self.kwargs)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 892, in run
    self.ParseDepsFile()
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 670, in ParseDepsFile
    filepath, self.get_vars())
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 1175, in get_vars
    'host_os': _detect_host_os(),
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/gclient.py", line 1209, in _detect_host_os
    return _PLATFORM_MAPPING[sys.platform]
KeyError: 'freebsd11'
Running: gclient root
Running: gclient config --spec 'solutions = [
  {
    "url": "https://chromium.googlesource.com/v8/v8.git",
    "managed": False,
    "name": "v8",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: gclient sync --with_branch_heads
Traceback (most recent call last):
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 306, in <module>
    sys.exit(main())
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 301, in main
    return run(options, spec, root)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 295, in run
    return checkout.init()
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 137, in init
    self.run_gclient(*sync_cmd)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 82, in run_gclient
    return self.run(cmd_prefix + cmd, **kwargs)
  File "/ext/gems/2.4/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 71, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned non-zero exit status 1
/ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:79:in `block in setup_build_deps!': unable to fetch v8 source (RuntimeError)
        from /ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `chdir'
        from /ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `setup_build_deps!'
        from /ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:36:in `build_libv8!'
        from /ext/gems/2.4/gems/libv8-6.7.288.46.1/ext/libv8/location.rb:24:in `install!'
        from extconf.rb:7:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /ext/gems/2.4/gems/libv8-6.7.288.46.1 for inspection.
Results logged to /ext/gems/2.4/extensions/amd64-freebsd-11/2.4/libv8-6.7.288.46.1/gem_make.out

It appears to be a (key?) feature of this "gclient" (apparently belonging to the "depot-tools" stuff) to consider FreeBSD 11 as a "KeyError". :(
 
Okay, data collected, case closed (for now).

Now, can anyone point me to some understanding of the matter, please?

This stuff is originating from Chromium/Chrome!!

I didn't know that, had to figure it out. (I just needed replacement for deprecated www/node6, and I need that because RoR demands a "Javascript Runtime" (whatever that hurts), and I need RoR as graphical frontend because I do not like to deal with my database per SQL statements.)

If we click thru the Wikipedia entry, we finally get here, and here we find "Getting the Code", which should be the way to unroll the thing and figure out what it does. But then the only further way leads here, and here we read about
  • LINUX/MAC and
  • WINDOWS
We do not read a word about people having a real computer, only about consumer stuff. And beware - this is not a page addressed to the stupid consumers, this is a page about getting the source for a more big and ambitioned project. This is of onterest only to technical people.

So, what is going on??
 
Back
Top