[Pkg-javascript-devel] Bug#1047611: node-webfont: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:03 BST 2023


Source: node-webfont
Version: 11.4.0+dfsg2+~cs35.7.26-7
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> -------------------------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package node-webfont
> dpkg-buildpackage: info: source version 11.4.0+dfsg2+~cs35.7.26-7
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Julian Gilbey <jdg at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean --buildsystem=nodejs
> /!\ brotli/package.json not found
> /!\ brotli/package.json not found
> Unable to load brotli 
> Found debian/nodejs/additional_components
> Adding component(s): is-eot
> Adding component(s): is-ttf
> Adding component(s): fast-xml-parser
> 	rm -rf ./node_modules/.cache ./.nyc_output
> 	rm -rf b3b/node_modules/.cache b3b/.nyc_output
> 	rm -rf fast-xml-parser/node_modules/.cache fast-xml-parser/.nyc_output
> 	rm -rf is-eot/node_modules/.cache is-eot/.nyc_output
> 	rm -rf is-svg/node_modules/.cache is-svg/.nyc_output
> 	rm -rf is-ttf/node_modules/.cache is-ttf/.nyc_output
> 	rm -rf is-woff/node_modules/.cache is-woff/.nyc_output
> 	rm -rf is-woff2/node_modules/.cache is-woff2/.nyc_output
> 	rm -rf neatequal/node_modules/.cache neatequal/.nyc_output
> 	rm -rf strnum/node_modules/.cache strnum/.nyc_output
> 	rm -rf svg-pathdata/node_modules/.cache svg-pathdata/.nyc_output
> 	rm -rf svgicons2svgfont/node_modules/.cache svgicons2svgfont/.nyc_output
> 	rm -rf ttf2eot/node_modules/.cache ttf2eot/.nyc_output
> 	rm -rf ttf2woff/node_modules/.cache ttf2woff/.nyc_output
> 	rm -rf varstream/node_modules/.cache varstream/.nyc_output
> 	rm -rf wawoff2/node_modules/.cache wawoff2/.nyc_output
> /!\ brotli/package.json not found
> Unable to load brotli 
> Found debian/nodejs/additional_components
> Adding component(s): is-eot
> Adding component(s): is-ttf
> Adding component(s): fast-xml-parser
> rm ./node_modules/.cache
> unlink ./node_modules/@types/node
> Trying to remove ./node_modules/@types
> unlink ./node_modules/tslib
> unlink ./node_modules/svg2ttf
> unlink ./node_modules/resolve-from
> unlink ./node_modules/meow
> unlink ./node_modules/p-limit
> unlink ./node_modules/cosmiconfig
> unlink ./node_modules/deepmerge
> unlink ./node_modules/globby
> unlink ./node_modules/nunjucks
> unlink ./node_modules/xml2js
> unlink ./node_modules/rimraf
> unlink ./node_modules/@jest/types
> Trying to remove ./node_modules/@jest
> unlink ./node_modules/readable-stream
> rm b3b/node_modules/.cache
> rm fast-xml-parser/node_modules/.cache
> rm is-eot/node_modules/.cache
> rm is-svg/node_modules/.cache
> rm is-ttf/node_modules/.cache
> rm is-woff/node_modules/.cache
> rm is-woff2/node_modules/.cache
> rm neatequal/node_modules/.cache
> rm strnum/node_modules/.cache
> rm svg-pathdata/node_modules/.cache
> rm svgicons2svgfont/node_modules/.cache
> rm ttf2eot/node_modules/.cache
> rm ttf2woff/node_modules/.cache
> rm varstream/node_modules/.cache
> rm wawoff2/node_modules/.cache
> /!\ brotli/package.json not found
> Unable to load brotli 
> Found debian/nodejs/additional_components
> Adding component(s): is-eot
> Adding component(s): is-ttf
> Adding component(s): fast-xml-parser
> unlink node_modules/b3b
> unlink node_modules/fast-xml-parser
> unlink node_modules/is-eot
> unlink node_modules/is-svg
> unlink node_modules/is-ttf
> unlink node_modules/is-woff
> unlink node_modules/is-woff2
> unlink node_modules/neatequal
> unlink node_modules/strnum
> unlink node_modules/svg-pathdata
> unlink node_modules/svgicons2svgfont
> unlink node_modules/ttf2eot
> unlink node_modules/ttf2woff
> unlink node_modules/varstream
> unlink node_modules/wawoff2
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-b3b.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-brotli.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-fast-xml-parser.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-is-eot.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-is-svg.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-is-ttf.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-is-woff.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-is-woff2.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-neatequal.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-strnum.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-svg-pathdata.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-svgicons2svgfont.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-ttf2eot.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-ttf2woff.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-varstream.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-wawoff2.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig-woff2.tar.xz
> dpkg-source: info: building node-webfont using existing ./node-webfont_11.4.0+dfsg2+~cs35.7.26.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  node-webfont-11.4.0+dfsg2+~cs35.7.26/coverage/coverage-final.json
>  node-webfont-11.4.0+dfsg2+~cs35.7.26/svgicons2svgfont/tests/results/calcbounds.svg
>  node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/build/compress_binding.js
>  node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/build/decompress_binding.js
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/node-webfont_11.4.0+dfsg2+~cs35.7.26-7.diff.cgFzSy
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/node-webfont_11.4.0+dfsg2+~cs35.7.26-7_unstable.log

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