[Pkg-javascript-devel] Bug#1114939: ltx: FTBFS in bookworm: bug: partial attrs » expected 2, got 0 (==) // /usr/share/nodejs/vows/lib/assert/macros.js:14
Santiago Vila
sanvila at debian.org
Thu Sep 11 21:56:31 BST 2025
Package: src:ltx
Version: 2.6.2-1.1
Severity: serious
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/bookworm/
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 add an affects on src:ltx, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules build
test -x debian/rules
mkdir -p "."
Scanning upstream source for new/changed copyright notices...
set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --copyright --deb-fmt --ignore '^(debian/(changelog|copyright(|_hints|_newhints)))$' --lines 0 -- * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
4 combinations of copyright and licensing found.
WARNING: New or changed notices discovered:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: package.json
Copyright: NONE
License: Expat
FIXME
To fix the situation please do the following:
1) Examine debian/copyright_* and referenced files
2) Update debian/copyright as needed
3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
vows --spec
⢠createElement
â create a new element and set children
â null and undefined children are discarded
⢠Parsing returns DOMElement's
DOMElement
â Returns DOMElement on parse
createElement
â create a new element and set children
⢠Element
new element
â doesn't reference original attrs object
â set xmlns attribute if a string is passed as second argument
serialization
â serialize an element
â serialize an element with attributes
â serialize an element with attributes to entities
â serialize an element with text
â serialize an element with text to entities
â serialize an element with a number attribute
â serialize an element with number contents
â serialize with undefined attribute
â serialize with null attribute
â serialize with number attribute
â serialize with undefined child
â serialize with null child
â serialize with integer text
â serialize to json
remove
â by element
â by name
getAttr
â without ns
â with ns
equality
â name
â attrs
â children
clone
â clones
â mod attr
â rm attr
â mod child
â use original constructor for the clone
children
â getChildren
â getChildElements
recursive
â getChildrenByAttr
â getChildByAttr
issue #15: Inconsistency with prefixed elements
â getChildText prefixed
â getChildText unprefixed
â getChild prefixed
â getChild unprefixed
issue-37: Element instanceof Fails
â instanceof
⢠equality
nameEqual
â it returns true if elements name are equal
â it returns false if elements name differ
attrsEqual
â it returns true if elements attributes are equal
â it returns true if elements attributes are serialized equaly
â it returns false if elements attributes differ
childrenEqual
â it returns true if elements children are equal
â it returns false if elements children name differ
â it returns false if elements children attrs differ
â it returns false if elements children order differ
equal
â it returns true if elements are equal
â it returns false if elements name differ
â it returns false if elements attrs differ
â it returns false if elements children differ
⢠escape
escapeXML
â exported correctly
â escapes &
â escapes <
â escapes >
â escapes "
â escapes '
unescapeXML
â exported correctly
â unescapes &
â unescapes <
â unescapes >
â unescapes "
â unescapes '
escapeXMLText
â exported correctly
â escapes &
â escapes <
â escapes >
unescapeXMLText
â exported correctly
â unescapes &
â unescapes <
â unescapes >
⢠isNode
isNode
â exported correctly
â returns true for Element
â returns true for strings
â returns false for anything else
isElement
â exported correctly
â returns true for Element
â returns false for anything else
isText
â exported correctly
â returns true for strings
â returns false for anything else
⢠ltx
â returns same result as tag
⢠ltx with SaxSaxjs
DOM parsing
â simple document
â text with commas
â text with entities
â attribute with entities
â erroneous document raises error
â incomplete document raises error
â namespace declaration
â namespace declaration with prefix
â buffer
â utf-8 text
â iso8859-1 text
SAX parsing
â XMPP stream
â bug: partial attrs
â bug: elements in comments
⢠ltx with SaxExpat
(node:717125) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
DOM parsing
â simple document
â text with commas
â text with entities
â attribute with entities
â erroneous document raises error
â incomplete document raises error
â namespace declaration
â namespace declaration with prefix
â buffer
â utf-8 text
â iso8859-1 text
SAX parsing
â XMPP stream
» expected 1,
got 0 (==) // /usr/share/nodejs/vows/lib/assert/macros.js:14
â bug: partial attrs
» expected 2,
got 0 (==) // /usr/share/nodejs/vows/lib/assert/macros.js:14
â bug: elements in comments
⢠ltx with SaxLtx
DOM parsing
â simple document
â text with commas
â text with entities
â attribute with entities
â erroneous document raises error
â incomplete document raises error
â namespace declaration
â namespace declaration with prefix
â buffer
â utf-8 text
â iso8859-1 text
SAX parsing
â XMPP stream
â bug: partial attrs
â bug: elements in comments
⢠stringify
â is exported correctly
â returns the same result than .toString()
â indents correctly
⢠tag
â exported correctly
â parses the string and return an Element object
â multiple substitutions
⢠unicode
unicode forming
â issue-29
â issue-29 test #3
â issue-29 test write
â Broken » 134 honored â 2 broken (0.024s)
make: *** [debian/rules:42: debian/stamp-build] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list