Package: src:node-quickjs-emscripten
Version: 0.23.0+dfsg-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:node-quickjs-emscripten, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
/!\ quickjs/package.json not found
/!\ quickjs/package.json not found
Unable to load quickjs 
        rm -rf ./node_modules/.cache ./.nyc_output
/!\ quickjs/package.json not found
Unable to load quickjs 
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/fs-extra
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/mocha
Trying to remove ./node_modules/@types
unlink ./node_modules/ts-node
unlink ./node_modules/source-map-support
rm ./node_modules/.cache
/!\ quickjs/package.json not found
Unable to load quickjs 
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/fs-extra
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/mocha
Trying to remove ./node_modules/@types
unlink ./node_modules/ts-node
unlink ./node_modules/source-map-support
   dh_clean
 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 -p 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 [email protected] -s 
MODULARIZE=1 -s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 
-s ALLOW_TABLE_GROWTH=1 -s STACK_SIZE=5MB -s IGNORE_MISSING_MAIN=0 --no-entry 
-s AUTO_JS_LIBRARIES=0 -s -lccall.js -s AUTO_NATIVE_LIBRARIES=0 -s 
AUTO_ARCHIVE_INDEXES=0 -s DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s 
MIN_NODE_VERSION=160000 -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
shared:INFO: (Emscripten: Running sanity checks)
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: 'STACK_SIZE' 
[-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: 'MIN_NODE_VERSION' 
[-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]
cache:INFO: generating system headers: sysroot_install.stamp... (this will be 
cached in 
"/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/emscripten/sysroot_install.stamp"
 for subsequent builds)
cache:INFO:  - ok
clang-21: warning: -lccall.js: 'linker' input unused 
[-Wunused-command-line-argument]
clang-21: warning: argument unused during compilation: '-s' 
[-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 [email protected] -s 
MODULARIZE=1 -s EXPORT_NAME=QuickJSRaw -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 
-s ALLOW_TABLE_GROWTH=1 -s STACK_SIZE=5MB -s IGNORE_MISSING_MAIN=0 --no-entry 
-s AUTO_JS_LIBRARIES=0 -s -lccall.js -s AUTO_NATIVE_LIBRARIES=0 -s 
AUTO_ARCHIVE_INDEXES=0 -s DEFAULT_TO_CXX=0 -s ALLOW_UNIMPLEMENTED_SYSCALLS=0 -s 
MIN_NODE_VERSION=160000 -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: 'STACK_SIZE' 
[-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: 'MIN_NODE_VERSION' 
[-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]
clang-21: warning: -lccall.js: 'linker' input unused 
[-Wunused-command-line-argument]
clang-21: warning: argument unused during compilation: '-s' 
[-Wunused-command-line-argument]
quickjs/quickjs.c:78:9: warning: 'CONFIG_STACK_CHECK' macro redefined 
[-Wmacro-redefined]
   78 | #define CONFIG_STACK_CHECK
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #define CONFIG_STACK_CHECK 1
      |         ^
quickjs/quickjs.c:1689:12: error: call to undeclared function 
'malloc_usable_size'; ISO C99 and later do not support implicit function 
declarations [-Wimplicit-function-declaration]
 1689 |     return malloc_usable_size(ptr);
      |            ^
quickjs/quickjs.c:1689:12: note: did you mean 'js_malloc_usable_size'?
quickjs/quickjs.c:1380:8: note: 'js_malloc_usable_size' declared here
 1380 | size_t js_malloc_usable_size(JSContext *ctx, const void *ptr)
      |        ^
quickjs/quickjs.c:1763:5: error: use of undeclared identifier 
'malloc_usable_size'; did you mean 'js_malloc_usable_size'?
 1763 |     malloc_usable_size,
      |     ^~~~~~~~~~~~~~~~~~
      |     js_malloc_usable_size
quickjs/quickjs.c:1380:8: note: 'js_malloc_usable_size' declared here
 1380 | size_t js_malloc_usable_size(JSContext *ctx, const void *ptr)
      |        ^
quickjs/quickjs.c:1763:5: error: incompatible function pointer types 
initializing 'size_t (*)(const void *)' (aka 'unsigned long (*)(const void *)') 
with an expression of type 'size_t (JSContext *, const void *)' (aka 'unsigned 
long (struct JSContext *, const void *)') 
[-Wincompatible-function-pointer-types]
 1763 |     malloc_usable_size,
      |     ^~~~~~~~~~~~~~~~~~
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)
       |                            ~ ^~~~~~~~~
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/emscripten/sysroot/include/stdint.h:54:20:
 note: expanded from macro 'INT64_MAX'
   54 | #define INT64_MAX  __INT64_MAX__
      |                    ^~~~~~~~~~~~~
<built-in>:229:23: note: expanded from macro '__INT64_MAX__'
  229 | #define __INT64_MAX__ 9223372036854775807LL
      |                       ^~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:53847:25: warning: implicit conversion from 'long long' to 
'double' changes value from 9223372036854775807 to 9223372036854775808 
[-Wimplicit-const-int-float-conversion]
 53847 |     if (isnan(d) || d > INT64_MAX)
       |                       ~ ^~~~~~~~~
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/emscripten/sysroot/include/stdint.h:54:20:
 note: expanded from macro 'INT64_MAX'
   54 | #define INT64_MAX  __INT64_MAX__
      |                    ^~~~~~~~~~~~~
<built-in>:229:23: note: expanded from macro '__INT64_MAX__'
  229 | #define __INT64_MAX__ 9223372036854775807LL
      |                       ^~~~~~~~~~~~~~~~~~~~~
3 warnings and 3 errors generated.
make[2]: *** [Makefile:239: build/quickjs/quickjs.WASM_RELEASE_SYNC.o] 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 failed with exit 
status 2
--------------------------------------------------------------------------------

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to