[Pkg-javascript-devel] Bug#884295: node-semver-diff FTBFS: test failure

2017-12-14 Thread Juhani Numminen
Control: tags -1 patch

On Wed, 13 Dec 2017 14:49:15 +0200 Adrian Bunk  wrote:
> Source: node-semver-diff
> Version: 2.1.0-1
> Severity: serious
> 
> Some recent change in unstable makes node-semver-diff FTBFS:
>
> https://tests.reproducible-builds.org/debian/history/node-semver-diff.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-semver-diff.html
> 
> ...
>debian/rules override_dh_auto_test
> make[1]: Entering directory '/build/1st/node-semver-diff-2.1.0'
> mocha -R spec
> module.js:471
> throw err;
> ^
> 
> Error: Cannot find module 'semver'

I think this package needs a Build-Depends: node-semver to be able to run its 
test
during the build. A patch for that is attached.


Regards
Juhani
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-semver (>= 5.0.3)
  , mocha
 Standards-Version: 4.0.0
 Homepage: https://github.com/sindresorhus/semver-diff
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#884295: node-semver-diff FTBFS: test failure

2017-12-13 Thread Adrian Bunk
Source: node-semver-diff
Version: 2.1.0-1
Severity: serious

Some recent change in unstable makes node-semver-diff FTBFS:

https://tests.reproducible-builds.org/debian/history/node-semver-diff.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-semver-diff.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/node-semver-diff-2.1.0'
mocha -R spec
module.js:471
throw err;
^

Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/build/1st/node-semver-diff-2.1.0/index.js:2:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/build/1st/node-semver-diff-2.1.0/test.js:3:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at /usr/lib/nodejs/mocha/lib/mocha.js:172:27
at Array.forEach (native)
at Mocha.loadFiles (/usr/lib/nodejs/mocha/lib/mocha.js:169:14)
at Mocha.run (/usr/lib/nodejs/mocha/lib/mocha.js:356:31)
at Object. (/usr/lib/nodejs/mocha/bin/_mocha:366:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:383:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:496:3
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel