[Pkg-javascript-devel] Bug#1014605: node-functional.js: FTBFS, missing build-dependencies

Steve Langasek steve.langasek at canonical.com
Fri Jul 8 17:14:52 BST 2022


Source: node-functional.js
Version: 0.8.0-1
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi Stephan,

The node-functional.js binary in unstable was not built in the archive, and
attempting to rebuild this package from source fails due to missing build
dependencies:

[...]
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
	cd ./. && gulp
Can't exec "gulp": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 524.
dh_auto_build: warning: ### Command "gulp" failed in .
[...]

However, if I add the missing build-dependency on gulp, the package build
still fails with:

[...]
[16:10:38] Using globally installed gulp
Error: Cannot find module 'gulp-jshint'
Require stack:
- /tmp/node-functional.js-0.8.0/gulpfile.js
- /usr/share/nodejs/gulp-cli/lib/shared/require-or-import.js
- /usr/share/nodejs/gulp-cli/lib/versioned/^4.0.0/index.js
- /usr/share/nodejs/gulp-cli/index.js
- /usr/share/nodejs/gulp/bin/gulp.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/tmp/node-functional.js-0.8.0/gulpfile.js:2:14)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/tmp/node-functional.js-0.8.0/gulpfile.js',
    '/usr/share/nodejs/gulp-cli/lib/shared/require-or-import.js',
    '/usr/share/nodejs/gulp-cli/lib/versioned/^4.0.0/index.js',
    '/usr/share/nodejs/gulp-cli/index.js',
    '/usr/share/nodejs/gulp/bin/gulp.js'
  ]
}
dh_auto_build: warning: ### Command "gulp" failed in .
[...]

I can't find this gulp-jshint anywhere in the archive, so it looks like
there's some work to be done here.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220708/60dcf1b1/attachment.sig>


More information about the Pkg-javascript-devel mailing list