[Pkg-javascript-devel] Bug#1045856: node-css-loader: Fails to build source after successful build

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


Source: node-css-loader
Version: 6.7.2+~cs14.0.11-1
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-css-loader
> dpkg-buildpackage: info: source version 6.7.2+~cs14.0.11-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Yadd <yadd at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean --buildsystem=nodejs
> 	rm -rf ./node_modules/.cache ./.nyc_output
> 	rm -rf indexes-of/node_modules/.cache indexes-of/.nyc_output
> 	rm -rf postcss-modules-local-by-default/node_modules/.cache postcss-modules-local-by-default/.nyc_output
> 	rm -rf postcss-modules-scope/node_modules/.cache postcss-modules-scope/.nyc_output
> 	rm -rf postcss-selector-parser/node_modules/.cache postcss-selector-parser/.nyc_output
> rm ./node_modules/.cache
> rm indexes-of/node_modules/.cache
> rm postcss-modules-local-by-default/node_modules/.cache
> rm postcss-modules-scope/node_modules/.cache
> rm postcss-selector-parser/node_modules/.cache
> unlink node_modules/indexes-of
> unlink node_modules/postcss-modules-local-by-default
> unlink node_modules/postcss-modules-scope
> unlink node_modules/postcss-selector-parser
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-css-loader using existing ./node-css-loader_6.7.2+~cs14.0.11.orig-indexes-of.tar.gz
> dpkg-source: info: building node-css-loader using existing ./node-css-loader_6.7.2+~cs14.0.11.orig-postcss-modules-local-by-default.tar.gz
> dpkg-source: info: building node-css-loader using existing ./node-css-loader_6.7.2+~cs14.0.11.orig-postcss-modules-scope.tar.gz
> dpkg-source: info: building node-css-loader using existing ./node-css-loader_6.7.2+~cs14.0.11.orig-postcss-selector-parser.tar.gz
> dpkg-source: info: building node-css-loader using existing ./node-css-loader_6.7.2+~cs14.0.11.orig.tar.gz
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/CssSyntaxError.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/Warning.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/cjs.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/index.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/plugins/index.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-icss-parser.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-import-parser.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-url-parser.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/runtime/api.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/runtime/getUrl.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/runtime/noSourceMaps.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/runtime/sourceMaps.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/dist/utils.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/attributes.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/classes.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/combinators.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/comments.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/container.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/escapes.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/exceptions.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/guards.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/id.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/lossy.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/namespaces.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/nesting.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/node.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/nonstandard.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/parser.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/postcss.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/pseudos.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/sourceIndex.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/stripComments.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/tags.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/universal.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/util/helpers.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/util/unesc.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/index.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/parser.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/processor.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/attribute.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/className.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/combinator.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/comment.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/constructors.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/container.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/guards.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/id.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/index.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/namespace.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/nesting.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/node.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/pseudo.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/root.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/selector.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/string.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/tag.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/types.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/universal.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/sortAscending.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/tokenTypes.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/tokenize.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/ensureObject.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/getProp.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/index.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/stripComments.js has no final newline (either original or modified version)
> dpkg-source: warning: file node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/unesc.js has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  node-css-loader-6.7.2+~cs14.0.11/dist/CssSyntaxError.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/Warning.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/cjs.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/index.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/options.json
>  node-css-loader-6.7.2+~cs14.0.11/dist/plugins/index.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-icss-parser.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-import-parser.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/plugins/postcss-url-parser.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/runtime/api.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/runtime/getUrl.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/runtime/noSourceMaps.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/runtime/sourceMaps.js
>  node-css-loader-6.7.2+~cs14.0.11/dist/utils.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/attributes.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/classes.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/combinators.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/comments.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/container.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/escapes.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/exceptions.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/guards.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/id.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/lossy.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/namespaces.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/nesting.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/node.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/nonstandard.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/parser.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/postcss.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/pseudos.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/sourceIndex.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/stripComments.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/tags.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/universal.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/util/helpers.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/__tests__/util/unesc.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/index.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/parser.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/processor.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/attribute.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/className.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/combinator.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/comment.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/constructors.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/container.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/guards.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/id.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/index.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/namespace.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/nesting.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/node.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/pseudo.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/root.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/selector.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/string.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/tag.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/types.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/selectors/universal.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/sortAscending.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/tokenTypes.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/tokenize.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/ensureObject.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/getProp.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/index.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/stripComments.js
>  node-css-loader-6.7.2+~cs14.0.11/postcss-selector-parser/dist/util/unesc.js
>  node-css-loader-6.7.2+~cs14.0.11/test/runtime/__snapshots__/getUrl.test.js.snap
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/node-css-loader_6.7.2+~cs14.0.11-1.diff.nmi30r
> 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-css-loader_6.7.2+~cs14.0.11-1_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