Skip to content

scon -c fah-node error #5

@FalsePhilosopher

Description

@FalsePhilosopher

I am currently getting this error when I try to run scons -C fah-node

scons: Entering directory `/home/user/build/fah-node'
scons: Reading SConscript files ...
     Compiler: gcc (gnu)
     Platform: posix
Compiler Mode: gnu
   Build Mode: release
         Arch: None
  GCC Version: 12
       Jobs: 4
Checking for C library pthread... yes
Checking for C header file zlib.h... yes
Checking for C library z... yes
Checking for C header file bzlib.h... yes
Checking for C library bz2... yes
Checking for C header file lz4frame.h... yes
Checking for C library lz4... yes
Checking for C library xxhash... no
Checking for C header file expat.h... yes
Checking for C library expat... yes
Checking for C header file pthread.h... yes
Checking for C library pthread... yes
Checking for C library dl... yes
Checking for C library sqlite3... yes
Checking for C header file sqlite3.h... yes
Checking for C function sqlite3_backup_init()... yes
Checking for C header file yaml.h... yes
Checking for C library yaml... yes
Checking for C library snappy... yes
Checking for C library leveldb... yes
Checking for C++ header file leveldb/db.h... yes
Checking for C header file mysql/mysql.h... no
Checking for C function clock_gettime()... yes
Checking for C header file event2/event.h... yes
Checking for C library event... yes
Checking for C++ header file re2/re2.h... yes
Checking for C library re2... yes
Checking for C function epoll_create1()... yes
Checking for C library dl... yes
Checking for C library zstd... no
Checking for C header file openssl/ssl.h... yes
Checking for C library crypto... yes
Checking for C library ssl... yes
Checking for openssl version >= 1.1.0...yes
Checking for C++ header file v8.h... yes
Checking for C++ header file libplatform/libplatform.h... yes
Checking for C library v8_monolith... no
Checking for C library v8... yes
Checking for C library v8_libplatform... yes
Checking for C header file pthread.h... yes
Checking for C library pthread... yes
Checking for C header file systemd/sd-bus.h... no
Checking for C header file valgrind/valgrind.h... no
Checking for C library cbang-boost... yes
Checking for C library cbang... yes
Checking for C++ header file cbang/Exception.h... yes
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 120 packages, and audited 121 packages in 38s

18 packages are looking for funding
  run `npm fund` for details

2 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> fah-node@0.1.1 build
> node build.js

Building...
▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div id="root" v-cloak><div id="header"><div class="logo"><a href="https://foldingathome.org/" target="_blank"><div class="logo-title">Folding<span>@</span>home</div><div class="logo-subtitle">Distributed Computing</div></a></div><div class="header-center"><h1 class="version">F@H Node</h1><strong id="message"></strong></div><table class="server-info"><tr><th>Version:</th><td>v{{info.version}}</td></tr><tr><th>Started:</th><td :title="info.start_time">{{info.started}}</td></tr><tr><th>Server Date:</th><td>{{info.date}}</td></tr><tr><th>Server Time:</th><td>{{info.time}}</td></tr></table></div><div id="menu"><router-link to="/admin/">Home</router-link><router-link to="/admin/messages">Messages</router-link><router-link to="/admin/connections">Connections</router-link><router-link to="/admin/server">Server</router-link><router-link to="/admin/help">Help</router-link><a @click="logout" href="#">Logout</a></div><router-view id="content"></router-view></div>
   |                                                                                                                                                                                                                                                                                                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/App.vue:1:168:
      1 │ ...home/user/build/fah-node/src/vue/App.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/App.vue?type=template"; script.render = render;script.__file = "src/vue/App.vue";export default script;
        ╵                                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div id="root" v-cloak><div id="header"><div class="logo"><a href="https://foldingathome.org/" target="_blank"><div class="logo-title">Folding<span>@</span>home</div><div class="logo-subtitle">Distributed Computing</div></a></div><div class="header-center"><h1 class="version">F@H Node</h1><strong id="message"></strong></div><table class="server-info"><tr><th>Version:</th><td>v{{info.version}}</td></tr><tr><th>Started:</th><td :title="info.start_time">{{info.started}}</td></tr><tr><th>Server Date:</th><td>{{info.date}}</td></tr><tr><th>Server Time:</th><td>{{info.time}}</td></tr></table></div><div id="menu"><router-link to="/admin/">Home</router-link><router-link to="/admin/messages">Messages</router-link><router-link to="/admin/connections">Connections</router-link><router-link to="/admin/server">Server</router-link><router-link to="/admin/help">Help</router-link><a @click="logout" href="#">Logout</a></div><router-view id="content"></router-view></div>
   |                                                                                                                                                                                                                                                                                                                                                                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/App.vue:1:168:
      1 │ ...home/user/build/fah-node/src/vue/App.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/App.vue?type=template"; script.render = render;script.__file = "src/vue/App.vue";export default script;
        ╵                                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div id="root" v-cloak><div id="header"><div class="logo"><a href="https://foldingathome.org/" target="_blank"><div class="logo-title">Folding<span>@</span>home</div><div class="logo-subtitle">Distributed Computing</div></a></div><div class="header-center"><h1 class="version">F@H Node</h1><strong id="message"></strong></div><table class="server-info"><tr><th>Version:</th><td>v{{info.version}}</td></tr><tr><th>Started:</th><td :title="info.start_time">{{info.started}}</td></tr><tr><th>Server Date:</th><td>{{info.date}}</td></tr><tr><th>Server Time:</th><td>{{info.time}}</td></tr></table></div><div id="menu"><router-link to="/admin/">Home</router-link><router-link to="/admin/messages">Messages</router-link><router-link to="/admin/connections">Connections</router-link><router-link to="/admin/server">Server</router-link><router-link to="/admin/help">Help</router-link><a @click="logout" href="#">Logout</a></div><router-view id="content"></router-view></div>
   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/App.vue:1:168:
      1 │ ...home/user/build/fah-node/src/vue/App.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/App.vue?type=template"; script.render = render;script.__file = "src/vue/App.vue";export default script;
        ╵                                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div id="root" v-cloak><div id="header"><div class="logo"><a href="https://foldingathome.org/" target="_blank"><div class="logo-title">Folding<span>@</span>home</div><div class="logo-subtitle">Distributed Computing</div></a></div><div class="header-center"><h1 class="version">F@H Node</h1><strong id="message"></strong></div><table class="server-info"><tr><th>Version:</th><td>v{{info.version}}</td></tr><tr><th>Started:</th><td :title="info.start_time">{{info.started}}</td></tr><tr><th>Server Date:</th><td>{{info.date}}</td></tr><tr><th>Server Time:</th><td>{{info.time}}</td></tr></table></div><div id="menu"><router-link to="/admin/">Home</router-link><router-link to="/admin/messages">Messages</router-link><router-link to="/admin/connections">Connections</router-link><router-link to="/admin/server">Server</router-link><router-link to="/admin/help">Help</router-link><a @click="logout" href="#">Logout</a></div><router-view id="content"></router-view></div>
   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/App.vue:1:168:
      1 │ ...home/user/build/fah-node/src/vue/App.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/App.vue?type=template"; script.render = render;script.__file = "src/vue/App.vue";export default script;
        ╵                                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div class="stats"><div class="title">{{title}}</div><table><tr><th>Event</th><th>Rate</th><th>Total</th></tr><tr v-for="(stat, key) in stats"><td>{{key.toLowerCase()}}</td><td>{{format_rate(key, stat.rate)}}</td><td><span v-if="stat.total">{{format_total(key, stat.total)}}</span></td></tr></table></div>
   |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/RateStats.vue:1:180:
      1 │ ...ild/fah-node/src/vue/RateStats.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/RateStats.vue?type=template"; script.render = render;script.__file = "src/vue/RateStats.vue";export defaul...
        ╵                                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div><div><h1><a href="/api/connections" target="_blank">{{connections.length.toLocaleString()}} Connections</a></h1><h1 v-if="loading">Loading...</h1><table class="connections" v-else><tr><th v-for="name in columns" @click="column_click(name)"><div class="fa" :class="column_icon(name)"></div> {{name}}
   |                                                                                                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2  |  </th></tr><tr class="totals" v-if="totals" is="vue:Connection" :c="totals"></tr><tr v-for="c in sorted" is="vue:Connection" :c="c"></tr></table></div></div>
   |  ^^^^^^^^^^

    src/vue/ConnectionsPage.vue:1:192:
      1 │ ...ode/src/vue/ConnectionsPage.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/ConnectionsPage.vue?type=template"; script.render = render;script.__file = "src/vue/ConnectionsPage.vue";expo...
        ╵                                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] [plugin vue] <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
1  |  <div class="error-warn" id="content"><h2>Logged Errors & Warnings</h2><table><tr><th>Rate</th><th>Count</th><th>Type</th><th>Message</th></tr><tr v-for="e in log" :title="e.key + '\n' + e.msg" :class="e.key[0] == 'E' ? 'error' : 'warning'"><td class="rate">{{e.rate.toFixed(3)}}/s</td><td class="count">{{e.total.toLocaleString()}}</td><td class="type">{{e.key[0] == 'E' ? 'ERROR' : 'WARNING'}}</td><td class="message">{{e.msg}}</td></tr></table></div>
   |                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    src/vue/MessagesPage.vue:1:186:
      1 │ ...fah-node/src/vue/MessagesPage.vue?type=style&index=0";import { render } from "/home/user/build/fah-node/src/vue/MessagesPage.vue?type=template"; script.render = render;script.__file = "src/vue/MessagesPage.vue";export d...
        ╵                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

scons: done reading SConscript files.
scons: Building targets ...
build_function(["build/build_info.cpp"], [])
g++ -o build/fah-node.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah-node.cpp
g++ -o build/fah/node/APIWebsocket.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/APIWebsocket.cpp
g++ -o build/fah/node/Account.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/Account.cpp
g++ -o build/build_info.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc build/build_info.cpp
g++ -o build/fah/node/AccountWS.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/AccountWS.cpp
g++ -o build/fah/node/App.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/App.cpp
g++ -o build/fah/node/ClientWS.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/ClientWS.cpp
g++ -o build/fah/node/RemoteWS.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/RemoteWS.cpp
g++ -o build/fah/node/Server.o -c -Wsuggest-override -faligned-new -std=c++14 -fsigned-char -flto=auto -O3 -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -I/home/user/build/cbang/src -I/home/user/build/cbang/include -I/home/user/build/cbang/src/boost -I/usr/include/v8 -Isrc src/fah/node/Server.cpp
resources_build(["build/resources.v2.cpp", "build/resources.v2.data/data2.cpp", "build/resources.v2.data/data3.cpp", "build/resources.v2.data/data4.cpp", "build/resources.v2.data/data5.cpp", "build/resources.v2.data/data6.cpp", "build/resources.v2.data/data7.cpp", "build/resources.v2.data/data8.cpp", "build/resources.v2.data/data9.cpp", "build/resources.v2.data/data10.cpp", "build/resources.v2.data/data11.cpp"], ["build/res"])
Writing resource: build/res/http/login.html to build/resources.v2.data/data2.cpp
Writing resource: build/res/http/favicon.ico to build/resources.v2.data/data3.cpp
Writing resource: build/res/http/main-OEPL3SSG.css to build/resources.v2.data/data4.cpp
Writing resource: build/res/http/main-UGK2ZJ7M.js to build/resources.v2.data/data5.cpp
Writing resource: build/res/http/admin.html to build/resources.v2.data/data6.cpp
Writing resource: build/res/http/main-UGK2ZJ7M.js.map to build/resources.v2.data/data7.cpp
src/fah/node/Server.cpp: In member function ‘void FAH::Node::Server::writeStats(cb::JSON::Sink&) const’:
src/fah/node/Server.cpp:259:25: error: ‘class cb::Event::RateTracker’ has no member named ‘insert’
  259 |   app.getRateTracker()->insert(sink);
      |                         ^~~~~~
scons: *** [build/fah/node/Server.o] Error 1
Writing resource: build/res/http/main-OEPL3SSG.css.map to build/resources.v2.data/data8.cpp
Writing resource: build/res/http/index.html to build/resources.v2.data/data9.cpp
Writing resource: build/res/http/robots.txt to build/resources.v2.data/data10.cpp
Writing resource: build/res/acl.json to build/resources.v2.data/data11.cpp
scons: building terminated because of errors.
scons: Entering directory `/home/user/build/fah-node'
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
build_function(["fah-node_0.1.1_amd64.deb"], [])
installing "README.md" to "build/fah-node-deb/usr/share/doc/fah-node/README.md"
installing "CHANGELOG.md" to "build/fah-node-deb/usr/share/doc/fah-node/CHANGELOG.md"
installing "LICENSE" to "build/fah-node-deb/usr/share/doc/fah-node/LICENSE"
installing "fah-node" to "build/fah-node-deb/usr/bin/fah-node"
scons: *** [fah-node_0.1.1_amd64.deb] fah-node: No such file or directory
scons: building terminated because of errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions