--- Begin Message ---
Source: emscripten
Version: 3.0.1~dfsg+~1.39.6-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211228 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> ======================================================================
> FAIL: test_pthread_abort (test_core.wasm3)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
> yield
> File "/usr/lib/python3.9/unittest/case.py", line 592, in run
> self._callTestMethod(testMethod)
> File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
> method()
> File "/<<PKGBUILDDIR>>/tests/common.py", line 209, in decorated
> f(self, *args, **kwargs)
> File "/<<PKGBUILDDIR>>/tests/test_core.py", line 2476, in test_pthread_abort
> self.do_run_in_out_file_test('pthread/test_pthread_abort.c',
> assert_returncode=NON_ZERO)
> File "/<<PKGBUILDDIR>>/tests/common.py", line 1066, in
> do_run_in_out_file_test
> self._build_and_run(srcfile, expected, **kwargs)
> File "/<<PKGBUILDDIR>>/tests/common.py", line 1122, in _build_and_run
> self.assertContained(expected_output, js_output)
> File "/<<PKGBUILDDIR>>/tests/common.py", line 795, in assertContained
> self.fail("Expected to find '%s' in '%s', diff:\n\n%s\n%s" % (
> File "/usr/lib/python3.9/unittest/case.py", line 676, in fail
> raise self.failureException(msg)
> AssertionError: Expected to find 'onAbort called
> ' in 'Aborted()
> worker.js onmessage() captured an uncaught exception: RuntimeError:
> Aborted(). Build with -s ASSERTIONS=1 for more info.
> pthread sent an error! undefined:undefined: Aborted(). Build with -s
> ASSERTIONS=1 for more info.
>
> /tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.js:1
> var Module=typeof Module!=="undefined"?Module:{};var
> objAssign=Object.assign;Module.preRun=function(){Module.onAbort=function(){console.log("onAbort
> called")}};var moduleOverrides=objAssign({},Module);var arguments_=[];var
> thisProgram="./this.program";var quit_=function(status,toThrow){throw
> toThrow};var ENVIRONMENT_IS_WEB=typeof window==="object";var
> ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var
> ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof
> process.versions==="object"&&typeof process.versions.node==="string";var
> ENVIRONMENT_IS_PTHREAD=Module["ENVIRONMENT_IS_PTHREAD"]||false;var
> _scriptDir=typeof
> document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;if(ENVIRONMENT_IS_WORKER){_scriptDir=self.location.href}else
> if(ENVIRONMENT_IS_NODE){_scriptDir=__filename}var
> scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return
> Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var
> read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e
> instanceof ExitStatus)return;var toLog=e;err("exiting due to exception:
> "+toLog)}var fs;var nodePath;var
> requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=function(){if(!fs){fs=require("fs");nodePath=require("path")}};read_=function
>
> shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return
> fs.readFileSync(filename,binary?null:"utf8")};readBinary=function
> readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new
> Uint8Array(ret)}return ret};readAsync=function
> readAsync(filename,onload,onerror){requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else
>
> onload(data.buffer)})};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof
>
> module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex
> instanceof ExitStatus)){throw
> ex}});process["on"]("unhandledRejection",function(reason){throw
> reason});quit_=function(status,toThrow){if(keepRuntimeAlive()){process["exitCode"]=status;throw
>
> toThrow}logExceptionOnExit(toThrow);process["exit"](status)};Module["inspect"]=function(){return"[Emscripten
> Module object]"};var
> nodeWorkerThreads;try{nodeWorkerThreads=require("worker_threads")}catch(e){console.error('The
> "worker_threads" module is not supported in this node.js build - perhaps a
> newer version is needed?');throw
> e}global.Worker=nodeWorkerThreads.Worker}else
> if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else
> if(typeof
> document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}if(ENVIRONMENT_IS_NODE){requireNodeFS=function(){if(!fs){fs=require("fs");nodePath=require("path")}};read_=function
>
> shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return
> fs.readFileSync(filename,binary?null:"utf8")};readBinary=function
> readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new
> Uint8Array(ret)}return ret};readAsync=function
> readAsync(filename,onload,onerror){requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else
> onload(data.buffer)})}}else{read_=function(url){var xhr=new
> XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return
> xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var
> xhr=new
> XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return
> new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var
> xhr=new
> XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}if(ENVIRONMENT_IS_NODE){if(typeof
>
> performance==="undefined"){global.performance=require("perf_hooks").performance}}var
> defaultPrint=console.log.bind(console);var
> defaultPrintErr=console.warn.bind(console);if(ENVIRONMENT_IS_NODE){requireNodeFS();defaultPrint=function(str){fs.writeSync(1,str+"\n")};defaultPrintErr=function(str){fs.writeSync(2,str+"\n")}}var
> out=Module["print"]||defaultPrint;var
> err=Module["printErr"]||defaultPrintErr;objAssign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var
> Atomics_load=Atomics.load;var Atomics_store=Atomics.store;var
> Atomics_compareExchange=Atomics.compareExchang[..]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Error [RuntimeError]: Aborted(). Build with -s ASSERTIONS=1 for more info.
> at abort (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:11044)
> at _abort (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:22355)
> at wasm-function[55]:0x4294
> at Module._main (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:36444)
> at ___call_main (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:19483)
> at wasm-function[42]:0x3b52
> at Object.invokeEntryPoint (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:19281)
> at self.onmessage
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:1848)
> at MessagePort.<anonymous>
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:266)
> at MessagePort.emit (events.js:314:20)
> at MessagePort.onmessage (internal/worker/io.js:80:8)
> at MessagePort.exports.emitMessage
> (internal/per_context/messageport.js:11:10)
> Thrown at:
> at
> /tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.js:1:2119
> at emit (events.js:314:20)
> at internal/process/execution.js:165:25
> ', diff:
>
> --- expected
> +++ actual
> @@ -1,2 +1,25 @@
> -onAbort called
> +Aborted()
> +worker.js onmessage() captured an uncaught exception: RuntimeError:
> Aborted(). Build with -s ASSERTIONS=1 for more info.
> +pthread sent an error! undefined:undefined: Aborted(). Build with -s
> ASSERTIONS=1 for more info.
>
> +/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.js:1
> +var Module=typeof Module!=="undefined"?Module:{};var
> objAssign=Object.assign;Module.preRun=function(){Module.onAbort=function(){console.log("onAbort
> called")}};var moduleOverrides=objAssign({},Module);var arguments_=[];var
> thisProgram="./this.program";var quit_=function(status,toThrow){throw
> toThrow};var ENVIRONMENT_IS_WEB=typeof window==="object";var
> ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var
> ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof
> process.versions==="object"&&typeof process.versions.node==="string";var
> ENVIRONMENT_IS_PTHREAD=Module["ENVIRONMENT_IS_PTHREAD"]||false;var
> _scriptDir=typeof
> document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;if(ENVIRONMENT_IS_WORKER){_scriptDir=self.location.href}else
> if(ENVIRONMENT_IS_NODE){_scriptDir=__filename}var
> scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return
> Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var
> read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e
> instanceof ExitStatus)return;var toLog=e;err("exiting due to exception:
> "+toLog)}var fs;var nodePath;var
> requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=function(){if(!fs){fs=require("fs");nodePath=require("path")}};read_=function
>
> shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return
> fs.readFileSync(filename,binary?null:"utf8")};readBinary=function
> readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new
> Uint8Array(ret)}return ret};readAsync=function
> readAsync(filename,onload,onerror){requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else
>
> onload(data.buffer)})};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof
>
> module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex
> instanceof ExitStatus)){throw
> ex}});process["on"]("unhandledRejection",function(reason){throw
> reason});quit_=function(status,toThrow){if(keepRuntimeAlive()){process["exitCode"]=status;throw
>
> toThrow}logExceptionOnExit(toThrow);process["exit"](status)};Module["inspect"]=function(){return"[Emscripten
> Module object]"};var
> nodeWorkerThreads;try{nodeWorkerThreads=require("worker_threads")}catch(e){console.error('The
> "worker_threads" module is not supported in this node.js build - perhaps a
> newer version is needed?');throw
> e}global.Worker=nodeWorkerThreads.Worker}else
> if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else
> if(typeof
> document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}if(ENVIRONMENT_IS_NODE){requireNodeFS=function(){if(!fs){fs=require("fs");nodePath=require("path")}};read_=function
>
> shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return
> fs.readFileSync(filename,binary?null:"utf8")};readBinary=function
> readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new
> Uint8Array(ret)}return ret};readAsync=function
> readAsync(filename,onload,onerror){requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else
> onload(data.buffer)})}}else{read_=function(url){var xhr=new
> XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return
> xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var
> xhr=new
> XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return
> new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var
> xhr=new
> XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}if(ENVIRONMENT_IS_NODE){if(typeof
>
> performance==="undefined"){global.performance=require("perf_hooks").performance}}var
> defaultPrint=console.log.bind(console);var
> defaultPrintErr=console.warn.bind(console);if(ENVIRONMENT_IS_NODE){requireNodeFS();defaultPrint=function(str){fs.writeSync(1,str+"\n")};defaultPrintErr=function(str){fs.writeSync(2,str+"\n")}}var
> out=Module["print"]||defaultPrint;var
> err=Module["printErr"]||defaultPrintErr;objAssign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var
> Atomics_load=Atomics.load;var Atomics_store=Atomics.store;var
> Atomics_compareExchange=Atomics.compareExchan[..]
> +
> +Error [RuntimeError]: Aborted(). Build with -s ASSERTIONS=1 for more info.
> + at abort (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:11044)
> + at _abort (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:22355)
> + at wasm-function[55]:0x4294
> + at Module._main (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:36444)
> + at ___call_main (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:19483)
> + at wasm-function[42]:0x3b52
> + at Object.invokeEntryPoint (eval at importScripts
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:473),
> <anonymous>:1:19281)
> + at self.onmessage
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:1848)
> + at MessagePort.<anonymous>
> (/tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.worker.js:1:266)
> + at MessagePort.emit (events.js:314:20)
> + at MessagePort.onmessage (internal/worker/io.js:80:8)
> + at MessagePort.exports.emitMessage
> (internal/per_context/messageport.js:11:10)
> +Thrown at:
> + at
> /tmp/tmpzw39v2im/emscripten_test_wasm3_jt9kwj0i/test_pthread_abort.js:1:2119
> + at emit (events.js:314:20)
> + at internal/process/execution.js:165:25
> +
>
>
>
> ----------------------------------------------------------------------
> Ran 8712 tests in 22325.386s
>
> FAILED (failures=1, skipped=1759)
>
> DONE: combining results on main thread
>
> make[1]: *** [debian/rules:238: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/12/28/emscripten_3.0.1~dfsg+~1.39.6-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---