[Pkg-javascript-devel] Bug#1026974: Cannot exclude a component from consideration using !
Julian Gilbey
jdg at debian.org
Sun Dec 25 12:06:40 GMT 2022
Package: pkg-js-tools
Version: 0.15.12
Severity: normal
I am working on a package (node-webfont) which requires a non-node
component. The dh-nodejs tools keeps complaining, for example
debclean reports:
Found debian/nodejs/additional_components
/!\ woff2/package.json not found
Unable to load woff2
/!\ brotli/package.json not found
Unable to load brotli
My additional_components reads:
---
!brotli
!woff2
---
following the guidance in pkg-js-tools(7), if I've understood it
correctly. But it seems that this syntax doesn't help;
list-node-components reports:
[...]
varstream
woff2
brotli
!brotli
!woff2
with the first occurrence being picked up from debian/watch and the !
occurrences being those in additional_components. But
component_list in /usr/share/perl5/Debian/PkgJs/Utils.pm has a
different behaviour, and it would seem that that should work.
Unfortunately, though, it doesn't appear to do so, and I don't
understand why not.
Best wishes,
Julian
More information about the Pkg-javascript-devel
mailing list