From aa8f3b96f3e92e1053c1da32323ed1d995a3b676 Mon Sep 17 00:00:00 2001 From: Till Tomczak Date: Tue, 1 Apr 2025 10:51:42 +0200 Subject: [PATCH] docker-fehler.txt aktualisiert --- docker-fehler.txt | 685 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 652 insertions(+), 33 deletions(-) diff --git a/docker-fehler.txt b/docker-fehler.txt index f2f25ff..5ef324e 100644 --- a/docker-fehler.txt +++ b/docker-fehler.txt @@ -1,42 +1,661 @@ -root@raspberrypi:/home/user/Projektarbeit-MYP# ./install-frontend.sh -[2025-04-01 10:04:01] Bereinige vorhandene Installation... -[2025-04-01 10:04:01] Bereinigung abgeschlossen. -[2025-04-01 10:04:01] Docker Compose v2 Plugin ist bereits installiert. -[2025-04-01 10:04:01] Wechsle ins Verzeichnis: /home/user/Projektarbeit-MYP/packages/reservation-platform -[2025-04-01 10:04:01] Erstelle .env Datei... -[2025-04-01 10:04:01] .env Datei erfolgreich erstellt -[2025-04-01 10:04:01] HINWEIS: Bitte passen Sie die Backend-URL in der .env-Datei an, falls das Backend auf einem anderen Server läuft. -[2025-04-01 10:04:01] Erstelle Datenbankverzeichnis -[2025-04-01 10:04:01] Baue und starte Frontend-Container... -[2025-04-01 10:04:01] Dies kann auf einem Raspberry Pi mehrere Minuten dauern - bitte geduldig sein -[2025-04-01 10:04:01] Basis-Image wird gedownloaded, dies kann einige Zeit dauern... -lts-alpine: Pulling from library/node -6e771e15690e: Already exists -6943333fe3c9: Pull complete -19f059763ac0: Pull complete -422fec2897b5: Pull complete -Digest: sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944 -Status: Downloaded newer image for node:lts-alpine -docker.io/library/node:lts-alpine -[2025-04-01 10:04:29] Baue lokales Image... +[2025-04-01 10:21:18] Bereinigung abgeschlossen. +[2025-04-01 10:21:19] Docker Compose v2 Plugin ist bereits installiert. +[2025-04-01 10:21:19] Wechsle ins Verzeichnis: /home/user/Projektarbeit-MYP/packages/reservation-platform +[2025-04-01 10:21:19] Erstelle .env Datei... +[2025-04-01 10:21:19] .env Datei erfolgreich erstellt +[2025-04-01 10:21:19] HINWEIS: Bitte passen Sie die Backend-URL in der .env-Datei an, falls das Backend auf einem anderen Server läuft. +[2025-04-01 10:21:19] Erstelle Datenbankverzeichnis +[2025-04-01 10:21:19] Baue und starte Frontend-Container... +[2025-04-01 10:21:19] Dies kann auf einem Raspberry Pi mehrere Minuten dauern - bitte geduldig sein +[2025-04-01 10:21:19] Baue lokales Image... WARN[0000] /home/user/Projektarbeit-MYP/packages/reservation-platform/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion Compose can now delegate builds to bake for better performance. To do so, set COMPOSE_BAKE=true. -[+] Building 10.2s (2/2) FINISHED docker-container:myp-rp-arm64-builder +[+] Building 278.6s (11/16) docker-container:myp-rp-arm64-builder => [frontend internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2.78kB 0.0s - => ERROR [frontend internal] load metadata for docker.io/library/node:lts-alpine 10.0s + => [frontend internal] load metadata for docker.io/library/node:alpine 1.8s + => [frontend internal] load .dockerignore 0.0s + => => transferring context: 2B 0.0s + => [frontend 1/12] FROM docker.io/library/node:alpine@sha256:6eae672406a2bc8ed93eab6f9f76a02eb247e06ba82b2f5032c0a4ae07e825ba 23.8s + => => resolve docker.io/library/node:alpine@sha256:6eae672406a2bc8ed93eab6f9f76a02eb247e06ba82b2f5032c0a4ae07e825ba 0.1s + => => sha256:e9f31bac580ea75570ca71df1038f54662a5a803803074eeac227a2bf9816a25 448B / 448B 0.3s + => => sha256:d9e3d87e92a7f82b2e89c9c16c7c6fa86859603855eeae8e52c28fe2f3f91b86 1.26MB / 1.26MB 0.7s + => => sha256:f380f12ce990fb68d3a5ee5e0f685296cfa4ec4d5ad597292f9b0d12ec3a6d17 51.14MB / 51.14MB 22.0s + => => extracting sha256:f380f12ce990fb68d3a5ee5e0f685296cfa4ec4d5ad597292f9b0d12ec3a6d17 1.1s + => => extracting sha256:d9e3d87e92a7f82b2e89c9c16c7c6fa86859603855eeae8e52c28fe2f3f91b86 0.1s + => => extracting sha256:e9f31bac580ea75570ca71df1038f54662a5a803803074eeac227a2bf9816a25 0.1s + => [frontend internal] load build context 0.2s + => => transferring context: 10.26kB 0.0s + => [frontend 2/12] WORKDIR /app 3.4s + => [frontend 3/12] RUN apk add --no-cache python3 build-base g++ make sqlite sqlite-dev gcc musl-dev git libffi-dev openssl-dev cmake 46.5s + => [frontend 4/12] RUN npm install -g pnpm 4.2s + => [frontend 5/12] COPY package.json pnpm-lock.yaml ./ 0.3s + => [frontend 6/12] RUN pnpm install --unsafe-perm --no-optional --frozen-lockfile 29.3s + => ERROR [frontend 7/12] RUN cd /app/node_modules/better-sqlite3 && npm run build-release 168.8s +------ + > [frontend 7/12] RUN cd /app/node_modules/better-sqlite3 && npm run build-release: +0.843 +0.843 > better-sqlite3@9.6.0 build-release +0.843 > node-gyp rebuild --release +0.843 +0.912 gyp info it worked if it ends with ok +0.913 gyp info using node-gyp@11.0.0 +0.913 gyp info using node@23.10.0 | linux | arm64 +0.990 gyp info find Python using Python version 3.12.9 found at "/usr/bin/python3" +1.148 +1.151 gyp http GET https://nodejs.org/download/release/v23.10.0/node-v23.10.0-headers.tar.gz +1.409 gyp http 200 https://nodejs.org/download/release/v23.10.0/node-v23.10.0-headers.tar.gz +4.938 gyp http GET https://nodejs.org/download/release/v23.10.0/SHASUMS256.txt +5.017 gyp http 200 https://nodejs.org/download/release/v23.10.0/SHASUMS256.txt +5.024 gyp info spawn /usr/bin/python3 +5.026 gyp info spawn args [ +5.026 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', +5.026 gyp info spawn args 'binding.gyp', +5.026 gyp info spawn args '-f', +5.026 gyp info spawn args 'make', +5.026 gyp info spawn args '-I', +5.026 gyp info spawn args '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build/config.gypi', +5.026 gyp info spawn args '-I', +5.026 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', +5.026 gyp info spawn args '-I', +5.026 gyp info spawn args '/root/.cache/node-gyp/23.10.0/include/node/common.gypi', +5.026 gyp info spawn args '-Dlibrary=shared_library', +5.026 gyp info spawn args '-Dvisibility=default', +5.026 gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/23.10.0', +5.026 gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', +5.026 gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/23.10.0/<(target_arch)/node.lib', +5.026 gyp info spawn args '-Dmodule_root_dir=/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3', +5.026 gyp info spawn args '-Dnode_engine=v8', +5.026 gyp info spawn args '--depth=.', +5.026 gyp info spawn args '--no-parallel', +5.026 gyp info spawn args '--generator-output', +5.026 gyp info spawn args 'build', +5.026 gyp info spawn args '-Goutput_dir=.' +5.026 gyp info spawn args ] +5.262 gyp info spawn make +5.263 gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] +5.265 make: Entering directory '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build' +5.265 TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate +5.268 ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate +5.633 TOUCH Release/obj.target/deps/locate_sqlite3.stamp +5.637 CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o +166.1 rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a` +166.1 ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list +166.1 COPY Release/sqlite3.a +166.1 CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o +166.3 In file included from /root/.cache/node-gyp/23.10.0/include/node/cppgc/common.h:8, +166.3 from /root/.cache/node-gyp/23.10.0/include/node/v8.h:23, +166.3 from /root/.cache/node-gyp/23.10.0/include/node/node.h:73, +166.3 from ./src/better_sqlite3.lzz:11, +166.3 from ../src/better_sqlite3.cpp:4: +166.3 /root/.cache/node-gyp/23.10.0/include/node/v8config.h:13:2: error: #error "C++20 or later required." +166.3 13 | #error "C++20 or later required." +166.3 | ^~~~~ +167.4 ./src/util/macros.lzz:31:69: error: 'CopyablePersistentTraits' is not a member of 'v8'; did you mean 'NonCopyablePersistentTraits'? +167.4 ./src/util/macros.lzz:31:94: error: template argument 2 is invalid +167.4 ./src/util/macros.lzz:149:2: error: 'v8::AccessorGetterCallback' has not been declared +167.4 ./src/util/macros.lzz:33:97: error: 'CopyablePersistent' has not been declared +167.4 ./src/util/macros.lzz:33:116: error: expected ',' or '...' before '<' token +167.4 ./src/util/constants.lzz:119:3: error: 'CopyablePersistent' does not name a type +167.4 ./src/util/constants.lzz:120:3: error: 'CopyablePersistent' does not name a type +167.4 ./src/util/constants.lzz:121:3: error: 'CopyablePersistent' does not name a type +167.4 ./src/util/constants.lzz:122:3: error: 'CopyablePersistent' does not name a type +167.4 ./src/util/constants.lzz:123:3: error: 'CopyablePersistent' does not name a type +167.4 ./src/util/constants.lzz:124:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:125:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:126:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:127:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:128:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:129:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:130:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:131:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:132:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:133:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:134:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:135:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:136:3: error: 'CopyablePersistent' does not name a type +167.5 ./src/util/constants.lzz:140:49: error: 'CopyablePersistent' has not been declared +167.5 ./src/util/constants.lzz:140:68: error: expected ',' or '...' before '<' token +167.5 ./src/util/constants.lzz:150:28: error: 'CopyablePersistent' was not declared in this scope +167.5 ./src/util/constants.lzz:150:57: error: template argument 2 is invalid +167.5 ./src/util/constants.lzz:150:57: error: template argument 5 is invalid +167.5 ./src/util/constants.lzz:150:59: error: expected unqualified-id before '>' token +167.5 ./src/util/bind-map.lzz:25:5: error: 'CopyablePersistent' does not name a type +167.5 ./src/objects/database.lzz:465:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-function.lzz:57:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-aggregate.lzz:39:90: error: 'CopyablePersistent' has not been declared +167.6 ./src/util/custom-aggregate.lzz:39:109: error: expected ',' or '...' before '<' token +167.6 ./src/util/custom-aggregate.lzz:83:5: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-aggregate.lzz:118:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-aggregate.lzz:119:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-aggregate.lzz:120:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-table.lzz:104:5: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-table.lzz:123:5: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-table.lzz:124:5: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-table.lzz:125:5: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/custom-table.lzz:403:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/better_sqlite3.lzz:56:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/better_sqlite3.lzz:57:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/better_sqlite3.lzz:58:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/better_sqlite3.lzz:59:3: error: 'CopyablePersistent' does not name a type +167.6 ./src/util/macros.lzz:33:108: error: 'CopyablePersistent' has not been declared +167.6 ./src/util/macros.lzz:33:127: error: expected ',' or '...' before '<' token +167.6 ./src/util/macros.lzz: In function 'void SetFrozen(v8::Isolate*, v8::Local, v8::Local, int)': +167.6 ./src/util/macros.lzz:34:37: error: 'key' was not declared in this scope; did you mean 'key_t'? +167.7 ./src/util/macros.lzz:34:55: error: 'value' was not declared in this scope +167.7 ./src/util/bind-map.lzz: In member function 'v8::Local BindMap::Pair::GetName(v8::Isolate*)': +167.7 ./src/util/bind-map.lzz:14:40: error: 'name' was not declared in this scope; did you mean 'tzname'? +167.7 ./src/objects/statement-iterator.lzz: In static member function 'static v8::Local StatementIterator::NewRecord(v8::Isolate*, v8::Local, v8::Local, Addon*, bool)': +167.7 ./src/objects/statement-iterator.lzz:121:44: error: 'class CS' has no member named 'value' +167.7 ./src/objects/statement-iterator.lzz:122:44: error: 'class CS' has no member named 'done' +167.7 ./src/util/custom-aggregate.lzz: At global scope: +167.7 ./src/util/custom-aggregate.lzz:39:109: error: 'CopyablePersistent' has not been declared +167.7 ./src/util/custom-aggregate.lzz:39:128: error: expected ',' or '...' before '<' token +167.7 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xStepBase(sqlite3_context*, int, sqlite3_value**, int)': +167.7 ./src/util/custom-aggregate.lzz:40:269: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +167.7 ./src/util/custom-aggregate.lzz:44:32: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +167.7 ./src/util/custom-aggregate.lzz:47:70: error: 'ptrtm' was not declared in this scope +167.7 ./src/util/custom-aggregate.lzz:54:63: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +167.7 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xValueBase(sqlite3_context*, bool)': +167.7 ./src/util/custom-aggregate.lzz:59:269: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +167.7 ./src/util/custom-aggregate.lzz:68:52: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +167.7 ./src/util/custom-aggregate.lzz:70:71: error: 'class CustomAggregate' has no member named 'result' +167.7 ./src/util/macros.lzz: At global scope: +167.7 ./src/util/macros.lzz:158:2: error: 'v8::AccessorGetterCallback' has not been declared +167.7 ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)': +167.7 ./src/util/macros.lzz:172:28: error: 'class v8::ObjectTemplate' has no member named 'SetAccessor' +167.7 ./src/better_sqlite3.lzz: At global scope: +167.7 /root/.cache/node-gyp/23.10.0/include/node/node.h:1247:7: warning: cast between incompatible function types from 'void (*)(v8::Local, v8::Local, v8::Local)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local, v8::Local, v8::Local, void*)'} [-Wcast-function-type] +167.7 1247 | (node::addon_context_register_func) (regfunc), \ +167.7 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +167.7 /root/.cache/node-gyp/23.10.0/include/node/node.h:1265:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' +167.7 1265 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) +167.7 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +167.7 /root/.cache/node-gyp/23.10.0/include/node/node.h:1296:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' +167.7 1296 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ +167.7 | ^~~~~~~~~~~~~~~~~~~~~~~~~ +167.7 ./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT' +167.7 ./src/better_sqlite3.lzz: In function 'void node_register_module_v131(v8::Local, v8::Local, v8::Local)': +167.7 ./src/better_sqlite3.lzz:84:9: error: 'struct Addon' has no member named 'Statement' +167.7 ./src/better_sqlite3.lzz:85:9: error: 'struct Addon' has no member named 'StatementIterator' +167.7 ./src/better_sqlite3.lzz:86:9: error: 'struct Addon' has no member named 'Backup' +167.7 ./src/util/constants.lzz: In member function 'v8::Local CS::Code(v8::Isolate*, int)': +167.7 ./src/util/constants.lzz:5:32: error: 'codes' was not declared in this scope; did you mean 'code'? +167.7 ./src/util/constants.lzz: In constructor 'CS::CS(v8::Isolate*)': +167.7 ./src/util/constants.lzz:11:36: error: 'database' was not declared in this scope; did you mean 'Database'? +167.7 ./src/util/constants.lzz:12:36: error: 'reader' was not declared in this scope +167.7 ./src/util/constants.lzz:13:36: error: 'source' was not declared in this scope +167.7 ./src/util/constants.lzz:14:36: error: 'memory' was not declared in this scope; did you mean 'memcpy'? +167.8 ./src/util/constants.lzz:15:36: error: 'readonly' was not declared in this scope +167.8 ./src/util/constants.lzz:16:36: error: 'name' was not declared in this scope; did you mean 'tzname'? +167.8 ./src/util/constants.lzz:17:36: error: 'next' was not declared in this scope; did you mean 'std::next'? +167.8 In file included from /usr/include/c++/14.2.0/string:47, +167.8 from ./src/better_sqlite3.lzz:5: +167.8 /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:232:5: note: 'std::next' declared here +167.8 232 | next(_InputIterator __x, typename +167.8 | ^~~~ +167.8 ./src/util/constants.lzz:18:36: error: 'length' was not declared in this scope +167.8 ./src/util/constants.lzz:19:36: error: 'done' was not declared in this scope +167.8 ./src/util/constants.lzz:20:36: error: 'value' was not declared in this scope +167.8 ./src/util/constants.lzz:21:36: error: 'changes' was not declared in this scope +167.8 ./src/util/constants.lzz:22:36: error: 'lastInsertRowid' was not declared in this scope +167.8 ./src/util/constants.lzz:23:36: error: 'statement' was not declared in this scope; did you mean 'Statement'? +167.8 ./src/util/constants.lzz:24:36: error: 'column' was not declared in this scope +167.9 ./src/util/constants.lzz:25:36: error: 'table' was not declared in this scope +167.9 ./src/util/constants.lzz:26:36: error: 'type' was not declared in this scope; did you mean 'wctype'? +167.9 ./src/util/constants.lzz:27:36: error: 'totalPages' was not declared in this scope +167.9 ./src/util/constants.lzz:28:36: error: 'remainingPages' was not declared in this scope +167.9 ./src/util/constants.lzz: At global scope: +167.9 ./src/util/constants.lzz:140:44: error: 'CopyablePersistent' has not been declared +167.9 ./src/util/constants.lzz:140:63: error: expected ',' or '...' before '<' token +167.9 ./src/util/constants.lzz: In static member function 'static void CS::SetString(v8::Isolate*, int)': +167.9 ./src/util/constants.lzz:141:17: error: 'constant' was not declared in this scope; did you mean 'const'? +167.9 ./src/util/constants.lzz:141:73: error: 'str' was not declared in this scope; did you mean 'std'? +167.9 ./src/util/constants.lzz: In member function 'void CS::SetCode(v8::Isolate*, int, const char*)': +167.9 ./src/util/constants.lzz:145:17: error: 'codes' was not declared in this scope; did you mean 'code'? +167.9 ./src/util/bind-map.lzz: In constructor 'BindMap::Pair::Pair(v8::Isolate*, const char*, int)': +167.9 ./src/util/bind-map.lzz:20:5: error: class 'BindMap::Pair' does not have any field named 'name' +167.9 ./src/util/bind-map.lzz: In constructor 'BindMap::Pair::Pair(v8::Isolate*, BindMap::Pair*)': +167.9 ./src/util/bind-map.lzz:23:5: error: class 'BindMap::Pair' does not have any field named 'name' +167.9 ./src/util/bind-map.lzz:23:26: error: 'class BindMap::Pair' has no member named 'name' +167.9 ./src/objects/database.lzz: In static member function 'static v8::Local Database::Init(v8::Isolate*, v8::Local)': +167.9 ./src/objects/database.lzz:17:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +167.9 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +167.9 ./src/objects/database.lzz:18:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +167.9 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +167.9 ./src/objects/database.lzz: In static member function 'static void Database::ThrowSqliteError(Addon*, const char*, int)': +167.9 ./src/objects/database.lzz:58:48: error: 'struct Addon' has no member named 'SqliteError' +168.0 ./src/objects/database.lzz: In member function 'bool Database::Log(v8::Isolate*, sqlite3_stmt*)': +168.0 ./src/objects/database.lzz:69:32: error: 'logger' was not declared in this scope +168.0 ./src/objects/database.lzz:69:67: error: expected primary-expression before '>' token +168.0 ./src/objects/database.lzz:69:69: error: expected primary-expression before ')' token +168.0 ./src/objects/database.lzz: In constructor 'Database::Database(v8::Isolate*, Addon*, sqlite3*, v8::Local)': +168.0 ./src/objects/database.lzz:131:203: error: class 'Database' does not have any field named 'logger' +168.0 ./src/objects/database.lzz: In static member function 'static void Database::JS_new(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/database.lzz:194:64: error: 'class CS' has no member named 'memory' +168.0 ./src/objects/database.lzz:195:64: error: 'class CS' has no member named 'readonly' +168.0 ./src/objects/database.lzz:196:64: error: 'class CS' has no member named 'name' +168.0 ./src/objects/database.lzz: In static member function 'static void Database::JS_prepare(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/database.lzz:210:52: error: 'struct Addon' has no member named 'Statement' +168.0 ./src/objects/database.lzz: In static member function 'static void Database::JS_backup(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/database.lzz:268:52: error: 'struct Addon' has no member named 'Backup' +168.0 ./src/objects/statement.lzz: In static member function 'static v8::Local Statement::Init(v8::Isolate*, v8::Local)': +168.0 ./src/objects/statement.lzz:16:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +168.0 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +168.0 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_new(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/statement.lzz:148:64: error: 'class CS' has no member named 'reader' +168.0 ./src/objects/statement.lzz:149:64: error: 'class CS' has no member named 'readonly' +168.0 ./src/objects/statement.lzz:150:64: error: 'class CS' has no member named 'source' +168.0 ./src/objects/statement.lzz:151:64: error: 'class CS' has no member named 'database' +168.0 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_run(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/statement.lzz:168:52: error: 'class CS' has no member named 'changes' +168.0 ./src/objects/statement.lzz:169:52: error: 'class CS' has no member named 'lastInsertRowid' +168.0 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_iterate(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/statement.lzz:218:52: error: 'struct Addon' has no member named 'StatementIterator' +168.0 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_columns(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/statement.lzz:290:56: error: 'class CS' has no member named 'name' +168.0 ./src/objects/statement.lzz:291:62: error: 'class CS' has no member named 'column' +168.0 ./src/objects/statement.lzz:292:61: error: 'class CS' has no member named 'table' +168.0 ./src/objects/statement.lzz:293:64: error: 'class CS' has no member named 'database' +168.0 ./src/objects/statement.lzz:294:60: error: 'class CS' has no member named 'type' +168.0 ./src/objects/statement-iterator.lzz: In static member function 'static void StatementIterator::JS_new(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/statement-iterator.lzz:52:64: error: 'class CS' has no member named 'statement' +168.0 ./src/objects/backup.lzz: In static member function 'static void Backup::JS_new(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/backup.lzz:93:94: error: 'class CS' has no member named 'database' +168.0 ./src/objects/backup.lzz: In static member function 'static void Backup::JS_transfer(const v8::FunctionCallbackInfo&)': +168.0 ./src/objects/backup.lzz:115:52: error: 'class CS' has no member named 'totalPages' +168.0 ./src/objects/backup.lzz:116:52: error: 'class CS' has no member named 'remainingPages' +168.0 ./src/util/custom-function.lzz: In constructor 'CustomFunction::CustomFunction(v8::Isolate*, Database*, const char*, v8::Local, bool)': +168.0 ./src/util/custom-function.lzz:10:46: error: class 'CustomFunction' does not have any field named 'fn' +168.0 ./src/util/custom-function.lzz: In static member function 'static void CustomFunction::xFunc(sqlite3_context*, int, sqlite3_value**)': +168.0 ./src/util/custom-function.lzz:33:68: error: 'class CustomFunction' has no member named 'fn' +168.0 ./src/util/custom-aggregate.lzz: In constructor 'CustomAggregate::CustomAggregate(v8::Isolate*, Database*, const char*, v8::Local, v8::Local, v8::Local, v8::Local, bool)': +168.0 ./src/util/custom-aggregate.lzz:13:132: error: class 'CustomAggregate' does not have any field named 'inverse' +168.0 ./src/util/custom-aggregate.lzz:13:231: error: class 'CustomAggregate' does not have any field named 'result' +168.0 ./src/util/custom-aggregate.lzz:13:327: error: class 'CustomAggregate' does not have any field named 'start' +168.0 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xStep(sqlite3_context*, int, sqlite3_value**)': +168.0 ./src/util/custom-aggregate.lzz:22:69: error: 'fn' is not a member of 'CustomAggregate' +168.0 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xInverse(sqlite3_context*, int, sqlite3_value**)': +168.0 ./src/util/custom-aggregate.lzz:26:69: error: 'inverse' is not a member of 'CustomAggregate' +168.1 ./src/util/custom-aggregate.lzz: In member function 'CustomAggregate::Accumulator* CustomAggregate::GetAccumulator(sqlite3_context*)': +168.1 ./src/util/custom-aggregate.lzz:94:71: error: 'start' was not declared in this scope +168.1 ./src/util/custom-aggregate.lzz:94:105: error: expected primary-expression before '>' token +168.1 ./src/util/custom-aggregate.lzz:94:107: error: expected primary-expression before ')' token +168.1 ./src/util/custom-aggregate.lzz:96:43: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +168.1 ./src/util/custom-aggregate.lzz:99:38: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +168.1 ./src/util/custom-aggregate.lzz:99:59: error: 'start' was not declared in this scope +168.1 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::DestroyAccumulator(sqlite3_context*)': +168.1 ./src/util/custom-aggregate.lzz:108:22: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +168.1 ./src/util/custom-table.lzz: In constructor 'CustomTable::CustomTable(v8::Isolate*, Database*, const char*, v8::Local)': +168.1 ./src/util/custom-table.lzz:9:70: error: class 'CustomTable' does not have any field named 'factory' +168.1 ./src/util/custom-table.lzz: At global scope: +168.1 ./src/util/custom-table.lzz:45:9: warning: missing initializer for member 'sqlite3_module::xIntegrity' [-Wmissing-field-initializers] +168.1 ./src/util/custom-table.lzz:72:9: warning: missing initializer for member 'sqlite3_module::xIntegrity' [-Wmissing-field-initializers] +168.1 ./src/util/custom-table.lzz: In constructor 'CustomTable::VTab::VTab(CustomTable*, v8::Local, std::vector >, bool)': +168.1 ./src/util/custom-table.lzz:83:87: error: class 'CustomTable::VTab' does not have any field named 'generator' +168.1 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xConnect(sqlite3*, void*, int, const char* const*, sqlite3_vtab**, char**)': +168.1 ./src/util/custom-table.lzz:168:68: error: 'class CustomTable' has no member named 'factory' +168.1 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xFilter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': +168.1 ./src/util/custom-table.lzz:263:65: error: 'class CustomTable::VTab' has no member named 'generator' +168.1 ./src/util/custom-table.lzz:273:77: error: 'class CS' has no member named 'next' +168.1 ./src/util/custom-table.lzz:273:128: error: expected primary-expression before '>' token +168.1 ./src/util/custom-table.lzz:273:130: error: expected primary-expression before ')' token +168.1 ./src/util/custom-table.lzz:274:25: error: 'class CustomTable::Cursor' has no member named 'iterator' +168.1 ./src/util/custom-table.lzz:275:25: error: 'class CustomTable::Cursor' has no member named 'next' +168.1 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xNext(sqlite3_vtab_cursor*)': +168.1 ./src/util/custom-table.lzz:292:58: error: 'class CustomTable::Cursor' has no member named 'iterator' +168.1 ./src/util/custom-table.lzz:293:56: error: 'class CustomTable::Cursor' has no member named 'next' +168.1 ./src/util/custom-table.lzz:302:56: error: 'class CS' has no member named 'done' +168.1 ./src/util/custom-table.lzz:302:106: error: expected primary-expression before '>' token +168.1 ./src/util/custom-table.lzz:302:108: error: expected primary-expression before ')' token +168.1 ./src/util/custom-table.lzz:304:33: error: 'class CustomTable::Cursor' has no member named 'row'; did you mean 'rowid'? +168.1 ./src/util/custom-table.lzz:304:79: error: 'class CS' has no member named 'value' +168.1 ./src/util/custom-table.lzz:304:128: error: expected primary-expression before '>' token +168.1 ./src/util/custom-table.lzz:304:130: error: expected primary-expression before ')' token +168.1 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xColumn(sqlite3_vtab_cursor*, sqlite3_context*, int)': +168.1 ./src/util/custom-table.lzz:325:52: error: 'class CustomTable::Cursor' has no member named 'row'; did you mean 'rowid'? +168.1 ./src/better_sqlite3.lzz: In static member function 'static void Addon::JS_setErrorConstructor(const v8::FunctionCallbackInfo&)': +168.1 ./src/better_sqlite3.lzz:37:104: error: 'struct Addon' has no member named 'SqliteError' +168.4 ./src/util/data.lzz: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)': +168.4 ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=] +168.4 ./src/util/data.lzz:73:197: note: here +168.4 ./src/util/data.lzz: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)': +168.4 ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=] +168.4 ./src/util/data.lzz:77:175: note: here +168.4 make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1 +168.4 rm ba23eeee118cd63e16015df367567cb043fed872.intermediate +168.4 make: Leaving directory '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build' +168.4 gyp ERR! build error +168.4 gyp ERR! stack Error: `make` failed with exit code: 2 +168.4 gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23) +168.4 gyp ERR! System Linux 6.6.74+rpt-rpi-2712 +168.4 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" +168.4 gyp ERR! cwd /app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3 +168.4 gyp ERR! node -v v23.10.0 +168.4 gyp ERR! node-gyp -v v11.0.0 +168.4 gyp ERR! not ok ------ - > [frontend internal] load metadata for docker.io/library/node:lts-alpine: ------- -failed to solve: node:lts-alpine: failed to resolve source metadata for docker.io/library/node:lts-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/lts-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:51304->192.168.0.1:53: i/o timeout -[2025-04-01 10:04:39] FEHLER: Docker Compose Build (v2) fehlgeschlagen. Versuche mit v1 Format... -[+] Building 10.3s (2/2) FINISHED docker-container:myp-rp-arm64-builder +failed to solve: process "/bin/sh -c cd /app/node_modules/better-sqlite3 && npm run build-release" did not complete successfully: exit code: 1 +[2025-04-01 10:25:57] FEHLER: Docker Compose Build (v2) fehlgeschlagen. Versuche mit v1 Format... +[+] Building 247.1s (11/16) docker-container:myp-rp-arm64-builder => [frontend internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2.78kB 0.0s - => ERROR [frontend internal] load metadata for docker.io/library/node:lts-alpine 10.0s + => [frontend internal] load metadata for docker.io/library/node:alpine 1.0s + => [frontend internal] load .dockerignore 0.0s + => => transferring context: 2B 0.0s + => [frontend 1/12] FROM docker.io/library/node:alpine@sha256:6eae672406a2bc8ed93eab6f9f76a02eb247e06ba82b2f5032c0a4ae07e825ba 0.1s + => => resolve docker.io/library/node:alpine@sha256:6eae672406a2bc8ed93eab6f9f76a02eb247e06ba82b2f5032c0a4ae07e825ba 0.1s + => [frontend internal] load build context 0.1s + => => transferring context: 7.22kB 0.0s + => CACHED [frontend 2/12] WORKDIR /app 0.0s + => [frontend 3/12] RUN apk add --no-cache python3 build-base g++ make sqlite sqlite-dev gcc musl-dev git libffi-dev openssl-dev cmake 46.6s + => [frontend 4/12] RUN npm install -g pnpm 4.7s + => [frontend 5/12] COPY package.json pnpm-lock.yaml ./ 0.4s + => [frontend 6/12] RUN pnpm install --unsafe-perm --no-optional --frozen-lockfile 29.8s + => ERROR [frontend 7/12] RUN cd /app/node_modules/better-sqlite3 && npm run build-release 164.1s +------ + > [frontend 7/12] RUN cd /app/node_modules/better-sqlite3 && npm run build-release: +0.799 +0.799 > better-sqlite3@9.6.0 build-release +0.799 > node-gyp rebuild --release +0.799 +0.846 gyp info it worked if it ends with ok +0.847 gyp info using node-gyp@11.0.0 +0.847 gyp info using node@23.10.0 | linux | arm64 +0.947 gyp info find Python using Python version 3.12.9 found at "/usr/bin/python3" +1.112 +1.115 gyp http GET https://nodejs.org/download/release/v23.10.0/node-v23.10.0-headers.tar.gz +1.408 gyp http 200 https://nodejs.org/download/release/v23.10.0/node-v23.10.0-headers.tar.gz +4.173 gyp http GET https://nodejs.org/download/release/v23.10.0/SHASUMS256.txt +4.230 gyp http 200 https://nodejs.org/download/release/v23.10.0/SHASUMS256.txt +4.237 gyp info spawn /usr/bin/python3 +4.238 gyp info spawn args [ +4.238 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', +4.238 gyp info spawn args 'binding.gyp', +4.238 gyp info spawn args '-f', +4.238 gyp info spawn args 'make', +4.238 gyp info spawn args '-I', +4.238 gyp info spawn args '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build/config.gypi', +4.238 gyp info spawn args '-I', +4.238 gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', +4.238 gyp info spawn args '-I', +4.238 gyp info spawn args '/root/.cache/node-gyp/23.10.0/include/node/common.gypi', +4.238 gyp info spawn args '-Dlibrary=shared_library', +4.238 gyp info spawn args '-Dvisibility=default', +4.238 gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/23.10.0', +4.238 gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', +4.238 gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/23.10.0/<(target_arch)/node.lib', +4.238 gyp info spawn args '-Dmodule_root_dir=/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3', +4.238 gyp info spawn args '-Dnode_engine=v8', +4.238 gyp info spawn args '--depth=.', +4.238 gyp info spawn args '--no-parallel', +4.238 gyp info spawn args '--generator-output', +4.238 gyp info spawn args 'build', +4.238 gyp info spawn args '-Goutput_dir=.' +4.238 gyp info spawn args ] +4.472 gyp info spawn make +4.472 gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] +4.474 make: Entering directory '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build' +4.475 TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate +4.477 ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate +4.735 TOUCH Release/obj.target/deps/locate_sqlite3.stamp +4.738 CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o +161.4 rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a` +161.4 ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list +161.5 COPY Release/sqlite3.a +161.5 CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o +161.6 In file included from /root/.cache/node-gyp/23.10.0/include/node/cppgc/common.h:8, +161.6 from /root/.cache/node-gyp/23.10.0/include/node/v8.h:23, +161.6 from /root/.cache/node-gyp/23.10.0/include/node/node.h:73, +161.6 from ./src/better_sqlite3.lzz:11, +161.6 from ../src/better_sqlite3.cpp:4: +161.6 /root/.cache/node-gyp/23.10.0/include/node/v8config.h:13:2: error: #error "C++20 or later required." +161.6 13 | #error "C++20 or later required." +161.6 | ^~~~~ +162.7 ./src/util/macros.lzz:31:69: error: 'CopyablePersistentTraits' is not a member of 'v8'; did you mean 'NonCopyablePersistentTraits'? +162.7 ./src/util/macros.lzz:31:94: error: template argument 2 is invalid +162.7 ./src/util/macros.lzz:149:2: error: 'v8::AccessorGetterCallback' has not been declared +162.7 ./src/util/macros.lzz:33:97: error: 'CopyablePersistent' has not been declared +162.7 ./src/util/macros.lzz:33:116: error: expected ',' or '...' before '<' token +162.7 ./src/util/constants.lzz:119:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:120:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:121:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:122:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:123:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:124:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:125:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:126:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:127:3: error: 'CopyablePersistent' does not name a type +162.7 ./src/util/constants.lzz:128:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:129:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:130:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:131:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:132:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:133:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:134:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:135:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:136:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/constants.lzz:140:49: error: 'CopyablePersistent' has not been declared +162.8 ./src/util/constants.lzz:140:68: error: expected ',' or '...' before '<' token +162.8 ./src/util/constants.lzz:150:28: error: 'CopyablePersistent' was not declared in this scope +162.8 ./src/util/constants.lzz:150:57: error: template argument 2 is invalid +162.8 ./src/util/constants.lzz:150:57: error: template argument 5 is invalid +162.8 ./src/util/constants.lzz:150:59: error: expected unqualified-id before '>' token +162.8 ./src/util/bind-map.lzz:25:5: error: 'CopyablePersistent' does not name a type +162.8 ./src/objects/database.lzz:465:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/custom-function.lzz:57:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/custom-aggregate.lzz:39:90: error: 'CopyablePersistent' has not been declared +162.8 ./src/util/custom-aggregate.lzz:39:109: error: expected ',' or '...' before '<' token +162.8 ./src/util/custom-aggregate.lzz:83:5: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/custom-aggregate.lzz:118:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/custom-aggregate.lzz:119:3: error: 'CopyablePersistent' does not name a type +162.8 ./src/util/custom-aggregate.lzz:120:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/custom-table.lzz:104:5: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/custom-table.lzz:123:5: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/custom-table.lzz:124:5: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/custom-table.lzz:125:5: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/custom-table.lzz:403:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/better_sqlite3.lzz:56:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/better_sqlite3.lzz:57:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/better_sqlite3.lzz:58:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/better_sqlite3.lzz:59:3: error: 'CopyablePersistent' does not name a type +162.9 ./src/util/macros.lzz:33:108: error: 'CopyablePersistent' has not been declared +162.9 ./src/util/macros.lzz:33:127: error: expected ',' or '...' before '<' token +162.9 ./src/util/macros.lzz: In function 'void SetFrozen(v8::Isolate*, v8::Local, v8::Local, int)': +162.9 ./src/util/macros.lzz:34:37: error: 'key' was not declared in this scope; did you mean 'key_t'? +162.9 ./src/util/macros.lzz:34:55: error: 'value' was not declared in this scope +162.9 ./src/util/bind-map.lzz: In member function 'v8::Local BindMap::Pair::GetName(v8::Isolate*)': +162.9 ./src/util/bind-map.lzz:14:40: error: 'name' was not declared in this scope; did you mean 'tzname'? +162.9 ./src/objects/statement-iterator.lzz: In static member function 'static v8::Local StatementIterator::NewRecord(v8::Isolate*, v8::Local, v8::Local, Addon*, bool)': +162.9 ./src/objects/statement-iterator.lzz:121:44: error: 'class CS' has no member named 'value' +162.9 ./src/objects/statement-iterator.lzz:122:44: error: 'class CS' has no member named 'done' +162.9 ./src/util/custom-aggregate.lzz: At global scope: +162.9 ./src/util/custom-aggregate.lzz:39:109: error: 'CopyablePersistent' has not been declared +162.9 ./src/util/custom-aggregate.lzz:39:128: error: expected ',' or '...' before '<' token +162.9 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xStepBase(sqlite3_context*, int, sqlite3_value**, int)': +162.9 ./src/util/custom-aggregate.lzz:40:269: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +162.9 ./src/util/custom-aggregate.lzz:44:32: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +162.9 ./src/util/custom-aggregate.lzz:47:70: error: 'ptrtm' was not declared in this scope +162.9 ./src/util/custom-aggregate.lzz:54:63: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +162.9 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xValueBase(sqlite3_context*, bool)': +162.9 ./src/util/custom-aggregate.lzz:59:269: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +162.9 ./src/util/custom-aggregate.lzz:68:52: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +162.9 ./src/util/custom-aggregate.lzz:70:71: error: 'class CustomAggregate' has no member named 'result' +162.9 ./src/util/macros.lzz: At global scope: +162.9 ./src/util/macros.lzz:158:2: error: 'v8::AccessorGetterCallback' has not been declared +162.9 ./src/util/macros.lzz: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)': +162.9 ./src/util/macros.lzz:172:28: error: 'class v8::ObjectTemplate' has no member named 'SetAccessor' +162.9 ./src/better_sqlite3.lzz: At global scope: +162.9 /root/.cache/node-gyp/23.10.0/include/node/node.h:1247:7: warning: cast between incompatible function types from 'void (*)(v8::Local, v8::Local, v8::Local)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local, v8::Local, v8::Local, void*)'} [-Wcast-function-type] +162.9 1247 | (node::addon_context_register_func) (regfunc), \ +162.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +162.9 /root/.cache/node-gyp/23.10.0/include/node/node.h:1265:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' +162.9 1265 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) +162.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +162.9 /root/.cache/node-gyp/23.10.0/include/node/node.h:1296:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' +162.9 1296 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ +162.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~ +162.9 ./src/better_sqlite3.lzz:67:1: note: in expansion of macro 'NODE_MODULE_INIT' +162.9 ./src/better_sqlite3.lzz: In function 'void node_register_module_v131(v8::Local, v8::Local, v8::Local)': +162.9 ./src/better_sqlite3.lzz:84:9: error: 'struct Addon' has no member named 'Statement' +162.9 ./src/better_sqlite3.lzz:85:9: error: 'struct Addon' has no member named 'StatementIterator' +162.9 ./src/better_sqlite3.lzz:86:9: error: 'struct Addon' has no member named 'Backup' +163.0 ./src/util/constants.lzz: In member function 'v8::Local CS::Code(v8::Isolate*, int)': +163.0 ./src/util/constants.lzz:5:32: error: 'codes' was not declared in this scope; did you mean 'code'? +163.0 ./src/util/constants.lzz: In constructor 'CS::CS(v8::Isolate*)': +163.0 ./src/util/constants.lzz:11:36: error: 'database' was not declared in this scope; did you mean 'Database'? +163.0 ./src/util/constants.lzz:12:36: error: 'reader' was not declared in this scope +163.0 ./src/util/constants.lzz:13:36: error: 'source' was not declared in this scope +163.0 ./src/util/constants.lzz:14:36: error: 'memory' was not declared in this scope; did you mean 'memcpy'? +163.0 ./src/util/constants.lzz:15:36: error: 'readonly' was not declared in this scope +163.0 ./src/util/constants.lzz:16:36: error: 'name' was not declared in this scope; did you mean 'tzname'? +163.0 ./src/util/constants.lzz:17:36: error: 'next' was not declared in this scope; did you mean 'std::next'? +163.0 In file included from /usr/include/c++/14.2.0/string:47, +163.0 from ./src/better_sqlite3.lzz:5: +163.0 /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:232:5: note: 'std::next' declared here +163.0 232 | next(_InputIterator __x, typename +163.0 | ^~~~ +163.0 ./src/util/constants.lzz:18:36: error: 'length' was not declared in this scope +163.0 ./src/util/constants.lzz:19:36: error: 'done' was not declared in this scope +163.1 ./src/util/constants.lzz:20:36: error: 'value' was not declared in this scope +163.1 ./src/util/constants.lzz:21:36: error: 'changes' was not declared in this scope +163.1 ./src/util/constants.lzz:22:36: error: 'lastInsertRowid' was not declared in this scope +163.1 ./src/util/constants.lzz:23:36: error: 'statement' was not declared in this scope; did you mean 'Statement'? +163.1 ./src/util/constants.lzz:24:36: error: 'column' was not declared in this scope +163.1 ./src/util/constants.lzz:25:36: error: 'table' was not declared in this scope +163.1 ./src/util/constants.lzz:26:36: error: 'type' was not declared in this scope; did you mean 'wctype'? +163.1 ./src/util/constants.lzz:27:36: error: 'totalPages' was not declared in this scope +163.1 ./src/util/constants.lzz:28:36: error: 'remainingPages' was not declared in this scope +163.2 ./src/util/constants.lzz: At global scope: +163.2 ./src/util/constants.lzz:140:44: error: 'CopyablePersistent' has not been declared +163.2 ./src/util/constants.lzz:140:63: error: expected ',' or '...' before '<' token +163.2 ./src/util/constants.lzz: In static member function 'static void CS::SetString(v8::Isolate*, int)': +163.2 ./src/util/constants.lzz:141:17: error: 'constant' was not declared in this scope; did you mean 'const'? +163.2 ./src/util/constants.lzz:141:73: error: 'str' was not declared in this scope; did you mean 'std'? +163.2 ./src/util/constants.lzz: In member function 'void CS::SetCode(v8::Isolate*, int, const char*)': +163.2 ./src/util/constants.lzz:145:17: error: 'codes' was not declared in this scope; did you mean 'code'? +163.2 ./src/util/bind-map.lzz: In constructor 'BindMap::Pair::Pair(v8::Isolate*, const char*, int)': +163.2 ./src/util/bind-map.lzz:20:5: error: class 'BindMap::Pair' does not have any field named 'name' +163.2 ./src/util/bind-map.lzz: In constructor 'BindMap::Pair::Pair(v8::Isolate*, BindMap::Pair*)': +163.2 ./src/util/bind-map.lzz:23:5: error: class 'BindMap::Pair' does not have any field named 'name' +163.2 ./src/util/bind-map.lzz:23:26: error: 'class BindMap::Pair' has no member named 'name' +163.2 ./src/objects/database.lzz: In static member function 'static v8::Local Database::Init(v8::Isolate*, v8::Local)': +163.2 ./src/objects/database.lzz:17:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +163.2 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +163.2 ./src/objects/database.lzz:18:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +163.2 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +163.2 ./src/objects/database.lzz: In static member function 'static void Database::ThrowSqliteError(Addon*, const char*, int)': +163.2 ./src/objects/database.lzz:58:48: error: 'struct Addon' has no member named 'SqliteError' +163.2 ./src/objects/database.lzz: In member function 'bool Database::Log(v8::Isolate*, sqlite3_stmt*)': +163.2 ./src/objects/database.lzz:69:32: error: 'logger' was not declared in this scope +163.2 ./src/objects/database.lzz:69:67: error: expected primary-expression before '>' token +163.2 ./src/objects/database.lzz:69:69: error: expected primary-expression before ')' token +163.2 ./src/objects/database.lzz: In constructor 'Database::Database(v8::Isolate*, Addon*, sqlite3*, v8::Local)': +163.2 ./src/objects/database.lzz:131:203: error: class 'Database' does not have any field named 'logger' +163.2 ./src/objects/database.lzz: In static member function 'static void Database::JS_new(const v8::FunctionCallbackInfo&)': +163.2 ./src/objects/database.lzz:194:64: error: 'class CS' has no member named 'memory' +163.2 ./src/objects/database.lzz:195:64: error: 'class CS' has no member named 'readonly' +163.2 ./src/objects/database.lzz:196:64: error: 'class CS' has no member named 'name' +163.2 ./src/objects/database.lzz: In static member function 'static void Database::JS_prepare(const v8::FunctionCallbackInfo&)': +163.2 ./src/objects/database.lzz:210:52: error: 'struct Addon' has no member named 'Statement' +163.2 ./src/objects/database.lzz: In static member function 'static void Database::JS_backup(const v8::FunctionCallbackInfo&)': +163.2 ./src/objects/database.lzz:268:52: error: 'struct Addon' has no member named 'Backup' +163.2 ./src/objects/statement.lzz: In static member function 'static v8::Local Statement::Init(v8::Isolate*, v8::Local)': +163.2 ./src/objects/statement.lzz:16:35: error: invalid conversion from 'void (*)(v8::Local, const v8::PropertyCallbackInfo&)' to 'int' [-fpermissive] +163.2 ./src/util/macros.lzz:158:29: note: initializing argument 5 of 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, int)' +163.2 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_new(const v8::FunctionCallbackInfo&)': +163.2 ./src/objects/statement.lzz:148:64: error: 'class CS' has no member named 'reader' +163.2 ./src/objects/statement.lzz:149:64: error: 'class CS' has no member named 'readonly' +163.2 ./src/objects/statement.lzz:150:64: error: 'class CS' has no member named 'source' +163.2 ./src/objects/statement.lzz:151:64: error: 'class CS' has no member named 'database' +163.2 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_run(const v8::FunctionCallbackInfo&)': +163.2 ./src/objects/statement.lzz:168:52: error: 'class CS' has no member named 'changes' +163.2 ./src/objects/statement.lzz:169:52: error: 'class CS' has no member named 'lastInsertRowid' +163.3 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_iterate(const v8::FunctionCallbackInfo&)': +163.3 ./src/objects/statement.lzz:218:52: error: 'struct Addon' has no member named 'StatementIterator' +163.3 ./src/objects/statement.lzz: In static member function 'static void Statement::JS_columns(const v8::FunctionCallbackInfo&)': +163.3 ./src/objects/statement.lzz:290:56: error: 'class CS' has no member named 'name' +163.3 ./src/objects/statement.lzz:291:62: error: 'class CS' has no member named 'column' +163.3 ./src/objects/statement.lzz:292:61: error: 'class CS' has no member named 'table' +163.3 ./src/objects/statement.lzz:293:64: error: 'class CS' has no member named 'database' +163.3 ./src/objects/statement.lzz:294:60: error: 'class CS' has no member named 'type' +163.3 ./src/objects/statement-iterator.lzz: In static member function 'static void StatementIterator::JS_new(const v8::FunctionCallbackInfo&)': +163.3 ./src/objects/statement-iterator.lzz:52:64: error: 'class CS' has no member named 'statement' +163.3 ./src/objects/backup.lzz: In static member function 'static void Backup::JS_new(const v8::FunctionCallbackInfo&)': +163.3 ./src/objects/backup.lzz:93:94: error: 'class CS' has no member named 'database' +163.3 ./src/objects/backup.lzz: In static member function 'static void Backup::JS_transfer(const v8::FunctionCallbackInfo&)': +163.3 ./src/objects/backup.lzz:115:52: error: 'class CS' has no member named 'totalPages' +163.3 ./src/objects/backup.lzz:116:52: error: 'class CS' has no member named 'remainingPages' +163.3 ./src/util/custom-function.lzz: In constructor 'CustomFunction::CustomFunction(v8::Isolate*, Database*, const char*, v8::Local, bool)': +163.3 ./src/util/custom-function.lzz:10:46: error: class 'CustomFunction' does not have any field named 'fn' +163.3 ./src/util/custom-function.lzz: In static member function 'static void CustomFunction::xFunc(sqlite3_context*, int, sqlite3_value**)': +163.3 ./src/util/custom-function.lzz:33:68: error: 'class CustomFunction' has no member named 'fn' +163.3 ./src/util/custom-aggregate.lzz: In constructor 'CustomAggregate::CustomAggregate(v8::Isolate*, Database*, const char*, v8::Local, v8::Local, v8::Local, v8::Local, bool)': +163.3 ./src/util/custom-aggregate.lzz:13:132: error: class 'CustomAggregate' does not have any field named 'inverse' +163.3 ./src/util/custom-aggregate.lzz:13:231: error: class 'CustomAggregate' does not have any field named 'result' +163.3 ./src/util/custom-aggregate.lzz:13:327: error: class 'CustomAggregate' does not have any field named 'start' +163.3 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xStep(sqlite3_context*, int, sqlite3_value**)': +163.3 ./src/util/custom-aggregate.lzz:22:69: error: 'fn' is not a member of 'CustomAggregate' +163.3 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::xInverse(sqlite3_context*, int, sqlite3_value**)': +163.3 ./src/util/custom-aggregate.lzz:26:69: error: 'inverse' is not a member of 'CustomAggregate' +163.3 ./src/util/custom-aggregate.lzz: In member function 'CustomAggregate::Accumulator* CustomAggregate::GetAccumulator(sqlite3_context*)': +163.3 ./src/util/custom-aggregate.lzz:94:71: error: 'start' was not declared in this scope +163.3 ./src/util/custom-aggregate.lzz:94:105: error: expected primary-expression before '>' token +163.3 ./src/util/custom-aggregate.lzz:94:107: error: expected primary-expression before ')' token +163.3 ./src/util/custom-aggregate.lzz:96:43: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +163.3 ./src/util/custom-aggregate.lzz:99:38: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +163.3 ./src/util/custom-aggregate.lzz:99:59: error: 'start' was not declared in this scope +163.3 ./src/util/custom-aggregate.lzz: In static member function 'static void CustomAggregate::DestroyAccumulator(sqlite3_context*)': +163.3 ./src/util/custom-aggregate.lzz:108:22: error: 'struct CustomAggregate::Accumulator' has no member named 'value' +163.3 ./src/util/custom-table.lzz: In constructor 'CustomTable::CustomTable(v8::Isolate*, Database*, const char*, v8::Local)': +163.3 ./src/util/custom-table.lzz:9:70: error: class 'CustomTable' does not have any field named 'factory' +163.3 ./src/util/custom-table.lzz: At global scope: +163.3 ./src/util/custom-table.lzz:45:9: warning: missing initializer for member 'sqlite3_module::xIntegrity' [-Wmissing-field-initializers] +163.3 ./src/util/custom-table.lzz:72:9: warning: missing initializer for member 'sqlite3_module::xIntegrity' [-Wmissing-field-initializers] +163.3 ./src/util/custom-table.lzz: In constructor 'CustomTable::VTab::VTab(CustomTable*, v8::Local, std::vector >, bool)': +163.3 ./src/util/custom-table.lzz:83:87: error: class 'CustomTable::VTab' does not have any field named 'generator' +163.3 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xConnect(sqlite3*, void*, int, const char* const*, sqlite3_vtab**, char**)': +163.3 ./src/util/custom-table.lzz:168:68: error: 'class CustomTable' has no member named 'factory' +163.3 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xFilter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': +163.3 ./src/util/custom-table.lzz:263:65: error: 'class CustomTable::VTab' has no member named 'generator' +163.3 ./src/util/custom-table.lzz:273:77: error: 'class CS' has no member named 'next' +163.3 ./src/util/custom-table.lzz:273:128: error: expected primary-expression before '>' token +163.3 ./src/util/custom-table.lzz:273:130: error: expected primary-expression before ')' token +163.3 ./src/util/custom-table.lzz:274:25: error: 'class CustomTable::Cursor' has no member named 'iterator' +163.3 ./src/util/custom-table.lzz:275:25: error: 'class CustomTable::Cursor' has no member named 'next' +163.3 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xNext(sqlite3_vtab_cursor*)': +163.3 ./src/util/custom-table.lzz:292:58: error: 'class CustomTable::Cursor' has no member named 'iterator' +163.3 ./src/util/custom-table.lzz:293:56: error: 'class CustomTable::Cursor' has no member named 'next' +163.3 ./src/util/custom-table.lzz:302:56: error: 'class CS' has no member named 'done' +163.3 ./src/util/custom-table.lzz:302:106: error: expected primary-expression before '>' token +163.3 ./src/util/custom-table.lzz:302:108: error: expected primary-expression before ')' token +163.3 ./src/util/custom-table.lzz:304:33: error: 'class CustomTable::Cursor' has no member named 'row'; did you mean 'rowid'? +163.3 ./src/util/custom-table.lzz:304:79: error: 'class CS' has no member named 'value' +163.3 ./src/util/custom-table.lzz:304:128: error: expected primary-expression before '>' token +163.3 ./src/util/custom-table.lzz:304:130: error: expected primary-expression before ')' token +163.3 ./src/util/custom-table.lzz: In static member function 'static int CustomTable::xColumn(sqlite3_vtab_cursor*, sqlite3_context*, int)': +163.3 ./src/util/custom-table.lzz:325:52: error: 'class CustomTable::Cursor' has no member named 'row'; did you mean 'rowid'? +163.3 ./src/better_sqlite3.lzz: In static member function 'static void Addon::JS_setErrorConstructor(const v8::FunctionCallbackInfo&)': +163.3 ./src/better_sqlite3.lzz:37:104: error: 'struct Addon' has no member named 'SqliteError' +163.7 ./src/util/data.lzz: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)': +163.7 ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=] +163.7 ./src/util/data.lzz:73:197: note: here +163.7 ./src/util/data.lzz: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)': +163.7 ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=] +163.7 ./src/util/data.lzz:77:175: note: here +163.7 make: *** [better_sqlite3.target.mk:120: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1 +163.7 rm ba23eeee118cd63e16015df367567cb043fed872.intermediate +163.7 make: Leaving directory '/app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3/build' +163.7 gyp ERR! build error +163.7 gyp ERR! stack Error: `make` failed with exit code: 2 +163.7 gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23) +163.7 gyp ERR! System Linux 6.6.74+rpt-rpi-2712 +163.7 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" +163.7 gyp ERR! cwd /app/node_modules/.pnpm/better-sqlite3@9.6.0/node_modules/better-sqlite3 +163.7 gyp ERR! node -v v23.10.0 +163.7 gyp ERR! node-gyp -v v11.0.0 +163.7 gyp ERR! not ok ------ - > [frontend internal] load metadata for docker.io/library/node:lts-alpine: ------- -failed to solve: node:lts-alpine: failed to resolve source metadata for docker.io/library/node:lts-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/lts-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:34873->192.168.0.1:53: i/o timeout -[2025-04-01 10:04:50] FEHLER: Docker Compose Build fehlgeschlagen. Siehe Fehlermeldung oben. +failed to solve: process "/bin/sh -c cd /app/node_modules/better-sqlite3 && npm run build-release" did not complete successfully: exit code: 1 +[2025-04-01 10:30:05] FEHLER: Docker Compose Build fehlgeschlagen. Siehe Fehlermeldung oben.