[Pkg-javascript-devel] Bug#1076904: Bug#1076904: pkg-js-tools: FTBFS: help2man: can't get `--version' info from ./tools/debcheck-node-repo
Yadd
yadd at debian.org
Wed Jul 24 18:54:11 BST 2024
Control: tags -1 + moreinfo
On 7/24/24 14:48, Santiago Vila wrote:
> Package: src:pkg-js-tools
> Version: 0.15.21
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build:
Hi,
I'm unable to reproduce in a schroot, could you share more info? Also I
can see in your logs some dh_auto_test logs inside the dh_auto_install
step, which looks to be launched before manpage build which are a
prerequiste of override_sh_auto_install.
Do you use a standard way to build?
> --------------------------------------------------------------------------------
> [...]
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> perl -i -pe 's/[\d\.]+/''/' lib/Debian/PkgJs/Version.pm
> dh_auto_configure
> /usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2
> -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security
> -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2"
> "LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security
> -fcf-protection -Wl,-z,relro"
> Checking if your kit is complete...
> Warning: the following files are missing in your kit:
> mjs2cjs/mjs2cjs.js
> t/dh_gulp2.t
> t/gulp2/debian/changelog
>
> [... snipped ...]
>
>
> dh_auto_install: warning: ### Missing comp-one/build/config.gypi, skipping
>
> dh_auto_install: warning: ### Missing comp-three/build/config.gypi,
> skipping
>
> dh_auto_install: warning: ### Missing comp-two/build/config.gypi, skipping
>
> t/dh_submodules.t ..............
> 1..24
> Link node_modules/comp-four -> ../comp-four
> Link node_modules/comp-three -> ../comp-three
> Link node_modules/comp_two -> ../comp-two
> Link comp-three/node_modules/comp_two -> ../../comp-two
> ok 1 - comp-one/nolink
> ok 2 - Main link
> ok 3 - good link
> ok 4 - Main link
> ok 5 - component_links
> ok 6 - good link
> No build command found, searching known files
> Found debian/nodejs/comp-one/build
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/build
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> ok 7 - build creates comp-one/a
> ln -s ../. node_modules/foo
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/test
> /bin/sh -ex debian/tests/pkg-js/test
> test launched
> Removing node_modules/foo
> ok 8 - File "foo" created
> Found "files" field in ./package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/
> install -m 644 ./index.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo//
> Found "files" field in comp-four/package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-four/
> install -m 644 comp-four/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-four//
> install -m 644 comp-four/index.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-four//
> install -m 644 comp-four/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-four//
> No "files" field in comp-one/package.json, install all files
> Files to install: comp-one, !comp-one/build/config.gypi
> mkdir -p
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-one/
> install -m 644 comp-one/index.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-one//
> install -m 644 comp-one/bar
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-one//
> Found "files" field in comp-three/package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-three/
> install -m 644 comp-three/index.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-three//
> install -m 644 comp-three/test.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-three//
> install -m 644 comp-three/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-three//
> install -m 644 comp-three/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp-three//
> Found "files" field in comp-two/package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp_two/
> install -m 644 comp-two/index.js
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp_two//
> install -m 644 comp-two/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp_two//
> install -m 644 comp-two/package.json
> /<<PKGBUILDDIR>>/t/submodules/debian/foo//usr/share/nodejs/foo/node_modules/comp_two//
> Populate ${nodejs:Provides}:
> + node-foo (= 0.1)
> Set ${nodejs:Version} to 20.15.1+dfsg
> ok 9 - debian/foo/usr/share/nodejs/foo/package.json installed
> ok 10 - debian/foo/usr/share/nodejs/foo/index.js installed
> ok 11 -
> debian/foo/usr/share/nodejs/foo/node_modules/comp-one/package.json
> installed
> ok 12 - debian/foo/usr/share/nodejs/foo/node_modules/comp-one/index.js
> installed
> ok 13 -
> debian/foo/usr/share/nodejs/foo/node_modules/comp_two/package.json
> installed
> ok 14 - debian/foo/usr/share/nodejs/foo/node_modules/comp_two/index.js
> installed
> ok 15 - debian/foo/usr/share/nodejs/foo/node_modules/comp-three/index.js
> installed
> ok 16 -
> debian/foo/usr/share/nodejs/foo/node_modules/comp-three/package.json
> installed
> ok 17 - debian/foo/usr/share/nodejs/foo/node_modules/comp-three/test.js
> installed
> ok 18 -
> debian/foo/usr/share/nodejs/foo/node_modules/comp-four/package.json
> installed
> ok 19 - debian/foo/usr/share/nodejs/foo/node_modules/comp-four/index.js
> installed
> ok 20 - index.js is good
> ok 21 - index.js is good
> ok 22 - debian/foo/usr/share/nodejs/foo/node_modules/comp-one/test.js
> not installed
> ok 23 - debian/foo/usr/share/nodejs/foo/node_modules/comp_two/tests.js
> not installed
> rm -rf ./node_modules/.cache ./.nyc_output
> rm -rf comp-four/node_modules/.cache comp-four/.nyc_output
> rm -rf comp-one/node_modules/.cache comp-one/.nyc_output
> rm -rf comp-three/node_modules/.cache comp-three/.nyc_output
> rm -rf comp-two/node_modules/.cache comp-two/.nyc_output
> rm ./node_modules/.cache
> rm comp-four/node_modules/.cache
> rm comp-one/node_modules/.cache
> rm comp-three/node_modules/.cache
> rm comp-two/node_modules/.cache
> rm ./node_modules/.cache
> unlink comp-three/node_modules/comp_two
> unlink node_modules/comp-four
> unlink node_modules/comp-one
> unlink node_modules/comp-three
> unlink node_modules/comp_two
> ok 24 - Cache deleted
> ok
> + touch a
> + touch bar
> + echo test launched
> + touch foo
> dh_auto_install: warning: ### Missing ./build/config.gypi, skipping
>
> dh_auto_install: warning: ### Missing comp-one/build/config.gypi, skipping
>
> dh_auto_install: warning: ### Missing
> packages/comp-three/build/config.gypi, skipping
>
> dh_auto_install: warning: ### Missing
> packages/comp-two/build/config.gypi, skipping
>
> t/dh_workspaces.t ..............
> 1..19
> workspaces field found in package.json
>
> Link node_modules/comp-three -> ../packages/comp-three
> Link node_modules/comp_two -> ../packages/comp-two
> Link packages/comp-three/node_modules/comp_two ->
> ../../../packages/comp-two
> ok 1 - comp-one/nolink
> ok 2 - Main link
> ok 3 - good link
> ok 4 - Main link
> ok 5 - component_links
> ok 6 - good link
> workspaces field found in package.json
>
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/comp-one/build
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/build
> No build command found, searching known files
> ok 7 - build creates comp-one/a
> workspaces field found in package.json
> ln -s ../. node_modules/foo
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/test
> /bin/sh -ex debian/tests/pkg-js/test
> test launched
> Removing node_modules/foo
> ok 8 - File "foo" created
> workspaces field found in package.json
>
> Found "files" field in ./package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo/
> install -m 644 ./index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> No "files" field in comp-one/package.json, install all files
> Files to install: comp-one, !comp-one/build/config.gypi
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one/
> install -m 644 comp-one/index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/bar
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> Found "files" field in packages/comp-three/package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-three/
> install -m 644 packages/comp-three/index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-three//
> install -m 644 packages/comp-three/test.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-three//
> install -m 644 packages/comp-three/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-three//
> install -m 644 packages/comp-three/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-three//
> Found "files" field in packages/comp-two/package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp_two/
> install -m 644 packages/comp-two/index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp_two//
> install -m 644 packages/comp-two/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp_two//
> install -m 644 packages/comp-two/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp_two//
> Populate ${nodejs:Provides}:
> + node-foo (= 0.1)
> + node-comp-one (= 0.1)
> + node-comp-three (= 0.1)
> + node-comp-two (= 0.1)
> Set ${nodejs:Version} to 20.15.1+dfsg
> ok 9 - debian/foo/usr/share/nodejs/foo/package.json installed
> ok 10 - debian/foo/usr/share/nodejs/foo/index.js installed
> ok 11 - debian/foo/usr/share/nodejs/comp-one/package.json installed
> ok 12 - debian/foo/usr/share/nodejs/comp-one/index.js installed
> ok 13 - debian/foo/usr/share/nodejs/comp_two/package.json installed
> ok 14 - debian/foo/usr/share/nodejs/comp_two/index.js installed
> ok 15 - debian/foo/usr/share/nodejs/comp-three/index.js installed
> ok 16 - debian/foo/usr/share/nodejs/comp-three/package.json installed
> ok 17 - debian/foo/usr/share/nodejs/comp-three/test.js installed
> ok 18 - debian/foo/usr/share/nodejs/comp-one/test.js not installed
> ok 19 - debian/foo/usr/share/nodejs/comp_two/tests.js not installed
> workspaces field found in package.json
>
> rm -rf ./node_modules/.cache ./.nyc_output
> rm -rf comp-one/node_modules/.cache comp-one/.nyc_output
> rm -rf packages/comp-three/node_modules/.cache
> packages/comp-three/.nyc_output
> rm -rf packages/comp-two/node_modules/.cache
> packages/comp-two/.nyc_output
> rm ./node_modules/.cache
> rm comp-one/node_modules/.cache
> rm packages/comp-three/node_modules/.cache
> rm packages/comp-two/node_modules/.cache
> rm ./node_modules/.cache
> unlink packages/comp-three/node_modules/comp_two
> unlink node_modules/comp-one
> unlink node_modules/comp-three
> unlink node_modules/comp_two
> ok
> component_links: Unknown component packages/comp-two
> component_links: Unknown component packages/comp-three
> + touch a
> + touch bar
> + echo test launched
> + touch foo
> dh_auto_install: warning: ### Missing ./build/config.gypi, skipping
>
> dh_auto_install: warning: ### Missing comp-one/build/config.gypi, skipping
>
> t/dh_workspaces_no_lerna.t .....
> 1..16
> ok 1 - No cmp 1 link
> ok 2 - No cmp 2 link
> ok 3 - No cmp 3 link
> No build command found, searching known files
> No build command found, searching known files
> Found debian/nodejs/comp-one/build
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/build
> No build command found, searching known files
> ok 4 - build creates comp-one/a
> ln -s ../. node_modules/foo
> cd ./comp-one && sh -ex ../debian/nodejs/comp-one/test
> /bin/sh -ex debian/tests/pkg-js/test
> test launched
> Removing node_modules/foo
> ok 5 - File "foo" created
> Found "files" field in ./package.json, using it
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo/
> install -m 644 ./index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> install -m 644 ./package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/foo//
> No "files" field in comp-one/package.json, install all files
> Files to install: comp-one, !comp-one/build/config.gypi
> mkdir -p
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one/
> install -m 644 comp-one/index.js
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/bar
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> install -m 644 comp-one/package.json
> /<<PKGBUILDDIR>>/t/workspaces/debian/foo//usr/share/nodejs/comp-one//
> Populate ${nodejs:Provides}:
> + node-foo (= 0.1)
> + node-comp-one (= 0.1)
> Set ${nodejs:Version} to 20.15.1+dfsg
> ok 6 - debian/foo/usr/share/nodejs/foo/package.json installed
> ok 7 - debian/foo/usr/share/nodejs/foo/index.js installed
> ok 8 - debian/foo/usr/share/nodejs/comp-one/package.json installed
> ok 9 - debian/foo/usr/share/nodejs/comp-one/index.js installed
> ok 10 - debian/foo/usr/share/nodejs/comp-one/test.js not installed
> ok 11 - debian/foo/usr/share/nodejs/comp_two/tests.js not installed
> ok 12 - debian/foo/usr/share/nodejs/comp_two/package.json not installed
> ok 13 - debian/foo/usr/share/nodejs/comp_two/index.js not installed
> ok 14 - debian/foo/usr/share/nodejs/comp-three/index.js not installed
> ok 15 - debian/foo/usr/share/nodejs/comp-three/package.json not installed
> ok 16 - debian/foo/usr/share/nodejs/comp-three/test.js not installed
> rm -rf ./node_modules/.cache ./.nyc_output
> rm -rf comp-one/node_modules/.cache comp-one/.nyc_output
> rm ./node_modules/.cache
> rm comp-one/node_modules/.cache
> rm ./node_modules/.cache
> unlink packages/comp-three/node_modules/
> unlink node_modules/comp-one
> ok
> hint: Using 'master' as the name for the initial branch. This default
> branch name
> hint: is subject to change. To configure the initial branch name to use
> in all
> hint: of your new repositories, which will suppress this warning, call:
> hint:
> hint: git config --global init.defaultBranch <name>
> hint:
> hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
> hint: 'development'. The just-created branch can be renamed via this
> command:
> hint:
> hint: git branch -m <name>
> t/missing.t ....................
> 1..1
> ok 1
> ok
> t/pattern.t ....................
> 1..47
> ok 1 - use Debian::Debhelper::Buildsystem::nodejs;
> ok 2 - New object
> Parsing expression lib/*.js
> Line lib/*.js becomes: ^lib/[^/]*\.js(?:/.*)?$
> ok 3 - File index.js rejected by lib/*.js
> Parsing expression lib/*.js
> Line lib/*.js becomes: ^lib/[^/]*\.js(?:/.*)?$
> ok 4 - File lib/index.js accepted by lib/*.js
> Parsing expression lib/*.js
> Line lib/*.js becomes: ^lib/[^/]*\.js(?:/.*)?$
> ok 5 - File lib/a/index.js rejected by lib/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 6 - File index.js rejected by lib/**/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 7 - File lib/index.js accepted by lib/**/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 8 - File lib/index.ts rejected by lib/**/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 9 - File lib/a/index.js accepted by lib/**/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 10 - File lib/a/b/c/index.js accepted by lib/**/*.js
> Parsing expression lib/**/*.js
> Line lib/**/*.js becomes: ^lib/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 11 - File lib/a/b/c/index.ts rejected by lib/**/*.js
> Parsing expression lib/**/*
> Line lib/**/* becomes: ^lib/.*(?<=/)[^/]*(?:/.*)?$
> ok 12 - File index.js rejected by lib/**/*
> Parsing expression lib/**/*
> Line lib/**/* becomes: ^lib/.*(?<=/)[^/]*(?:/.*)?$
> ok 13 - File lib/index accepted by lib/**/*
> Parsing expression lib/.e*
> Line lib/.e* becomes: ^lib/\.e[^/]*(?:/.*)?$
> ok 14 - File lib/.es.js accepted by lib/.e*
> Parsing expression lib/.e*
> Line lib/.e* becomes: ^lib/\.e[^/]*(?:/.*)?$
> ok 15 - File lib/aes.xs rejected by lib/.e*
> Parsing expression lib/.e*
> Line lib/.e* becomes: ^lib/\.e[^/]*(?:/.*)?$
> ok 16 - File lib/.xs.js rejected by lib/.e*
> Parsing expression lib/a*b/**/*.js
> Line lib/a*b/**/*.js becomes: ^lib/a[^/]*b\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 17 - File lib/acb/i.js accepted by lib/a*b/**/*.js
> Parsing expression lib/a*b/**/*.js
> Line lib/a*b/**/*.js becomes: ^lib/a[^/]*b\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 18 - File lib/ab/i.js accepted by lib/a*b/**/*.js
> Parsing expression lib/a*b/**/*.js
> Line lib/a*b/**/*.js becomes: ^lib/a[^/]*b\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 19 - File lib/acb/a/i.js accepted by lib/a*b/**/*.js
> Parsing expression lib/a*b/**/*.js
> Line lib/a*b/**/*.js becomes: ^lib/a[^/]*b\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 20 - File lib/ac/a/i.js rejected by lib/a*b/**/*.js
> Parsing expression lib/a*/*.js
> Line lib/a*/*.js becomes: ^lib/a[^/]*\/[^/]*\.js(?:/.*)?$
> ok 21 - File lib/ac/a/i.js rejected by lib/a*/*.js
> Parsing expression lib/{*.css,xx}
> Line lib/{*.css,xx} becomes: ^lib/(?:[^/]*\.css|xx)(?:/.*)?$
> ok 22 - File lib/a.css accepted by lib/{*.css,xx}
> Parsing expression lib/{*.css,xx}
> Line lib/{*.css,xx} becomes: ^lib/(?:[^/]*\.css|xx)(?:/.*)?$
> ok 23 - File lib/xx accepted by lib/{*.css,xx}
> Parsing expression lib/{*.css,xx}
> Line lib/{*.css,xx} becomes: ^lib/(?:[^/]*\.css|xx)(?:/.*)?$
> ok 24 - File lib/xxx rejected by lib/{*.css,xx}
> Parsing expression lib/{*.css,xx}
> Line lib/{*.css,xx} becomes: ^lib/(?:[^/]*\.css|xx)(?:/.*)?$
> ok 25 - File lib/a.js rejected by lib/{*.css,xx}
> Parsing expression lib/{css,js}
> Line lib/{css,js} becomes: ^lib/(?:css|js)(?:/.*)?$
> ok 26 - File lib/css accepted by lib/{css,js}
> Parsing expression lib/a{css,js}
> Line lib/a{css,js} becomes: ^lib/a(?:css|js)(?:/.*)?$
> ok 27 - File lib/acss accepted by lib/a{css,js}
> Parsing expression lib/{css,js}/*.js
> Line lib/{css,js}/*.js becomes: ^lib/(?:css|js)\/[^/]*\.js(?:/.*)?$
> ok 28 - File lib/css/a.js accepted by lib/{css,js}/*.js
> Parsing expression lib/{css,js}/*.js
> Line lib/{css,js}/*.js becomes: ^lib/(?:css|js)\/[^/]*\.js(?:/.*)?$
> ok 29 - File lib/css/a/b.js rejected by lib/{css,js}/*.js
> Parsing expression lib/{css,js}/**/*.js
> Line lib/{css,js}/**/*.js becomes:
> ^lib/(?:css|js)\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 30 - File lib/css/a/b/c.js accepted by lib/{css,js}/**/*.js
> Parsing expression lib/{css,js}/**/*.js
> Line lib/{css,js}/**/*.js becomes:
> ^lib/(?:css|js)\/.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 31 - File lib/css/a/b/c.css rejected by lib/{css,js}/**/*.js
> Parsing expression lib/**/{css,js}/*.js
> Line lib/**/{css,js}/*.js becomes:
> ^lib/.*(?<=/)(?:css|js)\/[^/]*\.js(?:/.*)?$
> ok 32 - File lib/a/b/css/c.js accepted by lib/**/{css,js}/*.js
> Parsing expression lib/**/{css,js}/*.js
> Line lib/**/{css,js}/*.js becomes:
> ^lib/.*(?<=/)(?:css|js)\/[^/]*\.js(?:/.*)?$
> ok 33 - File lib/css/c.js accepted by lib/**/{css,js}/*.js
> Parsing expression bin/*mocha*
> Line bin/*mocha* becomes: ^bin/[^/]*mocha[^/]*(?:/.*)?$
> ok 34 - File bin/mocha.js accepted by bin/*mocha*
> Parsing expression bin/*mocha*
> Line bin/*mocha* becomes: ^bin/[^/]*mocha[^/]*(?:/.*)?$
> ok 35 - File bin/_mocha accepted by bin/*mocha*
> Parsing expression out/{bench,tests}/**.js
> Line out/{bench,tests}/**.js becomes:
> ^out/(?:bench|tests)\/[^/]*[^/]*\.js(?:/.*)?$
> ok 36 - File out/tests/index.js accepted by out/{bench,tests}/**.js
> Parsing expression out/{bench,tests}
> Line out/{bench,tests} becomes: ^out/(?:bench|tests)(?:/.*)?$
> ok 37 - File out/tests/index.js accepted by out/{bench,tests}
> Parsing expression out/{bench,tests}
> Line out/{bench,tests} becomes: ^out/(?:bench|tests)(?:/.*)?$
> ok 38 - File out/index.js rejected by out/{bench,tests}
> Parsing expression *.*(c)[tj]s*
> Line *.*(c)[tj]s* becomes: ^./[^/]*\.[^/]*(?:c)?[tj]s[^/]*(?:/.*)?$
> ok 39 - File ./index.cjs accepted by *.*(c)[tj]s*
> Parsing expression *.*(c)[tj]s*
> Line *.*(c)[tj]s* becomes: ^./[^/]*\.[^/]*(?:c)?[tj]s[^/]*(?:/.*)?$
> ok 40 - File ./index.cts accepted by *.*(c)[tj]s*
> Parsing expression *.*(c)[tj]s*
> Line *.*(c)[tj]s* becomes: ^./[^/]*\.[^/]*(?:c)?[tj]s[^/]*(?:/.*)?$
> ok 41 - File ./index.js accepted by *.*(c)[tj]s*
> Parsing expression *.*(c)[tj]s*
> Line *.*(c)[tj]s* becomes: ^./[^/]*\.[^/]*(?:c)?[tj]s[^/]*(?:/.*)?$
> ok 42 - File ./index.ts accepted by *.*(c)[tj]s*
> Parsing expression **/*
> Line **/* becomes: ^./.*(?<=/)[^/]*(?:/.*)?$
> ok 43 - File ./index.js accepted by **/*
> Parsing expression **/*
> Line **/* becomes: ^./.*(?<=/)[^/]*(?:/.*)?$
> ok 44 - File ./lib/index.js accepted by **/*
> Parsing expression **/*.js
> Line **/*.js becomes: ^./.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 45 - File ./index.js accepted by **/*.js
> Parsing expression **/*.js
> Line **/*.js becomes: ^./.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 46 - File ./lib/index.js accepted by **/*.js
> Parsing expression **/*.js
> Line **/*.js becomes: ^./.*(?<=/)[^/]*\.js(?:/.*)?$
> ok 47 - File ./lib/index.ts rejected by **/*.js
> ok
> All tests successful.
> Files=29, Tests=360, 20 wallclock secs ( 0.15 usr 0.05 sys + 16.16
> cusr 4.09 csys = 20.45 CPU)
> Result: PASS
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> PERL5LIB=`pwd`/lib PATH=`pwd`/tools:$PATH debian/tests/pkg-js-autopkgtest
> ### test pkg-js-autopkgtest with test 'files'
> 't/autopkgtest/deb/files/files' ->
> 't/autopkgtest/orig/debian/tests/pkg-js/files'
> 't/autopkgtest/deb/files/test' ->
> 't/autopkgtest/orig/debian/tests/pkg-js/test'
> # Using ./package.(json|yaml)
> # Node module name is foo
> # Build files found: Gruntfile.js Makefile
> # Test files found: test
> # Found debian/tests/pkg-js/files, let's use it
> # Files/dir to be installed from source: lib/index.js
> # Copy test files
> # Copy debian/tests/pkg-js content
> 'debian/tests/pkg-js' -> '/tmp/smokevHa1iU/debian/tests/pkg-js'
> 'debian/tests/pkg-js/files' -> '/tmp/smokevHa1iU/debian/tests/pkg-js/files'
> 'debian/tests/pkg-js/test' -> '/tmp/smokevHa1iU/debian/tests/pkg-js/test'
> IO error: parse_file failed because debian/control could not be opened
> for reading.
> # Searching module in /usr/lib/nodejs/foo
> # Searching module in /usr/lib/*/nodejs/foo
> # Searching module in /usr/share/nodejs/foo
> # Launch debian/tests/pkg-js/test with sh -ex
> + echo Testing files installed automatically
> Testing files installed automatically
> + [ -e lib/index.js ]
> + [ ! -e Gruntfile.js ]
> + [ ! -e Makefile ]
> + [ ! -e test/index.js ]
> + [ ! -e lib/__tests__/t ]
> # Cleaning tmp dir
>
> ### test pkg-js-autopkgtest with test 'nofiles'
> 't/autopkgtest/deb/nofiles/test' ->
> 't/autopkgtest/orig/debian/tests/pkg-js/test'
> # Using ./package.(json|yaml)
> # Node module name is foo
> # Build files found: Gruntfile.js Makefile
> # Test files found: test
> # Files/dir to be installed from source: test Gruntfile.js Makefile
> # Copy test files
> # Copy debian/tests/pkg-js content
> 'debian/tests/pkg-js' -> '/tmp/smokeLs3O39/debian/tests/pkg-js'
> 'debian/tests/pkg-js/test' -> '/tmp/smokeLs3O39/debian/tests/pkg-js/test'
> IO error: parse_file failed because debian/control could not be opened
> for reading.
> # Searching module in /usr/lib/nodejs/foo
> # Searching module in /usr/lib/*/nodejs/foo
> # Searching module in /usr/share/nodejs/foo
> # Launch debian/tests/pkg-js/test with sh -ex
> + echo Testing files installed automatically
> Testing files installed automatically
> + [ -e Gruntfile.js ]
> + [ -e Makefile ]
> + [ -e test/index.js ]
> + [ ! -e lib/index.js ]
> + [ ! -e lib/__tests__/t ]
> # Cleaning tmp dir
>
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> create-stamp debian/debhelper-build-stamp
> dh_prep
> debian/rules override_dh_auto_install
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PERL5LIB=lib help2man --no-discard-stderr -n add-node-component -N
> --help-option=-h ./tools/add-node-component > add-node-component.1
> PERL5LIB=lib help2man --no-discard-stderr -n debcheck-node-repo -N
> --help-option=-h ./tools/debcheck-node-repo > debcheck-node-repo.1
> help2man: can't get `--version' info from ./tools/debcheck-node-repo
> make[1]: *** [debian/rules:27: debcheck-node-repo.1] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:24: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
> --------------------------------------------------------------------------------
>
> The above is just how the build ends and not necessarily the most
> relevant part.
> If required, the full build log is available here:
>
> https://people.debian.org/~sanvila/build-logs/202407/
>
> About the archive rebuild: The build was made on virtual machines
> of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
> page for this package.
>
> Thanks.
>
More information about the Pkg-javascript-devel
mailing list