Source: node-xml2js Version: 0.4.23+~cs15.4.0+dfsg-3 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220624 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure --buildsystem=nodejs > Link node_modules/zap -> ../node-zap > Link node_modules/xmlbuilder -> ../xmlbuilder > dh_auto_build --buildsystem=nodejs > No build command found, searching known files > Found debian/nodejs/xmlbuilder/build > cd ./xmlbuilder && sh -ex ../debian/nodejs/xmlbuilder/build > + coffee -co lib src > Found debian/nodejs/./build > cd ./. && sh -ex debian/nodejs/./build > + coffee -c -o lib/ src/ > dh_auto_test --buildsystem=nodejs > ln -s ../debian/tests/test_modules/node-zap node_modules/node-zap > ln -s ../. node_modules/xml2js > /bin/sh -ex debian/tests/pkg-js/test > + > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:debian/tests/test_modules/node-zap/bin/ > + zap > [35mbom[0m/test decoded BOM... passed > [35mbuilder[0m/test building basic XML structure... passed > [35mbuilder[0m/test setting XML declaration... passed > [35mbuilder[0m/test pretty by default... passed > [35mbuilder[0m/test setting indentation... passed > [35mbuilder[0m/test headless option... passed > [35mbuilder[0m/test allowSurrogateChars option... passed > [35mbuilder[0m/test explicit rootName is always used: 1. when there is only > one element... passed > [35mbuilder[0m/test explicit rootName is always used: 2. when there are > multiple elements... passed > [35mbuilder[0m/test default rootName is used when there is more than one > element in the hash... passed > [35mbuilder[0m/test when there is only one first-level element in the hash, > that is used as root... passed > [35mbuilder[0m/test parser -> builder roundtrip... passed > [35mbuilder[0m/test building obj with undefined value... passed > [35mbuilder[0m/test building obj with null value... passed > [35mbuilder[0m/test escapes escaped characters... passed > [35mbuilder[0m/test cdata text nodes... passed > [35mbuilder[0m/test cdata text nodes with escaped end sequence... passed > [35mbuilder[0m/test uses cdata only for chars &, <, >... passed > [35mbuilder[0m/test uses cdata for string values of objects... passed > [35mbuilder[0m/test does not error on non string values when checking for > cdata... passed > [35mbuilder[0m/test does not error on array values when checking for > cdata... passed > [35mbuilder[0m/test building obj with array... passed > [35mparser[0m/test parse with defaults... passed > [35mparser[0m/test parse with explicitCharkey... passed > [35mparser[0m/test parse with mergeAttrs... passed > [35mparser[0m/test parse with mergeAttrs and not explicitArray... passed > [35mparser[0m/test parse with explicitChildren... passed > [35mparser[0m/test parse with explicitChildren and preserveChildrenOrder... > passed > [35mparser[0m/test parse with explicitChildren and charsAsChildren and > preserveChildrenOrder... passed > [35mparser[0m/test parse with explicitChildren and charsAsChildren and > preserveChildrenOrder and includeWhiteChars... passed > [35mparser[0m/test parse with explicitChildren and charsAsChildren and > preserveChildrenOrder and includeWhiteChars and normalize... passed > [35mparser[0m/test element without children... passed > [35mparser[0m/test parse with explicitChildren and charsAsChildren... passed > [35mparser[0m/test text trimming, normalize... passed > [35mparser[0m/test text trimming, no normalizing... passed > [35mparser[0m/test text no trimming, normalize... passed > [35mparser[0m/test text no trimming, no normalize... passed > [35mparser[0m/test enabled root node elimination... passed > [35mparser[0m/test disabled root node elimination... passed > [35mparser[0m/test default empty tag result... passed > [35mparser[0m/test empty tag result specified null... passed > [35mparser[0m/test invalid empty XML file... passed > [35mparser[0m/test enabled normalizeTags... passed > [35mparser[0m/test parse with custom char and attribute object keys... > passed > [35mparser[0m/test child node without explicitArray... passed > [35mparser[0m/test child node with explicitArray... passed > [35mparser[0m/test ignore attributes... passed > [35mparser[0m/test simple callback mode... passed > [35mparser[0m/test simple callback with options... passed > [35mparser[0m/test double parse... passed > [35mparser[0m/test element with garbage XML... passed > [35mparser[0m/test simple function without options... passed > [35mparser[0m/test simple function with options... passed > [35mparser[0m/test async execution... passed > [35mparser[0m/test validator... passed > [35mparser[0m/test validation error... passed > [35mparser[0m/test error throwing... passed > [35mparser[0m/test error throwing after an error (async)... passed > [35mparser[0m/test xmlns... passed > [35mparser[0m/test callback should be called once... passed > [35mparser[0m/test no error event after end... passed > [35mparser[0m/test empty CDATA... passed > [35mparser[0m/test CDATA whitespaces result... passed > [35mparser[0m/test escaped CDATA result... passed > [35mparser[0m/test non-strict parsing... passed > [35mparser[0m/test construction with new and without... [1;31mfailed[0m > node:events:505 > throw er; // Unhandled 'error' event > ^ > > TypeError: Class constructor Parser cannot be invoked without 'new' > at /<<PKGBUILDDIR>>/test/parser.test.coffee:500:27 > at Parser.<anonymous> (/<<PKGBUILDDIR>>/lib/parser.js:327:18) > at Parser.emit (node:events:527:28) > at SAXParser.saxParser.onclosetag (/<<PKGBUILDDIR>>/lib/parser.js:289:23) > at emit (/usr/share/javascript/sax/sax.js:624:35) > at emitNode (/usr/share/javascript/sax/sax.js:629:5) > at closeTag (/usr/share/javascript/sax/sax.js:889:7) > at SAXParser.write (/usr/share/javascript/sax/sax.js:1436:13) > at Parser.parseString (/<<PKGBUILDDIR>>/lib/parser.js:346:31) > at Object.test construction with new and without > (/<<PKGBUILDDIR>>/test/parser.test.coffee:498:13) > at Object.<anonymous> > (/<<PKGBUILDDIR>>/debian/tests/test_modules/node-zap/bin/zap:52:25) > at Module._compile (node:internal/modules/cjs/loader:1105:14) > at Object.Module._extensions..js > (node:internal/modules/cjs/loader:1159:10) > at Module.load (node:internal/modules/cjs/loader:981:32) > at Function.Module._load (node:internal/modules/cjs/loader:822:12) > at Function.executeUserEntryPoint [as runMain] > (node:internal/modules/run_main:77:12) > at node:internal/main/run_main_module:17:47 > > Emitted 'error' event on Parser instance at: > at Parser.parseString (/<<PKGBUILDDIR>>/lib/parser.js:350:16) > at Object.test construction with new and without > (/<<PKGBUILDDIR>>/test/parser.test.coffee:498:13) > [... lines matching original stack trace ...] > > > [35mparser[0m/test not closed but well formed xml... passed > [35mparser[0m/test cdata-named node... passed > [35mparser[0m/test onend with empty xml... passed > [35mparser[0m/test parsing null... passed > [35mparser[0m/test parsing undefined... passed > [35mparser[0m/test chunked processing... passed > [35mparser[0m/test single attrNameProcessors... passed > [35mparser[0m/test multiple attrNameProcessors... passed > [35mparser[0m/test single attrValueProcessors... passed > [35mparser[0m/test multiple attrValueProcessors... passed > [35mparser[0m/test single valueProcessors... passed > [35mparser[0m/test multiple valueProcessors... passed > [35mparser[0m/test single tagNameProcessors... passed > [35mparser[0m/test single tagNameProcessors in simple callback... passed > [35mparser[0m/test multiple tagNameProcessors... passed > [35mparser[0m/test attrValueProcessors key param... passed > [35mparser[0m/test valueProcessors key param... passed > [35mparser[0m/test parseStringPromise parsing... passed > [35mparser[0m/test parseStringPromise with bad input... passed > [35mparser[0m/test global parseStringPromise parsing... passed > [35mparser[0m/test global parseStringPromise with options... passed > [35mparser[0m/test global parseStringPromise with bad input... passed > [35mprocessors[0m/test normalize... passed > [35mprocessors[0m/test firstCharLowerCase... passed > [35mprocessors[0m/test stripPrefix... passed > [35mprocessors[0m/test stripPrefix, ignore xmlns... passed > [35mprocessors[0m/test parseNumbers... passed > [35mprocessors[0m/test parseBooleans... passed > [35mprocessors[0m/test a processor that filters by node name... passed > [35mprocessors[0m/test a processor that filters by attr name... passed > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2022/06/24/node-xml2js_0.4.23+~cs15.4.0+dfsg-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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. -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel