[Pkg-javascript-devel] Bug#1064710: ltx: FTBFS: make: *** [debian/rules:42: debian/stamp-build] Error 1

Lucas Nussbaum lucas at debian.org
Sun Feb 25 19:47:18 GMT 2024


Source: ltx
Version: 2.6.2-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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:2594735) [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.112s) 
>   
> make: *** [debian/rules:42: debian/stamp-build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/ltx_2.6.2-1.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lucas@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 mark 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.



More information about the Pkg-javascript-devel mailing list