Your message dated Mon, 03 Aug 2026 11:04:27 +0000
with message-id <[email protected]>
and subject line Bug#1143348: fixed in node-quickjs-emscripten 0.23.0+dfsg-6
has caused the Debian Bug report #1143348,
regarding node-quickjs-emscripten: FTBFS: 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]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1143348: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143348
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: node-quickjs-emscripten
Source-Version: 0.23.0+dfsg-6
Done: Xavier Guimard <[email protected]>
We believe that the bug you reported is fixed in the latest version of
node-quickjs-emscripten, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Xavier Guimard <[email protected]> (supplier of updated node-quickjs-emscripten
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 03 Aug 2026 12:41:44 +0200
Source: node-quickjs-emscripten
Architecture: source
Version: 0.23.0+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Xavier Guimard <[email protected]>
Closes: 1143348
Changes:
node-quickjs-emscripten (0.23.0+dfsg-6) unstable; urgency=medium
.
* Team upload.
.
[ Jérémy Lal ]
* Ref a bug for autopkgtest architectures
.
[ Xavier Guimard ]
* Declare compliance with policy 4.7.4
* Drop "Rules-Requires-Root: no"
* Drop "Priority: optional"
* Apply multiarch hints from UDD
* debian/watch version 5
* Fix FTBFS with emscripten 6 (Closes: #1143348)
Checksums-Sha1:
567164c426655b6446410e415082e326d9a35168 2691
node-quickjs-emscripten_0.23.0+dfsg-6.dsc
10253553935eb7f6f054b001bde04cedca83a220 8896
node-quickjs-emscripten_0.23.0+dfsg-6.debian.tar.xz
Checksums-Sha256:
b8c229d9f8d6936ebf3a8daf6c504eb3d3f8162fc19498525265d91b2ccc4cdc 2691
node-quickjs-emscripten_0.23.0+dfsg-6.dsc
7bebbaf082d8a9be940e9cf535f1df222b2a9520f68dffb1034c5b50bf417ed4 8896
node-quickjs-emscripten_0.23.0+dfsg-6.debian.tar.xz
Files:
05d53babdf86ffbed9769ce47c7f9c6b 2691 javascript optional
node-quickjs-emscripten_0.23.0+dfsg-6.dsc
16f079946c82503edca47f1160b9f2a2 8896 javascript optional
node-quickjs-emscripten_0.23.0+dfsg-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmpwcN4ACgkQ9tdMp8mZ
7un3rg//di34qjBCxY0UBquM4QvpHY7EI9tO0js3vfh4xe6DOeulWnChrQMkzfQs
+efyhLBM6A11aWpY3xuz3U5UKMs0k7zV47gzs8NCzYP65lzv1uOdVkbfZgEBrfBb
iP+CVhWlf9d/xSEFsjeMWENKQCGSinPn2j2cy8upJshGPZM7HC2ufElaIDRbbRMw
ms5RKAG62cK9SsyzyuoA7GHa4vi69ccrlsEF0rRBB074NX34lGEp8kG9JFQSRFyK
DzZofmaawobIhOrrTK9PNIDAL8zM1La6RDoC9ewso+j6t6dTpm9z7gCHqu6D5KZf
RGL5bW6k08FBz2P+KeSLoR9Rsyx1Iu3FPSQkDc5FnboePJJkrQSjyKgrffvearjl
HeY9Ptvb+riAklvXFdJJq9vgolX+ULKbb22M6tAIujGqMmcTxznB/4EJ4jtYGEJC
nAIzzzkhf4mTEXzzNLTFSMor1GpNypeyjQ8or/tn1hsX9lRJqnI4EF0yhAIY0SuN
Fu6tdp8SZFzFf18t5ZgxXblxMr1ar9c/RGe28X5NBLj3Mm270K6qtOIugkmXduKn
hJpY4t/qCI1TC2sjlQUtfvnLnrgsmT8FNBj5jlIcElvgs6vnrNqLzvfZM8FheXRC
7oPl95gy4zYdK47/XZywb+mD1niSojcNj8vrQ2CXk7TNy/czE/0=
=Yqjr
-----END PGP SIGNATURE-----
pgp95METkGFvr.pgp
Description: PGP signature
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel