Package: src:node-quickjs-emscripten
Version: 0.23.0+dfsg-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
/!\ quickjs/package.json not found
/!\ quickjs/package.json not found
Unable to load quickjs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/fs-extra -> /usr/share/nodejs/@types/fs-extra
Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
/!\ quickjs/package.json not found
Unable to load quickjs
Link ./node_modules/source-map-support -> /usr/share/nodejs/source-map-support
   dh_auto_build --buildsystem=nodejs
/!\ quickjs/package.json not found
/!\ quickjs/package.json not found
Unable to load quickjs
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ mkdir ts/generated/
+ make dist
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'

=====[[ target: build/wrapper/symbols.json, deps: , variant: WASM_RELEASE_SYNC 
]]=====
ts-node generate.ts symbols build/wrapper/symbols.json

=====[[ target: build/wrapper/asyncify-remove.json, deps: , variant: 
WASM_RELEASE_SYNC ]]=====
ts-node generate.ts sync-symbols build/wrapper/asyncify-remove.json

=====[[ target: build/wrapper/asyncify-imports.json, deps: , variant: 
WASM_RELEASE_SYNC ]]=====
ts-node generate.ts async-callback-symbols build/wrapper/asyncify-imports.json

=====[[ target: build/wrapper/interface.WASM_RELEASE_SYNC.o, deps: 
c/interface.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s 
MODULARIZE=1 -s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 
-s ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry 
-s AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz 
-flto  -s SINGLE_FILE=1 -s FILESYSTEM=0     -Wcast-function-type    -c -o 
build/wrapper/interface.WASM_RELEASE_SYNC.o c/interface.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
In file included from c/interface.c:49:
In file included from c/../quickjs/quickjs-libc.h:30:
c/../quickjs/quickjs.h:958:34: warning: cast from 'JSCFunctionMagic *' (aka 
'unsigned long long (*)(struct JSContext *, unsigned long long, int, unsigned 
long long *, int)') to 'JSCFunction *' (aka 'unsigned long long (*)(struct 
JSContext *, unsigned long long, int, unsigned long long *)') converts to 
incompatible function type [-Wcast-function-type-strict]
  958 |     return JS_NewCFunction2(ctx, (JSCFunction *)func, name, length, 
cproto, magic);
      |                                  ^~~~~~~~~~~~~~~~~~~
1 warning generated.

=====[[ target: build/quickjs/quickjs.WASM_RELEASE_SYNC.o, deps: 
quickjs/quickjs.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/quickjs.WASM_RELEASE_SYNC.o quickjs/quickjs.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]
quickjs/quickjs.c:10741:30: warning: implicit conversion from 'long long' to 
'double' changes value from 9223372036854775807 to 9223372036854775808 
[-Wimplicit-const-int-float-conversion]
 10741 |                 else if (d > INT64_MAX)
       |                            ~ ^~~~~~~~~
/usr/share/emscripten/cache/sysroot/include/stdint.h:46:21: note: expanded from 
macro 'INT64_MAX'
   46 | #define INT64_MAX  (0x7fffffffffffffff)
      |                     ^~~~~~~~~~~~~~~~~~
1 warning generated.

=====[[ target: build/quickjs/libregexp.WASM_RELEASE_SYNC.o, deps: 
quickjs/libregexp.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/libregexp.WASM_RELEASE_SYNC.o quickjs/libregexp.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]

=====[[ target: build/quickjs/libunicode.WASM_RELEASE_SYNC.o, deps: 
quickjs/libunicode.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/libunicode.WASM_RELEASE_SYNC.o quickjs/libunicode.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]

=====[[ target: build/quickjs/cutils.WASM_RELEASE_SYNC.o, deps: 
quickjs/cutils.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/cutils.WASM_RELEASE_SYNC.o quickjs/cutils.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]

=====[[ target: build/quickjs/quickjs-libc.WASM_RELEASE_SYNC.o, deps: 
quickjs/quickjs-libc.c, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/quickjs-libc.WASM_RELEASE_SYNC.o 
quickjs/quickjs-libc.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]

=====[[ target: build/quickjs/libbf.WASM_RELEASE_SYNC.o, deps: quickjs/libbf.c, 
variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s MODULARIZE=1 
-s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s 
ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry -s 
AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz -flto  -s 
SINGLE_FILE=1 -s FILESYSTEM=0    -s EXPORTED_FUNCTIONS=@build/wrapper/symbols.json 
-D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_STACK_CHECK 
-DCONFIG_BIGNUM -c -o build/quickjs/libbf.WASM_RELEASE_SYNC.o quickjs/libbf.c
emcc: warning: linker setting ignored during compilation: 'WASM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'EXPORTED_RUNTIME_METHODS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'MODULARIZE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORT_NAME' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'INVOKE_RUN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_TABLE_GROWTH' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SUPPORT_ERRNO' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'IGNORE_MISSING_MAIN' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'AUTO_JS_LIBRARIES' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_NATIVE_LIBRARIES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'AUTO_ARCHIVE_INDEXES' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'DEFAULT_TO_CXX' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 
'ALLOW_UNIMPLEMENTED_SYSCALLS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'NODEJS_CATCH_EXIT' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'SINGLE_FILE' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'FILESYSTEM' 
[-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'EXPORTED_FUNCTIONS' 
[-Wunused-command-line-argument]

=====[[ target: ts/generated/emscripten-module.WASM_RELEASE_SYNC.js, deps: 
build/wrapper/interface.WASM_RELEASE_SYNC.o, variant: WASM_RELEASE_SYNC ]]=====
emcc -s WASM=1 -s EXPORTED_RUNTIME_METHODS=@exportedRuntimeMethods.json -s 
MODULARIZE=1 -s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 
-s ALLOW_TABLE_GROWTH=1 -s SUPPORT_ERRNO=0 -s IGNORE_MISSING_MAIN=0 --no-entry 
-s AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 -s AUTO_ARCHIVE_INDEXES=0 -s 
DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s NODEJS_CATCH_EXIT=0 -Oz 
-flto  -s SINGLE_FILE=1 -s FILESYSTEM=0    -Wcast-function-type    -s 
EXPORTED_FUNCTIONS=@build/wrapper/symbols.json -o 
ts/generated/emscripten-module.WASM_RELEASE_SYNC.js 
build/wrapper/interface.WASM_RELEASE_SYNC.o  
build/quickjs/quickjs.WASM_RELEASE_SYNC.o  
build/quickjs/libregexp.WASM_RELEASE_SYNC.o  
build/quickjs/libunicode.WASM_RELEASE_SYNC.o  
build/quickjs/cutils.WASM_RELEASE_SYNC.o  
build/quickjs/quickjs-libc.WASM_RELEASE_SYNC.o  
build/quickjs/libbf.WASM_RELEASE_SYNC.o
emcc: warning: LLVM version for clang executable "/usr/bin/clang-18" appears incorrect (seeing 
"18.1", expected "20") [-Wversion-check]
emcc: warning: SUPPORT_ERRNO is deprecated (emscripten no longer uses the 
setErrNo library function). Please open a bug if you have a continuing need for 
this setting [-Wdeprecated]
{
  "emJsFuncs": {
    "qts_host_call_function": "(JSContext * ctx, JSValue *this_ptr, int argc, JSValue 
*argv, uint32_t magic_func_id)<::>{ const asyncify = undefined; return 
Module['callbacks']['callFunction'](asyncify, ctx, this_ptr, argc, argv, magic_func_id); }",
    "qts_host_interrupt_handler": "(JSRuntime * rt)<::>{ const asyncify = undefined; 
return Module['callbacks']['shouldInterrupt'](asyncify, rt); }",
    "qts_host_load_module_source": "(JSRuntime * rt, JSContext *ctx, const char 
*module_name)<::>{ const asyncify = undefined; const moduleNameString = UTF8ToString(module_name); 
return Module['callbacks']['loadModuleSource'](asyncify, rt, ctx, moduleNameString); }",
    "qts_host_normalize_module": "(JSRuntime * rt, JSContext *ctx, const char 
*module_base_name, const char *module_name)<::>{ const asyncify = undefined; const 
moduleBaseNameString = UTF8ToString(module_base_name); const moduleNameString = 
UTF8ToString(module_name); return Module['callbacks']['normalizeModule'](asyncify, rt, ctx, 
moduleBaseNameString, moduleNameString); }"
  },
  "declares": [
    "__assert_fail",
    "environ_sizes_get",
    "environ_get",
    "fd_close",
    "fd_write",
    "_abort_js",
    "emscripten_date_now",
    "_tzset_js",
    "emscripten_resize_heap",
    "setTempRet0",
    "fd_seek",
    "_localtime_js"
  ],
  "globalImports": [
  ],
  "exports": [
    "__wasm_call_ctors",
    "malloc",
    "QTS_Throw",
    "QTS_NewError",
    "QTS_RuntimeSetMemoryLimit",
    "QTS_RuntimeComputeMemoryUsage",
    "QTS_RuntimeDumpMemoryUsage",
    "QTS_RecoverableLeakCheck",
    "QTS_BuildIsSanitizeLeak",
    "QTS_RuntimeSetMaxStackSize",
    "QTS_GetUndefined",
    "QTS_GetNull",
    "QTS_GetFalse",
    "QTS_GetTrue",
    "QTS_NewRuntime",
    "QTS_FreeRuntime",
    "QTS_NewContext",
    "QTS_FreeContext",
    "QTS_FreeValuePointer",
    "free",
    "QTS_FreeValuePointerRuntime",
    "QTS_FreeVoidPointer",
    "QTS_FreeCString",
    "QTS_DupValuePointer",
    "QTS_NewObject",
    "QTS_NewObjectProto",
    "QTS_NewArray",
    "QTS_NewFloat64",
    "QTS_GetFloat64",
    "QTS_NewString",
    "QTS_GetString",
    "QTS_NewSymbol",
    "QTS_GetSymbolDescriptionOrKey",
    "QTS_IsGlobalSymbol",
    "QTS_IsJobPending",
    "QTS_ExecutePendingJob",
    "QTS_GetProp",
    "QTS_SetProp",
    "QTS_DefineProp",
    "QTS_Call",
    "QTS_ResolveException",
    "QTS_Dump",
    "QTS_Eval",
    "QTS_Typeof",
    "QTS_GetGlobalObject",
    "QTS_NewPromiseCapability",
    "QTS_TestStringArg",
    "QTS_BuildIsDebug",
    "QTS_BuildIsAsyncify",
    "QTS_NewFunction",
    "QTS_ArgvGetJSValueConstPointer",
    "QTS_RuntimeEnableInterruptHandler",
    "QTS_RuntimeDisableInterruptHandler",
    "QTS_RuntimeEnableModuleLoader",
    "QTS_RuntimeDisableModuleLoader",
    "_emscripten_tempret_set",
    "__get_temp_ret",
    "__set_temp_ret",
    "_emscripten_stack_restore",
    "_emscripten_stack_alloc",
    "emscripten_stack_get_current",
    "dynCall_jiji",
    "dynCall_jiij",
    "dynCall_iiiijj",
    "dynCall_iiiij",
    "dynCall_jiiiii",
    "dynCall_jij",
    "dynCall_jijjiii",
    "dynCall_jijii",
    "dynCall_jijiii",
    "dynCall_jijiiiii",
    "dynCall_jijj",
    "dynCall_iiijj",
    "dynCall_jiii",
    "dynCall_jijiiii",
    "dynCall_vij",
    "dynCall_viji",
    "dynCall_iijijjji",
    "dynCall_iiiji",
    "dynCall_iiji",
    "dynCall_jijij",
    "dynCall_iijijji",
    "dynCall_jiiii",
    "dynCall_jii"
  ],
  "namedGlobals": {
    "__start_em_js" : "75588",
    "__stop_em_js" : "76490"
  },
  "invokeFuncs": [
  ],
  "mainReadsParams": 0,
  "features": [
    "--enable-mutable-globals",
    "--enable-sign-ext"
  ]
}
error: undefined symbol: qts_host_call_function (referenced by root reference 
(e.g. compiled C/C++ code))
warning: To disable errors for undefined symbols use 
`-sERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _qts_host_call_function may need to be added to EXPORTED_FUNCTIONS if 
it arrives from a system library
error: undefined symbol: qts_host_interrupt_handler (referenced by root 
reference (e.g. compiled C/C++ code))
warning: _qts_host_interrupt_handler may need to be added to EXPORTED_FUNCTIONS 
if it arrives from a system library
error: undefined symbol: qts_host_load_module_source (referenced by root 
reference (e.g. compiled C/C++ code))
warning: _qts_host_load_module_source may need to be added to 
EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: qts_host_normalize_module (referenced by root 
reference (e.g. compiled C/C++ code))
warning: _qts_host_normalize_module may need to be added to EXPORTED_FUNCTIONS 
if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc: error: '/usr/bin/node /usr/share/emscripten/src/compiler.mjs 
/tmp/tmpeze37s7z.json' failed (returned 1)
make[2]: *** [Makefile:227: 
ts/generated/emscripten-module.WASM_RELEASE_SYNC.js] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:185: WASM_RELEASE_SYNC] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 
2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to